Sergii Kovalchuk
unread,Jun 15, 2011, 7:52:51 AM6/15/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Chromium OS dev
Hi all,
We are working on power management support in Chromium OS on ARM-based
board. The board itself has some good things to adjust beyond ordinary
kernel support - such as scaling down GPU/RAM clocks (when not
needed), real-time adjustments of CPU cache sizes etc.
Currently, most of the powerd/powerman daemons functionality is not
working for us and we see a lot of hardcoded sysfs and proc paths to
work with light sensor, backlight and other stuff for CR-48.
We see the following issues:
- Screen resolution re-configuration part is using XRandr library
functions, therefore it is not clean, why backlight control code is
using /sys/class/backlight/<dev>/brightness directly.
- Audio detector queries /proc/asound/card0/pcm0p/sub0/status to
detect audio activities
- Light sensor code is CR-48 specific. Maybe not, however, in any
case, accessing light sensor at hardcoded path of the like "/sys/bus/
iio/devices/device0/illuminance0_input" doesn't look good
- It is not clear, why two power management daemons exist - most of
the functionality of powerman, as lower power management interface can
be moved directly into powerd?
Is there any plans to get rid of hardcoded stuff and make the power
daemons more generic, so we wouldn't have any platform dependencies?
If so, is this work in progress or it is sheduled for some later time
in future?
If this work is not started yet, then where can I find some
architectual documents, describing Chromium OS power management?