NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/39303: Support for Novatel Wireless Ovation U727



>Number:         39303
>Category:       kern
>Synopsis:       Support for Novatel Wireless Ovation U727
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 06 17:05:01 +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



Home | Main Index | Thread Index | Old Index