Skip to contentSkip to conversation

Problems with ACPI, power btns

DISCUSSION James Joseph 3 participants 3 messages Sep 27, 2002 – Sep 30, 2002 1 message not in the archive ACPI

lore
Share & tools
lore
#0 lore raw

Dear Sir,
I have patched my 2.4.18 kernel with acpi-20020918. There was a top-level Makefile.rej but other than that the kernel compiled properly and with Debug statements, i think ACPI is initializing. I have the following problems:-

1) I wish to use the "Sleep" "Wake Up" and "Power" buttons, but when i press them i get (in /var/log/messages):-

kernel:keyboard:unknown scancode e0 5f, e0 63 and e0 5e respectively for the above keys. I'm using the default keymap. What should i change to make the kernel recognize these scan codes. Or should i just install the acpi daemon. I have not installed the ospm deamon, is it required?

2) I am forced to give pci=noacpi since my NVIDIA Detonater drivers crash if i have it enabled. Is there any little patch i can apply to my video drivers to fix this?

3) When i cat /proc/acpi/events i get nothing. (I'm guessing that is just because of problem 1.

Please help!
James
__________________________________________________________
Give your Company an email address like
ravi @ ravi-exports.com. Sign up for Rediffmail Pro today! Know more. http://www.rediffmailpro.com/signup/

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

#2 lore raw
In reply to a message not in the archive
Quoted 5 lines · James Joseph

Dear Sir,
I have patched my 2.4.18 kernel with acpi-20020918. There was a top-level Makefile.rej but other than that the kernel compiled properly and with Debug statements, i think ACPI is initializing. I have the following problems:-

can you send me the Makefile.rej?

Quoted 10 lines

1) I wish to use the "Sleep" "Wake Up" and "Power" buttons, but when i press them i get (in /var/log/messages):-

kernel:keyboard:unknown scancode e0 5f, e0 63 and e0 5e respectively for the above keys. I'm using the default keymap. What should i change to make the kernel recognize these scan codes. Or should i just install the acpi daemon. I have not installed the ospm deamon, is it required?

yes, you can try install acpi daemon and add some scripts to acpid
(http://codecs.home.sapo.pt/acpi/index.html at end of the page) and see if you can get events.

Quoted 4 lines

2) I am forced to give pci=noacpi since my NVIDIA Detonater drivers crash if i have it enabled. Is there any little patch i can apply to my video drivers to fix this?

try to search in this mailing list for NVIDIA patches I think they have one...

Quoted 6 lines

3) When i cat /proc/acpi/events i get nothing. (I'm guessing that is just because of problem 1.

Please help!
James

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

#3 lore raw
In reply to a message not in the archive

Hi!

Quoted 7 lines

I have patched my 2.4.18 kernel with acpi-20020918. There was a top-level Makefile.rej but other than that the kernel compiled properly and with Debug statements, i think ACPI is initializing. I have the following problems:-

1) I wish to use the "Sleep" "Wake Up" and "Power" buttons, but when i press them i get (in /var/log/messages):-

It seems those buttons are not handled by acpi; add them to keymap.

Signature · 9 lines
Philips Velo 1: 1"x4"x8", 300gram, 60, 12MB, 40bogomips, linux, mutt,
details at http://atrey.karlin.mff.cuni.cz/~pavel/velo/index.html.



-------------------------------------------------------
This sf.net email is sponsored by: DEDICATED SERVERS only $89!
Linux or FreeBSD, FREE setup, FAST network. Get your own server 
today at http://www.ServePath.com/indexfm.htm