Date: Thu, 19 Mar 2009 09:01:23 +0100 From: Hans Petter Selasky <hselasky@c2i.net> To: Weongyo Jeong <weongyo@freebsd.org> Cc: Sam Leffler <sam@freebsd.org>, freebsd-usb@freebsd.org, Andrew Thompson <thompsa@freebsd.org> Subject: Re: q: USB_SET_TIMEOUT in ugen. Message-ID: <200903190901.23844.hselasky@c2i.net> In-Reply-To: <20090319021128.GC12632@weongyo.cdnetworks.kr> References: <20090318073032.GA12632@weongyo.cdnetworks.kr> <200903181454.18859.hselasky@c2i.net> <20090319021128.GC12632@weongyo.cdnetworks.kr>
index | next in thread | previous in thread | raw e-mail
On Thursday 19 March 2009, Weongyo Jeong wrote: > ugen_default_read_callback:384: actlen=0, aframes=0 > ugen_default_read_callback:384: actlen=0, aframes=0 > ugen_read_clear_stall_callback:477: f=0xc4d5b000: stall cleared One difference from the old ugen implementation is that a stall error does not cause any error to be returned to userland! You could try to return a ZLP on errors. Try this patch: http://perforce.freebsd.org/chv.cgi?CH=159423 If you need to distinguish a ZLP from a STALL, then you have to use the new libusb! Ugen is not meant to be a replacement for libusb! --HPShelp
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903190901.23844.hselasky>
