Page 1 of 1

ttyusb0 missing after usb_modeswitch success

Posted: 23 Feb 2012, 11:29
by wuxinxinggg
when I plugin my wcdma 3g dongle ,there is ttyUSB0 in the directory of /dev,but after usb_modeswitch successfully (after I excute "sudo usb_modeswitch -W -I -c /etc/usb-modeswitch.conf.wcdma")

ttyUSB0 is missing ,any advice will help.

Thank you very much.

below is the dmesg :

Code: Select all


~$ sudo dmesg -c
[  793.544910] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
[  793.544997] option 2-1.1:1.0: device disconnected
[  793.550711] usb 2-1.1: USB disconnect, address 7
[  794.772084] usb 2-1.1: new full speed USB device using ehci_hcd and address 8
[  794.865998] usb 2-1.1: configuration #1 chosen from 1 choice
[  794.894421] Initializing USB Mass Storage driver...
[  794.894914] scsi7 : SCSI emulation for USB Mass Storage devices
[  794.895012] usb-storage: device found at 8
[  794.895015] usb-storage: waiting for device to settle before scanning
[  794.895026] usbcore: registered new interface driver usb-storage
[  794.895028] USB Mass Storage support registered.
[  794.895546] usbcore: deregistering interface driver usb-storage
~$ ls /dev/

Posted: 25 Feb 2012, 00:30
by Josh
Why do you run usb_modeswitch manually if you have ttyUSB0 ??

If you see ttyUSB0, your device is in modem mode.

Posted: 25 Feb 2012, 02:15
by wuxinxinggg
Josh wrote:Why do you run usb_modeswitch manually if you have ttyUSB0 ??

If you see ttyUSB0, your device is in modem mode.
But when I dial with the command of "sudo wvdialconf",the is something wrong like:"modem no respond"

Thank you,admin.How can I deal with the situation.

Posted: 25 Feb 2012, 09:34
by Josh
As described on the usb_modeswitch documentation page (see link at the top of the page), the correct modem port is not always ttyUSB0. According to your other posts, you have more than one ttyUSB port. Did you try all of them?

And don't trust the automatic configuration of wvdial. There are plenty of usable config file examples available, just search for "3G wvdial.conf". You can probably even add the name of your provider and find ready-made configurations.