diff options
| author | Jean Delvare <khali@linux-fr.org> | 2009-09-12 11:00:46 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-23 09:46:41 -0400 |
| commit | a87371b477774b290c27bc5cb7f4ccc5379574a9 (patch) | |
| tree | 8b1746e61fc9f8e8831a8c2b85c32173b2616ef0 /Documentation/usb | |
| parent | 3ae9da1c99eda248b469fc10d8d9fcebebc949cf (diff) | |
USB: Fix sysfs paths in documentation
Neither /sys/usb/devices nor /sys/bus/devices exist. The correct path
is /sys/bus/usb/devices.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Documentation/usb')
| -rw-r--r-- | Documentation/usb/authorization.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Documentation/usb/authorization.txt b/Documentation/usb/authorization.txt index 381b22ee783..c069b6884c7 100644 --- a/Documentation/usb/authorization.txt +++ b/Documentation/usb/authorization.txt | |||
| @@ -16,20 +16,20 @@ Usage: | |||
| 16 | 16 | ||
| 17 | Authorize a device to connect: | 17 | Authorize a device to connect: |
| 18 | 18 | ||
| 19 | $ echo 1 > /sys/usb/devices/DEVICE/authorized | 19 | $ echo 1 > /sys/bus/usb/devices/DEVICE/authorized |
| 20 | 20 | ||
| 21 | Deauthorize a device: | 21 | Deauthorize a device: |
| 22 | 22 | ||
| 23 | $ echo 0 > /sys/usb/devices/DEVICE/authorized | 23 | $ echo 0 > /sys/bus/usb/devices/DEVICE/authorized |
| 24 | 24 | ||
| 25 | Set new devices connected to hostX to be deauthorized by default (ie: | 25 | Set new devices connected to hostX to be deauthorized by default (ie: |
| 26 | lock down): | 26 | lock down): |
| 27 | 27 | ||
| 28 | $ echo 0 > /sys/bus/devices/usbX/authorized_default | 28 | $ echo 0 > /sys/bus/usb/devices/usbX/authorized_default |
| 29 | 29 | ||
| 30 | Remove the lock down: | 30 | Remove the lock down: |
| 31 | 31 | ||
| 32 | $ echo 1 > /sys/bus/devices/usbX/authorized_default | 32 | $ echo 1 > /sys/bus/usb/devices/usbX/authorized_default |
| 33 | 33 | ||
| 34 | By default, Wired USB devices are authorized by default to | 34 | By default, Wired USB devices are authorized by default to |
| 35 | connect. Wireless USB hosts deauthorize by default all new connected | 35 | connect. Wireless USB hosts deauthorize by default all new connected |
| @@ -47,7 +47,7 @@ USB port): | |||
| 47 | boot up | 47 | boot up |
| 48 | rc.local -> | 48 | rc.local -> |
| 49 | 49 | ||
| 50 | for host in /sys/bus/devices/usb* | 50 | for host in /sys/bus/usb/devices/usb* |
| 51 | do | 51 | do |
| 52 | echo 0 > $host/authorized_default | 52 | echo 0 > $host/authorized_default |
| 53 | done | 53 | done |
