From e503daff92735e9f7df7493ffb1b3526005eb07d Mon Sep 17 00:00:00 2001 From: Denis Shienkov Date: Tue, 16 Apr 2013 19:09:25 +0400 Subject: Add further device filters on Linux without libudev Added: * ttyAMA filter for AMBA serial ports, e.g. see http://lxr.free-electrons.com/source/drivers/tty/serial/amba-pl011.c * ircomm filter for infrared serial devices, e.g. see http://www.tldp.org/HOWTO/html_single/Infrared-HOWTO/ Change-Id: I9e1cd04513a937f080978a7ecc7139a906de40f0 Reviewed-by: Laszlo Papp Reviewed-by: Sergey Belyashov --- src/serialport/qserialportinfo_unix.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/serialport/qserialportinfo_unix.cpp b/src/serialport/qserialportinfo_unix.cpp index ee76fc67..1d56f4e2 100644 --- a/src/serialport/qserialportinfo_unix.cpp +++ b/src/serialport/qserialportinfo_unix.cpp @@ -77,7 +77,9 @@ static inline const QStringList& filtersOfDevices() << QLatin1String("ttyACM*") // CDC_ACM converters (i.e. Mobile Phones). << QLatin1String("ttyGS*") // Gadget serial device (i.e. Mobile Phones with gadget serial driver). << QLatin1String("ttyMI*") // MOXA pci/serial converters. - << QLatin1String("rfcomm*"); // Bluetooth serial device. + << QLatin1String("ttyAMA*") // AMBA serial device for embedded platform on ARM (i.e. Raspberry Pi). + << QLatin1String("rfcomm*") // Bluetooth serial device. + << QLatin1String("ircomm*"); // IrDA serial device. # elif defined (Q_OS_FREEBSD) << QLatin1String("cu*"); # else -- cgit v1.2.3