
Originally Posted by
chili555
I think there
are two devices; the flash drive part has the (Windows) software that drives the wireless device. As I understand usb_modeswitch, it's objective is to hop over the flash drive part and just use the wireless device with Linux drivers. I am confident that those smarter than me will hop in here and correct me. I will be grateful for the assistance.
You have:I'm guessing the Default pieces correspond to:The first experiment I'd suggest is to change the Default parts to 0x1307 and 0x1169.
The Target parts you have as 0x13b1 and 0x0031. That doesn't correspond to anything that I see in lsusb. I'd change the Target parts to 0x1307 and 0x0169.
I'd then run the command again:
Code:
sudo usb_modeswitch -c /etc/usb_modeswitch.conf
Look for clues as to what's happening under the hood and let's see what it says. If we're both lucky and smart today, it will work.
If we're not, then my next experiment would be to reverse what I suggested and try again.
W00t! Ok, we are one step closer. Thank you so much for the ideas. Here's the code that worked:
Code:
DefaultVendor= 0x1307
DefaultProduct= 0x1169
TargetVendor= 0x13b1
#0x1307
TargetProduct= 0x0031
#0x0169
#MessageEndpoint=0×05
MessageContent="5553424312345678c00000008000069f030000000000000000000000000000"
If you put in any other values for default vendor it doesn't work, and it doesn't seem to care much what you put for TargetVendor, (though that may prove to be quite important later...).
Here's the response it gives:
Code:
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 005 on bus 001 ...
Getting the current device configuration ...
OK, got current device configuration (1)
Using endpoints 0x01 (out) and 0x82 (in)
Using endpoints 0x01 (out) and 0x82 (in)
Inquiring device details; driver will be detached ...
Looking for active driver ...
OK, driver found ("usb-storage")
OK, driver "usb-storage" detached
Then it hangs there forever. BUT Linux doesn't claim there's a USB storage device plugged in there anymore. Well, at least my home menu doesn't have it listed on the side anymore. But, here are the contents of lsusb:
Code:
Bus 002 Device 003: ID 045e:007d Microsoft Corp. Notebook Optical Mouse
Bus 002 Device 002: ID 045e:00db Microsoft Corp. Natural Ergonomic Keyboard 4000 V1.0
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 005: ID 1307:1169 Transcend Information, Inc. TS2GJF210 JetFlash 210 2GB
Bus 001 Device 003: ID 1307:0169 Transcend Information, Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
So, nothing has changed there.
I've been following this tutorial.
http://standy.blog.ugm.ac.id/2010/02...u-jaunty-9-04/
The next step he says (assuming this device is acting like a modem) is to:
Next, you must modprobe your modem as usbserial into kernel … (different method with other ubuntu version) with “sudo gedit /boot/grub/menu.lst” in terminal.
Compare, add and edit yours to be like this :
menu.lst is blank, so I'm not quite sure what to do. Does that mean to add something in /etc/modules?
I think I'm one step closer.
Bookmarks