On my Toshiba laptop I have two backlight devices in /sys/class/backlight called toshiba and intel_backlight. In Xorg, you could create a .conf file to choose which one the system should use. How do I do that in Wayland?

  • You don't. This is a great question to ask on the #wayland channel. – ybakos Mar 27 '16 at 15:53
  • A little digging shows support is based on the display server implementation. For example, here's something related to Weston – ybakos Mar 27 '16 at 16:09
  • This long-standing issue with brightness control has been finally solved at it's source, the kernel module. – To Do Mar 28 '16 at 10:22

To clarify, you don't "do it in Wayland," since Wayland is just a protocol. It seems that configuring the backlight will need to be done based on either drm configuration and/or the particular display server config.

The details for Weston are in the backlight_init function in libbacklight.c.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.