Re: shutting down mac mini
On 4/25/05, Johannes Berg <johannes@sipsolutions.net> wrote:
> 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?
>
> Here's a patch for pbbuttonsd to support the new powerbutton.
>
> http://edit.johannes.sipsolutions.net/PowerBook/pbbuttonsd-pmu-powerbutton.patch
This looks like it'll work for the G4 Cube as well (it is identified
as a Core99 machine, PMU version 12). I'll try it when I get home from
work.
For reference, /dev/pmu was returning two-byte packets for each press
and release of the power button (0x40 0x0d and 0x40 0x05,
respectively).
--
- Charles Lepple
Reply to: