Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Lost sleep ability when upgrading from 1.4 to 2004.0 (fixed)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
skychum
n00b
n00b


Joined: 03 Dec 2003
Posts: 30

PostPosted: Tue Mar 30, 2004 6:15 pm    Post subject: Lost sleep ability when upgrading from 1.4 to 2004.0 (fixed) Reply with quote

Okay, so I previously had gentoo 1.4 with kernel 2.6.3-benh2 running in my laptop, and the powerbuttons daemon worked fine on my ibook. Now I'm running a stage 3 2004.0 install (very easy and fast, btw), and when I configured a new 2.6.4 kernel, I noticed that the APM emulation option was not there, as it had been in 2.6.3-r2, so I figured that's why pbbuttonsd wasn't working for me (it starts without error, but is in fact not running). So, I downloaded, compiled and install 2.6.3-r2, and went to configure it, but then I noticed that the config looks the same as the 2.6.4 kernel's (using menuconfig), and didn't include apm. So, where did it go? How can I get apm/pbbuttonsd working again? How have others using 2004.0 gotten pbbuttonsd to work? Is pbbuttonsd even related to apm? Could my problems be from using udev?
Thanks, all


Last edited by skychum on Wed Mar 31, 2004 12:10 am; edited 1 time in total
Back to top
View user's profile Send private message
skychum
n00b
n00b


Joined: 03 Dec 2003
Posts: 30

PostPosted: Tue Mar 30, 2004 7:35 pm    Post subject: Reply with quote

it looks like the apm code has nothing to do with pbbuttonsd not working, im an idiot. Another person with an ibook was having the very same problem, but it appears that it can be solved using dmasound_pmac when configuring your kernel. I've been using snd_powermac, which, although is labled as an alsa driver in the config, does not seem to be necessary. I'm recompiling my kernel using the pmac dmasound code as a module, and hopefully this will solve the problem. Here's the link to the topic that helped me:

https://forums.gentoo.org/viewtopic.php?t=92552
Back to top
View user's profile Send private message
DrACoNuS
Tux's lil' helper
Tux's lil' helper


Joined: 03 Oct 2002
Posts: 116
Location: Edmonton, Alberta, Canada

PostPosted: Tue Mar 30, 2004 7:38 pm    Post subject: Reply with quote

Quote:

So, I downloaded, compiled and install 2.6.3-r2, and went to configure it, but then I noticed that the config looks the same as the 2.6.4 kernel


Make sure you downloaded 2.6.3-benh2

Also the symlink to your kernel sources probably did not update so if the .config looks the same you may very well be looking at the 2.6.4 conf, so make sure you are in the right directory when doing "make menuconfig"

There seems to be a minor discrepency that you are overlooking. Pay close attention to which kernel sources are available and make sure you dont disregard things like the /usr/src/linux symlink.

I wish I could do more than guess but this is'nt something I can remotely diagnose.

Good Luck!
_________________
Is that a huge bandwidth or are you just happy to see me?
Back to top
View user's profile Send private message
skychum
n00b
n00b


Joined: 03 Dec 2003
Posts: 30

PostPosted: Tue Mar 30, 2004 9:20 pm    Post subject: Reply with quote

Thanks much. I'm always careful that the symlink points to the directory im working in. In fact, I usually delete it, and it's recreated when I emerge the new sources.

But I was wrong about everything. The 2.6.4 ppc sources have apm emulation, and support for PMU, which is what's really important, but I'm still not sure is this is needed from pbbuttonsd to work.

So, I recompiled my kernel with dmasound_core/pmac built-in, as was suggested in the topic linked above, but I still can't get pbbuttonsd to work. That solution was for an older kernel, probably 2.4.x. I'll keep working on it and update this when/if I figure something out.
Back to top
View user's profile Send private message
skychum
n00b
n00b


Joined: 03 Dec 2003
Posts: 30

PostPosted: Wed Mar 31, 2004 12:10 am    Post subject: Reply with quote

okay, my problem was with udev. It didn't creat alias for /dev/mixer and /dev/cdrom, and pbbuttonsd stops when it can't find the cdrom. you can either make links yourself:
ln -s /dev/sound/mixer /dev/mixer
ln -s /dev/cdroms/cdrom0 /dev/cdrom
(i think this works)
or, just edit the /etc/pbbuttonsd.conf file.
Back to top
View user's profile Send private message
bzurc51
n00b
n00b


Joined: 03 Feb 2004
Posts: 18

PostPosted: Wed Mar 31, 2004 5:47 pm    Post subject: Reply with quote

skychum wrote:
okay, my problem was with udev. It didn't creat alias for /dev/mixer and /dev/cdrom, and pbbuttonsd stops when it can't find the cdrom. you can either make links yourself:
ln -s /dev/sound/mixer /dev/mixer
ln -s /dev/cdroms/cdrom0 /dev/cdrom
(i think this works)
or, just edit the /etc/pbbuttonsd.conf file.


I am having the same issues with pbbuttonsd on my PB running pure udev. Check out this topic:

https://forums.gentoo.org/viewtopic.php?t=149956

My question for you, are you running pure udev (devfs disabled) and if so, does /dev/adb exist for you? Mine is not being created and this seems to be my problem and I'm just curious you have this device.
Back to top
View user's profile Send private message
skychum
n00b
n00b


Joined: 03 Dec 2003
Posts: 30

PostPosted: Thu Apr 01, 2004 3:23 am    Post subject: Reply with quote

I didn't compile devfs support into my kernel, if that's what you mean by pure udev. And /dev/adb is created.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum