国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 系統 > Ubuntu > 正文

ubuntu亮度無法自動調節終極解決方法

2020-05-27 13:36:40
字體:
來源:轉載
供稿:網友

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 screens 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

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 乡宁县| 剑河县| 砀山县| 太康县| 离岛区| 乌鲁木齐县| 白沙| 兰州市| 绥宁县| 五峰| 罗江县| 龙海市| 四平市| 佛山市| 张家川| 深圳市| 九寨沟县| 巴彦淖尔市| 叶城县| 无锡市| 莒南县| 泽库县| 永德县| 新河县| 北宁市| 松潘县| 嘉善县| 花莲县| 大港区| 唐海县| 石嘴山市| 车致| 英德市| 巨鹿县| 犍为县| 和林格尔县| 新丰县| 勃利县| 嫩江县| 昭苏县| 军事|