WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Power buttons  (Read 1834 times)

Offline jur

  • Hero Member
  • *****
  • Posts: 863
    • cycling photo essays
Power buttons
« on: October 11, 2009, 04:09:49 PM »
How is it my EePC's power button doesn't work?

I have done a search and found some ACPI things which I still need to follow through; however my question is more fundamental than that. My EeePC 1000HE came with WinXP and the power button worked just fine. And the same is true for a large number of different make and vintage laptops at work. All power buttons work with Windows.

From this I would conclude that power buttons adhere to some sort of standard if they all work with Windows. So how come they don't work OOTB with linux? I have tried now so many flavors of linux and none of them worked.

Isn't this a standard thing that ought to be implemented in TC?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14741
Re: Power buttons
« Reply #1 on: October 11, 2009, 11:36:09 PM »
I guess some power buttons work via bios and some work via acpi (perhaps using the "button" kernel module).

You could try using the acpid extension to see if the power button generates an acpi event, which could then be scripted to do whatever you wish when the button is pressed.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11022
Re: Power buttons
« Reply #2 on: October 16, 2009, 03:24:28 PM »
They work with Windows because the manufacturers all make them work, adding the drivers and configuration necessary in the preinstalled image.

Do you mean it won't work at all, or that there's no soft shutdown, only a hard one with a 5s-or-so press?
The only barriers that can stop you are the ones you create yourself.

Offline jur

  • Hero Member
  • *****
  • Posts: 863
    • cycling photo essays
Re: Power buttons
« Reply #3 on: October 16, 2009, 05:56:50 PM »
No soft, only hard shutdown.

How would one go about writing a script? Unfortuantely I am still very dependent on others in linux; I did look at bigpcman's efforts with acpi but couldn't penetrate the discussion. :(

« Last Edit: October 16, 2009, 05:59:27 PM by jur »

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11022
Re: Power buttons
« Reply #4 on: October 17, 2009, 05:26:18 AM »
Acpid is what takes care of the soft shutdown.
The only barriers that can stop you are the ones you create yourself.