Linux calado 3.14.6-1-ARCH #1 SMP PREEMPT Sun Jun 8 10:08:38 CEST 2014 x86_64 GNU/Linux
gcc (GCC) 4.9.0 20140604
Hello everyone and thanks in advance,
I am able to find the port I want with QSerialPortInfo::availablePorts(),
let's call it "myport" then I pass it on to:
m_uart = new QSerialPort();
I configure some stuff
(I have tried setting the baud rate both before and after opening the device)
Then I open it while testing
I get no error whatsoever.
However, I am unable to read any data from the serial port with this 5.3.0 version, while the 5.2.1-4 works perfectly, as well as other previous versions have been working for several months now.
The device blinks LEDs when I try to communicate which tells me it is receiving the data, but I am unable to read its output.
I have tested the device separately and am sure it is working properly. As I mentioned before, simply downgrading makes the issue go away.
The device is an FTDI chip, I have the following udev rule
=="6001", GROUP="adm", MODE="0666"
Moreover, when I run the program, valgrind gives me the following output:
==6727== Syscall param ioctl(request) contains uninitialised byte(s)
==6727== at 0x6FA7E47: ioctl (in /usr/lib/libc-2.19.so)
==6727== by 0x568DB71: ??? (in /usr/lib/libQt5SerialPort.so.5.3.0)
==6727== by 0x568C3D1: QSerialPort::open(QFlags<QIODevice::OpenModeFlag>) (in /usr/lib/libQt5SerialPort.so.5.3.0)
which does not show with 5.2.1
Please let me know if there is any info missing, if so my apologies.