Author Message

<  Device Information  ~  C-Motech D-50 or CDU-680

PostPosted: Tue Jun 24, 2008 11:49 am Reply with quote
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 9:49 am, edited 1 time in total.

PostPosted: Wed Jun 25, 2008 12:01 am Reply with quote
Site AdminPosts: 6269Joined: Sat Nov 03, 2007 12:30 am
Mighty cool :!:

You get your hands on new devices quite often, right?


Offline Profile
PostPosted: Wed Jun 25, 2008 9:39 am Reply with quote
Yes, every now and then. All of them aren't brand new however.


PostPosted: Sat Jul 11, 2009 4:05 am Reply with quote
Posts: 1Joined: Sat Jul 11, 2009 2:54 am
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.


Offline Profile
PostPosted: Sat Jul 11, 2009 9:09 am Reply with quote
Site AdminPosts: 6269Joined: Sat Nov 03, 2007 12:30 am
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)?


Offline Profile
PostPosted: Mon Sep 28, 2009 12:47 pm Reply with quote
Posts: 1Joined: Mon Sep 28, 2009 12:29 pm
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= ... stcount=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.


Offline Profile
PostPosted: Mon Jan 21, 2013 3:21 pm Reply with quote
Posts: 1Joined: Mon Jan 21, 2013 3:16 pm
kevcart3 wrote:
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.


hey kevcart3...
i have same problem as you have ......please let me know if you found out the solution for this question...thanks in advance .


Offline Profile

Display posts from previous:  Sort by:

All times are UTC + 1 hour [ DST ]
Page 1 of 1
7 posts
Users browsing this forum: Google [Bot] and 1 guest
Search for:
Post new topic  Reply to topic
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum