First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 98050
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: PPC Porters <ppc@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Jouni Rinne <l33tmmx@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
pbbuttonsd.conf My pbbuttonsd.conf text/plain Jouni Rinne 2005-07-05 14:01 0000 3.53 KB Details
config-2.6.12-gentoo-r4 2.6.12-r4 kernel config text/plain Jouni Rinne 2005-07-09 06:19 0000 31.84 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 98050 depends on: Show dependency tree
Bug 98050 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-07-05 13:59 0000
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

------- Comment #1 From Jouni Rinne 2005-07-05 14:01:16 0000 -------
Created an attachment (id=62715) [details]
My pbbuttonsd.conf

------- Comment #2 From Joe Jezak 2005-07-08 20:32:36 0000 -------
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

------- Comment #3 From Jouni Rinne 2005-07-09 06:19:28 0000 -------
Created an attachment (id=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.

------- Comment #4 From Joe Jezak 2005-07-09 21:41:42 0000 -------
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.

------- Comment #5 From Jouni Rinne 2005-07-10 04:56:40 0000 -------
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? 

------- Comment #6 From Joe Jezak 2005-07-11 21:22:04 0000 -------
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!

First Last Prev Next    No search results available      Search page      Enter new bug