Jump to content

Problem with 3G modem since v1.4.0


Xt4xt1X
 Share

Recommended Posts

Hi Sebkinne.

I have a T-Mobile Speedstick (Huawei E398) that worked under v1.3.0 without any issue.

Since v1.4.0 it is only recognized as USB storage. USB_Modeswitch does not work. Seems to be a driver related problem.

lsusb shows the device correctly:

root@Pineapple:~# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 058f:6254 Alcor Micro Corp. USB Hub
Bus 001 Device 003: ID 0bda:8187 Realtek Semiconductor Corp. RTL8187 Wireless Adapter
Bus 001 Device 004: ID 058f:6366 Alcor Micro Corp. Multi Flash Reader
Bus 001 Device 007: ID 12d1:1506 Huawei Technologies Co., Ltd. Modem/Networkcard

dmesg shows that it is only mapped as storage card:

[ 1548.080000] usb 1-1.2: new high-speed USB device number 6 using ehci-platform
[ 1548.210000] scsi3 : usb-storage 1-1.2:1.0
[ 1548.220000] scsi4 : usb-storage 1-1.2:1.1
[ 1548.860000] usb 1-1.2: USB disconnect, device number 6
[ 1556.270000] usb 1-1.2: new high-speed USB device number 7 using ehci-platform
[ 1556.400000] scsi5 : usb-storage 1-1.2:1.4
[ 1556.410000] scsi6 : usb-storage 1-1.2:1.5
[ 1557.400000] scsi 5:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2
[ 1557.400000] scsi 5:0:0:0: Attached scsi generic sg1 type 5
[ 1557.410000] scsi 6:0:0:0: Direct-Access HUAWEI SD Storage 2.31 PQ: 0 ANSI: 2
[ 1557.420000] sd 6:0:0:0: Attached scsi generic sg2 type 0
[ 1557.430000] sd 6:0:0:0: [sdb] Attached SCSI removable disk

When I run usb_modeswitch manually over SSH console I get

root@Pineapple:~# usb_modeswitch -v 12d1 -p 1506 -c /etc/usb_modeswitch.d/12d1\:14fe

Looking for target devices ...
found matching product ID
adding device
Found devices in target mode or class (1)
Looking for default devices ...
found matching product ID
adding device
Found device in default mode, class or configuration (1)
Accessing device 007 on bus 001 ...
Getting the current device configuration ...
OK, got current device configuration (1)
Using first interface: 0x00
Using endpoints 0x01 (out) and 0x82 (in)
Not a storage device, skipping SCSI inquiry

USB description data (for identification)
-------------------------
Manufacturer: HUAWEI
Product: HUAWEI Mobile
Serial No.: not provided
-------------------------
Looking for active driver ...
No driver found. Either detached before or never attached
Setting up communication with interface 0
Using endpoint 0x01 for message sending ...
Trying to send message 1 to endpoint 0x01 ...
OK, message successfully sent
Resetting response endpoint 0x82
Resetting message endpoint 0x01
-> Run lsusb to note any changes. Bye.

and sor sure, not /tty/USB* devices are created:

root@Pineapple:~# ls /dev/ | grep ttyUSB
root@Pineapple:~#

Any idea what happened?

btw.

My 3G configuration needs a pincode to be set. So far I manually edit /etc/config/network to add the pincode option. Can you add a configuration field to the pineapple management interface, please?! :smile:

Edited by Xt4xt1X
Link to comment
Share on other sites

Xt4xt1X,

Can you execute the following two commands and see if it fixes the issue?

opkg update
opkg install kmod-usb-serial-option

We will add the pincode option to the interface soon too - please create a suggestion on our bugtracker to help keep track of current suggestions :)

Best Regards,

Sebkinne

Link to comment
Share on other sites

  • 1 month later...

Im encountering the exact same problem with my Huawei wich switches from 12d1:14fe to ID 12d1:1506

My MK5 is on 1.4.1 though... tried:

opkg update

opkg install kmod-usb-serial-option

This did not resolve my problem. Situation remains the same,. Any ideas?

Link to comment
Share on other sites


root@Pineapple:~# lsusb

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Bus 001 Device 002: ID 058f:6254 Alcor Micro Corp. USB Hub

Bus 001 Device 003: ID 0bda:8187 Realtek Semiconductor Corp. RTL8187 Wireless Adapter

Bus 001 Device 006: ID 12d1:1506 Huawei Technologies Co., Ltd. Modem/Networkcard

Bus 001 Device 005: ID 058f:6366 Alcor Micro Corp. Multi Flash Reader


dsmeg

[ 42.760000] usb 1-1.2: new high-speed USB device number 6 using ehci-platform

