On 02/05/15(Sat) 12:23, Cristián Edwards wrote: > Hello, > > In order for OpenBSD 5.7 to recognize a Huawei 609 mini PCIe Modem , I did > these kernel modifications: > > Added to usbdevs this line: > > product HUAWEI MU609 0x1573 HUAWEI MU 609 > > # make usbdevs.h > Then added to umsm.c this line: > > {{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_MU609 }, DEV_TRUINSTALL}, > > I can connect to the modem now: > # cu /dev/cuaU0 > Connected to /dev/cuaU0 (speed 9600) > AT > OK > > I wish that cdce driver would work as well, but it didn't with these > modifications. > > Perhaps kernel developers could add a change like this to the kernel.
Something like that? Index: umsm.c =================================================================== RCS file: /cvs/src/sys/dev/usb/umsm.c,v retrieving revision 1.102 diff -u -p -r1.102 umsm.c --- umsm.c 14 Mar 2015 03:38:50 -0000 1.102 +++ umsm.c 5 May 2015 09:22:52 -0000 @@ -141,6 +141,7 @@ static const struct umsm_type umsm_devs[ {{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_Mobile }, DEV_HUAWEI}, {{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_K3765_INIT }, DEV_UMASS5}, {{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_K3765 }, 0}, + {{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_ME609 }, DEV_TRUINSTALL}, {{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_K4510 }, DEV_UMASS5}, {{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E1750 }, DEV_UMASS5}, {{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E1752 }, 0}, Index: usbdevs =================================================================== RCS file: /cvs/src/sys/dev/usb/usbdevs,v retrieving revision 1.648 diff -u -p -r1.648 usbdevs --- usbdevs 26 Apr 2015 11:47:13 -0000 1.648 +++ usbdevs 5 May 2015 09:21:45 -0000 @@ -2177,6 +2177,7 @@ product HUAWEI K4510 0x14c5 HUAWEI Mob product HUAWEI E353_INIT 0x14fe HUAWEI Mobile E353 Initial product HUAWEI E392_INIT 0x1505 HUAWEI Mobile E392 Initial product HUAWEI K3765_INIT 0x1520 HUAWEI Mobile K3765 Initial +product HUAWEI ME609 0x1573 HUAWEI Mobile ME906 product HUAWEI E173S 0x1c05 HUAWEI Mobile E173s product HUAWEI E173S_INIT 0x1c0b HUAWEI Mobile E173s Initial product HUAWEI E303 0x1f01 HUAWEI Mobile E303