日本搞逼视频_黄色一级片免费在线观看_色99久久_性明星video另类hd_欧美77_综合在线视频

國(guó)內(nèi)最全I(xiàn)T社區(qū)平臺(tái) 聯(lián)系我們 | 收藏本站
阿里云優(yōu)惠2
您當(dāng)前位置:首頁(yè) > 服務(wù)器 > ubuntu亮度無(wú)法自動(dòng)調(diào)節(jié)終極解決方案

ubuntu亮度無(wú)法自動(dòng)調(diào)節(jié)終極解決方案

來(lái)源:程序員人生   發(fā)布時(shí)間:2013-12-25 18:56:38 閱讀次數(shù):3085次

關(guān)于ubuntu亮度無(wú)法自動(dòng)調(diào)節(jié)的問(wèn)題,糾結(jié)了我快兩年,主要是自己懶,寫(xiě)了個(gè)腳本來(lái)調(diào)節(jié)亮度,不過(guò)還是稍顯不便。近日興起折騰了一番,終于找到問(wèn)題根結(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.

看了這個(gè)之后,很顯然,問(wèn)題就在于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"重啟即可,注意大小寫(xiě)Linux的L為大寫(xiě)。
然后sudo update-grub && sudo reboot

生活不易,碼農(nóng)辛苦
如果您覺(jué)得本網(wǎng)站對(duì)您的學(xué)習(xí)有所幫助,可以手機(jī)掃描二維碼進(jìn)行捐贈(zèng)
程序員人生
------分隔線----------------------------
分享到:
------分隔線----------------------------
關(guān)閉
程序員人生
主站蜘蛛池模板: h片在线观看视频免费免费 日韩国产一区二区 | 中文字幕一区二区av | 四色网址| 欧美一区二区三区免费看 | 午夜久久 | 欧美日韩性生活视频 | 精品亚洲一区二区三区 | 成人一区在线视频 | 色九九九| se94se亚洲精品setu | 偷拍自拍在线观看 | 最近中文字幕视频高清 | 一本色道精品久久一区二区三区 | 欧美视频一级片 | 国产一区二区三区免费观看 | 日本精品久久久久久久 | 正在播放91| 日韩精品久久 | 久久黄网站 | av中文字幕第一页 | 91网站免费观看 | 亚洲欧美视频在线观看 | 青青草久 | 日韩精品免费 | 国产精品久久亚洲7777 | 毛片网站在线观看 | 国产一级黄大片 | 欧洲成人午夜免费大片 | 九九色在线观看 | 日韩欧美自拍偷拍 | 国产精品99久久久久久似苏梦涵 | 亚洲成人免费在线观看 | 日本一区免费看 | 综合中文字幕 | 成年人在线看片 | 国产精品一区二区三区不卡 | 成人av教育 | 韩日av | 亚洲精品视频一区二区三区 | 最新日韩电影 | 国产一区二区视频在线观看免费 |