Johannes Berg <[EMAIL PROTECTED]> writes:

> On Sun, 2005-04-24 at 20:56 +0200, congrio atarip wrote:
>> But pressing the power button in a mac mini isnt work. Is there any
>> way to do a clean poweroff of this machine?
>
> Maybe the mac mini has a similar power button like the new
> powerbook:
> http://johannes.sipsolutions.net/PowerBook/special_buttons
>
> If you don't have pmu you need to recompile the kernel with pmu
> support.

CONFIG_ADB_PMU isn't enough, you also have to set CONFIG_PMAC_PBOOK to
get /dev/pmu.

(On ppc64 CONFIG_PMAC_PBOOK doesn't compile currently.  Some time ago
I've hacked a version of via-pmu.c that made parts of the /dev/pmu
code available without CONFIG_PMAC_PBOOK and was able to get power
button events on my G5.)


        Juergen

-- 
Juergen Kreileder, Blackdown Java-Linux Team
http://blog.blackdown.de/

Attachment: pgpf0b5et4HX1.pgp
Description: PGP signature

Reply via email to