$ sudo apt-get install cu
$ lsusb
Bus 001 Device 004: ID 1004:61dd LG Electronics, Inc.
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
$ eject sr0
$ lsusb
Bus 001 Device 005: ID 1004:618f LG Electronics, Inc. Ally/Optimus One
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
$ sudo modprobe usbserial vendor=0x1004 product=618f
$ ls -lart|grep -i usb
crw-rw---- 1 root dialout 188, 2 Feb 23 00:56 ttyUSB2
crw-rw---- 1 root dialout 188, 1 Feb 23 00:56 ttyUSB1
crw-rw---- 1 root dialout 188, 0 Feb 23 00:56 ttyUSB0
crw-rw---- 1 root dialout 188, 3 Feb 23 00:56 ttyUSB3
$ cu -l /dev/ttyUSB2
Connected.
ATI
NTT DOCOMO, INC.
OK
AT+CGSN
35*************
OK
More than 5 years have passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme