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