Tag Info

New answers tagged

2

As long as the device is used for ppp traffic, it is not possible to run AT commands at the same time1. For this reason all modern modems will provide more than one serial interfaces, e.g. /dev/ttyUSB0 and /dev/ttyUSB1 (or /dev/ttyACM0 and /dev/ttyACM1 for USB CDC modems on linux). Back in the days when phones had RS-232 compatible connectors (perhaps with ...


0

The best way to send AT commands to a modem in Linux is to use the program atinout which is written with the sole purpose of sending AT commands to a modem from the command line. You can use it to test if a modem is up and running, make a backup of the phone book: $ atinout - /dev/ttyACM0 ten_first_phonebook_entries.txt <<EOF at+cscs="UTF-8" ...


0

For some reason, I never posted an answer to this, even after I got this working. The following udev rule was what finally worked: SUBSYSTEM=="tty", ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="ea60", SYMLINK+="COM1", MODE="0666" Note that SUBSYSTEM is tty, not usb, NAME has been changed to SYMLINK+, and serial has been changed to COM1 (to not interfere ...


0

The following udev rule was what finally worked: SUBSYSTEM=="tty", ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="ea60", SYMLINK+="COM1", MODE="0666" Note that SUBSYSTEM is tty, not usb, NAME has been changed to SYMLINK+, and serial has been changed to COM1 (to not interfere with /dev/serial, as a commenter pointed out.)


0

You can use this command to explore your device if connected to usb0: udevadm info -a -p $(udevadm info -q path -n /dev/ttyUSB0)



Top 50 recent answers are included