From owner-freebsd-usb@FreeBSD.ORG Sat Jul 11 19:17:29 2009 Return-Path: Delivered-To: usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BF4B81065672 for ; Sat, 11 Jul 2009 19:17:29 +0000 (UTC) (envelope-from andy@fud.org.nz) Received: from mail-vw0-f172.google.com (mail-vw0-f172.google.com [209.85.212.172]) by mx1.freebsd.org (Postfix) with ESMTP id 80E8C8FC13 for ; Sat, 11 Jul 2009 19:17:29 +0000 (UTC) (envelope-from andy@fud.org.nz) Received: by vwj2 with SMTP id 2so1284078vwj.3 for ; Sat, 11 Jul 2009 12:17:28 -0700 (PDT) MIME-Version: 1.0 Sender: andy@fud.org.nz Received: by 10.220.92.204 with SMTP id s12mr4827845vcm.30.1247339848376; Sat, 11 Jul 2009 12:17:28 -0700 (PDT) In-Reply-To: <200907111710.18843.hselasky@c2i.net> References: <1280352d0907101020q69f494cdndb01ff14ecf7ea8c@mail.gmail.com> <200907111710.18843.hselasky@c2i.net> Date: Sat, 11 Jul 2009 20:17:28 +0100 X-Google-Sender-Auth: b0072311eaa0d757 Message-ID: <1280352d0907111217r5c218cdctf158dbfc588da304@mail.gmail.com> From: Andrew Thompson To: Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: usb@freebsd.org, freebsd-current@freebsd.org Subject: Re: USB polling X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Jul 2009 19:17:30 -0000 2009/7/11 Hans Petter Selasky : > 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