From owner-freebsd-current@FreeBSD.ORG Wed Dec 24 21:53:36 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BE15A106567A; Wed, 24 Dec 2008 21:53:36 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [66.246.138.153]) by mx1.freebsd.org (Postfix) with ESMTP id 8D28E8FC1A; Wed, 24 Dec 2008 21:53:36 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id A8BDD19007; Wed, 24 Dec 2008 16:53:34 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on muon X-Spam-Level: X-Spam-Status: No, score=-1.8 required=8.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 Received: from gluon (tau.demon.co.uk [80.177.26.208]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA; Wed, 24 Dec 2008 16:53:34 -0500 (EST) Date: Wed, 24 Dec 2008 21:53:30 +0000 From: Bruce Cran To: Alfred Perlstein Message-ID: <20081224215330.3ccc613d@gluon> In-Reply-To: <20081222214010.GA18389@elvis.mu.org> References: <20081222214010.GA18389@elvis.mu.org> X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.9; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: current@freebsd.org, Hans Petter Selasky Subject: Re: HEADSUP usb2 (usb4bsd) to become default in 2 weeks. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Dec 2008 21:53:36 -0000 On Mon, 22 Dec 2008 13:40:10 -0800 Alfred Perlstein wrote: > We're going to usher in the New Year with a new usb stack. > > Now is the time to test, test, test. I've found a few issues when testing my OpenMoko phone with the new stack. I know this has already been reported (http://lists.freebsd.org/pipermail/freebsd-usb/2008-September/005462.html) but I'd expect that loading usb2_ethernet_cdce would make the phone attach as a CDCE device, but it still attaches using ugen. I don't know if this is possible but could the usb stack automatically use config 1 when it attaches, knowing that RNDIS (config 0) isn't supported yet? I also noticed that usbconfig(8) refers to usb2_core(4) which doesn't exist. Something strange is going on with one of my USB ports. A CSR Bluetooth dongle gets detected, but nothing else plugged in does. usbconfig list: [...] ugen2.1: at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON [...] ugen2.2: at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON Could this be because the CSR device is a FULL-speed device but everything else I have (a Broadcom EDR dongle, flash drive and an OpenMoko phone) are all HIGH-speed devices? If usbconfig needs root privileges to work, it should say so. It currently reports "No device match" when it should probably say that the current user isn't root, to avoid confusion. Should usbconfig(8) document the commands? Finally, ugen devices don't report being unplugged - I'd expect to be told that the device has gone away. -- Bruce Cran