Hi
I am trying to use usb_modeswitch to bring up the DWN 152 modem from D Link.
This is what I have when plugging the USB Key
[ 124.499511] usb 1-1.1: new high speed USB device using ehci-omap and address 6
[ 124.916168] Initializing USB Mass Storage driver...
[ 124.937408] scsi0 : usb-storage 1-1.1:1.0
[ 124.951385] usbcore: registered new interface driver usb-storage
[ 124.951416] USB Mass Storage support registered.
[ 135.264312] usb 1-1.1: USB disconnect, address 6
[ 135.514312] usb 1-1.1: new high speed USB device using ehci-omap and address 7
[ 135.724792] scsi1 : usb-storage 1-1.1:1.4
[ 136.760711] scsi 1:0:0:0: Direct-Access Micro_SD Storage 2.31 PQ: 0 ANSI: 2
[ 136.772735] sd 1:0:0:0: Attached scsi generic sg0 type 0
[ 136.816955] sd 1:0:0:0: [sda] Attached SCSI removable disk
And here's what i do
linaro@localhost:~$ lsusb
Bus 001 Device 007: ID 07d1:3e01 D-Link System
Bus 001 Device 005: ID 413c:3012 Dell Computer Corp. Optical Wheel Mouse
Bus 001 Device 004: ID 413c:2003 Dell Computer Corp. Keyboard
Bus 001 Device 003: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
linaro@localhost:~$ sudo usb_modeswitch --default-vendor=0x07d1 --default-product=0x3e01 -I -W
Taking all parameters from the command line
* usb_modeswitch: handle USB devices with multiple modes
* Version 1.1.9 (C) Josua Dietze 2011
* Based on libusb0 (0.1.12 and above)
! PLEASE REPORT NEW CONFIGURATIONS !
DefaultVendor= 0x07d1
DefaultProduct= 0x3e01
TargetVendor= not set
TargetProduct= not set
TargetClass= not set
TargetProductList=""
DetachStorageOnly=0
HuaweiMode=0
SierraMode=0
SonyMode=0
GCTMode=0
KobilMode=0
SequansMode=0
MobileActionMode=0
CiscoMode=0
MessageEndpoint= not set
MessageContent=""
NeedResponse=0
ResponseEndpoint= not set
Interface=0x00
InquireDevice disabled
Success check disabled
System integration mode disabled
usb_set_debug: Setting debugging level to 15 (on)
usb_os_find_busses: Found 001
usb_os_find_devices: Found 007 on 001
usb_os_find_devices: Found 005 on 001
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 004 on 001
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 003 on 001
usb_os_find_devices: Found 002 on 001
usb_os_find_devices: Found 001 on 001
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Inappropriate ioctl for device
Looking for default devices ...
searching devices, found USB ID 07d1:3e01
found matching vendor ID
found matching product ID
adding device
searching devices, found USB ID 413c:3012
searching devices, found USB ID 413c:2003
searching devices, found USB ID 05e3:0608
searching devices, found USB ID 05e3:0608
searching devices, found USB ID 1d6b:0002
Found devices in default mode, class or configuration (1)
Accessing device 007 on bus 001 ...
Getting the current device configuration ...
OK, got current device configuration (1)
USB description data (for identification)
-------------------------
Manufacturer:
Product: USB Configuration
Serial No.: 1234567890ABCDEF
-------------------------
Warning: no switching method given.
-> Run lsusb to note any changes. Bye.
So i think my problem comes from the fact that i don't have the CDROM being mounted as my board doesn't support CDROMs.
Did you install the whole usb_modeswitch "framework" (program and data package) ?
If so, are you sure there was no mode switch already?
To check the mode of your device run "lsusb -v -d 07d1:3e01 | grep bInterfaceClass" (case matters!).
If the first line does not show "8", your device has most likely switched to operation mode.
If so, are you sure there was no mode switch already?
To check the mode of your device run "lsusb -v -d 07d1:3e01 | grep bInterfaceClass" (case matters!).
If the first line does not show "8", your device has most likely switched to operation mode.