[systemd-devel] [PATCH] backlight: do nothing if max_brightness is 0

Thomas Bächler thomas at archlinux.org
Wed Apr 2 11:20:11 PDT 2014


Am 27.03.2014 23:41, schrieb Thomas Bächler:
> On virtually any newer Asus mainboard, the eeepc-wmi driver is loaded.
> It exposes a backlight device despite the lack of any physical backlight
> devices. This fake backlight device has max_brightness set to 0. Since
> the introduction of the clamp_brightness function, systemd-backlight
> tries to write '1' to brightness and fails.
> 
> This patch changes systemd-backlight to exit gracefully when
> max_brightness is 0 before performing any action. This affects
> both the load and save actions.

Ping?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20140402/48418c14/attachment.sig>


More information about the systemd-devel mailing list