[linux-pm] Powering down a device...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



G'Day,

	Thanks for your reply.  I have tried your suggestions out, but have not
been able to conserve any additional power.

> For device sleeps you just do an 'echo mem > /sys/power/state'.  Pm.c
> will map which sleep and wake this takes you to.

	I just tried comparing `standby' with `mem', and there was no
difference in vmain --- or anywhere else for that matter, though I was
no expecting to see any change elsewhere.

> Each individual device will also have a power/state file in the sysfs
> directory structure.  You can echo a device power state down to the
> driver and it will react how if it knows how to enter that state.

	I tried `standby', `mem' and `disc'
with /sys/devices/platform/smc91x/power/state and saw no change; there
was nothing printed on the terminal either. I guess it must not be
implemented with this driver at the moment, which I guess is why there
is no change when I put the whole system to sleep (please correct me if
my assumptions are wrong).  If it is nothing too difficult to add to the
driver, would you be able to direct me to where I may find out how to do
this?

> Also, in sleeps where you want a good effect, you will need to configure
> the external pins to the optimal sleep state.  Any floating inputs will
> consume a lot of power.... how you drive the pin states really depends
> on what it is connected to.

	That sounds like a rather good tip, thanks!

	-- Matthew


[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux