I have installed on ubuntu 10.04 the actual usb_modeswitch package.
When I put the stick from 4G-Systems.com in the notebook, the software doesn't switch automatically from usb memory to usbserial.
Code: Select all
user@lifebook:~$ uname -a
Linux lifebook 2.6.32-25-generic #44-Ubuntu SMP Fri Sep 17 20:26:08 UTC 2010 i686 GNU/Linux
user@lifebook:~$ lsusb | grep f000
Bus 001 Device 002: ID 1c9e:f000
user@lifebook:~$ lsmod | grep usb
usb_storage 39553 1
Code: Select all
########################################################
# MobiData MBD-200HU and others
DefaultVendor= 0x1c9e
DefaultProduct=0xf000
TargetVendor= 0x1c9e
TargetProductList="9000,9603,9605,9a00"
CheckSuccess=20
MessageContent="55534243123456788000000080000606f50402527000000000000000000000"
Code: Select all
user@lifebook:~$ sudo usb_modeswitch -c /etc/usb_modeswitch.d/1c9e:f000 -W
Warning: TargetProductList overrides TargetProduct!
* usb_modeswitch: handle USB devices with multiple modes
* Version 1.1.4 (C) Josua Dietze 2010
* Based on libusb0 (0.1.12 and above)
! PLEASE REPORT NEW CONFIGURATIONS !
DefaultVendor= 0x1c9e
DefaultProduct= 0xf000
TargetVendor= 0x1c9e
TargetProduct= not set
TargetClass= not set
TargetProductList="9000,9603,9605,9a00"
DetachStorageOnly=0
HuaweiMode=0
SierraMode=0
SonyMode=0
GCTMode=0
MessageEndpoint= not set
MessageContent="55534243123456788000000080000606f50402527000000000000000000000"
NeedResponse=0
ResponseEndpoint= not set
Interface=0x00
InquireDevice enabled (default)
Success check enabled, max. wait time 20 seconds
System integration mode disabled
usb_set_debug: Setting debugging level to 15 (on)
usb_os_find_busses: Found 005
usb_os_find_busses: Found 004
usb_os_find_busses: Found 003
usb_os_find_busses: Found 002
usb_os_find_busses: Found 001
usb_os_find_devices: Found 001 on 005
usb_os_find_devices: Found 001 on 004
usb_os_find_devices: Found 001 on 003
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 004 on 001
usb_os_find_devices: Found 001 on 001
error obtaining child information: Inappropriate ioctl for device
Looking for target devices ...
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1c9e:f000
found matching vendor ID
searching devices, found USB ID 1d6b:0002
No devices in target mode or class found
Looking for default devices ...
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1c9e:f000
found matching vendor ID
found matching product ID
adding device
searching devices, found USB ID 1d6b:0002
Found devices in default mode or class (1)
Accessing device 004 on bus 001 ...
Using endpoints 0x01 (out) and 0x81 (in)
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
SCSI inquiry data (for identification)
-------------------------
Vendor String: USBModem
Model String: Disk
Revision String: 2.31
-------------------------
USB description data (for identification)
-------------------------
Manufacturer: USB Modem
Product: USB Modem
Serial No.: 1234567890ABCDEF
-------------------------
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
Checking for mode switch (max. 20 times, once per second) ...
Waiting for original device to vanish ...
Waiting for original device to vanish ...
USB error: could not claim interface 0: No such device
Original device can't be accessed anymore. Good.
Searching for target devices ...
usb_os_find_devices: Found 001 on 005
usb_os_find_devices: Found 001 on 004
usb_os_find_devices: Found 001 on 003
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 005 on 001
usb_os_find_devices: Found 001 on 001
error obtaining child information: Inappropriate ioctl for device
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1c9e:9a00
found matching vendor ID
found matching product ID from list
searching devices, found USB ID 1d6b:0002
Found target device 005 on bus 001
Target device description data
-------------------------
Manufacturer: USB Modem
Product: USB Modem
Serial No.: 1234567890ABCDEF
-------------------------
Found correct target device
Mode switch succeeded. Bye.
Code: Select all
user@lifebook:~$ lsusb | grep 1c9e
Bus 001 Device 005: ID 1c9e:9a00
user@lifebook:~$ lsmod | grep usb
usb_storage 39553 0
2) Why I have to use "sudo modprobe usbserial vendor=0x1c9e product=0x9a00" to get an usbserial device?
Any Ideas?