once after installing ubuntu 13.10, for some modem, it could be error, in my case, i got
plug-on your usb modem, and check on usb list, we need to check the product id and vendor id of modem.
lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 004: ID 05c6:0015 Qualcomm, Inc.
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 002: ID 040b:2013 Weltrend Semiconductor
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 04f2:b160 Chicony Electronics Co., Ltd
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 0a5c:2151 Broadcom Corp. Bluetooth
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
after you check that's running, we are create script to make it auto detect.
sudo vim /etc/udev/rules.d/90-modemVenus.rules
add the script like this :
# 90-modemVenus.rules
ACTION!="add", GOTO="modem_end"
SUBSYSTEM=="usb", SYSFS{idProduct}=="05c6", SYSFS{idVendor}=="0015", GOTO="modem_start"
GOTO="modem_end"
LABEL="modem_start"
RUN+="/sbin/modprobe usbserial"
RUN+="/sbin/modprobe usb_wwan"
RUN+="/sbin/modprobe option"
RUN+="/bin/echo '05c6 0015' > /sys/bus/usb-serial/drivers/option1/new_id"
LABEL="modem_end"
usb_modeswitch error libc-2.17.so
well, let solve this :plug-on your usb modem, and check on usb list, we need to check the product id and vendor id of modem.
lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 004: ID 05c6:0015 Qualcomm, Inc.
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 002: ID 040b:2013 Weltrend Semiconductor
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 04f2:b160 Chicony Electronics Co., Ltd
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 0a5c:2151 Broadcom Corp. Bluetooth
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
then check on dmesg
dmesg
[ 1381.520242] usb 6-1: new full-speed USB device number 3 using uhci_hcd
[ 1381.940248] usb 6-1: new full-speed USB device number 4 using uhci_hcd
[ 1382.101301] usb 6-1: New USB device found, idVendor=05c6, idProduct=0015
[ 1382.101309] usb 6-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1382.101314] usb 6-1: Product: BMC CDMA Technologies MSM
[ 1382.101318] usb 6-1: Manufacturer: Qualcomm, Incorporated
[ 1382.101322] usb 6-1: SerialNumber: Data Interface
[ 1382.103367] usb-storage 6-1:1.2: USB Mass Storage device detected
[ 1382.103519] scsi7 : usb-storage 6-1:1.2
[ 1383.105320] scsi 7:0:0:0: Direct-Access BMC MMC Storage 2.31 PQ: 0 ANSI: 2
[ 1383.109331] sd 7:0:0:0: Attached scsi generic sg1 type 0
[ 1383.121296] sd 7:0:0:0: [sdb] Attached SCSI removable disk
from this log (above), we can see that the usb was detected but no driver loaded to process, so let we make them to straight-through.
sudo su
modprobe usbserial
modprobe usb_wwan
modprobe option
echo "05c6 0015" /sys/bus/usb-serial/drivers/option1/new_id
after we make usb-serial process it, we can check that your usb modem was detected as modem on ttyUSB
dmesg
usbcore: registered new interface driver usbserial
[ 1705.064478] usbcore: registered new interface driver usbserial_generic
[ 1705.066359] usbserial: USB Serial support registered for generic
[ 1727.574541] usbcore: registered new interface driver option
[ 1727.576544] usbserial: USB Serial support registered for GSM modem (1-port)
[ 1774.390695] option 6-1:1.3: GSM modem (1-port) converter detected
[ 1774.392343] usb 6-1: GSM modem (1-port) converter now attached to ttyUSB0
[ 1774.392412] option 6-1:1.0: GSM modem (1-port) converter detected
[ 1774.392517] usb 6-1: GSM modem (1-port) converter now attached to ttyUSB1
[ 1774.392585] option 6-1:1.1: GSM modem (1-port) converter detected
[ 1774.392677] usb 6-1: GSM modem (1-port) converter now attached to ttyUSB2
after this, its up to you, either use wvdial or use GUI-Modem connection
here's my wvdial configuration
cat /etc/wvdial.conf
[Dialer tsel]
Modem = /dev/ttyUSB0
Baud = 460800
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = at+cgdcont=1,"ip","internet"
Phone = *99#
Username = ''
Password = ''
or you can use GUI as below :
auto detect modem ubuntu 13.10
after you check that's running, we are create script to make it auto detect.
sudo vim /etc/udev/rules.d/90-modemVenus.rules
add the script like this :
# 90-modemVenus.rules
ACTION!="add", GOTO="modem_end"
SUBSYSTEM=="usb", SYSFS{idProduct}=="05c6", SYSFS{idVendor}=="0015", GOTO="modem_start"
GOTO="modem_end"
LABEL="modem_start"
RUN+="/sbin/modprobe usbserial"
RUN+="/sbin/modprobe usb_wwan"
RUN+="/sbin/modprobe option"
RUN+="/bin/echo '05c6 0015' > /sys/bus/usb-serial/drivers/option1/new_id"
LABEL="modem_end"
..show all:.
.
once after installing ubuntu 13.10, for some modem, it could be error, in my case, i got
plug-on your usb modem, and check on usb list, we need to check the product id and vendor id of modem.
lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 004: ID 05c6:0015 Qualcomm, Inc.
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 002: ID 040b:2013 Weltrend Semiconductor
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 04f2:b160 Chicony Electronics Co., Ltd
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 0a5c:2151 Broadcom Corp. Bluetooth
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
after you check that's running, we are create script to make it auto detect.
sudo vim /etc/udev/rules.d/90-modemVenus.rules
add the script like this :
# 90-modemVenus.rules
ACTION!="add", GOTO="modem_end"
SUBSYSTEM=="usb", SYSFS{idProduct}=="05c6", SYSFS{idVendor}=="0015", GOTO="modem_start"
GOTO="modem_end"
LABEL="modem_start"
RUN+="/sbin/modprobe usbserial"
RUN+="/sbin/modprobe usb_wwan"
RUN+="/sbin/modprobe option"
RUN+="/bin/echo '05c6 0015' > /sys/bus/usb-serial/drivers/option1/new_id"
LABEL="modem_end"
usb_modeswitch error libc-2.17.so
well, let solve this :plug-on your usb modem, and check on usb list, we need to check the product id and vendor id of modem.
lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 004: ID 05c6:0015 Qualcomm, Inc.
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 002: ID 040b:2013 Weltrend Semiconductor
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 04f2:b160 Chicony Electronics Co., Ltd
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 0a5c:2151 Broadcom Corp. Bluetooth
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
then check on dmesg
dmesg
[ 1381.520242] usb 6-1: new full-speed USB device number 3 using uhci_hcd
[ 1381.940248] usb 6-1: new full-speed USB device number 4 using uhci_hcd
[ 1382.101301] usb 6-1: New USB device found, idVendor=05c6, idProduct=0015
[ 1382.101309] usb 6-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1382.101314] usb 6-1: Product: BMC CDMA Technologies MSM
[ 1382.101318] usb 6-1: Manufacturer: Qualcomm, Incorporated
[ 1382.101322] usb 6-1: SerialNumber: Data Interface
[ 1382.103367] usb-storage 6-1:1.2: USB Mass Storage device detected
[ 1382.103519] scsi7 : usb-storage 6-1:1.2
[ 1383.105320] scsi 7:0:0:0: Direct-Access BMC MMC Storage 2.31 PQ: 0 ANSI: 2
[ 1383.109331] sd 7:0:0:0: Attached scsi generic sg1 type 0
[ 1383.121296] sd 7:0:0:0: [sdb] Attached SCSI removable disk
from this log (above), we can see that the usb was detected but no driver loaded to process, so let we make them to straight-through.
sudo su
modprobe usbserial
modprobe usb_wwan
modprobe option
echo "05c6 0015" /sys/bus/usb-serial/drivers/option1/new_id
after we make usb-serial process it, we can check that your usb modem was detected as modem on ttyUSB
dmesg
usbcore: registered new interface driver usbserial
[ 1705.064478] usbcore: registered new interface driver usbserial_generic
[ 1705.066359] usbserial: USB Serial support registered for generic
[ 1727.574541] usbcore: registered new interface driver option
[ 1727.576544] usbserial: USB Serial support registered for GSM modem (1-port)
[ 1774.390695] option 6-1:1.3: GSM modem (1-port) converter detected
[ 1774.392343] usb 6-1: GSM modem (1-port) converter now attached to ttyUSB0
[ 1774.392412] option 6-1:1.0: GSM modem (1-port) converter detected
[ 1774.392517] usb 6-1: GSM modem (1-port) converter now attached to ttyUSB1
[ 1774.392585] option 6-1:1.1: GSM modem (1-port) converter detected
[ 1774.392677] usb 6-1: GSM modem (1-port) converter now attached to ttyUSB2
after this, its up to you, either use wvdial or use GUI-Modem connection
here's my wvdial configuration
cat /etc/wvdial.conf
[Dialer tsel]
Modem = /dev/ttyUSB0
Baud = 460800
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = at+cgdcont=1,"ip","internet"
Phone = *99#
Username = ''
Password = ''
or you can use GUI as below :
auto detect modem ubuntu 13.10
after you check that's running, we are create script to make it auto detect.
sudo vim /etc/udev/rules.d/90-modemVenus.rules
add the script like this :
# 90-modemVenus.rules
ACTION!="add", GOTO="modem_end"
SUBSYSTEM=="usb", SYSFS{idProduct}=="05c6", SYSFS{idVendor}=="0015", GOTO="modem_start"
GOTO="modem_end"
LABEL="modem_start"
RUN+="/sbin/modprobe usbserial"
RUN+="/sbin/modprobe usb_wwan"
RUN+="/sbin/modprobe option"
RUN+="/bin/echo '05c6 0015' > /sys/bus/usb-serial/drivers/option1/new_id"
LABEL="modem_end"
Old post but Nice gan... soale ane lagi butuh :)
ReplyDeleteada yang kurang tapi ane sampe binun
echo "05c6 0015" /sys/bus/usb-serial/drivers/option1/new_id
suppose to be:
echo "05c6 0015" > /sys/bus/usb-serial/drivers/option1/new_id
owh .. itu biar kenal id nya dari hasil lsusb
ReplyDeleteThanks for this post. I have been looking for exactly this info more than once, but first found it here now. And it works. Thank you :-)
ReplyDelete