Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No sound yet on a G4 1.25G PowerMac (MDD) [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
grazie
n00b
n00b


Joined: 14 Nov 2005
Posts: 61

PostPosted: Fri Dec 30, 2005 4:37 pm    Post subject: No sound yet on a G4 1.25G PowerMac (MDD) [SOLVED] Reply with quote

Set up ALSA in the kernel as per the PPC FAQ, but it causes a kernel panic on booting. Any suggestions? Would have posted the kernel config file, but it's rather long.

Last edited by grazie on Sun Jan 01, 2006 12:27 pm; edited 1 time in total
Back to top
View user's profile Send private message
nokilli
Apprentice
Apprentice


Joined: 25 Feb 2004
Posts: 195

PostPosted: Sat Dec 31, 2005 1:05 am    Post subject: Reply with quote

I have a PowerMac 1.25Ghz G4 MDD too, and have so far had no luck whatsoever with ALSA on this machine. I haven't yet received a kernel panic from ALSA though, just no sound or very, very low and scratchy sound... I'm going to suggest that there is probably another reason for the kernel panic.

The latest strategy has been to eschew ALSA support in the kernel, and go with the development versions of alsa-driver. If you look at alsa-project.org you will see that there has been some activity of late for Mac sound drivers, but so far, none of these changes have produced any meaningful result.

I have a Powerbook Pismo too, and it was next to impossible to get ALSA to work on that machine as well. The symptoms are similar to what you'd get in a program that relies on uninitialized memory; the exact same configuration can yield different results, depending on the order in which you've installed things.

It can be extremely frustrating.
Back to top
View user's profile Send private message
grazie
n00b
n00b


Joined: 14 Nov 2005
Posts: 61

PostPosted: Sat Dec 31, 2005 11:23 am    Post subject: Reply with quote

Thanks for the reply nokilli. However, I'm a little depressed now. From what I've read, most Mac owners get sound working. Is this just a problem for G4 PowerMacs? If it is a known problem it's a shame the installation/FAQ documentation doesn't state it.

Also the kernel panic is definitely caused by by the ALSA driver on booting. I get "Oops: Kernel access of bad area" followed by further errors before the panic just after the ALSA driver is loaded. I could have configured something incorrectly, but I think I've matched what's in the FAQ.

I'll take a look at the alsa-project.com site.
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sat Dec 31, 2005 2:12 pm    Post subject: Reply with quote

Can you post the panic message?
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
grazie
n00b
n00b


Joined: 14 Nov 2005
Posts: 61

PostPosted: Sat Dec 31, 2005 5:50 pm    Post subject: Reply with quote

Can't post the full set of messages as I don't how or if it's possible to log kernel boot messages, but the outline of what I get is as follows:

i2c /dev entries driver
ALSA Driver Version 1.0.9.rc2 (Thu Mar 24 10:3339 2005 UTC)
Oops : kernel access of bad area, sig: 11 [#1]
.
.
(Reg dump, stack trace, etc)
.
.
Kernel panic - not syncing: Attemped to kill init
<0>Rebooting in 180 seconds..

Does this help?
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sat Dec 31, 2005 6:28 pm    Post subject: Reply with quote

Not really, but make sure that you have the i2c Keywest module built in. If that doesn't help, please post the stack trace. (I sometimes use a digital camera to record the trace).
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
grazie
n00b
n00b


Joined: 14 Nov 2005
Posts: 61

PostPosted: Sun Jan 01, 2006 12:26 pm    Post subject: Reply with quote

Solved the problem by rebuilding the kernel with exactly the same settings as per FAQ, but with ALSA as modules. The resulting sound is very poor quality though. Will see if I can get an improvent by using the latest alsa-driver.
Back to top
View user's profile Send private message
davidgurvich
Veteran
Veteran


Joined: 23 Apr 2004
Posts: 1063

PostPosted: Wed Jan 04, 2006 8:43 pm    Post subject: Reply with quote

Don't bother. The current hardware drivers simply don't work well with MDD. The only option is to set the PCM and Master settings to a low enough level that you don't get distortion. The maximum undistorted volume will be much lower than in OS X. You should be able to get adequate volume using either headphones or external speakers, but at a lower level.
Back to top
View user's profile Send private message
grazie
n00b
n00b


Joined: 14 Nov 2005
Posts: 61

PostPosted: Thu Jan 05, 2006 11:57 am    Post subject: Reply with quote

Thanks for that David. I'd already installed a later driver without improvement. I tried adjusting the levels as you suggest, but didn't get anything I was happy with. I've also be doing a lot of searching to find out why this machine gives such poor quality sound with Linux, but haven't found much.

I know this machine (and other G4 PowerMacs) sometimes have sound problems with OS X, but mine is fine unless I use a KVMA switch. This results in nasty pops and scratches which suggests to me that the audio hardware may be a bit delicate.

Couldn't find anything at http://alsa-project.org that suggests that there's a known sound quality problem which is current and is being addressed. I did find http://lists.debian.org/debian-powerpc/2005/08/msg00067.html which gives some useful info but no real answers. Does anyone know if someone is working on a better driver? If the driver can't be improved does anyone know why? Has anybody got good results by adding an addition PCI or USB device?

I almost tempted to get stuck in myself!

(don't know if I should be starting a new thread for this?)
Back to top
View user's profile Send private message
davidgurvich
Veteran
Veteran


Joined: 23 Apr 2004
Posts: 1063

PostPosted: Thu Jan 05, 2006 4:27 pm    Post subject: Reply with quote

If you want responses, you should start a new thread.
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