Hi everybody, I'm new to the forum so if I didn't respect some rules, please forgive me. Now here we go.

I'm trying to communicate with a PCI card on my PC, I used the QSerialPort and QSerialPortInfo to do it. FYI, I'm working with Linux Ubuntu 18.04 kernel 4.15.0-23.

I use this code to show all available ports on my PC:

Qt Code:
  1. foreach (const QSerialPortInfo &info, QSerialPortInfo::availablePorts()){
  2. ui->comboBox->addItem(info.portName());
  3. qDebug() << "Name : " << info.portName();
  4. qDebug() << "Description : " << info.description();
  5. qDebug() << "Manufacturer: " << info.manufacturer();
  6. }
To copy to clipboard, switch view to plain text mode 

And I find two port: ttyS0 and ttyS4, but none of them linked to my PCI card, because I tried to unplug the PCI card and these two port were also there.
So I guess that my program didn't find the card, I've done a little research on the internet, I got this: https://bugreports.qt.io/browse/QTBUG-35064
In this post, the guy had the same issue like me but I'm not a expert so I cant fully understand the reason and also don't know how to resolve it, it seems like qt under linux don't support PCI port? I'm not sure about it, if this is the case, how can I communicate with the PCI port?

Hope somebody can help, many thanks in advance!