Re: Prolific USB to serial driver issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> What has happened is that the API now blocks when a Serial device is not 
> indicating it is ready. This included 'open' on a serial device which 
> now can block.

The API has always specified that (its required by POSIX). Some hardware
now gained support for it that was lacking

> Since lots of RS232 serial devices do not bother with any control 
> signals such as DCD (data carrier detect) they never indicate they are 
> ready and open blocks. This is the 'HANG' we are seeing. .."

You can open a port with O_NDELAY, you can also set the port flags to
indicate no flow control via the termios functions.

Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux