diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2010-03-18 02:03:27 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2010-03-18 02:03:27 +0000 |
commit | 756fc5b17b15abeda787c71adcb88dd9a230652d (patch) | |
tree | 006d23b1345f515b5dbdae41517cddbc0706653c /comport | |
parent | 6609bc6fbd47b79162db053ae114bc2a791ab148 (diff) |
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
Diffstat (limited to 'comport')
-rw-r--r-- | comport/comport.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/comport/comport.c b/comport/comport.c index ca95403..67ba554 100644 --- a/comport/comport.c +++ b/comport/comport.c @@ -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) |