Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 May 2005 17:03:03 +0200
From:      Dirk GOUDERS <gouders@et.bocholt.fh-ge.de>
To:        freebsd-hackers@freebsd.org
Subject:   Re: page fault in ugenpoll() 
Message-ID:  <200505201503.j4KF33sH001416@karga.hank.home>
In-Reply-To: Message from Hans Petter Selasky <hselasky@c2i.net>  <200505201516.42733.hselasky@c2i.net> 

next in thread | previous in thread | raw e-mail | index | archive | help

 > 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200505201503.j4KF33sH001416>