Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Alsa on iMac G5?[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
jaeger63
n00b
n00b


Joined: 08 Apr 2006
Posts: 38
Location: Gatineau, Quebec

PostPosted: Wed Apr 12, 2006 1:47 am    Post subject: Alsa on iMac G5?[solved] Reply with quote

I'm running Gentoo on my 20" iMac G5 and so far it is running great but I'm having trouble getting the sound to work, though I think I'm doing everything right. Does Alsa work on this platform at all?

My info: Vanilla sources 2.6.16 ppc64 kernel and 32-bit userland.

Code:
localhost ~ # uname -a
Linux localhost 2.6.16 #22 Tue Apr 11 21:07:30 EDT 2006 ppc64 PPC970FX, altivec supported PowerMac8,2 GNU/Linux
localhost ~ # lspci
f0:0b.0 Host bridge: Apple Computer Inc. U3L AGP Bridge
f0:10.0 VGA compatible controller: ATI Technologies Inc RV350 AP [Radeon 9600]
0001:00:01.0 PCI bridge: Apple Computer Inc. Shasta PCI Bridge
0001:00:02.0 PCI bridge: Apple Computer Inc. Shasta PCI Bridge
0001:00:03.0 PCI bridge: Apple Computer Inc. Shasta PCI Bridge
0001:01:01.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)
0001:01:07.0 Class ff00: Apple Computer Inc. Shasta Mac I/O
0001:01:0b.0 USB Controller: NEC Corporation USB (rev 43)
0001:01:0b.1 USB Controller: NEC Corporation USB (rev 43)
0001:01:0b.2 USB Controller: NEC Corporation USB 2.0 (rev 04)
0001:02:0c.0 IDE interface: Broadcom K2 SATA
0001:02:0d.0 Class ff00: Apple Computer Inc. Shasta IDE
0001:02:0e.0 FireWire (IEEE 1394): Apple Computer Inc. Shasta Firewire
0001:03:0f.0 Ethernet controller: Apple Computer Inc. Shasta (Sun GEM)
localhost ~ # lsmod
Module                  Size  Used by
snd_pcm_oss            77592  0
snd_pcm               135200  1 snd_pcm_oss
snd_page_alloc         16096  1 snd_pcm
snd_mixer_oss          28704  1 snd_pcm_oss
snd_seq_oss            58944  0
snd_seq_midi_event     11344  1 snd_seq_oss
snd_seq                88496  4 snd_seq_oss,snd_seq_midi_event
snd_timer              36816  2 snd_pcm,snd_seq
snd_seq_device         13992  2 snd_seq_oss,snd_seq
snd                    91672  7 snd_pcm_oss,snd_pcm,snd_mixer_oss,snd_seq_oss,snd_seq,snd_timer,snd_seq_device
soundcore              14912  1 snd
eth1394                29144  0


And some relevant kernel config info:
Code:
localhost linux # grep SOUND .config
CONFIG_SOUND=m
# CONFIG_SOUND_PRIME is not set
localhost linux # grep SND .config
CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_HWDEP=m
CONFIG_SND_RAWMIDI=m
CONFIG_SND_SEQUENCER=m
# CONFIG_SND_SEQ_DUMMY is not set
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_SEQUENCER_OSS=y
# CONFIG_SND_DYNAMIC_MINORS is not set
CONFIG_SND_SUPPORT_OLD_API=y
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set
CONFIG_SND_DUMMY=m
(a bunch not set snipped)
CONFIG_SND_POWERMAC=m
CONFIG_SND_POWERMAC_AUTO_DRC=y
CONFIG_SND_USB_AUDIO=m
# CONFIG_SND_USB_USX2Y is not set


It looks correct to me but when I boot or /etc/init.d/alsasound start it doesn't find any alsa drivers:
Code:
localhost linux # /etc/init.d/alsasound start
 * Loading ALSA modules ...
 * Could not detect custom ALSA settings.  Loading all detected alsa drivers.
 * Unable to find any ALSA drivers. Have you compiled alsa-drivers correctly?
 *   Loading: snd-seq-oss ...                                             [ ok ] *   Loading: snd-pcm-oss ...                                             [ ok ] * ERROR: Failed to load necessary drivers                                [ ok ]



Many thanks for the pointer to the sound driver being developed by johill (message here:
http://lists.debian.org/debian-powerpc/2006/03/msg00470.html). I tried this a couple of weeks ago but it didn't yet support the Apple onboad Audio of my Powermac 8,2. But he's obviously been working on it and now it does! So ALSA is now working great.


Last edited by jaeger63 on Fri May 05, 2006 12:31 am; 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: Wed Apr 12, 2006 2:17 am    Post subject: Reply with quote

You'll need to use johill's snd-aoa driver:
http://lists.debian.org/debian-powerpc/2006/03/msg00470.html
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
jaeger63
n00b
n00b


Joined: 08 Apr 2006
Posts: 38
Location: Gatineau, Quebec

PostPosted: Wed Apr 12, 2006 5:17 pm    Post subject: Reply with quote

Thanks for the pointer, I'll try it out.

And another question - is Direct Rendering possible with the ATI 9600 in the iMac G5? My initial attempt was not successful but I haven't spent much time troubleshooting it.

Thanks, Jaeger
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Wed Apr 12, 2006 5:29 pm    Post subject: Reply with quote

It should be, but you'll need to use modular X (xorg 7), the driver isn't included with older versions of X.org.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
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