huawei e5372 not identified
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
usb-modeswitch (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
After attaching the modem Huawei e5372 to usb port see what happens in syslog:
syslog
Jul 3 23:44:30 kernel: [19563.597990] usb 3-1: new high-speed USB device number 5 using xhci_hcd
Jul 3 23:44:30 kernel: [19563.615874] usb 3-1: New USB device found, idVendor=12d1, idProduct=14fe
Jul 3 23:44:30 kernel: [19563.615883] usb 3-1: New USB device strings: Mfr=2, Product=1, SerialNumber=0
Jul 3 23:44:30 kernel: [19563.615889] usb 3-1: Product: HUAWEI Mobile
Jul 3 23:44:30 kernel: [19563.615894] usb 3-1: Manufacturer: HUAWEI Technology
Jul 3 23:44:30 kernel: [19563.620789] usb-storage 3-1:1.0: USB Mass Storage device detected
Jul 3 23:44:30 kernel: [19563.621040] scsi11 : usb-storage 3-1:1.0
Jul 3 23:44:30 kernel: [19563.621330] usb-storage 3-1:1.1: USB Mass Storage device detected
Jul 3 23:44:30 kernel: [19563.621532] scsi12 : usb-storage 3-1:1.1
Jul 3 23:44:30 mtp-probe: checking bus 3, device 5: "/sys/devices/
Jul 3 23:44:30 mtp-probe: bus: 3, device: 5 was not an MTP device
Jul 3 23:44:31 kernel: [19564.620132] scsi 11:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2
Jul 3 23:44:31 kernel: [19564.620892] scsi 12:0:0:0: Direct-Access HUAWEI TF CARD Storage 2.31 PQ: 0 ANSI: 2
Jul 3 23:44:31 kernel: [19564.742033] sr0: scsi-1 drive
Jul 3 23:44:31 kernel: [19564.742203] sr 11:0:0:0: Attached scsi CD-ROM sr0
Jul 3 23:44:31 kernel: [19564.742264] sr 11:0:0:0: Attached scsi generic sg3 type 5
Jul 3 23:44:31 kernel: [19564.746227] sd 12:0:0:0: Attached scsi generic sg4 type 0
Jul 3 23:44:31 usb_modeswitch: switch device 12d1:14fe on 003/005
Jul 3 23:44:31 kernel: [19564.981646] sd 12:0:0:0: [sdd] Attached SCSI removable disk
Jul 3 23:44:31 kernel: [19565.011982] usb 3-1: USB disconnect, device number 5
Jul 3 23:44:32 kernel: [19565.411594] usb 3-1: new high-speed USB device number 6 using xhci_hcd
Jul 3 23:44:32 kernel: [19565.429763] usb 3-1: New USB device found, idVendor=12d1, idProduct=1506
Jul 3 23:44:32 kernel: [19565.429773] usb 3-1: New USB device strings: Mfr=2, Product=1, SerialNumber=0
Jul 3 23:44:32 kernel: [19565.429779] usb 3-1: Product: HUAWEI Mobile
Jul 3 23:44:32 kernel: [19565.429784] usb 3-1: Manufacturer: HUAWEI Technology
Jul 3 23:44:32 kernel: [19565.436215] option 3-1:1.0: GSM modem (1-port) converter detected
Jul 3 23:44:32 kernel: [19565.436416] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB0
Jul 3 23:44:32 kernel: [19565.436686] option 3-1:1.1: GSM modem (1-port) converter detected
Jul 3 23:44:32 kernel: [19565.436857] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB1
Jul 3 23:44:32 kernel: [19565.437026] usb-storage 3-1:1.2: USB Mass Storage device detected
Jul 3 23:44:32 kernel: [19565.437227] scsi13 : usb-storage 3-1:1.2
Jul 3 23:44:32 kernel: [19565.437564] usb-storage 3-1:1.3: USB Mass Storage device detected
Jul 3 23:44:32 kernel: [19565.437807] scsi14 : usb-storage 3-1:1.3
Jul 3 23:44:32 mtp-probe: checking bus 3, device 6: "/sys/devices/
Jul 3 23:44:32 mtp-probe: bus: 3, device: 6 was not an MTP device
Jul 3 23:44:32 ModemManager[812]: <warn> (ttyUSB1): port attributes not fully set
Jul 3 23:44:32 ModemManager[812]: <warn> (ttyUSB0): port attributes not fully set
Jul 3 23:44:32 usb_modeswitch: switched to 12d1:ffffffff on 003/005
Jul 3 23:44:33 kernel: [19566.437404] scsi 14:0:0:0: Direct-Access HUAWEI TF CARD Storage 2.31 PQ: 0 ANSI: 2
Jul 3 23:44:33 kernel: [19566.437691] sd 14:0:0:0: Attached scsi generic sg3 type 0
Jul 3 23:44:33 kernel: [19566.437921] scsi 13:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2
Jul 3 23:44:33 kernel: [19566.553806] sr0: scsi-1 drive
Jul 3 23:44:33 kernel: [19566.554169] sr 13:0:0:0: Attached scsi CD-ROM sr0
Jul 3 23:44:33 kernel: [19566.554419] sr 13:0:0:0: Attached scsi generic sg4 type 5
Jul 3 23:44:33 kernel: [19566.673193] sd 14:0:0:0: [sdd] Attached SCSI removable disk
Jul 3 23:44:33 usb_modeswitch[
Jul 3 23:44:34 usb_modeswitch[
Jul 3 23:44:34 usb_modeswitch[
Jul 3 23:44:35 ModemManager[812]: <warn> (ttyUSB1): port attributes not fully set
Jul 3 23:44:35 kernel: [19568.739364] BUG: unable to handle kernel NULL pointer dereference at 0000000000000068
Jul 3 23:44:35 kernel: [19568.739479] IP: [<ffffffffa05ce
Jul 3 23:44:35 kernel: [19568.739569] PGD 28f1d2067 PUD 28f1d1067 PMD 0
Jul 3 23:44:35 kernel: [19568.739636] Oops: 0000 [#1] SMP
Jul 3 23:44:35 kernel: [19568.739686] Modules linked in: ppp_mppe ppp_async crc_ccitt huawei_cdc_ncm cdc_wdm option cdc_ncm usbnet usb_wwan mii usbserial usb_storage ctr ccm bbswitch(OF) snd_hda_codec_hdmi snd_hda_
Jul 3 23:44:35 kernel: [19568.740927] CPU: 3 PID: 812 Comm: ModemManager Tainted: GF C O 3.13.0-30-generic #54-Ubuntu
Jul 3 23:44:35 kernel: [19568.741026] Hardware name: ASUSTeK COMPUTER INC. UX32VD/UX32VD, BIOS UX32VD.214 01/29/2013
Jul 3 23:44:35 kernel: [19568.741116] task: ffff88028f180000 ti: ffff88028f188000 task.ti: ffff88028f188000
Jul 3 23:44:35 kernel: [19568.741197] RIP: 0010:[<
Jul 3 23:44:35 kernel: [19568.741306] RSP: 0018:ffff88028f
Jul 3 23:44:35 kernel: [19568.741365] RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000001
Jul 3 23:44:35 kernel: [19568.741442] RDX: 0000000000000000 RSI: 0000000000220020 RDI: 0000000000000202
Jul 3 23:44:35 kernel: [19568.741519] RBP: ffff88028f189dd0 R08: 0000000000000000 R09: 0000000000000000
Jul 3 23:44:35 kernel: [19568.741596] R10: ffff8802a4401500 R11: 0000000000000293 R12: 0000000000001000
Jul 3 23:44:35 kernel: [19568.741673] R13: 0000000000000000 R14: 0000000000000000 R15: ffff88020ecc0700
Jul 3 23:44:35 kernel: [19568.741751] FS: 00007f5cbb36684
Jul 3 23:44:35 kernel: [19568.741839] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jul 3 23:44:35 kernel: [19568.741902] CR2: 0000000000000068 CR3: 000000028f1cf000 CR4: 00000000001407e0
Jul 3 23:44:35 kernel: [19568.741979] Stack:
Jul 3 23:44:35 kernel: [19568.742005] ffff88027b1d3ae8 ffff88020ecc0700 000000018144d349 ffff88020ecc0790
Jul 3 23:44:35 kernel: [19568.742102] dead000000100100 ffff88027b1d3800 ffff8802aef972a0 ffff8801ad410400
Jul 3 23:44:35 kernel: [19568.742198] ffff88020ecc0780 ffff88028c240e20 ffff880093c59000 ffff88027b1d3800
Jul 3 23:44:35 kernel: [19568.742294] Call Trace:
Jul 3 23:44:35 kernel: [19568.742336] [<ffffffffa061a
Jul 3 23:44:35 kernel: [19568.742413] [<ffffffff81448
Jul 3 23:44:35 kernel: [19568.742481] [<ffffffff8109a
Jul 3 23:44:35 kernel: [19568.742547] [<ffffffff81445
Jul 3 23:44:35 kernel: [19568.742609] [<ffffffff81448
Jul 3 23:44:35 kernel: [19568.742679] [<ffffffff811bc
Jul 3 23:44:35 kernel: [19568.742741] [<ffffffff811bd
Jul 3 23:44:35 kernel: [19568.742804] [<ffffffff8172a
Jul 3 23:44:35 kernel: [19568.742860] Code: 04 0f 85 28 01 00 00 48 8b 45 b0 48 8b 00 48 8b 78 10 e8 95 6c f7 e0 85 c0 0f 88 bd 00 00 00 81 fb 00 10 00 00 41 bc 00 10 00 00 <49> 8b 7d 68 44 0f 4e e3 48 8b 75 c0 49 63 c4 48 89 c2 48 89 45
Jul 3 23:44:35 kernel: [19568.743353] RIP [<ffffffffa05ce
Jul 3 23:44:35 kernel: [19568.743437] RSP <ffff88028f189d58>
Jul 3 23:44:35 kernel: [19568.743478] CR2: 0000000000000068
Jul 3 23:44:35 kernel: [19568.771130] ---[ end trace 2e29fe107884c1b6 ]---
$ sudo wvdialconf
Editing `/etc/wvdial.conf'.
Scanning your serial ports for a modem.
Modem Port Scan<*1>: S0 S1 S2 S3 S4 S5 S6 S7
Modem Port Scan<*1>: S8 S9 S10 S11 S12 S13 S14 S15
Modem Port Scan<*1>: S16 S17 S18 S19 S20 S21 S22 S23
Modem Port Scan<*1>: S24 S25 S26 S27 S28 S29 S30 S31
ttyUSB0<*1>: ATQ0 V1 E1 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 Z -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 -- +CME ERROR: 50
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &D2 -- +CME ERROR: 50
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 +FCLASS=0 -- +CME ERROR: 50
ttyUSB0<*1>: Modem Identifier: ATI -- Manufacturer: huawei
ttyUSB0<*1>: Speed 9600: AT -- OK
ttyUSB0<*1>: Max speed is 9600; that should be safe.
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 -- OK
And freezes
$uname -a
Linux 3.13.0-30-generic #54-Ubuntu SMP Mon Jun 9 22:45:01 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
"Jul 3 23:44:31 usb_modeswitch: switch device 12d1:14fe on 003/005"
usb_modeswitch has found the dongle in initial mode 12d1:14fe and has switched it into modem mode
"Jul 3 23:44:32 kernel: [19565.429763] usb 3-1: New USB device found, idVendor=12d1, idProduct=1506"
"Jul 3 23:44:33 usb_modeswitch[ 16596]: usb_modeswitch: switched to 12d1:1506 on 3/6"
The first indication of a problem is here:
"Jul 3 23:44:34 usb_modeswitch[ 16596]: usb_modeswitch: add device ID 12d1:1506 to driver option"
The option driver did not attach by itself to the dongle, usb_modeswitch will check for that and load the driver using the new_id function of the driver if no driver claimed the interfaces.
The new_id function can not distinguish between serial interfaces and net interfaces so it will erroneosly also bind to the net interface:
"Jul 3 23:44:35 ModemManager[812]: <warn> (ttyUSB1): port attributes not fully set"
The reason for the driver not binding by itself (and excluding the net interface) is most likely due to an outdated option driver in your distro, a driver not directly supporting your dongle.
Please attach the output from lsusb -v -d 12d1:1506 so I can see the interface attributes in order to tell if the device is supported in mainline linux kernel.