Linux - Laptop and NetbookHaving a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a HP DV2940SE with Gentoo (tried Kubuntu, had endless problems with suspend/resume, Gentoo works better in that respect). Now there are a few media keys which do what they say (also the remote control does what the buttons say), EXCEPT for the "brightness down" and "up" keys, which are FN+F7 and FN+F8. In Ubuntu they work, but to my surprise, in Gentoo they don't even generate a keycode (never mind how it might get interpreted and how keymaps are set up). In U they generate key codes 102 and 212, respectively. In Gentoo it's as if the key didn't get pressed at all. I checked both systems with xev. As far as I can tell, the same keyboard driver is used ("atkbd"). This works in Ubuntu even when booted from the live CD.
Does anyone know what the trick is? What determines if a key (+modifier) sends a code in the first place?
The next question would be, how is the brightness controlled then? My KPowersave applet says that the hardware does not support changing the brightness. That's the 2nd trick I'd like to understand. I tried to dissect how it's done in Ubuntu but I can't figure it out.
I would suggest you try to insert the module called video.ko. Like this:
modprobe video
I've just checked on my Slackware laptop: with this module the brightness keys (Fn+F6 and Fn+F7 in my case) generate keycodes and change the screen brightness, without it the keys generate no keycode at all (and don't change anything). It's an acpi module, I assume it should be in your kernel.
All of those keys work for me on my HP Pavillion both in Slack and Debian. Both do have the video module loaded so Uncle Theodore may well be on the spot there.
Either that or you're just not holding your tongue the right way when you press the buttons.
I didn't have the video.ko module built -- it has dependencies which are set indirectly by enabling other kernel features. I figured out how to enable it, built it... works.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.