[Pm-utils] pm-utils and pmu hardware.

Stefan Seyfried seife at suse.de
Tue May 2 02:51:51 PDT 2006

On Tue, May 02, 2006 at 10:31:43AM +0100, Richard Hughes wrote:
> Why do we need to check if the pmu device works? It's early, and I've
> been up for hours so go easy on me :-)

Well, just open()ing it would probably suffice, but just checking
for the existence of /dev/pmu ("test -c /dev/pmu"), might not, since
there could still be people out there using static /dev.
Stefan Seyfried                  \ "I didn't want to write for pay. I
QA / R&D Team Mobile Devices      \ wanted to be paid for what I write."
SUSE LINUX Products GmbH, Nürnberg \                    -- Leonard Cohen

More information about the Pm-utils mailing list