Hi,

my notebook carries a hp2300 HSDPA modem, which is actually an OEM
Sierra Wireless MC8775 device.
I attached patches to apply in /usr/src.

I made the entry look exactly like the one for the MC8775 device, but
I'm wondering if this shouldn't say  U3GSP_HSPA instead of U3GSP_UMTS
for all of them, since this device should be HSDPA (see
http://www.sierrawireless.com/product/mc8775.aspx).  I can't tell right
now, because I only have a UMTS enabled SIM (will get HSDPA in a few
days - hopefully). UMTS works okay using these patches. What do you think?

I also think it would be good to add this device to usb2 (last time I
tried usb2 it crashed my machine, but is has been a while),
I made two patches for usb2 as well, they compile fine, but no time to
test them at the moment (also attached).

br
michael

--- sys/dev/usb/usbdevs~        2008-11-17 03:24:02.000000000 +0100
+++ sys/dev/usb/usbdevs 2008-11-17 03:24:02.000000000 +0100
@@ -1429,6 +1429,7 @@
 product HP OJ4215              0x3d11  OfficeJet 4215
 product HP HN210E              0x811c  Ethernet HN210E
 product HP2 C500               0x6002  PhotoSmart C500
+product HP HS2300              0x1e1d  HP hs2300 HSDPA (aka MC8775)
 
 /* HTC products */
 product HTC WINMOBILE          0x00ce  HTC USB Sync
--- sys/dev/usb/u3g.c~  2008-11-17 03:29:06.000000000 +0100
+++ sys/dev/usb/u3g.c   2008-11-17 03:29:06.000000000 +0100
@@ -181,6 +181,10 @@
        {{ USB_VENDOR_SIERRA, USB_PRODUCT_SIERRA_MC8765 },              
U3GSP_UMTS,     U3GFL_NONE },           // XXX
        {{ USB_VENDOR_SIERRA, USB_PRODUCT_SIERRA_AC875U },              
U3GSP_UMTS,     U3GFL_NONE },           // XXX
        {{ USB_VENDOR_SIERRA, USB_PRODUCT_SIERRA_MC8775_2 },            
U3GSP_UMTS,     U3GFL_NONE },           // XXX
+
+       /* OEM Sierra MC8775 */
+       {{ USB_VENDOR_HP, USB_PRODUCT_HP_HS2300 },                      
U3GSP_UMTS,     U3GFL_NONE },           // XXX
+
        {{ USB_VENDOR_SIERRA, USB_PRODUCT_SIERRA_MC8780 },              
U3GSP_UMTS,     U3GFL_NONE },           // XXX
        {{ USB_VENDOR_SIERRA, USB_PRODUCT_SIERRA_MC8781 },              
U3GSP_UMTS,     U3GFL_NONE },           // XXX
        {{ USB_VENDOR_SIERRA, USB_PRODUCT_SIERRA_TRUINSTALL },          
U3GSP_UMTS,     U3GFL_SIERRA_INIT },    // Sierra TruInstaller device ID
--- sys/dev/usb2/include/usb2_devid.h~  2008-11-26 16:33:43.000000000 +0100
+++ sys/dev/usb2/include/usb2_devid.h   2008-11-26 16:33:43.000000000 +0100
@@ -1433,6 +1433,7 @@
 #define        USB_PRODUCT_HP_P1100    0x3102          /* Photosmart P1100 */
 #define        USB_PRODUCT_HP_HN210E   0x811c          /* Ethernet HN210E */
 #define        USB_PRODUCT_HP2_C500    0x6002          /* PhotoSmart C500 */
+#define        USB_PRODUCT_HP_HS2300   0x1e1d          /* HS2300 HSDPA (Sierra 
Wireless OEM MC8775) */
 
 /* HTC products */
 #define        USB_PRODUCT_HTC_WINMOBILE       0x00ce          /* HTC USB Sync 
*/
--- sys/dev/usb2/include/usb2_devtable.h~       2008-11-26 16:34:56.000000000 
+0100
+++ sys/dev/usb2/include/usb2_devtable.h        2008-11-26 16:34:56.000000000 
+0100
@@ -5981,6 +5981,12 @@
            "MC8755 HSDPA",
        },
        {
+           USB_VENDOR_HP, USB_PRODUCT_HP_HS2300,
+           0,
+           "Hewlett Packard",
+           "HS2300 HSDPA",
+       },
+       {
            USB_VENDOR_SIERRA, USB_PRODUCT_SIERRA_MC8775_2,
            0,
            "Sierra Wireless",
_______________________________________________
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to