blob: 2f86e4223bfc8d25cc9552fe3865e3ccc964803b [file] [log] [blame]
Mauro Carvalho Chehabed66bcd2019-06-13 23:04:07 -03001What: /sys/bus/usb/.../powered
Harrison Metzgereb86be52008-08-14 11:29:32 -05002Date: August 2008
Mauro Carvalho Chehab129fb4c2019-06-14 14:52:16 -03003KernelVersion: 2.6.26
Harrison Metzgereb86be52008-08-14 11:29:32 -05004Contact: 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
Mauro Carvalho Chehabed66bcd2019-06-13 23:04:07 -03008What: /sys/bus/usb/.../mode_msb
9What: /sys/bus/usb/.../mode_lsb
Harrison Metzgereb86be52008-08-14 11:29:32 -050010Date: August 2008
Mauro Carvalho Chehab129fb4c2019-06-14 14:52:16 -030011KernelVersion: 2.6.26
Harrison Metzgereb86be52008-08-14 11:29:32 -050012Contact: Harrison Metzger <harrisonmetz@gmail.com>
13Description: Controls the devices display mode.
14 For a 6 character display the values are
Mauro Carvalho Chehab34433332020-10-30 08:40:39 +010015
Harrison Metzgereb86be52008-08-14 11:29:32 -050016 MSB 0x06; LSB 0x3F, and
Mauro Carvalho Chehab34433332020-10-30 08:40:39 +010017
Harrison Metzgereb86be52008-08-14 11:29:32 -050018 for an 8 character display the values are
Mauro Carvalho Chehab34433332020-10-30 08:40:39 +010019
Harrison Metzgereb86be52008-08-14 11:29:32 -050020 MSB 0x08; LSB 0xFF.
21
Mauro Carvalho Chehabed66bcd2019-06-13 23:04:07 -030022What: /sys/bus/usb/.../textmode
Harrison Metzgereb86be52008-08-14 11:29:32 -050023Date: August 2008
Mauro Carvalho Chehab129fb4c2019-06-14 14:52:16 -030024KernelVersion: 2.6.26
Harrison Metzgereb86be52008-08-14 11:29:32 -050025Contact: 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
Mauro Carvalho Chehabed66bcd2019-06-13 23:04:07 -030031What: /sys/bus/usb/.../text
Harrison Metzgereb86be52008-08-14 11:29:32 -050032Date: August 2008
Mauro Carvalho Chehab129fb4c2019-06-14 14:52:16 -030033KernelVersion: 2.6.26
Harrison Metzgereb86be52008-08-14 11:29:32 -050034Contact: Harrison Metzger <harrisonmetz@gmail.com>
35Description: The text (or data) for the device to display
36
Mauro Carvalho Chehabed66bcd2019-06-13 23:04:07 -030037What: /sys/bus/usb/.../decimals
Harrison Metzgereb86be52008-08-14 11:29:32 -050038Date: August 2008
Mauro Carvalho Chehab129fb4c2019-06-14 14:52:16 -030039KernelVersion: 2.6.26
Harrison Metzgereb86be52008-08-14 11:29:32 -050040Contact: Harrison Metzger <harrisonmetz@gmail.com>
41Description: Controls the decimal places on the device.
42 To set the nth decimal place, give this field
Mauro Carvalho Chehab34433332020-10-30 08:40:39 +010043 the value of ``10 ** n``. Assume this field has
Harrison Metzgereb86be52008-08-14 11:29:32 -050044 the value k and has 1 or more decimal places set,
45 to set the mth place (where m is not already set),
Mauro Carvalho Chehab34433332020-10-30 08:40:39 +010046 change this fields value to ``k + 10 ** m``.