LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 3025|回复: 4

关于笔记本的屏幕亮度保存问题~UBUNTU区人好少来这里求教

[复制链接]
发表于 2009-1-24 11:16:58 | 显示全部楼层 |阅读模式
大家好~这个屏幕亮度保存问题困扰我很久阿~不知道大家有没有遇到过~就是每次开机后本来已经设置好的屏幕亮度都会变成最亮很是烦人~在网上搜到了相关的文章但是却无法设置~请大家帮忙给解决一下~小弟不胜感激呵呵

通过laptop-mode-tool进行设置~里面有关于设置的说明但是我没看明白
LCD brightness settings
# -----------------------
#
# Using these settings, you can make laptop mode tools automatically adjust
# your LCD's brightness settings. The settings are extremely simple -- they
# only allow for the execution of a command, nothing more. The reason for this
# is that LCD brightness settings are very different between laptop vendors.(这里之前都是废话呵呵主要的在后面)
#
# Suggestions for commands:
#
#  * If your system has the file "/proc/acpi/video/VID/LCD/brightness" (VID may
#    be VID1 or similar), use this file as BRIGHTNESS_OUTPUT, and use
#    the command "echo <value>". The possible values can be listed using the
#    command:
#
#       cat /proc/acpi/video/VID/LCD/brightness
#
#  * If you have a file /sys/class/backlight/.../brightness, then you can use
#    that file as BRIGHTNESS_OUTPUT, and the command "echo <value>".
#
#    As far as I understand it the values are between 0 and
#    the value contained in the file /sys/class/backlight/.../max_brightness.
#
#  * For Toshiba laptops, use the command "toshset" with the -lcd or -inten
#    command. Read the toshset(1) manual page for more information on the
#    parameters for this command. If you use this command, set
#    BRIGHTNESS_OUTPUT to "/dev/null".
上面的这个说的是将echo的值写入到这个max_brightness或者brightness(这个文件我没有~所以选择前者)这个文件中~但是应该怎样写入呢?我用echo 8 > /sys/calss/backlight/...../max_brightness这个文件无效~哪位给举个例子阿~

这个是相应的设置选项~为了全面也贴上来呵呵

# Should laptop mode tools control LCD brightness?
#
CONTROL_BRIGHTNESS=1


#
# Commands to execute to set the brightness on your LCD
#
BATT_BRIGHTNESS_COMMAND="echo 0"       
LM_AC_BRIGHTNESS_COMMAND="echo 0"
NOLM_AC_BRIGHTNESS_COMMAND=echo 0"
BRIGHTNESS_OUTPUT="/proc/acpi/video/VID/LCD/brightness"
发表于 2009-1-24 17:20:20 | 显示全部楼层
回复 支持 反对

使用道具 举报

发表于 2009-1-24 20:58:52 | 显示全部楼层
亮度设置有三个地方可以,一是bios里可以设置(dell的笔记本),二是显卡驱动程序的应用程序(A卡N卡的设置中心里都有),即控制中心里也可以,三是操作系统里可以用功能键来设置,不知你是什么品牌的笔记本?
回复 支持 反对

使用道具 举报

发表于 2009-2-24 20:19:41 | 显示全部楼层
我的lenovo的本子也不能调节屏幕亮度 ,我的显卡是 Intel Mobile Intel® GM45 Express Chipset的,用的xf86-video-intel驱动程序,不过俺解决了,可以调节亮度,但总是觉的不爽

在.xinitrc加入
xrandr --output LVDS --set BACKLIGHT_CONTROL legacy
xrandr --output LVDS --set BACKLIGHT 80

就可以了,据说是xf86-video-intel的问题,intel改变了工作方式驱动没跟上,你试试看是不是能解决,另,其他人有没更好的方法
回复 支持 反对

使用道具 举报

发表于 2009-2-24 20:57:11 | 显示全部楼层
我是thinkpad,老本了,R51e。
我在电源管理里面调的。fn+f7还是不能用。
我外接显示器用的,用debian总是两个屏幕都亮着。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表