Date: Mon, 27 Jun 2011 21:54:05 +0200 From: Hans Petter Selasky <hselasky@c2i.net> To: Luca Pizzamiglio <l.pizzamiglio@bally-wulff.de> Cc: freebsd-usb@freebsd.org Subject: Re: Read from bulk end point Message-ID: <201106272154.05183.hselasky@c2i.net> In-Reply-To: <4E0894ED.1060109@bally-wulff.de> References: <4E084297.2040200@bally-wulff.de> <201106271320.34494.hselasky@c2i.net> <4E0894ED.1060109@bally-wulff.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 27 June 2011 16:34:21 Luca Pizzamiglio wrote: > Hi, > > the buffer size mitigates the pre-fetch, but could not remove it all... > Setting 1 as buffer size, the pre-fetch is reduces as 3 wMaxPacketSize > IN transaction on the bus, but could not avoid it. > > There is a way to disable pre-fetch features? Or better, HPS could you > point me where is implemented? (just to save time studying source code!) > > Is the prefetch also enabled for Interrupt end point? maybe I could have > push to correctly redesign this USB board... > Hi, Have a look in sys/dev/usb/usb_generic.c Also try to watch the traffic using usbdump. --HPS > thanks in advance! > > Luca > > On 06/27/11 13:20, Hans Petter Selasky wrote: > > On Monday 27 June 2011 13:14:55 Luca Pizzamiglio wrote: > >> It was strange, because for other endpoints I don't see this kind of > >> behavior. > > > > Hi, > > > > That is perhaps because they send less data than wMaxPacketSize. > > > > --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106272154.05183.hselasky>