LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-19-2005, 09:00 AM   #1
ecsed
Registered User
 
Registered: Jun 2005
Location: Graz/Austria
Distribution: RedHat Linux
Posts: 11

Rep: Reputation: 0
Question How to poll() for CTS-signal?


Hy friends,

to use poll() for reading and writing serial devices, pipes etc. is easy and works excelently.

Could I use poll() or an equivalent POSIX-method also to test the CTS-signal?

How could I get an asynchronous notification by Linux that the CTS-line was set?

Thanks!
Regards
Egon

Last edited by ecsed; 07-20-2005 at 02:42 AM.
 
Old 07-20-2005, 08:23 PM   #2
randyding
Member
 
Registered: May 2004
Posts: 552

Rep: Reputation: 31
The ioctl() TIOCMIWAIT blocks until there is a change in a control line.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to poll() for RTS-signal as a modem? ecsed Programming 1 06-27-2005 11:39 AM
manually controlling RTS/CTS pappsynz Programming 4 05-25-2005 04:55 AM
Need help to read a signal from the CTS pin of a serial port juan_de_margo Linux - Hardware 0 02-24-2005 03:36 AM
Signal 6: Unknown Signal <=> Error with MAYA4.X under Linux SOLVED!!!! Faeroon Linux - Software 9 05-09-2003 01:57 PM
Signal: 6 (Unknown Signal) - Problems running a program Faeroon Linux - Software 86 01-14-2003 12:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration