On Mon, Jul 16, 2012 at 11:34:08AM +0400, Alexei Malinin wrote: > Jonathan Gray wrote: > > On Sat, Jul 07, 2012 at 09:24:50PM +0400, Alexei Malinin wrote: > >> Alexei Malinin wrote: > >>> Hello, > >>> > >>> could anybody recommend OpenBSD compatible 4g (LTE) modem? > >> I tried to use recent "Qualcomm MDM9200" chipset > >> (http://www.qualcomm.com/media/releases/2010/09/08/qualcomm-now-demonstrating-products-based-lte-tdd-technology) > >> based "Huawei E392" modem > >> (http://www.huawei.com/en/about-huawei/newsroom/press-release/hw-093708-lte-card-multi-mode.htm). > >> Under OpenBSD it is recognized only as CD-ROM :( > >> I tried to experiment with the modem settings on Windows > >> but I had no success. Also I could not find any useful > >> documentation (neither for chipset nor for modem) > >> for developing modem driver. > >> > >> Does anyone plan to develop a driver for this modem?.. > >> Ideas?.. > > > > Normally the kernel gets rid of these fake storage devices. > > What happens if you use the eject command on the cd device? > > Can you also include the output of usbdevs -v? > > Hello, Jonathan. > > I checked out the above commands, please look at the results.
try the following diff and see if the usbdevs -v numbers change with a new kernel ie cd /usr/src/sys/dev/usb patch -p0 < /path/to/patch make then build a kernel as normal Index: umsm.c =================================================================== RCS file: /cvs/src/sys/dev/usb/umsm.c,v retrieving revision 1.85 diff -u -p -r1.85 umsm.c --- umsm.c 14 Jan 2012 10:26:11 -0000 1.85 +++ umsm.c 16 Jul 2012 08:38:57 -0000 @@ -140,6 +140,7 @@ static const struct umsm_type umsm_devs[ {{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E220 }, DEV_HUAWEI}, {{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E510 }, DEV_HUAWEI}, {{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E618 }, DEV_HUAWEI}, + {{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E392_INIT }, DEV_UMASS5}, {{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_EM770W }, 0}, {{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_Mobile }, DEV_HUAWEI}, {{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_K3765_INIT }, DEV_UMASS5}, Index: usbdevs =================================================================== RCS file: /cvs/src/sys/dev/usb/usbdevs,v retrieving revision 1.580 diff -u -p -r1.580 usbdevs --- usbdevs 7 Jul 2012 17:59:03 -0000 1.580 +++ usbdevs 16 Jul 2012 08:38:58 -0000 @@ -2030,6 +2030,7 @@ product HUAWEI E161 0x1446 HUAWEI Mobil product HUAWEI K3765 0x1465 HUAWEI Mobile K3765 product HUAWEI E1820 0x14ac HUAWEI Mobile Modem product HUAWEI K4510 0x14c5 HUAWEI Mobile Modem +product HUAWEI E392_INIT 0x1505 HUAWEI Mobile E392 Initial product HUAWEI K3765_INIT 0x1520 HUAWEI Mobile K3765 Initial product HUAWEI E173S 0x1c05 HUAWEI Mobile E173s product HUAWEI E173S_INIT 0x1c0b HUAWEI Mobile E173s Initial