Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Serial port not working
Forum Updated to NodeBB v4.3 + New Features

Serial port not working

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 420 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Q Offline
    Q Offline
    qt_emp
    wrote on last edited by
    #1

    I am using QT4.8 on RedHat Enterprise Linux 6.1.

    I wrote a simple app that was to open a serial port, configure it, send a command to a device that responds with a string via RS232.

    Nothing worked. So I started troubleshooting with minicom. I still could not communicate through the serial port even with minicom. It is a new Dell that does not have the serial card mounted on the motherboard, it is a PCIexpress serial card. Does a 3rd party serial driver need to be installed for Linux, or QT to see this PCIe serial card??

    Thank You

    emp1953

    aha_1980A 1 Reply Last reply
    0
    • Q qt_emp

      I am using QT4.8 on RedHat Enterprise Linux 6.1.

      I wrote a simple app that was to open a serial port, configure it, send a command to a device that responds with a string via RS232.

      Nothing worked. So I started troubleshooting with minicom. I still could not communicate through the serial port even with minicom. It is a new Dell that does not have the serial card mounted on the motherboard, it is a PCIexpress serial card. Does a 3rd party serial driver need to be installed for Linux, or QT to see this PCIe serial card??

      Thank You

      emp1953

      aha_1980A Offline
      aha_1980A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @qt_emp how is that question different to https://forum.qt.io/topic/96719/serial-port-implementation-qt4-8 ?

      Do you have permissions to access the serial port?

      Qt has to stay free or it will die.

      1 Reply Last reply
      2
      • mrjjM Offline
        mrjjM Offline
        mrjj
        Lifetime Qt Champion
        wrote on last edited by mrjj
        #3

        Hi
        a PCIex serial card might need drivers.
        Some drivers for certain UART are included with some linux versions.
        Some card dont support linux at all, only Windows.

        So best option is to look up your concrete card and see what platforms that are supported.
        if it came with the DELL pc. Call them and ask if it works in linux.

        1 Reply Last reply
        1

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved