ubuntu亮度无法自动调节终极解决方案
ubuntu亮度无法自动调节终极解决方案
这个问题纠结了我快两年,主要是自己懒,写了个脚本来调节亮度,不过还是稍显不便。近日兴起折腾了一番,终于找到问题根结了。
ACPI
to find out:
# ls /sys/class/backlight/
intel_backlight
on an ATI card. In the following example, acpi_video0 is used.
actual_brightness brightness max_brightness subsystem/ uevent bl_power device/ power/ type
:
# cat /sys/class/backlight/acpi_video0/max_brightness 15
. Obviously you cannot go any higher than your screen's maximum brightness. The values for maximum brightness and brightness in general vary wildly among cards.
# echo 5 > /sys/class/backlight/acpi_video0/brightness
acpi_osi=Linux acpi_backlight=vendor
acpi_osi=Linux acpi_backlight=legacy
acpi_backlight=vendor will prefer vendor specific driver (e.g. thinkpad_acpi, sony_acpi, etc.) instead of the ACPI video.ko driver.
看了这个之后,很显然,问题就在于acpi_backlight=vendor will prefer vendor specific driver (e.g. thinkpad_acpi, sony_acpi, etc.) instead of the ACPI video.ko driver. 所以我们只要sudo nano /etc/default/grub, 然后sudo update-grub && sudo reboot
评论暂时关闭