LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-21-2012, 06:59 AM   #1
dodlap
LQ Newbie
 
Registered: May 2012
Posts: 1

Rep: Reputation: Disabled
Embedded Linux power button implementation


Hello,

I am looking for driver support in linux( ARM- TI AM37xx) for implementing power button event detection, upon detecting this event driver should initiate proper shutdown sequence can any one help me on this issue.

Thanks in advance
 
Old 05-21-2012, 12:17 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,277

Rep: Reputation: 3658Reputation: 3658Reputation: 3658Reputation: 3658Reputation: 3658Reputation: 3658Reputation: 3658Reputation: 3658Reputation: 3658Reputation: 3658Reputation: 3658
You'd have to know the very basics of the system. In original PC the power button (power loss) creates a class 1 pri 1 interrupt and the system can't do much in time to save data. More modern designs have bios choices for power button and it's use in acpi or apm.
It has been many many years since I learned this stuff so I could be wrong. In any case you'd need to know the system you have. Almost every arm is unique that I have seen. No way to guess what is going on unless there is some platform reference. Contact the maker of the device to see if they have support.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Power Management not working on embedded MIPS when using /sys/power/state RichardS Programming 1 01-21-2011 08:18 AM
Power Point Presentation in Embedded Linux frankiechun Linux - Embedded & Single-board computer 4 09-20-2010 04:42 PM
Power Button under linux aaa Slackware 18 07-11-2003 12:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration