Lines Matching refs:devices
2 Authorizing (or not) your USB devices to connect to the system
9 of USB devices, fully controlled by user space.
21 $ echo 1 > /sys/bus/usb/devices/DEVICE/authorized
25 $ echo 0 > /sys/bus/usb/devices/DEVICE/authorized
27 Set new devices connected to hostX to be deauthorized by default (ie:
30 $ echo 0 > /sys/bus/usb/devices/usbX/authorized_default
34 $ echo 1 > /sys/bus/usb/devices/usbX/authorized_default
36 By default, Wired USB devices are authorized by default to
38 devices (this is so because we need to do an authentication phase
40 causes kernel to only authorize by default devices connected to internal
47 Imagine you want to implement a lockdown so only devices of type XYZ
54 for host in /sys/bus/usb/devices/usb*
59 Hookup an script to udev, for new USB devices::
106 $ echo 1 > /sys/bus/usb/devices/INTERFACE/authorized
110 $ echo 0 > /sys/bus/usb/devices/INTERFACE/authorized
117 $ echo 1 > /sys/bus/usb/devices/usbX/interface_authorized_default
121 $ echo 0 > /sys/bus/usb/devices/usbX/interface_authorized_default