[Lcdproc] Patch: MtxOrb adjustable backlight and display detection

Markus Dolze bsdfan at nurfuerspam.de
Sun Mar 8 14:01:31 UTC 2009


Hi,

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.

Markus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MtxOrb-adjbacklight.patch
Type: application/octet-stream
Size: 14057 bytes
Desc: not available
URL: <http://lists.omnipotent.net/pipermail/lcdproc/attachments/20090308/51846b04/attachment.obj>


More information about the LCDproc mailing list