On Friday 20 May 2005 02:29, Dirk GOUDERS wrote:
> Hello,
>
> just for completeness, I want to provide a simple program that causes
> a kernel panic when invoked with the argument /dev/ugen0:

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

--HPS
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to