Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
snd-aoa and ALSA --sound on a powerbook? [solved]
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
Big Jim Slade
Apprentice
Apprentice


Joined: 04 May 2005
Posts: 197
Location: Washington State

PostPosted: Sun Jul 30, 2006 10:44 am    Post subject: snd-aoa and ALSA --sound on a powerbook? [solved] Reply with quote

I'm setting up Gentoo on my brother's powerbook here (Powerbook5,7) and I can't for the life of me get sound working... it work's out of the box in Ubuntu, however (with the snd_powermac driver as far as I can tell), and that makes things more aggravating...

How do I get sound on this thing to work? If I give it the old ALSA try I constantly get a "failed to load necessary drivers" error regardless of what configuration I work with (in-kernel, modules... whatever). From what I've read, snd_powermac does not work with the newer powerbooks (including this model... but then why does it seem to work in Ubuntu?). It seems that I should be using snd_aoa instead, except I can't find any information on what to do with snd_aoa after I emerge it... I could modprobe it, but then what? Or, it would seem that the snd_aoa driver is now included in alsa-driver 1.0.12-rc1, but when I set ALSA_CARDS="aoa" the emerge complains that aoa is not a supported card.

Now, it would seem that at least a few people have gotten this to work, so I'm hopeful that eventually it'll work on this machine as well, so if anyone could provide some assistance it would be incredibly appreciated.

Thanks.


Last edited by Big Jim Slade on Sun Jul 30, 2006 11:34 pm; edited 1 time in total
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sun Jul 30, 2006 2:58 pm    Post subject: Reply with quote

Try a 2.6.18_rc vanilla kernel (_rc2 or newer). These come with snd-aoa already. Build in support for snd-aoa (just build in all of the different parts) and build in ALSA as directed by the PPC FAQ. This works fine on my PowerBook 5,9.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
Big Jim Slade
Apprentice
Apprentice


Joined: 04 May 2005
Posts: 197
Location: Washington State

PostPosted: Sun Jul 30, 2006 9:32 pm    Post subject: Reply with quote

Okay, gave the the vanilla-2.6.18_rc2 kernel a try but still no dice. When I go to start alsa (/etc/init.d/alsasound start) I still get "Failed to load necessary drivers" error. Looking more at the Ubuntu install, where sound is working fine, the card is setup as a "PowerMac Toonie" using the snd_powermac module (as determined by lsmod and the /etc/modules file) as far as I can tell. In Gentoo, I compiled all of the ALSA stuff into the kernel, except the aoa stuff which I did as modules but that didn't work (same error) and so I tried everything as modules and that didn't work either.

Any other ideas, or other information I can provide that'd help make some progress?
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sun Jul 30, 2006 10:35 pm    Post subject: Reply with quote

The powermac driver will not work on a PowerMac 5,8. Ubuntu uses a really awful hack that plays some sound, but has no real support for your chipset.

Like the FAQ suggests, build in the ALSA components as suggested in the FAQ. Build in all of the snd-aoa components, but do *not* build in the snd-powermac and the dmasound OSS driver. You do not need to start alsa like that

Once you've compiled a kernel like this, please paste the result of 'dmesg | grep ALSA -A1'
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
Big Jim Slade
Apprentice
Apprentice


Joined: 04 May 2005
Posts: 197
Location: Washington State

PostPosted: Sun Jul 30, 2006 11:34 pm    Post subject: Reply with quote

Okay, here's the output of "dmesg | grep ALSA -A1"

ALSA device list:
#0: SoundByLayout

And, it would appear that I have sound now. alsamixer now opens and I was able to play a few .wav files with aplay. Now I'm thinking that at various times I may have had sound working but the alsa init script errors always threw me off. Interesting that the init script is not necessary to start ALSA... is that script only for modules then?

Anyway, thanks a lot for your help getting past the one big hurdle on this machine.
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