Thinkpad sl系列linux下开启热键
时间:2009-04-26 来源:jeedan
|
包括源代码,thanks Alexandre Rostovtsev
我的系统是ubuntu 9.04
以下是各个主要步骤:
到目录底下编译源代码,直接make就行了。
把lenovo-sl-laptop.ko放到/lib/modules/2.6.28-11-generic/initrd目录底下
然后编辑/etc/rc.local加入相应的命令行,这样系统启动时就会执行命令行
echo 0 > /sys/module/video/parameters/brightness_switch_enabled
insmod /lib/modules/2.6.28-11-generic/initrd/lenovo-sl-laptop.ko control_backlight=1
退出,layout,重启就好了。。。热键都好使。
相关阅读 更多 +