2019-06-14 10:04:07 +08:00
|
|
|
What: /sys/bus/usb/.../powered
|
2008-08-15 00:29:32 +08:00
|
|
|
Date: August 2008
|
2019-06-15 01:52:16 +08:00
|
|
|
KernelVersion: 2.6.26
|
2008-08-15 00:29:32 +08:00
|
|
|
Contact: Harrison Metzger <harrisonmetz@gmail.com>
|
|
|
|
Description: Controls whether the device's display will powered.
|
|
|
|
A value of 0 is off and a non-zero value is on.
|
|
|
|
|
2019-06-14 10:04:07 +08:00
|
|
|
What: /sys/bus/usb/.../mode_msb
|
|
|
|
What: /sys/bus/usb/.../mode_lsb
|
2008-08-15 00:29:32 +08:00
|
|
|
Date: August 2008
|
2019-06-15 01:52:16 +08:00
|
|
|
KernelVersion: 2.6.26
|
2008-08-15 00:29:32 +08:00
|
|
|
Contact: Harrison Metzger <harrisonmetz@gmail.com>
|
|
|
|
Description: Controls the devices display mode.
|
|
|
|
For a 6 character display the values are
|
2020-10-30 15:40:39 +08:00
|
|
|
|
2008-08-15 00:29:32 +08:00
|
|
|
MSB 0x06; LSB 0x3F, and
|
2020-10-30 15:40:39 +08:00
|
|
|
|
2008-08-15 00:29:32 +08:00
|
|
|
for an 8 character display the values are
|
2020-10-30 15:40:39 +08:00
|
|
|
|
2008-08-15 00:29:32 +08:00
|
|
|
MSB 0x08; LSB 0xFF.
|
|
|
|
|
2019-06-14 10:04:07 +08:00
|
|
|
What: /sys/bus/usb/.../textmode
|
2008-08-15 00:29:32 +08:00
|
|
|
Date: August 2008
|
2019-06-15 01:52:16 +08:00
|
|
|
KernelVersion: 2.6.26
|
2008-08-15 00:29:32 +08:00
|
|
|
Contact: Harrison Metzger <harrisonmetz@gmail.com>
|
|
|
|
Description: Controls the way the device interprets its text buffer.
|
|
|
|
raw: each character controls its segment manually
|
|
|
|
hex: each character is between 0-15
|
|
|
|
ascii: each character is between '0'-'9' and 'A'-'F'.
|
|
|
|
|
2019-06-14 10:04:07 +08:00
|
|
|
What: /sys/bus/usb/.../text
|
2008-08-15 00:29:32 +08:00
|
|
|
Date: August 2008
|
2019-06-15 01:52:16 +08:00
|
|
|
KernelVersion: 2.6.26
|
2008-08-15 00:29:32 +08:00
|
|
|
Contact: Harrison Metzger <harrisonmetz@gmail.com>
|
|
|
|
Description: The text (or data) for the device to display
|
|
|
|
|
2019-06-14 10:04:07 +08:00
|
|
|
What: /sys/bus/usb/.../decimals
|
2008-08-15 00:29:32 +08:00
|
|
|
Date: August 2008
|
2019-06-15 01:52:16 +08:00
|
|
|
KernelVersion: 2.6.26
|
2008-08-15 00:29:32 +08:00
|
|
|
Contact: Harrison Metzger <harrisonmetz@gmail.com>
|
|
|
|
Description: Controls the decimal places on the device.
|
|
|
|
To set the nth decimal place, give this field
|
2020-10-30 15:40:39 +08:00
|
|
|
the value of ``10 ** n``. Assume this field has
|
2008-08-15 00:29:32 +08:00
|
|
|
the value k and has 1 or more decimal places set,
|
|
|
|
to set the mth place (where m is not already set),
|
2020-10-30 15:40:39 +08:00
|
|
|
change this fields value to ``k + 10 ** m``.
|