On Fri, May 19, 2000 at 12:00:21PM -0500, Al Borchers wrote:
>
> Our driver has a problem with select--select reports our device is ready
> for writing, but write sometimes returns -EAGAIN. I will work on fixing
> that problem in UP. Not all writes return -EAGAIN and the data gets
> through, but this may be stressing write and contributing to the
> problem.
There's been some discussion on the linux-serial mailing list about how
using select on a serial port isn't the best idea. Instead you should
rely on the line settings. Check the archives of the mailing list for
the reasoning behind this (I don't think I saved it.)
Not to say that the driver shouldn't be fixed to work properly though :)
greg k-h
greg@(kroah|wirex).com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]