Date: Wed, 17 Apr 2002 15:22:31 +0200 From: "Nick Hibma" <n_hibma@van-laarhoven.org> To: "Bruce Evans" <bde@zeta.org.au>, "Peter Haight" <peterh@sapros.com> Cc: <hardware@FreeBSD.ORG> Subject: Re: Reading from the USB ugen device. Message-ID: <004501c1e612$ede6a4c0$7800420a@vanlaarhoven.org> References: <20020417003939.B8131-100000@gamplex.bde.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> Here the problem may be the more immediate one that usb returns EIO > instead of EWOULDBLOCK when it can't proceed. EIO is only returned in case of error. I was mistaken. EWOULDBLOCK can never be returned because the ugen driver can't know whether or no the transfer is going to block. There is no such thing as a poll for data on the USB bus. Nick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hardware" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?004501c1e612$ede6a4c0$7800420a>