xref: /linux/Documentation/ABI/testing/sysfs-driver-hid-picolcd (revision f26e8817b235d8764363bffcc9cbfc61867371f2)
1What:		/sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/operation_mode
2Date:		March 2010
3Contact:	Bruno Prémont <bonbons@linux-vserver.org>
4Description:	Make it possible to switch the PicoLCD device between LCD
5		(firmware) and bootloader (flasher) operation modes.
6
7		Reading: returns list of available modes, the active mode being
8		enclosed in brackets ('[' and ']')
9
10		Writing: causes operation mode switch. Permitted values are
11		the non-active mode names listed when read.
12
13		Note: when switching mode the current PicoLCD HID device gets
14		disconnected and reconnects after above delay (see attribute
15		operation_mode_delay for its value).
16
17
18What:		/sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/operation_mode_delay
19Date:		April 2010
20Contact:	Bruno Prémont <bonbons@linux-vserver.org>
21Description:	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.
26
27
28What:		/sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/fb_update_rate
29Date:		March 2010
30Contact:	Bruno Prémont <bonbons@linux-vserver.org>
31Description:	Make it possible to adjust defio refresh rate.
32
33		Reading: returns list of available refresh rates (expressed in Hz),
34		the active refresh rate being enclosed in brackets ('[' and ']')
35
36		Writing: accepts new refresh rate expressed in integer Hz
37		within permitted rates.
38
39		Note: As device can barely do 2 complete refreshes a second
40		it only makes sense to adjust this value if only one or two
41		tiles get changed and it's not appropriate to expect the application
42		to flush its tiny changes explicitly at higher than default rate.
43
44