Is there a way to autodetect modem devices in Linux and then symlink them to /dev/modem using a udev rule?
Currently, I wrote a program that probes each serial port, sending AT and waiting for OK. I have a udev script that runs this for every ttyS and ttyUSB device. However, I've now been informed that there's other devices, such as OBD-II diagnostic bridges, that also speak with AT commands.
/dev/ttyUSB1for example. – David Pfeffer Feb 1 '12 at 15:17