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