xref: /linux/Documentation/ABI/testing/sysfs-driver-hid-picolcd (revision 0b5adf92ec793c665b0de63ac146d190a921c391)
1236db47cSBruno PrémontWhat:		/sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/operation_mode
2236db47cSBruno PrémontDate:		March 2010
3236db47cSBruno PrémontContact:	Bruno Prémont <bonbons@linux-vserver.org>
4236db47cSBruno PrémontDescription:	Make it possible to switch the PicoLCD device between LCD
5236db47cSBruno Prémont		(firmware) and bootloader (flasher) operation modes.
6236db47cSBruno Prémont
7236db47cSBruno Prémont		Reading: returns list of available modes, the active mode being
8236db47cSBruno Prémont		enclosed in brackets ('[' and ']')
9236db47cSBruno Prémont
10236db47cSBruno Prémont		Writing: causes operation mode switch. Permitted values are
11*0b5adf92SBruno Prémont		the non-active mode names listed when read.
12236db47cSBruno Prémont
13236db47cSBruno Prémont		Note: when switching mode the current PicoLCD HID device gets
14*0b5adf92SBruno Prémont		disconnected and reconnects after above delay (see attribute
15*0b5adf92SBruno Prémont		operation_mode_delay for its value).
16*0b5adf92SBruno Prémont
17*0b5adf92SBruno Prémont
18*0b5adf92SBruno PrémontWhat:		/sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/operation_mode_delay
19*0b5adf92SBruno PrémontDate:		April 2010
20*0b5adf92SBruno PrémontContact:	Bruno Prémont <bonbons@linux-vserver.org>
21*0b5adf92SBruno PrémontDescription:	Delay PicoLCD waits before restarting in new mode when
22*0b5adf92SBruno Prémont		operation_mode has changed.
23*0b5adf92SBruno Prémont
24*0b5adf92SBruno Prémont		Reading/Writing: It is expressed in ms and permitted range is
25*0b5adf92SBruno Prémont		0..30000ms.
26236db47cSBruno Prémont
27b8c21cf6SBruno Prémont
28b8c21cf6SBruno PrémontWhat:		/sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/fb_update_rate
29b8c21cf6SBruno PrémontDate:		March 2010
30b8c21cf6SBruno PrémontContact:	Bruno Prémont <bonbons@linux-vserver.org>
31b8c21cf6SBruno PrémontDescription:	Make it possible to adjust defio refresh rate.
32b8c21cf6SBruno Prémont
33b8c21cf6SBruno Prémont		Reading: returns list of available refresh rates (expressed in Hz),
34b8c21cf6SBruno Prémont		the active refresh rate being enclosed in brackets ('[' and ']')
35b8c21cf6SBruno Prémont
36b8c21cf6SBruno Prémont		Writing: accepts new refresh rate expressed in integer Hz
37b8c21cf6SBruno Prémont		within permitted rates.
38b8c21cf6SBruno Prémont
39b8c21cf6SBruno Prémont		Note: As device can barely do 2 complete refreshes a second
40b8c21cf6SBruno Prémont		it only makes sense to adjust this value if only one or two
41b8c21cf6SBruno Prémont		tiles get changed and it's not appropriate to expect the application
42b8c21cf6SBruno Prémont		to flush it's tiny changes explicitely at higher than default rate.
43b8c21cf6SBruno Prémont
44