summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Shienkov <denis.shienkov@gmail.com>2013-07-19 22:37:34 +0400
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-07-23 07:44:28 +0200
commit8c69974795695f8e1213b00d020214564b3eb464 (patch)
tree2b54643271bccfc10d4945c40e78faaf323aae16
parentf0679ddad29a036c2b22870c788be2558ad9d05e (diff)
downloadqtserialport-8c69974795695f8e1213b00d020214564b3eb464.tar.gz
Linux: Added enumeration of Motorola IMX serial ports
For Embedded "Freescale i.MX Linux" platform is added the filter for the Motorola IMX serial ports. These serial ports has names like "/dev/ttymxc*", see kernel sources: * http://lxr.free-electrons.com/source/drivers/serial/imx.c?v=2.6.31 Task-number: QTBUG-32563 Change-Id: I97b33cdbc8f1a8ff72a171e52ddc10cc0f53b4a2 Reviewed-by: Laszlo Papp <lpapp@kde.org> Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com>
-rw-r--r--src/serialport/qserialportinfo_unix.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/serialport/qserialportinfo_unix.cpp b/src/serialport/qserialportinfo_unix.cpp
index 1d56f4e..fec1b4a 100644
--- a/src/serialport/qserialportinfo_unix.cpp
+++ b/src/serialport/qserialportinfo_unix.cpp
@@ -77,6 +77,7 @@ 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("ttymxc*") // Motorola IMX serial ports (i.e. Freescale i.MX).
<< QLatin1String("ttyAMA*") // AMBA serial device for embedded platform on ARM (i.e. Raspberry Pi).
<< QLatin1String("rfcomm*") // Bluetooth serial device.
<< QLatin1String("ircomm*"); // IrDA serial device.