Posted: 14 Dec 2011, 11:37
below test.conf contains default dev, target dev and message content
usb_modeswitch -c /etc/usb_modeswitch.d/21f5:1000 also works
new /var/log/message when usb_modeswitched
http://pastebin.com/J3ZQvN2R
the last no. in pastebin
usb_modeswitch -c /etc/usb_modeswitch.d/21f5:1000 also works
Code: Select all
usb_modeswitch -c /etc/test.conf |grep "">f.txt
Looking for target devices ...
No devices in target mode or class found
Looking for default devices ...
Found devices in default mode, class or configuration (1)
Accessing device 004 on bus 004 ...
Getting the current device configuration ...
OK, got current device configuration (1)
Using endpoints 0x05 (out) and 0x85 (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: CDROM
Model String: StrongRising.CO
Revision String: 2.31
-------------------------
USB description data (for identification)
-------------------------
Manufacturer: Qualcomm, Incorporated
Product: StrongRising.CO
Serial No.: not provided
-------------------------
Setting up communication with interface 0
Using endpoint 0x05 for message sending ...
Trying to send message 1 to endpoint 0x05 ...
OK, message successfully sent
Resetting response endpoint 0x85
Could not reset endpoint (probably harmless): -71
Resetting message endpoint 0x05
Could not reset endpoint (probably harmless): -71
Device is gone, skipping any further commands
Checking for mode switch (max. 20 times, once per second) ...
Searching for target devices ...
Searching for target devices ...
Found target device, now opening
Found correct target device
Mode switch succeeded. Bye.
http://pastebin.com/J3ZQvN2R
the last no. in pastebin