[ltp] Re: Sierra Wireless EM7345 4G LTE

Vincent Bernat linux-thinkpad@linux-thinkpad.org
Wed, 18 Jun 2014 08:19:51 +0200


 =E2=9D=A6 18 juin 2014 01:31 +0200, Vincent Bernat <bernat@luffy.cx>=C2=A0:

> I am trying to make the LTE modem shipped with the second gen carbon X1
> works. I have found the following thread saying that it should work:
>  http://linux-thinkpad.10952.n7.nabble.com/2nd-gen-X1-carbon-3g-lte-Sierr=
a-Wireless-EM7345-4G-LTE-td21094.html
>
> However, I am unable to get any /dev/cdc* device.
>
> [ 9358.677017] cdc_ncm 1-4:1.0: MAC-Address: ff:ff:ff:ff:ff:ff
> [ 9358.677860] cdc_ncm 1-4:1.0 usb0: register 'cdc_ncm' at usb-0000:00:14=
.0-4, CDC NCM, ff:ff:ff:ff:ff:ff
> [ 9358.678148] usbcore: registered new interface driver cdc_ncm
> [ 9358.679842] usbcore: registered new interface driver cdc_wdm
> [ 9358.680771] usbcore: registered new interface driver cdc_mbim
>
> Linux zoro 3.15-rc8-amd64 #1 SMP Debian 3.15~rc8-1~exp1 (2014-06-03) x86_=
64 GNU/Linux
>
> So, I suppose the problem is that cdc_ncm kicks first. How can I switch
> to another mode? I have the usb0 interface:
>
> 8: usb0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAUL=
T group default qlen 1000
>     link/ether ff:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff

After some digging, I have discovered that I can load cdc_ncm with
"prefer_mbim=3DY". I get a /dev/cdc-wdm1 device and Modem Manager is able
to setup the connection without a problem!
--=20
panic("esp_handle: current_SC =3D=3D penguin within interrupt!");
	2.2.16 /usr/src/linux/drivers/scsi/esp.c