From 756fc5b17b15abeda787c71adcb88dd9a230652d Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Thu, 18 Mar 2010 02:03:27 +0000 Subject: 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 --- comport/comport.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'comport') 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) -- cgit v1.2.1