openSUSE Forums > Archives > SF Archives > ARCHIVES - PPC » Emac G4 Sound Drivers 10.3

Go Back   openSUSE Forums > Archives > SF Archives > ARCHIVES - PPC
Forums FAQ Members List Search Today's Posts Mark Forums Read

ARCHIVES - PPC Questions specific to PowerPC systems running SUSE Linux
(Questions that apply to both PPC and non-PPC systems should be posted in the appropriate mixed architecture forums)

 
Page 1 of 2 1 2
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-Dec-2007, 21:32
dcastle
Guest
 
Posts: n/a
Default

Hi, I just installed 10.3 on an eMac G4. in YaST sound configuration it seems to be recognized as "awacs" integrated sound, device 0 with driver snd-powermac. When I try to run kaffeine it crashes saying "audio drivers failed to initialize" or something like that. Has anyone succeeded in getting sound on an eMac? Thanks,

DCastle.
  #2 (permalink)  
Old 01-Dec-2007, 21:53
dcastle
Guest
 
Posts: n/a
Default

Ok, so I ran alsaconf as root and when it asked to test and play a tune, I selected yes and it did. Next I tried to play an audio cd in Kaffeine and it still came up with "audio drivers failed to load"? Whats going on?
  #3 (permalink)  
Old 02-Dec-2007, 02:18
oldcpu
Guest
 
Posts: n/a
Default

Quote:
Ok, so I ran alsaconf as root and when it asked to test and play a tune, I selected yes and it did. Next I tried to play an audio cd in Kaffeine and it still came up with "audio drivers failed to load"? Whats going on?[/b]
Hard to say specifically, not knowing what software is on your PC. I also know nothing about PPC .... Could be the error message is inaccurate, and you don't have the software necessary to play the audio CD.

How many of the alsa driver apps have you installed?
http://download.opensuse.org/distribution/...o/oss/suse/ppc/

alsa-oss? or alsa-oss-64bit? (if you have 64-bit), alsa-tools? alsa-utils? .... alsa-tools-gui? ... alsamixergui? Not having a PPC I don't know which ones are required.

Also ensure you don't have any permission problems. Does the alsa test line run from konsole?
ie open a konsole and type:
<span style="font-family:Courier New">speaker-test -c2 -Ddefault -twav</span>
press <CTRL><C> to stop it.

Which, if any, of the above give you sound?
  #4 (permalink)  
Old 02-Dec-2007, 10:33
dcastle
Guest
 
Posts: n/a
Default

I ran the commands, they both returned pretty much the same thing: all about ALSA cannot find card, card 0 not detected. etc. I just did a 10.3 full desktop install from the 10.3 ppc DVD image, so I would think I would have software to play an audio cd, unless codecs are missing in suse? I am new to openSuse and am usually an Ubuntu user, however Ubuntu did not like the display hardware in the eMac so I tried openSuse, which worked with it perfectly. Thanks for your help.

Dcastle.
  #5 (permalink)  
Old 02-Dec-2007, 12:17
oldcpu
Guest
 
Posts: n/a
Default

Quote:
I ran the commands, they both returned pretty much the same thing: all about ALSA cannot find card, card 0 not detected. etc. [/b]
which suggests your alsa is not set up, or does not have everything it needs.

Quote:
I just did a 10.3 full desktop install from the 10.3 ppc DVD image, so I would think I would have software to play an audio cd, unless codecs are missing in suse? [/b]
well, the commands I gave you, to produce audio, have NOTHING to do with an audio CD. If they don't produce sound, there is IMHO a reasonable possibility you have bigger sound problems than not playing an audio CD. (at least that is MHO assessment).

So I ask once again How many of the alsa driver apps have you installed:
Quote:
How many of the alsa driver apps have you installed?
http://download.opensuse.org/distribution/...o/oss/suse/ppc/
alsa-oss? or alsa-oss-64bit? (if you have 64-bit), alsa-tools? alsa-utils? .... alsa-tools-gui? ... alsamixergui? Not having a PPC I don't know which ones are required.[/b]
There are also a couple of scripts you could consider running, to provide some more information. ... although I usually ask for these scripts on i86 platforms, and not PPC. Still it might help if you ran the scripts to provide more info, ... specifically:

