[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: shutting down mac mini

Johannes Berg <johannes@sipsolutions.net> 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 Kreileder, Blackdown Java-Linux Team

Attachment: pgpGOhnPoYeWY.pgp
Description: PGP signature

Reply to: