PCI devices power management, w/o sysfs? [Was: Re: Liunx power consumption on laptops ...]

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: linux-kernel <linux-kernel@...>
Date: Wednesday, July 11, 2007 - 8:42 am

Greetings *!

I'm looking for a way to disable (PM low power mode) some devices I
rarely/never use on my laptop to save some more power. With 2.6.17,
IIRC, I was able to echo -n 2 > /sys/bus/pci/../power to put things
into low power mode. (I don't know if it ever worked, but at least it
looked like it did.)

..-2.6.22(-ck1) w/ CONFIG_PM_SYSFS_DEPRECATED doesn't let me change this
state. evident :) -----------------^^^^^^^^^^

Is there a proper way to do this (setpci, if I'd know the registers)?
Is it gone/going inside drivers (like USB_SUSPEND) and I don't have to
worry?

I currently don't load the modules in question - but I'm not sure if it
helps, as they might already be powered on by PCI initialization/BIOS
(/sys/bus/pci/../state cats "0").

THX, ritch
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
PCI devices power management, w/o sysfs? [Was: Re: Liunx pow..., Richard Mittendorfer, (Wed Jul 11, 8:42 am)