[ 43.270000] scsi3 : usb-storage 1-1.2:1.2

[ 43.270000] scsi4 : usb-storage 1-1.2:1.3

[ 44.270000] scsi 3:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2

[ 44.270000] scsi 3:0:0:0: Attached scsi generic sg0 type 5

[ 44.280000] scsi 4:0:0:0: Direct-Access HUAWEI TF CARD Storage 2.31 PQ



root@Pineapple:~# usb_modeswitch -v 12d1 -p 1506 -c /etc/usb_modeswitch.d/12d1\:

14fe


Looking for target devices ...

found matching product ID

adding device

Found devices in target mode or class (1)

Looking for default devices ...

found matching product ID

adding device

Found device in default mode, class or configuration (1)

Accessing device 006 on bus 001 ...

Getting the current device configuration ...

OK, got current device configuration (1)

Using first interface: 0x00

Using endpoints 0x01 (out) and 0x81 (in)

Not a storage device, skipping SCSI inquiry


USB description data (for identification)

-------------------------

Manufacturer: HUAWEI Technology

Product: HUAWEI Mobile

Serial No.: not provided

-------------------------

Looking for active driver ...

No driver found. Either detached before or never attached

Setting up communication with interface 0

Using endpoint 0x01 for message sending ...

Trying to send message 1 to endpoint 0x01 ...

OK, message successfully sent

Resetting response endpoint 0x81

Resetting message endpoint 0x01

-> Run lsusb to note any changes. Bye.



root@Pineapple:~# cat /proc/bus/usb/devices


T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 1

B: Alloc= 0/800 us ( 0%), #Int= 1, #Iso= 0

D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1

P: Vendor=1d6b ProdID=0002 Rev= 3.03

S: Manufacturer=Linux 3.3.8 ehci_hcd

S: Product=Generic Platform EHCI Controller

S: SerialNumber=ehci-platform

C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA

I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub

E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms


T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=480 MxCh= 4

D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1

P: Vendor=058f ProdID=6254 Rev= 1.00

S: Product=USB2.0Hub

C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA

I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub

E: Ad=81(I) Atr=03(Int.) MxPS= 1 Ivl=256ms


T: Bus=01 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#= 3 Spd=480 MxCh= 0

D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1

P: Vendor=0bda ProdID=8187 Rev= 1.00

S: Manufacturer=Manufacturer_Realtek_RTL8187_

S: Product=RTL8187_Wireless

S: SerialNumber=00133789CC2A

C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA

I:* If#= 0 Alt= 0 #EPs= 3 Cls=00(>ifc ) Sub=00 Prot=00 Driver=rtl8187

E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms

E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms

E: Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms


T: Bus=01 Lev=02 Prnt=02 Port=01 Cnt=02 Dev#= 6 Spd=480 MxCh= 0

D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1

P: Vendor=12d1 ProdID=1506 Rev= 1.02

S: Manufacturer=HUAWEI Technology

S: Product=HUAWEI Mobile

C:* #Ifs= 4 Cfg#= 1 Atr=80 MxPwr=500mA

I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=02 Prot=12 Driver=(none)

E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms

E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms

I:* If#= 1 Alt= 0 #EPs= 1 Cls=ff(vend.) Sub=02 Prot=16 Driver=(none)

E: Ad=82(I) Atr=03(Int.) MxPS= 64 Ivl=2ms

I: If#= 1 Alt= 1 #EPs= 3 Cls=ff(vend.) Sub=02 Prot=16 Driver=(none)

E: Ad=82(I) Atr=03(Int.) MxPS= 64 Ivl=2ms

E: Ad=83(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms

E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms

I:* If#= 2 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage

E: Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms

E: Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms

I:* If#= 3 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage

E: Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms

E: Ad=85(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms


T: Bus=01 Lev=02 Prnt=02 Port=03 Cnt=03 Dev#= 5 Spd=480 MxCh= 0

D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1

P: Vendor=058f ProdID=6366 Rev= 1.00

S: Manufacturer=Generic

S: Product=Mass Storage Device

S: SerialNumber=058F0O1111B1

C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA

I:* If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage

E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms

E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms

root@Pineapple:~#




root@Pineapple:~# opkg update


Updated list of available packages in /var/opkg-lists/pineapple_packages.

root@Pineapple:~# opkg install kmod-usb-serial-option

Package kmod-usb-serial-option (3.3.8-1) installed in root is up to date.

If the above errors were only about a kernel version missmatch, please ignore them. The package was installed successfully.



I got two LTE devices who no longer work. My old Huawei E180 is still working on 1.30 and 1.4.1


Help /sollution would be very much apreciated!!

Edited by Smarty
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...