日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 > 运维知识 > linux >内容正文

linux

Linux自动亮度,ubuntu亮度无法自动调节终极解决方案

發(fā)布時間:2025/3/15 linux 28 豆豆
生活随笔 收集整理的這篇文章主要介紹了 Linux自动亮度,ubuntu亮度无法自动调节终极解决方案 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

關(guān)于ubuntu亮度無法自動調(diào)節(jié)的問題,糾結(jié)了我快兩年,主要是自己懶,寫了個腳本來調(diào)節(jié)亮度,不過還是稍顯不便。近日興起折騰了一番,終于找到問題根結(jié)了。

There are many ways to control brightness. According to this discussion[1] and this wiki page [2], the control method could be divided into these categories:

brightness is controlled by vendor specified hotkey. And there is no interface for OS to adjust brightness.

brightness is controlled by OS:

brightness could be controlled by ACPI

brightness could be controlled by graphic driver.

All methods expose themselves to the user by /sys/class/brightness. And xrandr/xbacklight could use this folder and choose one method to control brightness. But it is still not very clear which one xbacklight prefers by default. See FS#27677 for xbacklight, if you get "No outputs have backlight property." There is a temporary fix if xrandr/xbacklight does not choose the right directory in /sys/class/brightness: You can specify the one you want in xorg.conf by setting the "Backlight" option of the Device section to the name of that directory

brightness is controlled by HW register throught setpci

ACPIIt is often possible to adjust the backlight by ACPI. This controls the actual LEDs or cathodes of the screen. When this ACPI option is available, the illumination is controllable using a GUI slider in the Display/Screen system settings or by simple commands on the CLI.

Different cards might manage this differently. Check /sys/class/backlight to find out:

# ls /sys/class/backlight/intel_backlight

So this particular backlight is managed by an Intel card. It is called acpi_video0 on an ATI card. In the following example, acpi_video0 is used.

The directory contains the following files and folders:

actual_brightness brightness max_brightness subsystem/ uevent

bl_power device/ power/ type

The maximum brightness (often 15) can be found by running cat:

# cat /sys/class/backlight/acpi_video0/max_brightness

15

Brightness can then be set (as root) with echo. 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

Sometimes ACPI does not work well due to different motherboard implementations and ACPI quirks. This include some models with dual graphics (e.g. Nvidia-optimus/Radeon with intel (i915)) and some examples with this problem in notebooks such as Dell Studio, Dell XPS 14/15/17 and some Lenovo series, Kamal Mostafa kernel developer make patches for solved this issue included after 3.1 kernel version. You can try adding the following kernel parameters in your bootloader(grub, syslinux...) to adjust ACPI model:

acpi_osi=Linux acpi_backlight=vendor

or

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,

GRUB_CMDLINE_LINUX="“改為GRUB_CMDLINE_LINUX="acpi_osi=Linux acpi_backlight=vendor"重啟即可,注意大小寫Linux的L為大寫。

然后sudo update-grub && sudo reboot

本文來源:博客園 作者:浮沉雄鷹

總結(jié)

以上是生活随笔為你收集整理的Linux自动亮度,ubuntu亮度无法自动调节终极解决方案的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。

主站蜘蛛池模板: 少妇精品视频一区二区 | 亚洲av成人一区二区国产精品 | 影音先锋 日韩 | 日韩中文字幕一区 | 看了让人下面流水的视频 | 久久精品免费在线观看 | 亚欧洲精品在线视频免费观看 | 国产电影免费观看高清完整版视频 | 日韩一区二区视频 | 成人黄色激情小说 | 国产毛片儿 | 欧洲精品码一区二区三区免费看 | www.欧美色图 | 麻豆精品网站 | 欧美在线一区二区 | 日韩123 | 奇米影视亚洲春色 | 成人精品一区二区三区中文字幕 | 国产原创中文av | 日韩在线视频播放 | 精品国产视频在线 | 一进一出视频 | 日韩欧美视频免费在线观看 | 午夜在线观看影院 | 欧美一区二区公司 | 天堂成人| jizzjizz欧美69巨大 | 久久综合在线 | 欧美老熟妇一区二区 | 亚洲精品国产一区二 | 久久久久久久久久久国产精品 | 丁香伊人| 日本a级c片免费看三区 | 亚洲av最新在线网址 | 免费日韩欧美 | 狠狠噜噜 | 久久亚洲色图 | 女人扒开双腿让男人捅 | 91亚洲视频 | www.成年人 | 日韩3区| 黄色一级大片在线观看 | 波多野结衣啪啪 | 91在线看黄 | 波多野结衣av在线免费观看 | 高清毛片aaaaaaaaa片 | 波多野结衣一本一道 | 日韩精品成人无码专区免费 | 亚洲一二三 | 久久久久色 | 国产精品资源网站 | 成人毛片基地 | 亚洲综合一区二区 | 欧美激情视频一区二区 | 国产精品伦一区二区三区免费看 | 久久国产成人 | 亚洲一区二区三区国产 | 日本免费黄色网址 | 三级视频在线播放 | 成人在线免费视频观看 | 少妇一级淫片免费放中国 | 亚洲欧美日本国产 | 屁股夹体温计调教play | 制服丝袜影音先锋 | 成人观看网站 | 精品人妻无码一区二区三区 | 国产欧美精品一区二区三区app | 大桥未久中文字幕 | 欧美日韩国产不卡 | 亚洲AV午夜精品 | 97成人人妻一区二区三区 | 欧美性生活一区二区三区 | 99久久久国产精品无码免费 | 四虎影成人精品a片 | 四虎影视最新网址 | 牛牛影视一区二区 | 插插插操操操 | 在线观看av的网站 | 日本爱爱网址 | 日韩欧美精品久久 | 一级特黄免费视频 | 国产精品视频观看 | 制服丝袜天堂网 | 二区中文字幕 | 国产盗摄在线观看 | 亚洲综合婷婷久久 | 亚洲女同志亚洲女同女播放 | 人人澡人人添 | 一区二区伦理 | 久久午夜av | 天天色小说| 熊猫电影yy8y全部免费观看 | 狠狠夜夜 | 一区二区三区人妻 | 国产亚洲精品码 | 一级黄大片| 亚洲精品.www | 97成人免费| 免费国产高清 |