Pbbuttonsd 0.7_pre2 is totally dead on my Apple iBook G4, nothing, repeat nothing works. I had the same problem with 0.6.10. 0.7_pre1 worked partially, excluding only the volume setting. I tried re-emerging gtkpbbuttons, but that didn't help. The last version which worked properly was 0.6.9, but because it is removed from Portage, I can't downgrade to 0.6.9. Have to try 0.6.6, then. Reproducible: Always Steps to Reproduce: 1. 2. 3. Gentoo Base System version 1.6.12 Portage 2.0.51.22-r1 (default-linux/ppc/2004.3, gcc-3.4.4, glibc-2.3.5-r0, 2.6.11-gentoo-r11 ppc) ================================================================= System uname: 2.6.11-gentoo-r11 ppc 7447A, altivec supported distcc 2.18.3 powerpc-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.5, 2.4.1-r1 sys-apps/sandbox: 1.2.10 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="ppc ~ppc" AUTOCLEAN="yes" CBUILD="powerpc-unknown-linux-gnu" CFLAGS="-O2 -mcpu=7400 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe -mpowerpc-gfxopt" CHOST="powerpc-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=7400 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe -mpowerpc-gfxopt" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/" LANG="fi_FI" LC_ALL="fi_FI" LINGUAS="en fi" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="ppc X a52 aac alsa altivec berkdb bitmap-fonts cdr crypt cups curl dga dv dvd eds emboss esd fam ffmpeg flac font-server fortran gdbm gif gnome gpm gstreamer gtk gtk2 guile imagemagick imap imlib java jpeg kde lcms libwww mad matroska mikmod motif mp3 mpeg mysql nas ncurses nls nodrm nptl nptlonly ogg oggvorbis opengl pam pdflib perl png python qt quicktime radeon readline scanner sdl slang sndfile ssl tcltk tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb vorbis xine xml xml2 xprint xv zlib linguas_en linguas_fi userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS, MAKEOPTS
Created attachment 62715 [details] My pbbuttonsd.conf
Can you try 2.6.12-gentoo-r4 instead of 2.6.11? There are known issues with 2.6.11. If this doesn't help, can you please provide your kernel config as well? Thanks
Created attachment 62993 [details] 2.6.12-r4 kernel config Nope, pbbuttonsd 0.7_pre2 is still totally non-functional, regardless of the kernel upgrade :( . Anyway, here's my new kernel config file.
Alright, there doesn't seem to be anything wrong with the kernel (at least in terms of pbbuttonsd). Can you describe the problem a little more? Does pbbuttonsd start correctly? Are there any errors in your kernel log? Does gtkpbuttonsd start and do you get feedback from it when changing settings? Do you have other powermanagement devices or clients running (pmu?) Does the fkey switching still work? How about the CD eject button? Is it *every* single bit of functionality that pbbuttonsd proivdes that isn't working? Just sleep and sound? Does using the stable version of pbbutonsd help? (Note that some apps may be compiled for the new version and may not run). The more information you can give, the faster we can figure this out.
SOLVED! It didn't occur to me to examine the logs earlier, because the pbbuttonsd seemed always to start without errors, but the logs eventually gave me the clue about what's wrong! Here's a log created by 0.6.6: Jul 10 13:37:18 [pbbuttonsd] WARNING: No event devices available. Lets see what's wrong._ Jul 10 13:37:18 [pbbuttonsd] - Kernel module evdev.o successfully loaded, that's it._ Jul 10 13:37:18 [pbbuttonsd] INFO: saving of config enabled to /etc/pbbuttonsd.conf._ Jul 10 13:37:18 [pbbuttonsd] INFO: pbbuttonsd 0.6.6: iBook/G3 PB Pismo/G4 PB Titanium (PMU version: 12)_ Jul 10 13:37:20 [pbbuttonsd] INFO: Script '/etc/power/pmcs-pbbuttonsd performance ac ' launched and exited normally_ And here's the log after I upgraded to 0.7_pre2 and rebooted: Jul 10 13:45:37 [pbbuttonsd] WARNING: No event devices available. Please check your configuration._ Jul 10 13:45:37 [pbbuttonsd] INFO: Soundsystem requested: ALSA and at least activated: ALSA._ Jul 10 13:45:37 [pbbuttonsd] INFO: saving of config enabled to /etc/pbbuttonsd.conf._ Jul 10 13:45:37 [pbbuttonsd] INFO: pbbuttonsd 0.7.0beta2: iBook/G3 PB Pismo/G4 PB Titanium (PMU version: 12)_ Jul 10 13:45:38 [pbbuttonsd] INFO: Script '/etc/power/pmcs-pbbuttonsd performance ac ' launched and exited normally_ I started experimenting with the evdev module the 0.6.6 was complaining about. 'modprobe evdev' didn't work, keyboard and pbbuttonsd still refused to communicate with each other. Then I added the evdev module to /etc/modules.autoload.d/kernel-2.6, ran 'modules-update' and rebooted... and after starting X the pbbuttonsd 0.7_pre2 worked like dream :) Conclusion: the evdev module needs to be loaded before pbbuttonsd is started. It seems to me that the 0.6.9 and earlier versions loaded the module automatically, but the newer versions does not?
I added a check to the latest pbbuttonsd ebuild that dies if the input event module isn't built in or a module and warns to load the module if it isn't built in. Thanks for the report!