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 | bc6b8b6cb25f91eb2a066ee387ca4a75b3930555 (patch) | |
tree | dab8c77f6b11c552d630e1b5fc33be53b576a2cf /pyserial/serial/tools | |
parent | 899c9c4736d0b8d3b293e338642b1477710d3df6 (diff) | |
download | pyserial-git-bc6b8b6cb25f91eb2a066ee387ca4a75b3930555.tar.gz |
include ttyACM in list
Diffstat (limited to 'pyserial/serial/tools')
-rw-r--r-- | pyserial/serial/tools/list_ports_posix.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyserial/serial/tools/list_ports_posix.py b/pyserial/serial/tools/list_ports_posix.py index 57f31cd..be25b03 100644 --- a/pyserial/serial/tools/list_ports_posix.py +++ b/pyserial/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]
|