dglo / dor-driver

Test upload of Mantis issues
0 stars 0 forks source link

[jkelley on 2018-02-13 20:11:20] : Calling select() on a DOM device file that has powered off hangs #120

Open dglo opened 3 years ago

dglo commented 3 years ago

The DOMCal surface client calls select() to determine if there is data for reading on the device file. This is supported in the driver, but it appears there is no error handling (i.e. the driver never generates POLLERR).

dglo commented 3 years ago

[jkelley on 2018-02-13 20:49:40] Added checks in dh_poll similar to those in dh_read() and write() for device power and drop pending. If an error condition exists, set POLLERR along with the normal R/W flags (since read() or write() will return immediately with an error).

Fix targeted for V02-15-02