Skip to contentSkip to conversation

2.6.13-rc4: /proc/acpi/event doesn't report any events

DISCUSSION Pavel Troller 2 participants 4 messages Jul 30, 2005 – Jul 31, 2005 3 messages not in the archive ACPI

lore
Share & tools
lore
#0 lore raw

Hi!
It's exactly as the subject says - /proc/acpi/event is totally dummy, it
doesn't output any event, which it did before.
I've tried buttons and ac adaptor removal/insertion.
I'm really unhappy. I tried to locate the problem, looked at the patch and
reviewed all the acpi stuff and found just fixes of well-known -rc3 problems. acpi/drivers/event.c is untouched from May. I really don't know what's happening there.
Otherwise the ACPI susbystem works well including S3/S4, no problems,
no unobvious messages in dmesg.
Any help ?
With regards, Pavel Troller

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click

#2 lore raw
In reply to a message not in the archive
Quoted 1 line

It's exactly as the subject says - /proc/acpi/event is totally dummy

It might be something particular to your configuration or hardware? I've just tried 2.6.13-rc4's /proc/acpi/event on my TP 600X and it's working okay. 'cat /proc/acpi/event' produces lid events, and acpid is reading from it into the /var/log/apcid

-Sanjoy

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click

#4 lore raw

Re: 2.6.13-rc4: /proc/acpi/event doesn't report any events - more debugging

In reply to a message not in the archive
Quoted 7 lines
Quoted 1 line

It's exactly as the subject says - /proc/acpi/event is totally dummy

It might be something particular to your configuration or hardware? I've just tried 2.6.13-rc4's /proc/acpi/event on my TP 600X and it's working okay. 'cat /proc/acpi/event' produces lid events, and acpid is reading from it into the /var/log/apcid

Hi!
I was trying to debug it a bit:
1) I put some printk's in drivers/acpi/bus.c, in acpi_bus_generate_event()
and acpi_bus_receive_event(). They proved that neither of these functions
is even called.
2) I modified /proc/acpi/debug_level. I've found that when I set the
ACPI_LV_EXEC bit, every event generates a line
osl-0698 [04] os_queue_for_execution: Scheduling function [c024bbdd(dbe5a900)] for deferred execution.
(it is always the same regardless of the event which caused it).
So the events are generated by hardware and at least osl knows about them.
It seems that the execution is deferred ad infinitum :-).
I didn't find any other bit which would generate anything more.
Now I'm stuck a bit, I don't know how to continue with debugging.
Any help is greatly appreciated.
With regards, Pavel Troller

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click

#6 lore raw

Re: 2.6.13-rc4: /proc/acpi/event doesn't report any events - SOLVED (ec_polling needed)

In reply to a message not in the archive

Hi!
I've finally found why I had so strong intuition that the solution is very
near :-).
The problem is that -in -rc4 there is not the famous ec_polling patch which
I need... After patching it again it started to work again.
I've found that the deferred function is really called and that it is
acpi_ce_gpe_query(). Without the ec_polling patch, a "burst variant" of the query is called, which doesn't work here.
So I vote for inserting ec_polling patch to 2.6.13-final..

WIth regards, Pavel Troller

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click