From 384eb379e38885ede2b4d09ec5d3adb2e6887fb6 Mon Sep 17 00:00:00 2001 From: Rony Kubat Date: Fri, 20 Jul 2018 23:40:33 -0400 Subject: [PATCH] Add support for beaglebone serial ports. (#1600) --- 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 ce77518..bfa79eb 100644 --- a/lib/bindings/linux-list.js +++ b/lib/bindings/linux-list.js @@ -5,7 +5,7 @@ const Readline = require('@serialport/parser-readline'); // get only serial port names function checkPathOfDevice(path) { - return (/(tty(S|ACM|USB|AMA|MFD)|rfcomm)/).test(path) && path; + return (/(tty(S|ACM|USB|AMA|MFD|O)|rfcomm)/).test(path) && path; } function propName(name) {