From 3d34d0f7c06009bf256a4af0f306d3a2e30b3bf6 Mon Sep 17 00:00:00 2001 From: Joseph Pugh Date: Thu, 18 Jul 2019 08:00:10 -0500 Subject: [PATCH] feat: support Exar ttyXRUSB (#1893) --- packages/bindings/lib/linux-list.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/bindings/lib/linux-list.js b/packages/bindings/lib/linux-list.js index 68ccc0670..6985eed9a 100644 --- a/packages/bindings/lib/linux-list.js +++ b/packages/bindings/lib/linux-list.js @@ -3,7 +3,7 @@ const Readline = require('@serialport/parser-readline') // get only serial port names function checkPathOfDevice(path) { - return /(tty(S|WCH|ACM|USB|AMA|MFD|O)|rfcomm)/.test(path) && path + return /(tty(S|WCH|ACM|USB|AMA|MFD|O|XRUSB)|rfcomm)/.test(path) && path } function propName(name) {