Mauro Carvalho Chehab | ed66bcd | 2019-06-13 23:04:07 -0300 | [diff] [blame] | 1 | What: /sys/bus/usb/.../powered |
Harrison Metzger | eb86be5 | 2008-08-14 11:29:32 -0500 | [diff] [blame] | 2 | Date: August 2008 |
Mauro Carvalho Chehab | 129fb4c | 2019-06-14 14:52:16 -0300 | [diff] [blame] | 3 | KernelVersion: 2.6.26 |
Harrison Metzger | eb86be5 | 2008-08-14 11:29:32 -0500 | [diff] [blame] | 4 | Contact: Harrison Metzger <harrisonmetz@gmail.com> |
| 5 | Description: 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 Chehab | ed66bcd | 2019-06-13 23:04:07 -0300 | [diff] [blame] | 8 | What: /sys/bus/usb/.../mode_msb |
| 9 | What: /sys/bus/usb/.../mode_lsb |
Harrison Metzger | eb86be5 | 2008-08-14 11:29:32 -0500 | [diff] [blame] | 10 | Date: August 2008 |
Mauro Carvalho Chehab | 129fb4c | 2019-06-14 14:52:16 -0300 | [diff] [blame] | 11 | KernelVersion: 2.6.26 |
Harrison Metzger | eb86be5 | 2008-08-14 11:29:32 -0500 | [diff] [blame] | 12 | Contact: Harrison Metzger <harrisonmetz@gmail.com> |
| 13 | Description: Controls the devices display mode. |
| 14 | For a 6 character display the values are |
Mauro Carvalho Chehab | 3443333 | 2020-10-30 08:40:39 +0100 | [diff] [blame] | 15 | |
Harrison Metzger | eb86be5 | 2008-08-14 11:29:32 -0500 | [diff] [blame] | 16 | MSB 0x06; LSB 0x3F, and |
Mauro Carvalho Chehab | 3443333 | 2020-10-30 08:40:39 +0100 | [diff] [blame] | 17 | |
Harrison Metzger | eb86be5 | 2008-08-14 11:29:32 -0500 | [diff] [blame] | 18 | for an 8 character display the values are |
Mauro Carvalho Chehab | 3443333 | 2020-10-30 08:40:39 +0100 | [diff] [blame] | 19 | |
Harrison Metzger | eb86be5 | 2008-08-14 11:29:32 -0500 | [diff] [blame] | 20 | MSB 0x08; LSB 0xFF. |
| 21 | |
Mauro Carvalho Chehab | ed66bcd | 2019-06-13 23:04:07 -0300 | [diff] [blame] | 22 | What: /sys/bus/usb/.../textmode |
Harrison Metzger | eb86be5 | 2008-08-14 11:29:32 -0500 | [diff] [blame] | 23 | Date: August 2008 |
Mauro Carvalho Chehab | 129fb4c | 2019-06-14 14:52:16 -0300 | [diff] [blame] | 24 | KernelVersion: 2.6.26 |
Harrison Metzger | eb86be5 | 2008-08-14 11:29:32 -0500 | [diff] [blame] | 25 | Contact: Harrison Metzger <harrisonmetz@gmail.com> |
| 26 | Description: 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 Chehab | ed66bcd | 2019-06-13 23:04:07 -0300 | [diff] [blame] | 31 | What: /sys/bus/usb/.../text |
Harrison Metzger | eb86be5 | 2008-08-14 11:29:32 -0500 | [diff] [blame] | 32 | Date: August 2008 |
Mauro Carvalho Chehab | 129fb4c | 2019-06-14 14:52:16 -0300 | [diff] [blame] | 33 | KernelVersion: 2.6.26 |
Harrison Metzger | eb86be5 | 2008-08-14 11:29:32 -0500 | [diff] [blame] | 34 | Contact: Harrison Metzger <harrisonmetz@gmail.com> |
| 35 | Description: The text (or data) for the device to display |
| 36 | |
Mauro Carvalho Chehab | ed66bcd | 2019-06-13 23:04:07 -0300 | [diff] [blame] | 37 | What: /sys/bus/usb/.../decimals |
Harrison Metzger | eb86be5 | 2008-08-14 11:29:32 -0500 | [diff] [blame] | 38 | Date: August 2008 |
Mauro Carvalho Chehab | 129fb4c | 2019-06-14 14:52:16 -0300 | [diff] [blame] | 39 | KernelVersion: 2.6.26 |
Harrison Metzger | eb86be5 | 2008-08-14 11:29:32 -0500 | [diff] [blame] | 40 | Contact: Harrison Metzger <harrisonmetz@gmail.com> |
| 41 | Description: Controls the decimal places on the device. |
| 42 | To set the nth decimal place, give this field |
Mauro Carvalho Chehab | 3443333 | 2020-10-30 08:40:39 +0100 | [diff] [blame] | 43 | the value of ``10 ** n``. Assume this field has |
Harrison Metzger | eb86be5 | 2008-08-14 11:29:32 -0500 | [diff] [blame] | 44 | 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 Chehab | 3443333 | 2020-10-30 08:40:39 +0100 | [diff] [blame] | 46 | change this fields value to ``k + 10 ** m``. |