please run the following two scripts to provide more information on your hardware. The first script, I think was created by IRC #alsa user gnubien, but I'm not sure ... To download:
<span style="font-family:Courier New">dmesg > output-of-dmesg.txt</span>
and copy the contents of text file "output-of-dmesg.txt" to http://paste.lisp.org or http://rafb.net/paste/ or http://sourcepost.sytes.net/ or http://pastebin.ca/ and then post the URL here.
  #6 (permalink)  
Old 06-Dec-2007, 09:31
dcastle
Guest
 
Posts: n/a
Default

I have

alsa-firmware
alsa-oss
alsa-plugins
alsa-tools
alsa-tools-gui
alsa-utils
alsa
gstreamer-plugins-base
libasound2

installed when I search the installed packages for "alsa"

tsalsa - http://nopaste.com/p/ajCYu9nHT

alsa-info.sh - doesn't seem to give any output, says information is pasted at: "blank"

dmesg is here: http://rafb.net/p/XtRhAI11.html

Hope you can give me an idea. Thanks oldcpu.


  #7 (permalink)  
Old 06-Dec-2007, 16:35
oldcpu
Guest
 
Posts: n/a
Default

Quote:
tsalsa - http://nopaste.com/p/ajCYu9nHT
alsa-info.sh - doesn't seem to give any output, says information is pasted at: "blank"

dmesg is here: http://rafb.net/p/XtRhAI11.html[/b]
Thanks, nothing obvious there, although the PCM setting you have puzzles me (as shown in the script).

Anyway, thinking about your problem, the first thing that strikes me is the test sound works for you. That suggests that sound works as user root, but not as a regular user, which might mean a permission problem. To try and eliminate this possibility, can you add your self to group "audio"? Do this by going to:
YAST > Security and Users > User Management > select your user and then select "edit" > Details > and in the right under "groups" select audio. Then select "accept" .... etc ... Close Yast, and restart KDE (or Gnome). Does that help your sound?

I also notice there were some fixes to the Powermac audio driver in the update from alsa-1.0.14 to 1.0.15:
http://www.alsa-project.org/main/index.php...ermac&go=Go

So if the above permission fix does not work for you, then you could install the various alsa-1.0.15 packages. Unfortunately I could not find a PPC alsa-1.0.15, and you may be forced to compile. But lets cross that bridge when we come to it.
  #8 (permalink)  
Old 06-Dec-2007, 19:48
dcastle
Guest
 
Posts: n/a
Default

You were totally right, although it didn't work straight away, i had to run alsaconf after, so I guess the drivers aren't loading at startup still, can this be fixed (if not, its only a minor annoyance)? I had thought about that, but for some reason never implemented it :blink: ?? Thanks for your help!
  #9 (permalink)  
Old 07-Dec-2007, 00:24
oldcpu
Guest
 
Posts: n/a
Default

Quote:
... it didn't work straight away, i had to run alsaconf after, so I guess the drivers aren't loading at startup still, can this be fixed (if not, its only a minor annoyance)? I had thought about that, but for some reason never implemented it :blink: ?? Thanks for your help!
[/b]
Yes, if this last instance of running alsaconf does not fix things permanently, we can add the drivers as required.

First, please confirm sound now works properly after your having run alsaconf (and added your user to group audio)?

After a reboot, if your sound only works when you run alsaconf (hopefully this is not the case) then I would like to compare the "before" and "after" loaded modules. Hence in this case, could you reboot again, and then immediately after a reboot (before running alsaconf) type:
<span style="font-family:Courier New">lsmod > afterboot.txt</span>
and then paste both text files on http://pastebin.com/ so we can look at them and compare the differences.

We need to determine what modules are being loaded when sound works, and what ones are present when sound doesn't work.
  #10 (permalink)  
Old 08-Dec-2007, 00:21
dcastle
Guest
 
Posts: n/a
Default

Yes sound is working correctly after running alsaconf and adding myself into the "audio" users.

http://pastebin.com/m71e1ea0 - lsmod - before

http://pastebin.com/m4e7e5195 -lsmod - after

should I just modprobe the modules that are loaded after? Thanks for your help thus far.

dcastle
 
Page 1 of 2 1 2

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2