2.6.13-rc4: /proc/acpi/event doesn't report any events
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
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 1 line
It's exactly as the subject says -
/proc/acpi/eventis 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
A message that is not in the archive (sent off-list or not yet received): E1DyxVU-000202-00-KmINTRm7+bkRAIupTkoUWTYRy0cijUJx@public.gmane.org
Re: 2.6.13-rc4: /proc/acpi/event doesn't report any events - more debugging
Quoted 7 lines
Quoted 1 line
It's exactly as the subject says -
/proc/acpi/eventis totally dummyIt might be something particular to your configuration or hardware? I've just tried 2.6.13-rc4's
/proc/acpi/eventon 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 theACPI_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
A message that is not in the archive (sent off-list or not yet received): [email protected]
Re: 2.6.13-rc4: /proc/acpi/event doesn't report any events - SOLVED (ec_polling needed)
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 isacpi_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