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