usb2: scanner no longer working

Rink Springer rink at FreeBSD.org
Fri Nov 7 10:55:20 PST 2008


On Fri, Nov 07, 2008 at 07:49:29PM +0100, Ed Schouten wrote:
> Hello Hans,
> 
> * Hans Petter Selasky <hselasky at c2i.net> wrote:
> > Basically there is nothing wrong with using chmod and chown. Hence USB
> > has its own directory system which is not part of devfs, it was
> > natural to also have a separate utility to set the permissions and
> > ownership, which might become more complicated than simply a user and
> > group. At EuroBSDcon this year I got some ideas about defining
> > functional permission groups, like permissions for all USB keyboards
> > for example, instead of permissions for individual devices.  This
> > pradigm will then break with chmod and chown.
> 
> But that's not the right direction. If we really want to do such things,
> we should add ACL support to devfs, which is already something we
> eventually want to do. I don't agree that we should create yet another
> namespace with permissions instead of using the traditional /dev
> directory.

I'm working on migrating this to make_dev(9), so USB devices will get
created like everything else and thus work properly using devfs et al.

-- 
Rink P.W. Springer                                - http://rink.nu
"Anyway boys, this is America. Just because you get more votes doesn't
 mean you win." - Fox Mulder


More information about the freebsd-current mailing list