xref: /linux/Documentation/ABI/testing/sysfs-bus-usb-devices-usbsevseg (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1What:		/sys/bus/usb/.../powered
2Date:		August 2008
3KernelVersion:	2.6.26
4Contact:	Harrison Metzger <harrisonmetz@gmail.com>
5Description:	Controls whether the device's display will powered.
6		A value of 0 is off and a non-zero value is on.
7
8What:		/sys/bus/usb/.../mode_msb
9What:		/sys/bus/usb/.../mode_lsb
10Date:		August 2008
11KernelVersion:	2.6.26
12Contact:	Harrison Metzger <harrisonmetz@gmail.com>
13Description:	Controls the devices display mode.
14		For a 6 character display the values are
15
16			MSB 0x06; LSB 0x3F, and
17
18		for an 8 character display the values are
19
20			MSB 0x08; LSB 0xFF.
21
22What:		/sys/bus/usb/.../textmode
23Date:		August 2008
24KernelVersion:	2.6.26
25Contact:	Harrison Metzger <harrisonmetz@gmail.com>
26Description:	Controls the way the device interprets its text buffer.
27		raw:	each character controls its segment manually
28		hex:	each character is between 0-15
29		ascii:	each character is between '0'-'9' and 'A'-'F'.
30
31What:		/sys/bus/usb/.../text
32Date:		August 2008
33KernelVersion:	2.6.26
34Contact:	Harrison Metzger <harrisonmetz@gmail.com>
35Description:	The text (or data) for the device to display
36
37What:		/sys/bus/usb/.../decimals
38Date:		August 2008
39KernelVersion:	2.6.26
40Contact:	Harrison Metzger <harrisonmetz@gmail.com>
41Description:	Controls the decimal places on the device.
42		To set the nth decimal place, give this field
43		the value of ``10 ** n``. Assume this field has
44		the value k and has 1 or more decimal places set,
45		to set the mth place (where m is not already set),
46		change this fields value to ``k + 10 ** m``.
47