Quanta (vendor 0408) modem and karmic (2.6.31 kernel)
Posted: 04 Nov 2009, 07:59
I've been struggling to get this modem (marketed in Indonesia as the Telkomsel Flash SU-8500U) working. I just purchased it, and wanted to get it working with the new kernel / hal model, so haven't tried it under other versions. It does work under windows.
It sets itself up as usb-storage, with vendor_id=0x0408 and product_id=0xf001. It should be able to flip into the same vendor_id with product_id 0xEA02 to EA04.
The modem ships with drivers for mac and windows, and two .deb files for the xandros Eee. In fact, I'm using an EeePC 900, but got rid of xandros the day I first tried it. installing the debs fails quietly, with some problems with home directories. Having poked around them a little, I'm not keen on getting them working anyway, as they change a bunch of files, including the serial.ko module.
What I've tried:
adding a rule to /etc/udev/rules.d to change the product id
adding a rule to /etc/udev/rules.d to send a message, copied from another thread
using usb_modeswitch manually to change product id
using usb_modeswitch manually to send a message copied from another thread
after the above, I've also tried sending a suspend signal using echo, which makes the device disappear from lsusb, but it never reappears.
None of these worked. I'm guessing that I need to get a message that works with this particular modem. I've sniffed the interaction on the windows box, and I'll post that later. Here's the dmesg:
[ 8831.504370] usb 1-3: new high speed USB device using ehci_hcd and address 4
[ 8831.686178] usb 1-3: configuration #1 chosen from 1 choice
[ 8831.692703] scsi3 : SCSI emulation for USB Mass Storage devices
[ 8831.692936] usb-storage: device found at 4
[ 8831.692941] usb-storage: waiting for device to settle before scanning
[ 8836.693413] usb-storage: device scan complete
[ 8836.696391] scsi 3:0:0:0: Direct-Access ConnMgr Storage 2.31 PQ: 0 ANSI: 2
[ 8836.702129] scsi 3:0:0:1: Direct-Access Micro_SD Storage 2.31 PQ: 0 ANSI: 2
[ 8836.702959] sd 3:0:0:0: Attached scsi generic sg3 type 0
[ 8836.703172] sd 3:0:0:1: Attached scsi generic sg4 type 0
[ 8836.718530] sd 3:0:0:0: [sdd] 60928 512-byte logical blocks: (31.1 MB/29.7 MiB)
[ 8836.721586] sd 3:0:0:0: [sdd] Write Protect is off
[ 8836.721596] sd 3:0:0:0: [sdd] Mode Sense: 0f 0e 00 00
[ 8836.721602] sd 3:0:0:0: [sdd] Assuming drive cache: write through
[ 8836.731213] sd 3:0:0:0: [sdd] Assuming drive cache: write through
[ 8836.731228] sdd:
[ 8836.758514] sd 3:0:0:1: [sde] Attached SCSI removable disk
[ 8836.761736] sd 3:0:0:0: [sdd] Assuming drive cache: write through
[ 8836.761749] sd 3:0:0:0: [sdd] Attached SCSI disk
and lsusb:
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 004: ID 0408:f001 Quanta Computer, Inc.
Bus 001 Device 003: ID 05e3:0505 Genesys Logic, Inc.
Bus 001 Device 002: ID 0951:1606 Kingston Technology
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
and, finally, usb_modeswitch:
sudo usb_modeswitch -v 0x0408 -p 0xf001 -V 0x0408 -P 0xea04
[sudo] password for dean:
* usb_modeswitch: tool for controlling "flip flop" mode USB devices
* Version 1.0.2 (C) Josua Dietze 2009
* Works with libusb 0.1.12 and probably other versions
Looking for target devices ...
No devices in target mode or class found
Looking for default devices ...
Found default devices (1)
Accessing device 004 on bus 001 ...
Using endpoints 0x01 (out) and 0x81 (in)
Inquiring device details; driver will be detached ...
Looking for active driver ...
OK, driver found ("usb-storage")
OK, driver "usb-storage" detached
Received inquiry data (detailed identification)
-------------------------
Vendor String: ConnMgr
Product String: Storage
Revision String: 2.31
-------------------------
Device description data (identification)
-------------------------
Manufacturer:
Product: DataCard Device
Serial No.: 1234567890ABCDEF
-------------------------
Warning: no switching method given.
-> Run lsusb to note any changes. Bye.
It sets itself up as usb-storage, with vendor_id=0x0408 and product_id=0xf001. It should be able to flip into the same vendor_id with product_id 0xEA02 to EA04.
The modem ships with drivers for mac and windows, and two .deb files for the xandros Eee. In fact, I'm using an EeePC 900, but got rid of xandros the day I first tried it. installing the debs fails quietly, with some problems with home directories. Having poked around them a little, I'm not keen on getting them working anyway, as they change a bunch of files, including the serial.ko module.
What I've tried:
adding a rule to /etc/udev/rules.d to change the product id
adding a rule to /etc/udev/rules.d to send a message, copied from another thread
using usb_modeswitch manually to change product id
using usb_modeswitch manually to send a message copied from another thread
after the above, I've also tried sending a suspend signal using echo, which makes the device disappear from lsusb, but it never reappears.
None of these worked. I'm guessing that I need to get a message that works with this particular modem. I've sniffed the interaction on the windows box, and I'll post that later. Here's the dmesg:
[ 8831.504370] usb 1-3: new high speed USB device using ehci_hcd and address 4
[ 8831.686178] usb 1-3: configuration #1 chosen from 1 choice
[ 8831.692703] scsi3 : SCSI emulation for USB Mass Storage devices
[ 8831.692936] usb-storage: device found at 4
[ 8831.692941] usb-storage: waiting for device to settle before scanning
[ 8836.693413] usb-storage: device scan complete
[ 8836.696391] scsi 3:0:0:0: Direct-Access ConnMgr Storage 2.31 PQ: 0 ANSI: 2
[ 8836.702129] scsi 3:0:0:1: Direct-Access Micro_SD Storage 2.31 PQ: 0 ANSI: 2
[ 8836.702959] sd 3:0:0:0: Attached scsi generic sg3 type 0
[ 8836.703172] sd 3:0:0:1: Attached scsi generic sg4 type 0
[ 8836.718530] sd 3:0:0:0: [sdd] 60928 512-byte logical blocks: (31.1 MB/29.7 MiB)
[ 8836.721586] sd 3:0:0:0: [sdd] Write Protect is off
[ 8836.721596] sd 3:0:0:0: [sdd] Mode Sense: 0f 0e 00 00
[ 8836.721602] sd 3:0:0:0: [sdd] Assuming drive cache: write through
[ 8836.731213] sd 3:0:0:0: [sdd] Assuming drive cache: write through
[ 8836.731228] sdd:
[ 8836.758514] sd 3:0:0:1: [sde] Attached SCSI removable disk
[ 8836.761736] sd 3:0:0:0: [sdd] Assuming drive cache: write through
[ 8836.761749] sd 3:0:0:0: [sdd] Attached SCSI disk
and lsusb:
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 004: ID 0408:f001 Quanta Computer, Inc.
Bus 001 Device 003: ID 05e3:0505 Genesys Logic, Inc.
Bus 001 Device 002: ID 0951:1606 Kingston Technology
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
and, finally, usb_modeswitch:
sudo usb_modeswitch -v 0x0408 -p 0xf001 -V 0x0408 -P 0xea04
[sudo] password for dean:
* usb_modeswitch: tool for controlling "flip flop" mode USB devices
* Version 1.0.2 (C) Josua Dietze 2009
* Works with libusb 0.1.12 and probably other versions
Looking for target devices ...
No devices in target mode or class found
Looking for default devices ...
Found default devices (1)
Accessing device 004 on bus 001 ...
Using endpoints 0x01 (out) and 0x81 (in)
Inquiring device details; driver will be detached ...
Looking for active driver ...
OK, driver found ("usb-storage")
OK, driver "usb-storage" detached
Received inquiry data (detailed identification)
-------------------------
Vendor String: ConnMgr
Product String: Storage
Revision String: 2.31
-------------------------
Device description data (identification)
-------------------------
Manufacturer:
Product: DataCard Device
Serial No.: 1234567890ABCDEF
-------------------------
Warning: no switching method given.
-> Run lsusb to note any changes. Bye.