General
cancel
Showing results for 
Search instead for 
Did you mean: 

Easy Access Buttons with Linux on Evo N800w

Greg Lumpkin
Occasional Contributor

Easy Access Buttons with Linux on Evo N800w

Good morning all:

I have a Compaq Evo N800w mobile workstation (laptop). I have installed CentOS 5 desktop and would like to get the Easy Access Buttons activated in Linux. I know this requires a driver in WinXP.

Basically, if someone can give me the scan code or key code for them, I'll be on my way to mapping them to the appropriate functions in Linux.

BTW, they aren't visable in any Linux distro I've tried, and I've tried many.

Thanks, and have a graet day!

Greg
2 REPLIES
Matti_Kurkela
Honored Contributor

Re: Easy Access Buttons with Linux on Evo N800w

Those buttons may be one of several types, all something completely different from keyboard keys.

They might be ACPI-controlled buttons. If so, they work much the same as the power and sleep buttons. Run "ls -l /proc/acpi/button". How many sub-directories do you see?

They might be WMI-based, in which case the hp-wmi driver in the newest kernels *might* help you, if you're lucky.

Alternatively, they might be something completely model-specific.

MK
MK
Greg Lumpkin
Occasional Contributor

Re: Easy Access Buttons with Linux on Evo N800w

Thanks for the reply. I see the following:

gclumpkin@gcl-laptop ~ $ ls -l /proc/acpi/button
total 0
dr-xr-xr-x 3 root root 0 2009-05-08 23:01 lid
dr-xr-xr-x 4 root root 0 2009-05-08 23:01 power
dr-xr-xr-x 3 root root 0 2009-05-08 23:01 sleep
gclumpkin@gcl-laptop ~ $

Greg