Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Jul 2009 20:17:28 +0100
From:      Andrew Thompson <thompsa@FreeBSD.org>
To:        Hans Petter Selasky <hselasky@c2i.net>
Cc:        usb@freebsd.org, freebsd-current@freebsd.org
Subject:   Re: USB polling
Message-ID:  <1280352d0907111217r5c218cdctf158dbfc588da304@mail.gmail.com>
In-Reply-To: <200907111710.18843.hselasky@c2i.net>
References:  <1280352d0907101020q69f494cdndb01ff14ecf7ea8c@mail.gmail.com> <200907111710.18843.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
2009/7/11 Hans Petter Selasky <hselasky@c2i.net>:
> On Friday 10 July 2009 19:20:01 Andrew Thompson wrote:
>> Hi,
>>
>> The one usb task that is still an issue for 8.0 is the polling
>> support. The code needs to call into the host controller driver to
>> check if the usb descriptor has been marked as done and call the
>> completion callback. I am now traveling so cant look at it, if anyone
>> wants to have a look it would be fantastic. This is needed for places
>> where a usb keyboard is used and interrupts are disabled (root mount,
>> DDB).
>
> Hi,
>
> Probably we can implement USB polling with minimal transfer support. That
> basically means:
>
> - no timeouts
> - no automatic clear-stall
>
> Only support for ukbd and umass.
>
> Shouldn't be too hard.

Thats pretty much what we need, at least for 8.0.

Andrew



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