asychronous RTS/DCE/CD notification
Is it possible in th Linux serial driver to have the state change of serial control lines like CD notify a user space app rather then having to periodically poll?
I have an app that uses select() to wait for input from several different sources. Now, I also want to know when there is a state change in CD. Can the serial driver do this on it's on, like say via a /proc file. Or, do I have to break out of the select() every so ofton and use ioctl() to test CD's state. God I hate polling.
Jeff