Automatic Activation, Hotplug and UDEV, Configuration
-
wuxinxinggg
- Posts: 4
- Joined: 23 Feb 2012, 10:30
Post
by wuxinxinggg » 23 Feb 2012, 11:29
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/
-
Josh
- Site Admin
- Posts: 6593
- Joined: 03 Nov 2007, 00:30
Post
by Josh » 25 Feb 2012, 00:30
Why do you run usb_modeswitch manually if you have ttyUSB0 ??
If you see ttyUSB0, your device is in modem mode.
-
wuxinxinggg
- Posts: 4
- Joined: 23 Feb 2012, 10:30
Post
by wuxinxinggg » 25 Feb 2012, 02:15
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.
-
Josh
- Site Admin
- Posts: 6593
- Joined: 03 Nov 2007, 00:30
Post
by Josh » 25 Feb 2012, 09:34
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.