From owner-freebsd-current@FreeBSD.ORG Thu Feb 26 02:03:36 2009 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 2EF501065672; Thu, 26 Feb 2009 02:03:36 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from pele.citylink.co.nz (pele.citylink.co.nz [202.8.44.226]) by mx1.freebsd.org (Postfix) with ESMTP id E87A98FC17; Thu, 26 Feb 2009 02:03:35 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by pele.citylink.co.nz (Postfix) with ESMTP id 27FC5FF59; Thu, 26 Feb 2009 15:03:35 +1300 (NZDT) X-Virus-Scanned: Debian amavisd-new at citylink.co.nz Received: from pele.citylink.co.nz ([127.0.0.1]) by localhost (pele.citylink.co.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9e2klJvdYmKL; Thu, 26 Feb 2009 15:03:31 +1300 (NZDT) Received: from citylink.fud.org.nz (unknown [202.8.44.45]) by pele.citylink.co.nz (Postfix) with ESMTP; Thu, 26 Feb 2009 15:03:31 +1300 (NZDT) Received: by citylink.fud.org.nz (Postfix, from userid 1001) id DFED51142F; Thu, 26 Feb 2009 15:03:30 +1300 (NZDT) Date: Wed, 25 Feb 2009 18:03:30 -0800 From: Andrew Thompson To: current@freebsd.org, usb@freebsd.org Message-ID: <20090226020330.GC25211@citylink.fud.org.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.17 (2007-11-01) Cc: Hans Petter Selasky Subject: USB devfs patch 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: Thu, 26 Feb 2009 02:03:36 -0000 Hi, Below is a patch from Rink Springer to change the new USB stack to use devfs device nodes. I have tested this with a usb mouse and I am hoping people with other devices can test too, in particular scanners (sane app) and lpt ports. This also removes the custom permissions from usb and usbconfig. http://people.freebsd.org/~thompsa/usb-cdevs.diff cheers, Andrew