From owner-freebsd-usb@FreeBSD.ORG Wed Nov 26 16:08:01 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1DB68106564A for ; Wed, 26 Nov 2008 16:08:01 +0000 (UTC) (envelope-from freebsdusb@bindone.de) Received: from mail.bindone.de (mail.bindone.de [80.190.134.51]) by mx1.freebsd.org (Postfix) with SMTP id 853318FC12 for ; Wed, 26 Nov 2008 16:08:00 +0000 (UTC) (envelope-from freebsdusb@bindone.de) Received: (qmail 91388 invoked by uid 89); 26 Nov 2008 15:41:19 -0000 Received: from unknown (HELO ufo.bindone.de) (mg@bindone.de@87.152.188.197) by mail.bindone.de with ESMTPA; 26 Nov 2008 15:41:19 -0000 Message-ID: <492D6E0D.7020500@bindone.de> Date: Wed, 26 Nov 2008 16:41:01 +0100 From: Michael User-Agent: Thunderbird 2.0.0.17 (X11/20081116) MIME-Version: 1.0 To: freebsd-usb@freebsd.org Content-Type: multipart/mixed; boundary="------------070800080300050609090901" Subject: Device IDs for HP hs2300 HSDPA modem X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Nov 2008 16:08:01 -0000 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--