diff options
-rw-r--r-- | dist/changes-5.2.0 | 4 | ||||
-rw-r--r-- | src/serialport/qserialportinfo_unix.cpp | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/dist/changes-5.2.0 b/dist/changes-5.2.0 index 43c32a9..c9e9496 100644 --- a/dist/changes-5.2.0 +++ b/dist/changes-5.2.0 @@ -100,3 +100,7 @@ present. - [QTBUG-34429] Mark the the data error policy obsolete. End users should stop using this feature now. It may be removed later in Qt 6.X, and there is a warning now if it is used. + +- Support has been added for the hard-coded device enumeration backend to get +information. Android uarts such as /dev/ttyHS* (High speed UART) and +/dev/ttyHSL* (Low speed UART) are supported by that backend. diff --git a/src/serialport/qserialportinfo_unix.cpp b/src/serialport/qserialportinfo_unix.cpp index 44a4a2c..e475e9b 100644 --- a/src/serialport/qserialportinfo_unix.cpp +++ b/src/serialport/qserialportinfo_unix.cpp @@ -73,6 +73,8 @@ static inline const QStringList& filtersOfDevices() << QLatin1String("ttyUSB*") // Usb/serial converters PL2303 and etc. << QLatin1String("ttyACM*") // CDC_ACM converters (i.e. Mobile Phones). << QLatin1String("ttyGS*") // Gadget serial device (i.e. Mobile Phones with gadget serial driver). + << QLatin1String("ttyHS*") // High speed UART (e.g. Android). + << QLatin1String("ttyHSL*") // Low speed UART (e.g. Android). << 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). |