gnome-power-manager does nothing on pressing suspend or power button. I have configured my Xserver with hal and evdev. But i dont want to set --enable-legacy-buttons in the g-p-m (gnome-power-manager) ebuild because in 2.27 it will totally be running over hal. hal says me suspend button is /dev/input/event3 and power button /dev/input/event0 xev shows nothing on pressing power related buttons but i read this is normal. Is there something i have to set on hal???
hal, dbus and consolekit version please. Please also paste, say the last 200 lines of your /var/log/message.log after pressing the buttons.
Created attachment 190308 [details] message.log
Here it is =P [ebuild R ] sys-auth/consolekit-0.3.0-r1 USE="pam -debug -doc -policykit" [ebuild R ] sys-kernel/gentoo-sources-2.6.29-r2 USE="-build -symlink" [ebuild R ] sys-apps/dbus-1.2.3-r1 USE="X -debug -doc (-selinux)" [ebuild R ] sys-apps/hal-0.5.12_rc1-r2 USE="X acpi consolekit disk-partition laptop -apm -crypt -debug -dell -doc -policykit (-selinux)" [ebuild R ] x11-base/xorg-server-1.6.1 USE="hal ipv6 nptl sdl xorg -3dfx -debug -dmx -kdrive -minimal -tslib" INPUT_DEVICES="evdev keyboard mouse synaptics -acecad -aiptek -calcomp -citron -digitaledge -dmc -dynapro -elo2300 -elographics -fpit -hyperpen -jamstudio -joystick -magellan -microtouch -mutouch -palmax -penmount -spaceorb -summa -tek4957 -tslib -ur98 -virtualbox -vmmouse -void -wacom" VIDEO_CARDS="intel -apm -ark -ast -chips -cirrus -dummy -epson -fbdev -fglrx -geode -glint -i128 -i740 (-impact) -imstt -mach64 -mga -neomagic -nv -nvidia -r128 -radeon -radeonhd -rendition -s3 -s3virge -savage -siliconmotion -sis -sisusb (-sunbw2) (-suncg14) (-suncg3) (-suncg6) (-sunffb) (-sunleo) (-suntcx) -tdfx -tga -trident -tseng -v4l -vermilion -vesa -via -virtualbox -vmware -voodoo -xgi" [ebuild R ] x11-drivers/xf86-input-evdev-2.2.1 USE="hal -debug" [ebuild R ] gnome-extra/gnome-power-manager-2.26.1 USE="X -debug -doc -policykit -test"
ok so it does not seem to be policykit related. What happens if you write pm-suspend/pm-hibernate in a root console (in X)
suspending and powering off over console commands or mouseklicks on gnome-power-manager works perfectly but since --disable-legacy-buttons on g-p-m the hotkeys with "fn" or sonthing else do not work.
I've read some posts on other distros and concentraded my search on devicekit there are some patches and fedora uses a 20090401git because of suspending problems. And if they build g-p-m with --enable-legacy-buttons and use the fixed devicekit-power it looks like there are two suspending commands on one button press. So fedora is used with --disable-legacy-buttons i will test it and report
ok Devicekit-power from git does not help newest dbus version does not help gnome-power-manager with debug flag and verbose mode says nothing when suspend or power button is pressed Which way gnome-power-manager recives acpi events from xorg and not from hal? Its DeviceKit right???
hum I re-enabled legacy keys in latest gnome-power-manager bump. Could you try with 2.26.3 ?
Please get back to us.