Read from bulk end point

2011-06-27 Thread Luca Pizzamiglio
Hi USB list, I've a little problem, but I'm not able to find a solution... I've a generic custom USB device with several end points. One of them (a bulk one) is read periodically (polled, 64 byte) every second. There was some time inconsistencies, so I checked the USB traffic with a sniffer, an

Re: Read from bulk end point

2011-06-27 Thread Hans Petter Selasky
On Monday 27 June 2011 10:43:03 Luca Pizzamiglio wrote: > Hi USB list, > > I've a little problem, but I'm not able to find a solution... > I've a generic custom USB device with several end points. > One of them (a bulk one) is read periodically (polled, 64 byte) every > second. There was some time

Current problem reports assigned to freebsd-usb@FreeBSD.org

2011-06-27 Thread FreeBSD bugmaster
Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker

Re: Read from bulk end point

2011-06-27 Thread Luca Pizzamiglio
Hi, thanks HPS, yes, the buffer size works well. It was strange, because for other endpoints I don't see this kind of behavior. BTW now the problem is solved. Thanks again Luca On 06/27/11 11:19, Hans Petter Selasky wrote: On Monday 27 June 2011 10:43:03 Luca Pizzamiglio wrote: Hi USB list,

Re: Read from bulk end point

2011-06-27 Thread Hans Petter Selasky
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 ___ freebsd-usb@freebsd.org mailing l

Re: Read from bulk end point

2011-06-27 Thread Luca Pizzamiglio
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 imple

Re: Read from bulk end point

2011-06-27 Thread Hans Petter Selasky
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

Re: usb/155229: commit references a PR

2011-06-27 Thread dfilter service
The following reply was made to PR usb/155229; it has been noted by GNATS. From: dfil...@freebsd.org (dfilter service) To: bug-follo...@freebsd.org Cc: Subject: Re: usb/155229: commit references a PR Date: Mon, 27 Jun 2011 21:30:18 + (UTC) Author: hselasky Date: Mon Jun 27 21:30:04 2011