Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Nov 2008 16:41:01 +0100
From:      Michael <freebsdusb@bindone.de>
To:        freebsd-usb@freebsd.org
Subject:   Device IDs for HP hs2300 HSDPA modem
Message-ID:  <492D6E0D.7020500@bindone.de>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------070800080300050609090901
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

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


--------------070800080300050609090901
Content-Type: text/plain;
 name="usbdevs.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="usbdevs.patch"

--- 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

--------------070800080300050609090901
Content-Type: text/plain;
 name="u3g.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="u3g.patch"

--- 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

--------------070800080300050609090901
Content-Type: text/plain;
 name="usb2_devid.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="usb2_devid.patch"

--- 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 */

--------------070800080300050609090901
Content-Type: text/plain;
 name="usb2_devtable.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="usb2_devtable.patch"

--- 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",

--------------070800080300050609090901--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?492D6E0D.7020500>