
Originally Posted by
K3NS31
So that didn't work. I've checked again and it seems that although my modem is internal it's still connected to the USB bus (shows as a USB device); so the question is, how do I check how the OS is addressing the modem? (Presumably /dev/something)
I assume if I put that info into the "Modemport..." line, I'll be good. Surprisingly difficult to find info about this online.
What is the output of 'lsusb'? I get the following:
Code:
$ lsusb
Bus 001 Device 003: ID 12d1:14ac Huawei Technologies Co., Ltd.
Bus 002 Device 002: ID 2001:f103 D-Link Corp. DUB-H7 7-port USB 2.0 hub
Bus 004 Device 002: ID 045e:001e Microsoft Corp. IntelliMouse Explorer
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 004: ID 058f:6362 Alcor Micro Corp. Flash Card Reader/Writer
Now run 'dmesg | less' and scroll down until you see the 3G modem being detected. I get:
Code:
[ 620.248170] usb 1-4: new high-speed USB device number 3 using ehci_hcd
[ 620.382924] usb 1-4: New USB device found, idVendor=12d1, idProduct=14ac
[ 620.382935] usb 1-4: New USB device strings: Mfr=4, Product=3, SerialNumber=0
[ 620.382942] usb 1-4: Product: HUAWEI Mobile
[ 620.382948] usb 1-4: Manufacturer: Huawei Technologies
[ 620.388429] scsi11 : usb-storage 1-4:1.5
[ 620.388813] scsi12 : usb-storage 1-4:1.6
[ 620.426628] usbcore: registered new interface driver usbserial
[ 620.426640] usbcore: registered new interface driver usbserial_generic
[ 620.426649] USB Serial support registered for generic
[ 620.426652] usbserial: USB Serial Driver core
[ 620.429471] usbcore: registered new interface driver option
[ 620.429482] USB Serial support registered for GSM modem (1-port)
[ 620.429643] cdc_ether 1-4:1.1: wwan0: register 'cdc_ether' at usb-0000:00:02.1-4, Mobile Broadband Network Device, 02:50:f3:00:00:00
[ 620.429791] usbcore: registered new interface driver cdc_ether
[ 620.430696] option 1-4:1.0: GSM modem (1-port) converter detected
[ 620.430873] usb 1-4: GSM modem (1-port) converter now attached to ttyUSB0
[ 620.430905] option 1-4:1.3: GSM modem (1-port) converter detected
[ 620.430952] usb 1-4: GSM modem (1-port) converter now attached to ttyUSB1
[ 620.430960] option 1-4:1.4: GSM modem (1-port) converter detected
[ 620.430998] usb 1-4: GSM modem (1-port) converter now attached to ttyUSB2
[ 621.389870] scsi 11:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2
[ 621.390096] scsi 12:0:0:0: Direct-Access HUAWEI TF CARD Storage PQ: 0 ANSI: 2
[ 621.396234] sr1: scsi-1 drive
[ 621.396513] sr 11:0:0:0: Attached scsi CD-ROM sr1
[ 621.398179] sr 11:0:0:0: Attached scsi generic sg7 type 5
[ 621.398749] sd 12:0:0:0: Attached scsi generic sg8 type 0
[ 621.406359] sd 12:0:0:0: [sdg] Attached SCSI removable disk
I've emphasized the USB VID/PIDs and serial devices.
Bookmarks