Activation Codes and Methods, Hardware Details, Sniffing
Post Reply
miljume
Posts: 1
Joined: 22 Nov 2016, 22:35

Problems with using Huawei E3531 with Raspberry Pi

Post by miljume » 22 Nov 2016, 22:46

Hello,

I have struggled now for several nights without success, my modem still shows up as storage device and dont attach to a device (ttyUSB*)

It seems like it switches from 12d1:157d to 12d1:14dc after I have used

Code: Select all

usb_modeswitch -W -v 12d1 -p 157d -V 12d1 -P 14dc -M ”55534243123456780000000000000011062000000101000100000000000000"
But still

Code: Select all

dmesg | grep USB 
shows

Code: Select all

root@raspberrypi:/etc/network# dmesg | grep USB
[    0.735039] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[    0.740605] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    0.741961] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.747892] hub 1-0:1.0: USB hub found
[    0.904629] usbhid: USB HID core driver
[    1.138652] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    1.338960] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
[    1.340487] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.342676] hub 1-1:1.0: USB hub found
[    1.618655] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[    1.718979] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[    1.720582] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.792305] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:5e:a0:7b
[    6.388636] usb 1-1.4: new high-speed USB device number 4 using dwc_otg
[    6.490438] usb 1-1.4: New USB device found, idVendor=12d1, idProduct=157d
[    6.490454] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    6.534957] usb-storage 1-1.4:1.0: USB Mass Storage device detected
[  393.784833] usb 1-1.4: USB disconnect, device number 4
[  395.302819] usb 1-1.4: new high-speed USB device number 5 using dwc_otg
[  395.403898] usb 1-1.4: New USB device found, idVendor=12d1, idProduct=14dc
[  395.403920] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  395.617592] usb-storage 1-1.4:1.2: USB Mass Storage device detected
Any tips on what I can do to make it work?

LOM
Posts: 1404
Joined: 11 Jul 2012, 15:14
Location: Koh Samui, TH

Re: Problems with using Huawei E3531 with Raspberry Pi

Post by LOM » 23 Nov 2016, 06:01

miljume wrote:Hello,

I have struggled now for several nights without success, my modem still shows up as storage device and dont attach to a device (ttyUSB*)

It seems like it switches from 12d1:157d to 12d1:14dc after I have used

Code: Select all

usb_modeswitch -W -v 12d1 -p 157d -V 12d1 -P 14dc -M ”55534243123456780000000000000011062000000101000100000000000000"
Any tips on what I can do to make it work?
12d1:14dc is the correct id after switching, it contains a direct ethernet net device interface and a storage interface for the SD/TF card reader, there are no serial interfaces in this dongle so no ttyUSBx are created.
Load the cdc_ether driver and your dmesg will show binding of that driver and creation of a net device.

Post Reply