USB authorization
Hans Petter Selasky
hps at selasky.org
Fri Aug 19 11:31:53 UTC 2016
On 08/19/16 13:09, Daniel Kopeček wrote:
> Hello,
> I'm trying to find out whether FreeBSD has an equivalent to the USB
> (de)authorization interface that is implemented the Linux kernel [1],
> i.e. if there's a flag for each USB device and interface that controls
> whether that particular device/interface is allowed to communicate
> with the system.
>
> So far I haven't found anything promising so I guess there's no such
> interface. If that's true, do you think it would hard be to implement?
> Would it require refactoring of the USB subsystem or just a few lines
> at the right places and something to export this interface to the user
> space?
>
> Thanks!
>
> [1] https://www.kernel.org/doc/Documentation/usb/authorization.txt
Hi,
We have some sysctls you can set which allow or disallow USB enumeration:
hw.usb.disable_enumeration: 0
dev.uhub.0.disable_enumeration: 0
We don't support wireless USB.
--HPS
More information about the freebsd-usb
mailing list