page fault in ugenpoll()

Dirk GOUDERS gouders at et.bocholt.fh-ge.de
Fri May 20 15:01:43 GMT 2005


 > The control endpoint /dev/ugen0 does not support polling. But 
 > polling /dev/ugen0.X should work, where "X" is a number.
 > 
 > "ugenpoll()" in "/sys/dev/usb/ugen.c" should have something like this added:
 > 
 > if(control endpoint) return POLLNVAL; /* and not "return EIO;" */
 > 
 > Please file a PR on this issue using:
 > 
 > >Category:      usb

Thank you.
I modified ugen.c in the way you suggested and filed a PR.

Dirk


More information about the freebsd-hackers mailing list