From 2361fa599a16a10ad07ffe863fe00bb2bc75d29a Mon Sep 17 00:00:00 2001 From: Francis Gulotta Date: Sat, 15 Jul 2017 12:27:10 -0400 Subject: [PATCH] Add the `ttyAP` subsystem to serialport list --- lib/bindings/linux-list.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bindings/linux-list.js b/lib/bindings/linux-list.js index 281973d..e1257fd 100644 --- a/lib/bindings/linux-list.js +++ b/lib/bindings/linux-list.js @@ -62,7 +62,7 @@ function udevParser(output) { function checkPathAndDevice(path) { // get only serial port names - if (!(/(tty(S|ACM|USB|AMA|MFD)|rfcomm)/).test(path)) { + if (!(/(tty(S|ACM|USB|AMA|MFD|AP)|rfcomm)/).test(path)) { return false; } return statAsync(path).then(stats => stats.isCharacterDevice());