All of lore.kernel.org
 help / color / mirror / Atom feed
* 2.6.13-rc4: /proc/acpi/event doesn't report any events
@ 2005-07-30 19:03 Pavel Troller
       [not found] ` <20050730190341.GA4108-xk5YvUdtsdomyzK0JynY2A@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Pavel Troller @ 2005-07-30 19:03 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 2.6.13-rc4: /proc/acpi/event doesn't report any events
       [not found] ` <20050730190341.GA4108-xk5YvUdtsdomyzK0JynY2A@public.gmane.org>
@ 2005-07-30 20:00   ` Sanjoy Mahajan
       [not found]     ` <E1DyxVU-000202-00-KmINTRm7+bkRAIupTkoUWTYRy0cijUJx@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Sanjoy Mahajan @ 2005-07-30 20:00 UTC (permalink / raw)
  To: Pavel Troller; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

>  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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 2.6.13-rc4: /proc/acpi/event doesn't report any events - more debugging
       [not found]     ` <E1DyxVU-000202-00-KmINTRm7+bkRAIupTkoUWTYRy0cijUJx@public.gmane.org>
@ 2005-07-31  5:25       ` Pavel Troller
       [not found]         ` <20050731052525.GA4649-hxMeMO63rIAUgFT2KJq8fg@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Pavel Troller @ 2005-07-31  5:25 UTC (permalink / raw)
  To: Sanjoy Mahajan; +Cc: Pavel Troller, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

> >  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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 2.6.13-rc4: /proc/acpi/event doesn't report any events - SOLVED (ec_polling needed)
       [not found]         ` <20050731052525.GA4649-hxMeMO63rIAUgFT2KJq8fg@public.gmane.org>
@ 2005-07-31  7:13           ` Pavel Troller
  0 siblings, 0 replies; 4+ messages in thread
From: Pavel Troller @ 2005-07-31  7:13 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-07-31  7:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-30 19:03 2.6.13-rc4: /proc/acpi/event doesn't report any events Pavel Troller
     [not found] ` <20050730190341.GA4108-xk5YvUdtsdomyzK0JynY2A@public.gmane.org>
2005-07-30 20:00   ` Sanjoy Mahajan
     [not found]     ` <E1DyxVU-000202-00-KmINTRm7+bkRAIupTkoUWTYRy0cijUJx@public.gmane.org>
2005-07-31  5:25       ` 2.6.13-rc4: /proc/acpi/event doesn't report any events - more debugging Pavel Troller
     [not found]         ` <20050731052525.GA4649-hxMeMO63rIAUgFT2KJq8fg@public.gmane.org>
2005-07-31  7:13           ` 2.6.13-rc4: /proc/acpi/event doesn't report any events - SOLVED (ec_polling needed) Pavel Troller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.