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

Serial port not working

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 395 Views
  • 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 10 Dec 2018, 20:25 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

    A 1 Reply Last reply 10 Dec 2018, 20:44
    0
    • Q qt_emp
      10 Dec 2018, 20:25

      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

      A Offline
      A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on 10 Dec 2018, 20:44 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
      • M Offline
        M Offline
        mrjj
        Lifetime Qt Champion
        wrote on 10 Dec 2018, 20:53 last edited by mrjj 12 Oct 2018, 20:53
        #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

        3/3

        10 Dec 2018, 20:53

        • Login

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