Jonathan Gray wrote:
> 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
>   

Hello, Jonathan.

I think that the above patch can be committed with this:

--- src/share/man/man4/umsm.4.orig      Tue Jul 24 12:22:53 2012
+++ src/share/man/man4/umsm.4   Tue Jul 24 12:31:24 2012
@@ -27,7 +27,7 @@
 The
 .Nm
 driver supports Qualcomm MSM modem adapters.
-The MSM chipset is found in EVDO and UMTS capable modems.
+The MSM chipset is found in EVDO, UMTS and LTE capable modems.
 Typically these are CardBus and PCI Express Mini Cards that incorporate a
 USB controller with the actual device attached to it.
 .Pp
@@ -65,6 +65,7 @@
 .It Li "Huawei Mobile E182" Ta "USB"
 .It Li "Huawei Mobile E220" Ta "USB"
 .It Li "Huawei Mobile E303" Ta "USB"
+.It Li "Huawei Mobile E392" Ta "USB"
 .It Li "Huawei Mobile E510" Ta "USB"
 .It Li "Huawei Mobile E1750" Ta "USB"
 .It Li "Huawei Mobile E1752" Ta "USB"
@@ -154,6 +155,9 @@
 the second one is for management.
 The Option GlobeTrotter HSDPA/HSUPA modems have three serial ports,
 but only the last port can be used to make PPP connections.
+The Huawei E392 has four serial ports,
+but only the first port can be used to make connections;
+the last one is for management.
 .Sh EXAMPLES
 An example
 .Pa /etc/ppp/ppp.conf


--
Alexei Malinin

Reply via email to