[linux-pm] [RFC] PowerOP Take 3, sysfs UI core 2/5

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

 



Hi!

> A sysfs interface for PowerOP that allows operating points to be created
> and activated from userspace.
> 
> The platform-specific backend provides the code to read and write sysfs
> attributes for each power parameter; the core sysfs interface has no
> knowledge of the struct powerop_point contents.  This interface could be
> seen as possible extension of cpufreq sysfs.  It is not
> an integral part of PowerOP and is provided in part to facilitate
> discussion and experimentation with PowerOP, but could serve as a basis
> for a basic userspace power policy management stack.
> 
> Operating points are created by writing the name of the operating point
> to /sys/powerop/new.  This may be a job for configfs.

That looks quite ugly to do in sysfs, indeed.

And it definitely needs some Documentation/ patch. But better run this
by lkml.
								Pavel

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html


[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