Welcome
|
FAQ
|
Downloads
|
Wiki
Tiny Core Linux
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Language translations
now possible!
Home
Help
Login
Register
Tiny Core Linux
»
Tiny Core Base
»
TCB Q&A Forum
»
Power buttons
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Power buttons (Read 1884 times)
jur
Hero Member
Posts: 863
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?
Logged
Juanito
Administrator
Hero Member
Posts: 14819
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.
Logged
curaga
Administrator
Hero Member
Posts: 11044
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?
Logged
The only barriers that can stop you are the ones you create yourself.
jur
Hero Member
Posts: 863
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
»
Logged
curaga
Administrator
Hero Member
Posts: 11044
Re: Power buttons
«
Reply #4 on:
October 17, 2009, 05:26:18 AM »
Acpid is what takes care of the soft shutdown.
Logged
The only barriers that can stop you are the ones you create yourself.
Print
Pages: [
1
]
Go Up
« previous
next »
Tiny Core Linux
»
Tiny Core Base
»
TCB Q&A Forum
»
Power buttons