| View previous topic :: View next topic |
| Author |
Message |
josh
Joined: 03 Oct 2006 Posts: 21

|
Posted: Wed Sep 12, 2007 10:09 am Post subject: USB_ModeSwitch, new version 0.9.4beta2 |
|
|
New in 0.9.4beta2:
- new approach to reliable switching, independent of timing
- (from 0.9.4beta) support for multiple devices (even same IDs)
- new devices added, as usual
Please test!
Very nice: in my system (udevd -V: 114) I don't have to care about delays and timing anymore!
New in 0.9.3beta:
- support for Option HSO devices/firmware (thanks, Paul!)
- more new devices (Novatel, ZTE et al.)
- updated documentation
It's at the new place:
http://www.draisberghof.de/usb_modeswitch/
Please test!
USB_ModeSwitch V. 0.9.2 is out:
- nine devices supported now (two of them experimental)
- new Huawei switching mode (thanks to Denis Sutter)
- timing issues under control (thanks to Lucas Benedicic)
- improved documentation on a revamped homepage
- a little forum for mode switching (no Pharscape competition!)
See
http://www.draisberghof.de/usb_modeswitch
New in 0.9.1beta:
- command line interface
- bug fixes
- new device "Option GlobeTrotter EXPRESS 7.2" (experimental)
- new device "Huawei E630" (experimental)
- updated docs (and web site)
If you had strange problems with the previous version, try this one!
It's at http://www.frederick-reid.com/usb_modeswitch/
Last edited by josh on Sat Mar 22, 2008 10:13 am; edited 3 times in total |
|
| Back to top |
|
 |
danmacklin
Joined: 11 Dec 2006 Posts: 5

|
Posted: Wed Sep 12, 2007 10:35 am Post subject: Issue with Option GlobeTrotter EXPRESS 7.2 |
|
|
Hi,
I have just upgraded to this latest version and still cannot get this card to work.
Any help would be appreciated.
This is the conf file I use :-
DefaultVendor= 0x05c6
DefaultProduct= 0x1000
TargetVendor= 0x0af0
TargetProduct= 0x6701
MessageEndpoint=0x05
MessageContent="55534243d0d78d850000000000000601000000000000000000000000000000"
ResponseEndpoint=0x84
NeedResponse=1
This is the output of the command :-
* usb_modeswitch: tool for controlling "flip flop" mode USB devices
* Version 0.9.1 beta (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. Prepare switching
Looking for active default driver to detach it
No driver found. Device probably not initialized. Trying to continue ...
Trying to send the message
OK, message successfully sent.
Trying to read the response
Reading the response returned error -110, trying to continue ...
-> See /proc/bus/usb/devices (or call lsusb) for changes. Bye
Thanks in advance
Dan |
|
| Back to top |
|
 |
josh
Joined: 03 Oct 2006 Posts: 21

|
Posted: Wed Sep 12, 2007 1:25 pm Post subject: |
|
|
Did you blacklist the "usb-storage" driver?
It should be attached automatically if you plug in your card.
If not, try to insmod the module. You should be able to use the flash disk of the device to make sure the USB communication is working.
The failed response is probably nothing to worry about.
Could you post the output of "lsusb" right after plugging in?
|
|
| Back to top |
|
 |
madhatter
Joined: 25 Sep 2007 Posts: 1

|
Posted: Tue Sep 25, 2007 4:04 pm Post subject: How to read the usb sniffer log? |
|
|
I,
sorry to bother you with this, but where exactly in the usbsniffer log (from windows) do I find the values for the:
MessageEndpoint
MessageContent
ResponseEndpoint
I can't find this variables in there, could you post a log example and from where in the log did you retrieve the values?
Thanks in advance..... |
|
| Back to top |
|
 |
josh
Joined: 03 Oct 2006 Posts: 21

|
Posted: Sun Sep 30, 2007 8:58 pm Post subject: Re: How to read the usb sniffer log? |
|
|
| madhatter wrote: | | I can't find this variables in there, could you post a log example and from where in the log did you retrieve the values? |
I am about to set up a dedicated page with a Howto. Give me some more days ...
Just a quick hint: look at the END of the log (of the storage device), the last BULK_OR_INTERRUPT_TRANSFER with a notable hex sequence is highly suspicious of being the switch command. That's why the log ends after all.
You need the hex sequence, it's the "message".
The endpoint is listed like "[endpoint 0x00000005]" nearby. Just ignore the zeroes. In programming, 0x05, 0x5 and the example above don't differ in any way. The number of zeroes just shows the space reserved for that value. |
|
| Back to top |
|
 |
josh
Joined: 03 Oct 2006 Posts: 21

|
Posted: Sat Nov 03, 2007 7:56 am Post subject: |
|
|
USB_ModeSwitch V. 0.9.2 is out:
- nine devices supported now (two of them experimental)
- new Huawei switching mode (thanks to Denis Sutter)
- timing issues under control (thanks to Lucas Benedicic)
- improved documentation on a revamped homepage
- a little forum for mode switching (no Pharscape competition!)
See
http://www.draisberghof.de/usb_modeswitch |
|
| Back to top |
|
 |
Danni
Joined: 06 Sep 2007 Posts: 3 Location: England

|
Posted: Wed Nov 07, 2007 3:48 pm Post subject: |
|
|
Urg... I cannot get this.
It says it's not a valid bzip2 file:
danni@Annika:~$ tar xjf usb_modeswitch-0.9.2.tar.bz2
bzip2: (stdin) is not a bzip2 file.
tar: Child returned status 2
tar: Error exit delayed from previous errors
danni@Annika:~$
I've tried downloading it several times, and same error. Other bzip2 files extract fine. |
|
| Back to top |
|
 |
josh
Joined: 03 Oct 2006 Posts: 21

|
Posted: Sun Dec 30, 2007 4:39 pm Post subject: |
|
|
@Danni:
I don't really know how to help ... I checked the file, and no one else has had any problems ... |
|
| Back to top |
|
 |
Danni
Joined: 06 Sep 2007 Posts: 3 Location: England

|
Posted: Tue Feb 05, 2008 10:08 pm Post subject: |
|
|
It's odd- extracted fine on Windows using 7-zip.
I guess my computer doesn't like it. |
|
| Back to top |
|
 |
josh
Joined: 03 Oct 2006 Posts: 21

|
Posted: Sat Mar 22, 2008 10:18 am Post subject: USB_ModeSwitch, new version 0.9.4beta2 |
|
|
| See the top entry for details ... |
|
| Back to top |
|
 |
|