diff options
author | Bruno Prémont <bonbons@linux-vserver.org> | 2010-04-25 15:29:16 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2010-04-27 09:31:26 -0400 |
commit | 0b5adf92ec793c665b0de63ac146d190a921c391 (patch) | |
tree | b2476d2a25ec313128f966e24236fd0af1acd5a0 /Documentation/ABI | |
parent | 76d17e6ca30204532c631d092de41febb3f76b77 (diff) |
HID: split picolcd's operation_mode sysfs attribute
Original operation_mode sysfs attribute accepts the operation mode
as main value with an option delay as second value to change
the start-up delay on mode change.
As it is preferred to have exactly one value per sysfs attribute,
extract this delay into a separate sysfs attribute called
operation_mode_delay.
Signed-off-by: Bruno Prémont <bonbons@linux-vserver.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'Documentation/ABI')
-rw-r--r-- | Documentation/ABI/testing/sysfs-driver-hid-picolcd | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/Documentation/ABI/testing/sysfs-driver-hid-picolcd b/Documentation/ABI/testing/sysfs-driver-hid-picolcd index 14f52d70621b..08579e7e1e89 100644 --- a/Documentation/ABI/testing/sysfs-driver-hid-picolcd +++ b/Documentation/ABI/testing/sysfs-driver-hid-picolcd | |||
@@ -8,12 +8,21 @@ Description: Make it possible to switch the PicoLCD device between LCD | |||
8 | enclosed in brackets ('[' and ']') | 8 | enclosed in brackets ('[' and ']') |
9 | 9 | ||
10 | Writing: causes operation mode switch. Permitted values are | 10 | Writing: causes operation mode switch. Permitted values are |
11 | the non-active mode names listed when read, optionally followed | 11 | the non-active mode names listed when read. |
12 | by a delay value expressed in ms. | ||
13 | 12 | ||
14 | Note: when switching mode the current PicoLCD HID device gets | 13 | Note: when switching mode the current PicoLCD HID device gets |
15 | disconnected and reconnects after above delay (default value | 14 | disconnected and reconnects after above delay (see attribute |
16 | is 5 seconds though this default should not be relied on). | 15 | operation_mode_delay for its value). |
16 | |||
17 | |||
18 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/operation_mode_delay | ||
19 | Date: April 2010 | ||
20 | Contact: Bruno Prémont <bonbons@linux-vserver.org> | ||
21 | Description: Delay PicoLCD waits before restarting in new mode when | ||
22 | operation_mode has changed. | ||
23 | |||
24 | Reading/Writing: It is expressed in ms and permitted range is | ||
25 | 0..30000ms. | ||
17 | 26 | ||
18 | 27 | ||
19 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/fb_update_rate | 28 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/fb_update_rate |