diff options
author | cliechti <cliechti@f19166aa-fa4f-0410-85c2-fa1106f25c8a> | 2011-06-16 21:01:59 +0000 |
---|---|---|
committer | cliechti <cliechti@f19166aa-fa4f-0410-85c2-fa1106f25c8a> | 2011-06-16 21:01:59 +0000 |
commit | 25ad071ba2749a39a1df628fa08b6bb4a80df493 (patch) | |
tree | 3629087ed65a823a231058e7bfa9e61a710db839 | |
parent | d54ed9fa5689d2468a70a4bde6c58bbba7ef6025 (diff) | |
download | pyserial-25ad071ba2749a39a1df628fa08b6bb4a80df493.tar.gz |
include ttyACM in list
git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@401 f19166aa-fa4f-0410-85c2-fa1106f25c8a
-rw-r--r-- | serial/tools/list_ports_posix.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/serial/tools/list_ports_posix.py b/serial/tools/list_ports_posix.py index 57f31cd..be25b03 100644 --- a/serial/tools/list_ports_posix.py +++ b/serial/tools/list_ports_posix.py @@ -1,7 +1,7 @@ import glob
def comports():
- devices = glob.glob('/dev/ttyS*') + glob.glob('/dev/ttyUSB*')
+ devices = glob.glob('/dev/ttyS*') + glob.glob('/dev/ttyUSB*') + glob.glob('/dev/ttyACM*')
return [(d, d, d) for d in devices]
|