Results 1 to 3 of 3

Thread: Can't open /dev/ttyS0

  1. #1
    Join Date
    Feb 2007
    Posts
    47
    Thanks
    12
    Qt products
    Qt4
    Platforms
    Unix/X11

    Smile Can't open /dev/ttyS0

    I use qextserialport for serial programming,but I can't open the port from /dev/ttyS0 to /dev/ttyS8.Then I change my right using: usermod -G uucp ..,the result is as the same.
    Can anybody tell me why?How can I deal with it?Thank you very much!

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Can't open /dev/ttyS0

    what does 'll /dev/ttyS0' return?
    When you run the application as root, does it work then?

  3. The following user says thank you to high_flyer for this useful post:

    hiuao (25th March 2007)

  4. #3
    Join Date
    Feb 2007
    Posts
    47
    Thanks
    12
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Can't open /dev/ttyS0

    Quote Originally Posted by high_flyer View Post
    what does 'll /dev/ttyS0' return?
    When you run the application as root, does it work then?
    Thank you high_flyer for your reply!I used usermod yestoday,but didn't log out.Now I can open the port,I think it is for this reason.Am I right?

Similar Threads

  1. Replies: 3
    Last Post: 7th October 2015, 19:43
  2. Replies: 3
    Last Post: 25th August 2010, 12:39
  3. again Open Cascade + Qt 4.2.2 but detailed...
    By Shuchi Agrawal in forum Qt Programming
    Replies: 11
    Last Post: 1st February 2007, 07:03
  4. again Open Cascade + Qt 4.2.2 but detailed...
    By Shuchi Agrawal in forum Qt Programming
    Replies: 1
    Last Post: 18th January 2007, 06:50
  5. Replies: 11
    Last Post: 24th March 2006, 06:40

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.