LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-17-2012, 01:50 AM   #1
bandaru_sivakrishna
LQ Newbie
 
Registered: Jul 2009
Posts: 13

Rep: Reputation: 0
Smile Linux Power mangament architechure


Hai All,

I am working on Linux power management on Cortex A-9 dual core micro-controller. I am new to power management. So Can you anybody Please Help me on Linux power management architecture with Hardware level.

Please help me on this.....

Thanks & Regards,
Siva Krishna.
 
Old 09-17-2012, 07:11 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 23,282

Rep: Reputation: 6523Reputation: 6523Reputation: 6523Reputation: 6523Reputation: 6523Reputation: 6523Reputation: 6523Reputation: 6523Reputation: 6523Reputation: 6523Reputation: 6523
Quote:
Originally Posted by bandaru_sivakrishna View Post
Hai All,
I am working on Linux power management on Cortex A-9 dual core micro-controller. I am new to power management. So Can you anybody Please Help me on Linux power management architecture with Hardware level.

Please help me on this.....
Help you with WHAT? You haven't actually asked a question, but seem to want us to look things up for you. Please re-read these two old threads of yours, which will get you started:

https://www.linuxquestions.org/quest...ackage-909121/
https://www.linuxquestions.org/quest...scalls-738096/

And had you bothered to put "linux power management on cortex a-9" into Google, it would have (amazingly), pulled up lots, like this, from the ARM site. Complete specs, and information that says this has been a standard part of Linux since 2010:
http://infocenter.arm.com/help/topic.../Chdejjdj.html
http://www.arm.com/products/processo.../cortex-a9.php
http://www.arm.com/community/softwar...ment/linux.php
 
Old 09-17-2012, 07:25 AM   #3
bandaru_sivakrishna
LQ Newbie
 
Registered: Jul 2009
Posts: 13

Original Poster
Rep: Reputation: 0
Smile

I am Sorry TBone for unclarity of my question....

In Linux Kernel also we have power management concept....the power management concepts are based on the below items.
1) Clock Frequency
2) Power gating
3) Clock Scaling

So i am try to understand the Power management architecture in Linux...how the code is designed....but i am unable to find link between Linux kernel power states to hardware power states. How it interlinked in code design.

Please try to help me on this.

Thanks & Regards,
Siva Krishna.
 
Old 09-17-2012, 07:56 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 23,282

Rep: Reputation: 6523Reputation: 6523Reputation: 6523Reputation: 6523Reputation: 6523Reputation: 6523Reputation: 6523Reputation: 6523Reputation: 6523Reputation: 6523Reputation: 6523
Quote:
Originally Posted by bandaru_sivakrishna View Post
I am Sorry TBone for unclarity of my question....

In Linux Kernel also we have power management concept....the power management concepts are based on the below items.
1) Clock Frequency
2) Power gating
3) Clock Scaling
Yes, we know what the concepts are, thanks.
Quote:
So i am try to understand the Power management architecture in Linux...how the code is designed....but i am unable to find link between Linux kernel power states to hardware power states. How it interlinked in code design.

Please try to help me on this.
Again, you've not really asked a question, but seem to want us to look things up for you. Just putting "linux kernel power states to hardware power states" in Google pulls up lots. Have you even tried to look anything up?
http://doc.opensuse.org/documentatio...ing.power.html
http://tldp.org/HOWTO/Battery-Powered/powermgm.html
https://www.kernel.org/doc/Documenta...er/devices.txt

If you want information on how this is done in the Linux kernel, you already HAVE the kernel source available to you, and you can go on to http://www.kernel.org, and look it up as well. Look at the source code for ANY of the MANY power-management tools that are out there.
 
Old 09-18-2012, 01:09 AM   #5
bandaru_sivakrishna
LQ Newbie
 
Registered: Jul 2009
Posts: 13

Original Poster
Rep: Reputation: 0
Smile

Hi TbOne,

Thanks for Reply....

I am using Samsung-exynos micro-controller...in this controller we have 6 power states they are
1) Normal
2) Idle
3) Deep-Idle
4) Stop
5) Deep-Stop
6) Sleep

But in linux Kenel we have only Four Power states, they are
1) Run
2) StandBy
3) ShutDown
4) Sleep

So my question is How the Linux kernel 4 power states are controlled Samsung-exynos micro-controller 6 power states. How its inter-linked?

Please Help me on this.

Thanks & Regards
Siva Krishna.
 
Old 09-18-2012, 11:25 AM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 23,282

Rep: Reputation: 6523Reputation: 6523Reputation: 6523Reputation: 6523Reputation: 6523Reputation: 6523Reputation: 6523Reputation: 6523Reputation: 6523Reputation: 6523Reputation: 6523
Quote:
Originally Posted by bandaru_sivakrishna View Post
Hi TbOne,
Thanks for Reply....

I am using Samsung-exynos micro-controller...in this controller we have 6 power states they are
1) Normal
2) Idle
3) Deep-Idle
4) Stop
5) Deep-Stop
6) Sleep

But in linux Kenel we have only Four Power states, they are
1) Run
2) StandBy
3) ShutDown
4) Sleep

So my question is How the Linux kernel 4 power states are controlled Samsung-exynos micro-controller 6 power states. How its inter-linked? Please Help me on this.
You're still missing the point.

Yes, we know what you WANT, but what you're asking for is a programming tutorial class on the Linux kernel. Which is NOT what this site is for...we can't/won't give you a programming class to teach you EXACTLY what YOU want to know. That's up to YOU to learn it, and you have been provided the tools/resources several times to do it yourself. So AGAIN, do your own research, and learn what you need.

If you have a SPECIFIC QUESTION...that would be something like "I'm using Fedora 17, and have tried to compile program xxx (see code here), and it's getting error yyyy, can someone help me?"...THAT is what this site is designed for.
 
  


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 off USB storage device/port to avoid power consumption johndir Linux - Hardware 4 11-15-2011 06:04 PM
Power Management not working on embedded MIPS when using /sys/power/state RichardS Programming 1 01-21-2011 08:18 AM
power company idiots cut power while system was on, now hangs at boot with # prompt shroomy_bee Linux - Newbie 10 07-04-2008 01:12 AM
LXer: Linux Networx partners with CEI to power 2X visualization power of ... LXer Syndicated Linux News 0 04-26-2006 04:03 AM
Enabling power save/power management/cpu freq scaling features for a Debian system zero79 Debian 0 12-19-2004 02:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:22 AM.

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