Skip to contentSkip to conversation

Power button events unavailable after resume

DISCUSSION Andrew Barr 4 participants 5 messages Oct 12, 2004 – Oct 29, 2004 3 messages not in the archive ACPI

lore
Share & tools
lore
#0 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Recently, I have been unable to get power button events from my notebook after a Software Suspend 2 (version 2.1-rc1) resume without removing and re-inserting the ACPI button driver. Pressing the power button has no effect, but pressing it and then reloading the driver causes an event to be triggered. It is like the events are "queued", and are written
to /proc/acpi/event after I reload the driver. My BIOS has not changed in a long time, this behavior started a long time after my last BIOS upgrade. I am using the latest ACPI patch (20040816) to kernel 2.6.8.1. Does anyone know what could be causing this, or, better yet, what I can do to fix it?

Andrew

P.S. My DSDT is for BIOS A07 of the Dell Inspiron 300m, available at:
http://acpi.sourceforge.net/dsdt/view.php?id=218

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFBbBfDhuM+Z62a52oRAhd/AKCSrTCPqSSsta28BhheWoCtMF4ieACcD+Ta 5pq5AUip3Wz9yDrCKD7hVB8=
=XWpK
-----END PGP SIGNATURE-----

-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl

A message that is not in the archive (sent off-list or not yet received): 200410121343.31099.barr.156-ZbGKxL/[email protected]

#2 lore raw

Thus wrote Andrew Barr:

Quoted 3 lines

Recently, I have been unable to get power button events from my notebook after a Software Suspend 2 (version 2.1-rc1) resume without removing and re-inserting the ACPI button driver. Pressing the power button has no effect,

Make sure you're using the ACPI S4 option.
Best regards,

Signature · 9 lines
Karol 'sziwan' Kozimor
sziwan-DETuoxkZsSqrDJvtcaxF/[email protected]


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
#3 lore raw
In reply to a message not in the archive

Hi!

Quoted 2 lines

Recently, I have been unable to get power button events from my notebook after a Software Suspend 2 (version 2.1-rc1) resume without removing and

Try again with vanilla kernel and "platform" powerdown method.

Signature · 9 lines
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl

A message that is not in the archive (sent off-list or not yet received): 20041017202103.GE7476-I/[email protected]

#5 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 6 lines · Pavel Machek

Hi!

Quoted 2 lines

Recently, I have been unable to get power button events from my notebook after a Software Suspend 2 (version 2.1-rc1) resume without removing and

Try again with vanilla kernel and "platform" powerdown method.

Thanks for the suggestion. Earlier you suggested turning on ACPI S4 support. This seems to fix my problem. With recent versions of Software Suspend 2, S4 support has moved from a compile option to a /proc entry, so it wasn't getting used by default. Adding a script to turn it on fixed my button issue.

Thanks,
Andrew
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFBc9ojhuM+Z62a52oRAnPcAJ9HRBcJeNe5b2SchL7FOSusiIrIkwCgyIme vxeooUSiNtSlyzdVUFwmcNc=
=Ldlj
-----END PGP SIGNATURE-----

-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl

A message that is not in the archive (sent off-list or not yet received): 200410181058.43697.barr.156-ZbGKxL/[email protected]

#7 lore raw
Quoted 8 lines · Andrew Barr
Quoted 1 line · Pavel Machek

Try again with vanilla kernel and "platform" powerdown method.

Thanks for the suggestion. Earlier you suggested turning on ACPI S4 support. This seems to fix my problem. With recent versions of Software Suspend 2, S4 support has moved from a compile option to a /proc entry, so it wasn't getting used by default. Adding a script to turn it on fixed my button issue.

BTW: swsusp1 "platform" method is basically the same as swsusp2 "S4" wrt
powerdown.

Signature · 9 lines
Stefan Seyfried



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click