diff options
author | zsquareplusc <cliechti@gmx.net> | 2018-05-07 20:24:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-07 20:24:54 +0200 |
commit | bafd19682794c7e85d74df1cf76ca6667672138e (patch) | |
tree | 20742566a3e5491244d74adf9d56f5d649f1e5d5 | |
parent | e5068a857038ef6bafab4f6dbdc89ea844d008f0 (diff) | |
parent | 99cd372882a1fc3ba113cb4531019e70796b8bad (diff) | |
download | pyserial-git-bafd19682794c7e85d74df1cf76ca6667672138e.tar.gz |
Merge pull request #335 from dhoomakethu/master
Add support to xr-usb-serial ports
-rw-r--r-- | serial/tools/list_ports_linux.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/serial/tools/list_ports_linux.py b/serial/tools/list_ports_linux.py index 3f7eadb..9346ae9 100644 --- a/serial/tools/list_ports_linux.py +++ b/serial/tools/list_ports_linux.py @@ -91,6 +91,7 @@ class SysFS(list_ports_common.ListPortInfo): def comports(include_links=False): devices = glob.glob('/dev/ttyS*') # built-in serial ports devices.extend(glob.glob('/dev/ttyUSB*')) # usb-serial with own driver + devices.extend(glob.glob('/dev/ttyXRUSB*')) # xr-usb-serial port exar (DELL Edge 3001) devices.extend(glob.glob('/dev/ttyACM*')) # usb-serial with CDC-ACM profile devices.extend(glob.glob('/dev/ttyAMA*')) # ARM internal port (raspi) devices.extend(glob.glob('/dev/rfcomm*')) # BT serial devices |