| Author |
Message |
|
| ilix |
Posted: Tue Jun 24, 2008 10:49 am |
|
|
|
Guest
|
I have a new modem working, it switches on the following command:
Code: usb_modeswitch -v 0x16d8 -p 0x6803 -m 0x07 -M 5553424308e0408524000000800008ff524445564348470000000000000000
After switching it shows up with the same product id.
For usb_modeswitch.conf
Code:
;DefaultVendor= 0x16d8
;DefaultProduct= 0x6803
;TargetVendor= 0x16d8
;TargetProduct= 0x6803
;MessageEndpoint=0x07
;MessageContent="5553424308e0408524000000800008ff524445564348470000000000000000"
Some notes:
When this modem switches, it will remove the zero cd and then add a *new* one with other files on it! This will confuse windows, making explorer freeze up a little when you try accessing the CD (since the first one isn't properly unmounted). On Linux (at least on my router) it freezes the whole system if I try communicating with that tty port. So take some caution when you first try finding the modem port.
In linux I get five tty ports after switching it, only responds to at commands. On my system it's ttyUSB0 through 4 where 0 is the modem. There was a linux switch/connect utility on board the zero CD, but none of that stuff worked (tested on two separate ubuntu machines as well as a router). |
Last edited by ilix on Wed Jun 25, 2008 8:49 am; edited 1 time in total |
|
| Back to top |
|
| Josh |
Posted: Tue Jun 24, 2008 11:01 pm |
|
|
|
Site Admin
Joined: 02 Nov 2007
Posts: 1245
|
Mighty cool
You get your hands on new devices quite often, right? |
|
|
| Back to top |
|
| ilix |
Posted: Wed Jun 25, 2008 8:39 am |
|
|
|
Guest
|
| Yes, every now and then. All of them aren't brand new however. |
|
|
| Back to top |
|
| stiell |
Posted: Sat Jul 11, 2009 3:05 am |
|
|
|
Joined: 11 Jul 2009
Posts: 1
|
I also have a C-motech D-50, with the same initial ID. However, it doesn't work with your command. usb_modeswitch doesn't return any error, but the modem won't switch.
The modem comes with a small GNU/Linux program to switch the mode, RDEVCHG, but it's buggy. Apparently it tries to communicate with the wrong device file and fails. I did a small hack to the source code so that it would work, and then used usbmon with RDEVCHG to get the exact message to use with usb_modeswitch.
Here's the command that works for me:Code: /usr/bin/usb_modeswitch -v 0x16d8 -p 0x6803 -m 0x07 -M 555342435c0000000900000000000aff524445564348473100000000000000
The modem gets a new ID, 16d8:680a, it can be used through /dev/ttyACM0, and NetworkManager discovers the modem. |
|
|
| Back to top |
|
| Josh |
Posted: Sat Jul 11, 2009 8:09 am |
|
|
|
Site Admin
Joined: 02 Nov 2007
Posts: 1245
|
Thanks a lot!
As stated on numerous places, I'm dependent of the reporters when it comes to device information and switching commands. I have no way to test the hardware myself. So there might always be mistakes in the config file.
And it is still possible that there are different firmware versions with different switching commands around.
Would you mind posting the USB_ModeSwitch outpout for the device (just the ID string information that 1.0.2 gives)? |
|
|
| Back to top |
|
| kevcart3 |
Posted: Mon Sep 28, 2009 11:47 am |
|
|
|
Joined: 28 Sep 2009
Posts: 1
|
Hey, thanks for the tool for getting this done, but I'm having some trouble getting a Franklin CDU-680 working using this information.
I posted a question about my device on the Ubuntu forums, where I have posted a lot of my logs and .conf changes. Here is a link to my starting post:
http://ubuntuforums.org/showpost.php?p=8009828&postcount=80
All of my log files and .conf file changes are posted there (no reg. needed).
If someone could help me get this working, I'd greatly appreciate it. |
|
|
| Back to top |
|
|
|