[Lcdproc] Patch: MtxOrb adjustable backlight and display detection
bsdfan at nurfuerspam.de
Sun Mar 8 14:01:31 UTC 2009
I added a switch to LCDd.conf to turn off the adjustable backlight (which is on by default). If the adjustable backlight is turn off, the driver uses the old way to switch the backlight on or off.
The switch is necessary because there are still some old MtxOrb displays floating around which do not feature an adjustable backlight but also cannot be identified by the driver. Therefore the user has to set this in the config file.
I also reworked the display detection mechanism. Right now it is still part of MtxOrb_get_info, but in the near time it should be split into a separate function called as soon as the connection has been set up.
By putting the diplays model->name information in a global table and adding a 'flags' field to it, we may put our knowledge about displays into that table, e.g. the diplay type, if it has an adjustable backlight, if it supports keys, etc. Right now the flags are still unused.
Please give it a try.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 14057 bytes
Desc: not available
More information about the LCDproc