Kernel with backlight control
- Fn+F4: decrease brightness
- Fn+F5: Increase brightness
- Fn+Zzz: Turn off backlight
- Typing: turn on at last brightness.
Note: if you've lowered brightness to 0, you can only turn it back on again with Fn+F5.
Look under attachments below on this page for the kernel.
As of now I've changed the calculation of the increments and decrements to a more logarithmic scale. The steps feel very natural. You can go very low (duty of 1), or to maxduty with only a few keystrokes.
Flashing? Try it first!
Feedback from skytone revealed that there are more types of mini-pc's that have different handling of the backlight.
The elonex onet website also reveals
2 different uimages for the pro and the normal version.
Anyway: Try it first: Look at
UbootStuff of the key usage for booting, and look at
CompilingAKernel for the specifics of the SD card.
NOTES
- the trying stuff on the Letux-400 makes it permanent.
- There is a bug that turns off wifi when brightness is adjusted or the screen is turned on. The probable cause is that gpio's are turned into pwms again.
- The bug mentioned above is fixed
Register stuff :
| b0050000 |
r8 |
control |
| b0050004 |
r16 |
period |
| b0050008 |
r16 |
duty |
| b0010074 |
r32 |
Auxiliary registers for the GPIO |