Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Linux's display brightness / backlight interface will finally be overhauled.

2025-03-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > IT Information >

Share

Shulou(Shulou.com)11/24 Report--

CTOnews.com Sept. 18, at this week's Linux Plumbers conference, Red Hat developer Hans de Goede introduced the progress of his work, which will bring a fix to the pain point problem of the display brightness / backlight interface for Linux.

Hans mentioned the problem of Linux backlight interface as early as 2014. at present, it is impossible to map a backlit sysfs device to a monitor, a monitor needs to adapt to multiple backlit sysfs devices, root permission is required to control brightness, and the meaning of a value of 0 is not defined.

Since then, he has been working on resolving current limitations through / sys/ class / backlight user-space API and introducing a new and better designed API.

To solve the current problem, Hans plans to add new "display_brightness" and "display_brightness_max" attributes to the DRM connector object, and solves the problem of a value of 0. When display_brightness_max = = 0, it is defined as no support for controlling brightness.

Interested CTOnews.com partners can check out Hans's PDF on LPC 2022, as well as kernel patches that fix the problem.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

IT Information

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report