折腾了一个晚上,总算是可以调整亮度了,但右上角的提示不会变化
jaunty的/etc/modprobe.d目录只能使用*.conf,还有/etc/init.d/hotkey-setup内容也和以前不一样了,所以按参考帖照做我的机器上没成功。
1.
代码: 全选
make all
代码: 全选
cp lenovo-sl-laptop.ko /lib/modules/`uname -r`/kernel/drivers/misc
代码: 全选
gedit /etc/modules
3.lenovo-sl-laptop
代码: 全选
touch /etc/modprobe.d/lenovo-sl-laptop.conf
代码: 全选
gedit /etc/modprobe.d/lenovo-sl-laptop.conf
4.# install lenovo-sl-laptop
install lenovo-sl-laptop /sbin/modprobe --ignore-install lenovo-sl-laptop
options lenovo-sl-laptop control_backlight=1
# blacklist
blacklist thinkpad_acpi
代码: 全选
gedit /etc/init.d/hotkey-setup
echo 0 > /sys/module/video/parameters/brightness_switch_enabled
代码: 全选
if laptop-detect; then
echo 0 > /sys/module/video/parameters/brightness_switch_enabled
do_video
fi
;;
restart|force-reload)
$0 stop || true
$0 start
;;
2. 谁解决亮度调节的提示不一致问题?