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