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?!