Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 165058
b: refs/heads/master
c: a87371b
h: refs/heads/master
v: v3
  • Loading branch information
Jean Delvare authored and Greg Kroah-Hartman committed Sep 23, 2009
1 parent 5d08db7 commit 270e63b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3ae9da1c99eda248b469fc10d8d9fcebebc949cf
refs/heads/master: a87371b477774b290c27bc5cb7f4ccc5379574a9
10 changes: 5 additions & 5 deletions trunk/Documentation/usb/authorization.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,20 @@ Usage:

Authorize a device to connect:

$ echo 1 > /sys/usb/devices/DEVICE/authorized
$ echo 1 > /sys/bus/usb/devices/DEVICE/authorized

Deauthorize a device:

$ echo 0 > /sys/usb/devices/DEVICE/authorized
$ echo 0 > /sys/bus/usb/devices/DEVICE/authorized

Set new devices connected to hostX to be deauthorized by default (ie:
lock down):

$ echo 0 > /sys/bus/devices/usbX/authorized_default
$ echo 0 > /sys/bus/usb/devices/usbX/authorized_default

Remove the lock down:

$ echo 1 > /sys/bus/devices/usbX/authorized_default
$ echo 1 > /sys/bus/usb/devices/usbX/authorized_default

By default, Wired USB devices are authorized by default to
connect. Wireless USB hosts deauthorize by default all new connected
Expand All @@ -47,7 +47,7 @@ USB port):
boot up
rc.local ->

for host in /sys/bus/devices/usb*
for host in /sys/bus/usb/devices/usb*
do
echo 0 > $host/authorized_default
done
Expand Down

0 comments on commit 270e63b

Please sign in to comment.