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

Richard Hughes hughsient at gmail.com
Tue May 2 02:31:43 PDT 2006

On Tue, 2006-05-02 at 08:16 +0200, Stefan Seyfried wrote:
> If we are going to implement this workaround, please do not only look for
> /dev/pmu, but go for "uname -i" or (IMO best solution), include an option
> in the super small C program, that checks if the pmu dev is actually
> there (open it, do a "harmless" ioctl on it, PMU_GET_VERSION looks as it
> would be suitable) and return true or false, so we can do:

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 :-)


More information about the Pm-utils mailing list