USB devfs patch

Robert Watson rwatson at FreeBSD.org
Thu Feb 26 01:37:41 PST 2009


On Wed, 25 Feb 2009, Andrew Thompson wrote:

> 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

This seems to address my concerns, including eliminating the new use if 
PRIV_ROOT that got added.  Once this is in the tree I can remove PRIV_ROOT 
entirely, so with any luck we can get a new fine-grained privilege model done 
by 8.0.

Robert N M Watson
Computer Laboratory
University of Cambridge


More information about the freebsd-current mailing list