NetBSD Problem Report #39303

From izaac@setec.org  Wed Aug  6 17:02:11 2008
Return-Path: <izaac@setec.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 18DBB63B853
	for <gnats-bugs@gnats.NetBSD.org>; Wed,  6 Aug 2008 17:02:11 +0000 (UTC)
Message-Id: <20080806170150.GA1422@koltblut.setec.org>
Date: Wed, 6 Aug 2008 13:01:57 -0400
From: Izaac <izaac@setec.org>
Reply-To: Izaac <izaac@setec.org>
To: gnats-bugs@gnats.NetBSD.org
Subject: Support for Novatel Wireless Ovation U727
X-Send-Pr-Version: 3.95

>Number:         39303
>Category:       kern
>Synopsis:       Support for Novatel Wireless Ovation U727
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 06 17:05:01 +0000 2008
>Closed-Date:    Sat Sep 06 21:56:36 +0000 2008
>Last-Modified:  Sat Sep 06 21:56:36 +0000 2008
>Originator:     Izaac
>Release:        NetBSD 4.99.62
>Organization:
>Environment:
NetBSD 4.99.62 x86_64
>Description:
	A patch for support for Novatel Wireless Ovation U727 is
	included.  This is a particularly strange device, because it has
	a two stage attachment process.  When first powered on, the
	device attaches a umass bus and a cdrom to it.  This faux cdrom
	carries the Windows drivers for the device.  A very handy thing,
	if you happen to be using Windows.  But a nuisance otherwise:

umass0 at uhub6 port 1 configuration 1 interface 0
umass0: Novatel Wireless Inc. Novatel Wireless CDMA, rev 1.10/0.00, addr 2
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, 1 lun per target
cd1 at scsibus0 target 0 lun 0: <Novatel, Mass Storage, 1.00> cdrom removable

	Upon sending an DIOCEJECT via eject(1), the cd target and the
	umass detach:

umass0: at uhub6 port 1 (addr 2) disconnected
cd1: detached
scsibus0: detached
umass0: detached

	And the ugensa device appears:

ugensa0 at uhub6 port 1
ugensa0: Novatel Wireless Inc. Novatel Wireless CDMA, rev 1.10/0.00, addr 2
ugensa0: WARNING: This device is marked as untested.  Please submit a report via send-pr(1).
ugensa0: unexpected endpoint
ucom0 at ugensa0: Generic Serial Device

	It would be nice to figure out a means by which to automate
	this, but I do not know a good way within the usb subsystem.
	But it's usable.

	I haven't bothered to figure out the attach for the onboard
	microSD port, which may explain the "ugensa0: unexpected
	endpoint".

>How-To-Repeat:
	n/a

>Fix:
Index: ugensa.c
===================================================================
RCS file: /cvsroot/src/sys/dev/usb/ugensa.c,v
retrieving revision 1.20
diff -u -r1.20 ugensa.c
--- ugensa.c    24 May 2008 16:40:58 -0000      1.20
+++ ugensa.c    6 Aug 2008 16:43:29 -0000
@@ -111,6 +111,7 @@
        {{ USB_VENDOR_NOVATEL2, USB_PRODUCT_NOVATEL2_MERLINV620 },
UNTESTED },
        {{ USB_VENDOR_NOVATEL2, USB_PRODUCT_NOVATEL2_S720 }, UNTESTED },
        {{ USB_VENDOR_NOVATEL2, USB_PRODUCT_NOVATEL2_U720 }, UNTESTED },
+       {{ USB_VENDOR_NOVATEL2, USB_PRODUCT_NOVATEL2_U727 }, UNTESTED },
        {{ USB_VENDOR_NOVATEL2, USB_PRODUCT_NOVATEL2_XU870 }, UNTESTED
},
        {{ USB_VENDOR_NOVATEL2, USB_PRODUCT_NOVATEL2_ES620 }, UNTESTED
},
        {{ USB_VENDOR_QUALCOMM, USB_PRODUCT_QUALCOMM_MSM_HSDPA },
UNTESTED },
Index: usbdevs
===================================================================
RCS file: /cvsroot/src/sys/dev/usb/usbdevs,v
retrieving revision 1.502
diff -u -r1.502 usbdevs
--- usbdevs     8 Jul 2008 08:47:32 -0000       1.502
+++ usbdevs     6 Aug 2008 16:43:39 -0000
@@ -1660,6 +1660,7 @@
 product NOVATEL2 XU870         0x1430  XU870
 product NOVATEL2 ES620         0x2100  ES620 CDMA
 product NOVATEL2 U720          0x2110  U720
+product NOVATEL2 U727          0x4100  U727

 /* Olympus products */
 product OLYMPUS C1             0x0102  C-1 Digital Camera

>Release-Note:

>Audit-Trail:
From: Mindaugas Rasiukevicius <rmind@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/39303 CVS commit: src/sys/dev/usb
Date: Sat,  6 Sep 2008 21:38:44 +0000 (UTC)

 Module Name:	src
 Committed By:	rmind
 Date:		Sat Sep  6 21:38:44 UTC 2008

 Modified Files:
 	src/sys/dev/usb: ugensa.c usbdevs

 Log Message:
 PR/39303: Izaac: Support for Novatel Wireless Ovation U727.


 To generate a diff of this commit:
 cvs rdiff -r1.20 -r1.21 src/sys/dev/usb/ugensa.c
 cvs rdiff -r1.507 -r1.508 src/sys/dev/usb/usbdevs

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: rmind@NetBSD.org
State-Changed-When: Sat, 06 Sep 2008 21:56:36 +0000
State-Changed-Why:
Patch applied.  Thank you!


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.