Re: Questions about Runtime Power Management

2013-06-16 Thread Oliver Neukum
On Sunday 16 June 2013 23:07:36 Ming Lei wrote: > On Mon, Jun 10, 2013 at 12:28 AM, Morales, Alejandra > wrote: > > > - Is runtime power management supported by net devices? > > Currently, 'struct net_device' doesn't support runtime power management, > and I submitted one patch to add the suppor

Re: Questions about Runtime Power Management

2013-06-16 Thread Ming Lei
On Mon, Jun 10, 2013 at 12:28 AM, Morales, Alejandra wrote: > - Is runtime power management supported by net devices? Currently, 'struct net_device' doesn't support runtime power management, and I submitted one patch to add the support for solving accessing suspended device by 'ethtool', but it

Re: Questions about Runtime Power Management

2013-06-11 Thread Oliver Neukum
On Tuesday 11 June 2013 07:53:10 Morales, Alejandra wrote: > 2013/6/10 Oliver Neukum > > You need to furthermore realise that there are forms of runtime PM > > independent > > of the generic kernel based runtime PM (hdparm, USB LPM, ...) > > > Thanks Oliver, that was helpful. I will try now to

Re: Questions about Runtime Power Management

2013-06-11 Thread Morales, Alejandra
2013/6/10 Oliver Neukum > > On Sunday 09 June 2013 16:28:21 Morales, Alejandra wrote: > > > I did a test with an external USB hard drive, checking the runtime power > > state before and after issuing a sleep command with hdparm -Y. The drive > > effectively spinned down, but the runtime power st

Re: Questions about Runtime Power Management

2013-06-10 Thread Oliver Neukum
On Sunday 09 June 2013 16:28:21 Morales, Alejandra wrote: > I did a test with an external USB hard drive, checking the runtime power > state before and after issuing a sleep command with hdparm -Y. The drive > effectively spinned down, but the runtime power state didn't change from > active to

Questions about Runtime Power Management

2013-06-09 Thread Morales, Alejandra
Dear all, I am currently involved in the implementation of my master thesis, for what I am trying to create a user space power management tool. As a part of this work I am developing a kernel module, and one of the first things I need to do is getting the current power state of some devices of