Date: Fri, 19 Aug 2016 13:36:19 +0200 From: Hans Petter Selasky <hps@selasky.org> To: =?UTF-8?Q?Daniel_Kope=c4=8dek?= <dnk.usbdev@gmail.com>, freebsd-usb@freebsd.org Subject: Re: USB authorization Message-ID: <f28e303c-c05a-8cf9-1e90-974de538d062@selasky.org> In-Reply-To: <CAKW8_nwsSsMdKqWg0xVkcb7r5YJE1dCn-g3Op04QsEfZST6kdw@mail.gmail.com> References: <CAKW8_nwsSsMdKqWg0xVkcb7r5YJE1dCn-g3Op04QsEfZST6kdw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f28e303c-c05a-8cf9-1e90-974de538d062>
