added support for 'Abstract Control Model' tty's for things like the Arduino Teensy that use USB-CDC

svn path=/trunk/externals/iem/comport/; revision=13225
This commit is contained in:
Hans-Christoph Steiner 2010-03-18 02:03:27 +00:00
parent 6609bc6fbd
commit 756fc5b17b

View file

@ -1219,7 +1219,8 @@ allows COM port numbers to be specified. */
serial_device_prefix = "/dev/ttyd*";
#endif /* IRIX */
#ifdef __linux__
serial_device_prefix = "/dev/tty[SU]*";
/* serial: ttyS? USB-serial: ttyUSB? USB-CDC: ttyACM? */
serial_device_prefix = "/dev/tty[ASU]*";
#endif /* __linux__ */
if(argc > 0 && argv->a_type == A_FLOAT)