Losing lid events after resume (2.6.6)
Hi,
I just migrated from APM to ACPI, and things are a little weird. Any advice would be greatly appreciated.
I'm running Fedora Core 1 with a 2.6.6 kernel (with ACPI patches from here applied) on an HP Omnibook 4150B. I've got a lid.sh script that is triggered with the lid button is pressed, and does a "echo standby
Quoted 1 line
/sys/power/state". Initially, this works well. I close the lid, it
goes to sleep. I open the lid and press the power button, it wakes up. And then goes right back to sleep. (I don't currently have any events triggered by the power button.) Pressing the power button again wakes the laptop up, and this time it stays up. However, ACPI won't generate any more lid events at all. Power button events still seem to be generated fine.
Is this a known bug? Is it a problem with my hardware?
thanks,
Kevin Eustice
-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hi.
Do you also see keventd sucking all available CPU? If so, this is a known issue.
Regards,
Nigel
Quoted 1 line · Kevin Eustice
Is this a known bug? Is it a problem with my hardware?
-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
A message that is not in the archive (sent off-list or not yet received): 200405140936.52230.ncunningham-jjFNsPSvq+iXDw4h08c5KA@public.gmane.org
Quoted 2 lines
Do you also see keventd sucking all available CPU? If so, this is a known issue.
No, actually, I don't. ps doesn't show keventd running at all. This seems odd.
Kevin Eustice
-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 5 lines
Quoted 2 lines
Do you also see keventd sucking all available CPU? If so, this is a known issue.
No, actually, I don't. ps doesn't show keventd running at all. This seems odd.
Ahh. I do have [events/0] though, which is what you meant? This thread seems to be behaving normally--mostly sleeping; top shows the process status as "SW<". It's niced to -10.
Kevin Eustice
Laboratory for Advanced Systems Research
UCLA Computer Science
-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
Hi!
Quoted 9 lines
I just migrated from APM to ACPI, and things are a little weird. Any advice would be greatly appreciated.
I'm running Fedora Core 1 with a 2.6.6 kernel (with ACPI patches from here applied) on an HP Omnibook 4150B. I've got a
lid.shscript that is triggered with the lid button is pressed, and does a "echo standbyQuoted 1 line
/sys/power/state". Initially, this works well. I close the lid, itgoes to sleep. I open the lid and press the power button, it wakes up. And then goes right back to sleep. (I don't currently have any
Are you sure it is not because you receive "lid open" event?
Pavel
Signature · 8 lines
When do you have heart between your knees? ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
A message that is not in the archive (sent off-list or not yet received): 20040517103818.GA1669-I/[email protected]
Quoted 8 lines
Quoted 6 lines
I'm running Fedora Core 1 with a 2.6.6 kernel (with ACPI patches from here applied) on an HP Omnibook 4150B. I've got a
lid.shscript that is triggered with the lid button is pressed, and does a "echo standbyQuoted 1 line
/sys/power/state". Initially, this works well. I close the lid, itgoes to sleep. I open the lid and press the power button, it wakes up. And then goes right back to sleep. (I don't currently have any
Are you sure it is not because you receive "lid open" event?
Yup. After going to standby mode, ACPI no longer registers any event other than the powerbutton events.
Kevin
Signature · 17 lines
Kevin Eustice Graduate Student Researcher The Laboratory for Advanced System Research @ UCLA CS [email protected] http://lasr.cs.ucla.edu/kfe Computer Science is no more about computers than astronomy is about telescopes. --E. W. Dijkstra ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 3 lines
Yup. After going to standby mode, ACPI no longer registers any event other than the powerbutton events.
You are not alone and a similar bug with several proposed patches is already open (for months now) at :
http://bugme.osdl.org/show_bug.cgi?id=2321
Note that apparently, the rewrite of the GPE handling is underway and things should be fixed soon (at least that is what len says...)
Signature · 17 lines
__ / ` Eric Valette /-- __ o _. 6 rue Paul Le Flem (___, / (_(_(__ 35740 Pace Tel: +33 (0)2 99 85 26 76 Fax: +33 (0)2 99 85 26 76 E-mail: [email protected] ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 10 lines · Eric Valette
Quoted 2 lines
Yup. After going to standby mode, ACPI no longer registers any event other than the powerbutton events.
You are not alone and a similar bug with several proposed patches is already open (for months now) at :
http://bugme.osdl.org/show_bug.cgi?id=2321
Note that apparently, the rewrite of the GPE handling is underway and things should be fixed soon (at least that is what len says...)
A related issue for Thinkpads:
http://bugme.osdl.org/show_bug.cgi?id=2644
Basically, disabling the lid GPE even though it's marked wake/run makes suspend fail as soon as the lid switch is pressed.
-Nate
-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click