MBD-100HU USB Modem
Posted: 06 Jun 2008, 12:02
Hi,
Since I still have some problems cross-compiling usb_modeswitch with Kernel 2.4.34 (library -l usb not found...) for my embedded platform, I thought I could probably try it out on my Fedora FC9 first.
Compiled on FC9 was OK with some minor changes.
I have a MBD-100HU USB Modem and here are the USB IDs.
Mass Storage = vendor=0x1c9e product=0x1001
Modem = vendor=0x1c9e product=0x6061
and here's the steps that I tried.
[root@localhost usb_modeswitch-0.9.3]# ./usb_modeswitch -v 0x1c9e -p 0x1001 -V 0x1c9e -P 0x6061 -C 0xff -d 1
* usb_modeswitch: tool for controlling "flip flop" mode USB devices
* Version 0.9.3 (C) Josua Dietze 2007
* Works with libusb 0.1.12 and probably other versions
Looking for target device
OK, target device not found. Action required
Looking for default device
Ok, found default device
Looking for target class
OK, device not found in target class mode. Action required
Prepare switching, accessing device
Looking for active default driver to detach it
OK, driver found ("usb-storage")
OK, Driver "usb-storage" successfully detached
-> See /proc/bus/usb/devices (or call lsusb) for changes. Bye
[root@localhost usb_modeswitch-0.9.3]# /sbin/lsusb
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 004 Device 004: ID 1c9e:1001
Bus 004 Device 002: ID 046d:c018 Logitech, Inc. Optical Wheel Mouse
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 003: ID 413c:8103 Dell Computer Corp. Wireless 350 Bluetooth
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
The storage was detached but when I did "lsusb", I still saw the storage product ID (0x1001) instead of modem product ID (0x6061).
I am not sure if MessageEndpoint and MessageContent are required. How do I get the numbers? How do I "debug" this?
Thank you.
-V
Since I still have some problems cross-compiling usb_modeswitch with Kernel 2.4.34 (library -l usb not found...) for my embedded platform, I thought I could probably try it out on my Fedora FC9 first.
Compiled on FC9 was OK with some minor changes.
I have a MBD-100HU USB Modem and here are the USB IDs.
Mass Storage = vendor=0x1c9e product=0x1001
Modem = vendor=0x1c9e product=0x6061
and here's the steps that I tried.
[root@localhost usb_modeswitch-0.9.3]# ./usb_modeswitch -v 0x1c9e -p 0x1001 -V 0x1c9e -P 0x6061 -C 0xff -d 1
* usb_modeswitch: tool for controlling "flip flop" mode USB devices
* Version 0.9.3 (C) Josua Dietze 2007
* Works with libusb 0.1.12 and probably other versions
Looking for target device
OK, target device not found. Action required
Looking for default device
Ok, found default device
Looking for target class
OK, device not found in target class mode. Action required
Prepare switching, accessing device
Looking for active default driver to detach it
OK, driver found ("usb-storage")
OK, Driver "usb-storage" successfully detached
-> See /proc/bus/usb/devices (or call lsusb) for changes. Bye
[root@localhost usb_modeswitch-0.9.3]# /sbin/lsusb
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 004 Device 004: ID 1c9e:1001
Bus 004 Device 002: ID 046d:c018 Logitech, Inc. Optical Wheel Mouse
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 003: ID 413c:8103 Dell Computer Corp. Wireless 350 Bluetooth
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
The storage was detached but when I did "lsusb", I still saw the storage product ID (0x1001) instead of modem product ID (0x6061).
I am not sure if MessageEndpoint and MessageContent are required. How do I get the numbers? How do I "debug" this?
Thank you.
-V