> I was just reading http://lwn.net/Articles/197603/.

:)

> Could you send us the output of
> cat /sys/power/disk
> and
> cat /sys/power/state

Mind you, I'm talking about two systems here. On my
powermac, /sys/power/disk contains something like "reboot shutdown test
testproc" or so. Not sure, but it's identical to your system except
lacking "platform". /sys/power/state has only "disk".

On a regular powerbook without my patches /sys/power/state is empty
afaik. I have "mem" there and it works, but that's because I patched the
kernel.

> If your platform doesn't support this interface, what is the correct way
> to detect a PMU and how is it used correctly.

the PMU is powerbook specific. Look at the original hal helpers or
pbbuttonsd for how to use it.

joahnnes

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to