NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Correct/safe way to set ugen*/USB device permissions
thor0505%comcast.net@localhost ("William D. Jones") writes:
>1. I'd like to keep the number of device files whose permissions I modify to a minimum, just in case something goes very wrong due to programming error. Unfortunately, ugen* generates a device file for every single USB endpoint for every single device.
>2. I'm not sure if my FPGA board will always show up on the same device nodes, which means that I have to change permissions for even more devices in anticipation!
>3. My default installation seems to have generated device nodes only for up to 4 generic devices, and I have the potential to exhaust all of them (I suppose running MAKEDEV will fix this)?
>That said, is this the "canonical"/correct way to allow USB devices to be accessible by normal users? Or since the above post was written, has there been a different kernel framework that allows normal users to access USB devices.
>More generally, is adding users to device-specific groups, changing device ownership to these groups and adding entries to/running MAKEDEV.local still the canonical way to customize device permissions, a la the equivalent functionality in Linux?
I'm not sure what Linux does, but on NetBSD that's so far the only method.
--
--
Michael van Elst
Internet: mlelstv%serpens.de@localhost
"A potential Snark may lurk in every tree."
Home |
Main Index |
Thread Index |
Old Index