Ok, i have compiled kernel with this options. Now i have /dev/pmu. I have installed pmud and it says: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
Apr 25 09:43:27 amargo pmud[2415]: pmud [treshold = 420, margin = 15] started
Apr 25 09:43:27 amargo pmud[2415]: PMU version 85: Wow, later than a Titanium! ;-)
Apr 25 09:43:27 amargo pmud[2415]: pmud [treshold = 420, margin = 15] started
Apr 25 09:43:27 amargo pmud[2415]: PMU version 85: Wow, later than a Titanium! ;-)
Apr 25 09:43:27 amargo pmud[2415]: daemon stopped (incorrect PMU version)
Apr 25 09:43:27 amargo pmud[2415]: pmud [treshold = 420, margin = 15] started
Apr 25 09:43:27 amargo pmud[2415]: PMU version 85: Wow, later than a Titanium! ;-)
Apr 25 09:43:27 amargo pmud[2415]: daemon stopped (incorrect PMU version)
Apr 25 09:43:27 amargo pmud[2415]: daemon stopped (incorrect PMU version)
if i use pbbuttonsd:
Apr 25 09:55:29 amargo pbbuttonsd: WARNING: No event devices available. Lets see what's wrong.
Apr 25 09:55:29 amargo pbbuttonsd: WARNING: No event devices available. Lets see what's wrong.
Apr 25 09:55:29 amargo pbbuttonsd: - Kernel module evdev.o is already loaded, must be something else.
Apr 25 09:55:29 amargo pbbuttonsd: - Can't figure out what's wrong, sorry - keyboard actions won't work.
Apr 25 09:55:29 amargo kernel: i2c_adapter i2c-4: I2C level transfers not supported
Apr 25 09:55:29 amargo pbbuttonsd: WARNING: No event devices available. Lets see what's wrong.
Apr 25 09:55:29 amargo pbbuttonsd: - Kernel module evdev.o is already loaded, must be something else.
Apr 25 09:55:29 amargo pbbuttonsd: - Can't figure out what's wrong, sorry - keyboard actions won't work.
Apr 25 09:55:29 amargo kernel: i2c_adapter i2c-4: I2C level transfers not supported
Apr 25 09:55:29 amargo pbbuttonsd: INFO: saving of config enabled to /etc/pbbuttonsd.conf.
Apr 25 09:55:29 amargo pbbuttonsd: ERROR: Can't open mixer device [/dev/mixer]. No such file or directory
Apr 25 09:55:29 amargo pbbuttonsd: INFO: pbbuttonsd 0.6.6: Wow, later than an Titanium! ;-) (PMU version: 85)
Apr 25 09:55:29 amargo kernel: i2c_adapter i2c-4: I2C level transfers not supported
Apr 25 09:55:29 amargo pbbuttonsd: - Kernel module evdev.o is already loaded, must be something else.
Apr 25 09:55:29 amargo pbbuttonsd: - Can't figure out what's wrong, sorry - keyboard actions won't work.
Apr 25 09:55:29 amargo pbbuttonsd: INFO: saving of config enabled to /etc/pbbuttonsd.conf.
Apr 25 09:55:29 amargo pbbuttonsd: ERROR: Can't open mixer device [/dev/mixer]. No such file or directory
Apr 25 09:55:29 amargo pbbuttonsd: INFO: pbbuttonsd 0.6.6: Wow, later than an Titanium! ;-) (PMU version: 85)
Apr 25 09:55:29 amargo pbbuttonsd: INFO: Script '/etc/power/pmcs-pbbuttonsd performance ac ' launched and exited normally
Apr 25 09:55:29 amargo pbbuttonsd: INFO: saving of config enabled to /etc/pbbuttonsd.conf.
Apr 25 09:55:29 amargo pbbuttonsd: ERROR: Can't open mixer device [/dev/mixer]. No such file or directory
Apr 25 09:55:29 amargo pbbuttonsd: INFO: pbbuttonsd 0.6.6: Wow, later than an Titanium! ;-) (PMU version: 85)
Apr 25 09:55:29 amargo pbbuttonsd: INFO: Script '/etc/power/pmcs-pbbuttonsd performance ac ' launched and exited normally
Apr 25 09:55:29 amargo pbbuttonsd: INFO: Script '/etc/power/pmcs-pbbuttonsd performance ac ' launched and exited normally
And, if i press power button, nothing happen.
Again... excuse this... horrible English.