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 19-Oct-2007, 13:00
mjs483
Guest
 
Posts: n/a
Thumbs up

I'm running opensuse 10.3 on a PowerBook G4. Everything seems fine except for sound.

Yast2 is detecting and (supposedly) configuring my sound card but none of my appications (mixers, audio players) can see the sound card.

When I use yast2 to configure the sound card I can hear the test sound for about 1 second before it goes silent. Then the test sound will not play again. This leads me to believe that something is going wrong during configuration but I'm not getting an error message.

Sound worked just fine under opensuse 10.2....so I might have to downgrade if I can't figure this out... =(
  #2 (permalink)  
Old 24-Oct-2007, 07:50
mjs483
Guest
 
Posts: n/a
Default

Quick update. Everytime I restart the system /dev/dsp dissappears. If I rerun the Yast2 sound config utility, I get a /dev/dsp and a /dev/audio and some things in /dev/snd/. Sound still doesn't work though. If I restart, my /dev/dsp and /dev/audio dissappear.

Anyone know if /dev/dsp is the correct sound device in 10.3 or did they change it. Also, does anyone know how to figure out what version of alsa shipped with 10.2? I might try to build the 10.2 alsa and see if it works on 10.3.
  #3 (permalink)  
Old 24-Oct-2007, 13:02
oldcpu
Guest
 
Posts: n/a
Default

Power PC hardware is very different from Intel, and I've never even seen a Power PC running Linux, ...

Still, here is what I would ask an x86 or x86_64 user to try: can you download and run the following script:
http://bulletproof.servebeer.com/als...s/alsa-info.sh

To run it, just open a konsole, navigate to the directory where it is located, and type "bash alsa-info.sh"

This is a script that user wishie from IRC channel #alsa wrote, to gather ALSA information from the machine its run on. When run, it will automatically post the output on pastebin.ca and give you the URL where its posted.

Here is an example of the sort of thing to expect.. http://pastebin.ca/724516

Please post the URL here.

===========
Also, what are you doing to test the sound? Can you type the following in a konsole (and then after about 10 seconds "kill it" with <CTRL<C>) as both a regular user, and also as a root user?
speaker-test -c2 ddefault -twav
That line is supposed to test your sound as both a regular user, and as a root user. My guess is you will get no sound.

Also, I typically ask x86/x86_64 users to please make certain they have alsa-utils and alsa-firmware installed in addition to alsa.

Quote:
Does anyone know how to figure out what version of alsa shipped with 10.2? [/b]
Yes, ... just go to a 10.2 repository with the original delivery.

For example:
http://download.opensuse.org/distribution/...o/oss/suse/ppc/
  #4 (permalink)  
Old 25-Oct-2007, 09:59
mjs483
Guest
 
Posts: n/a
Default

oldcpu:

Thanks for the reply! I will try out what you said today or tomorrow and let you know how it goes. I was unaware of the speaker-test program so to test sound I was just trying to cat a raw sound file directly to the device:
cat endofworld > /dev/dsp. All I hear is a quick crackle. Any volume controls/mixers I try to bring up complain about there not being a sound device.

At the moment (in the absence of any better ideas) I am in the process of compiling the stock 10.2 kernel+modules to see if I can get 10.3 to run on top of the 10.2 kernel and see if it makes a difference.

Your ideas sound a little saner than my 10.2 kernel idea, but since I'm halfway through the compile I'm going to go through with it....
  #5 (permalink)  
Old 25-Oct-2007, 14:09
mjs483
Guest
 
Posts: n/a
Default

Suprisingly, compiling the stock 10.2 kernel (2.6.18.2-34) on 10.3 worked! So looks like the snd-powermac driver got messed up somewhere along the way to 10.3's 2.6.22.5-31 version.

Thanks for the help, but I'm going to stick with what I have going at the moment. Just tired of messing with this =)
  #6 (permalink)  
Old 25-Oct-2007, 14:38
oldcpu
Guest
 
Posts: n/a
Default

Quote:
Suprisingly, compiling the stock 10.2 kernel (2.6.18.2-34) on 10.3 worked! So looks like the snd-powermac driver got messed up somewhere along the way to 10.3's 2.6.22.5-31 version. [/b]
Congratulations on getting it to work!
  #7 (permalink)  
Old 04-Dec-2007, 03:14
yael
Guest
 
Posts: n/a
Default

I ran the above script and here is the result: http://pastebin.ca/805378
I'm running oss 10.2. Can someone help me out here?
  #8 (permalink)  
Old 04-Dec-2007, 08:47
oldcpu
Guest
 
Posts: n/a
Default

Quote:
I ran the above script and here is the result: http://pastebin.ca/805378
I'm running oss 10.2. Can someone help me out here?
[/b]
Welcome to suseforums.net.

Please, next time you post, on a different problem, can you start a new thread? From what I can see from the script, your pc is a 64-bit X86_64 (running openSUSE-10.2 x86-64). You definitely do NOT have a PPC (Power PC). This is a PPC forum area, and a PPC thread.

Hence this post is in the wrong area of the forum, and will quite likely not get the attention it deserves as a result. Perhaps the moderators could move both your post, and my post, to a proper new thread in the correct area of the forum.

Anyway, newbie forum mistakes aside, could try:
a. go to YaST > HARDWARE > SOUND > Other and test your sound, if no sound then,
b. go to YaST > HARDWARE > SOUND > Other > Volume and setup your PCM and Master Volume levels up and test your sound (these actually appear to be ok by the script output you provided), and if no sound then,
c. go to YaST > HARDWARE > SOUND > EDIT and remove and then re-install/edit your sound configuration. Note when you remove the card, it is simply not configured, but neither is it removed, ..... and if still no sound then,
d. exit YaST and open a konsole (<ALT><F2> and type: konsole) and in the knosole type: su (enter root password when prompted), followed by: alsaconf and then setup your sound.

I see that you have a SigmaTel STAC9221 A1 codec in your sound chipset. A search on Alsa web site for the 92xx chipset gives this:
http://www.alsa-project.org/main/index.php...0.14rc4_v1.0.14
where many fixes were noted in going from alsa v1.0.14rc4 to v1.0.14.

But the script file you provide suggest your alsa driver version is alsa-1.0.14 rc1. Please, if you have not done so already, can you go here and download and install the latest alsa drivers from Packman:
http://packman.links2linux.de/package/alsa
http://packman.links2linux.de/package/alsa-firmware
http://packman.links2linux.de/package/alsa-tools

  #9 (permalink)  
Old 04-Dec-2007, 15:34
Duane
Guest
 
Posts: n/a
Default

Quote:
Suprisingly, compiling the stock 10.2 kernel (2.6.18.2-34) on 10.3 worked! So looks like the snd-powermac driver got messed up somewhere along the way to 10.3's 2.6.22.5-31 version.

Thanks for the help, but I'm going to stick with what I have going at the moment. Just tired of messing with this =)
[/b]

Please advise me on how you did this. I have the same frustrating issue with my mac g3 and suse 10.3

Thank you
  #10 (permalink)  
Old 05-Dec-2007, 03:18
yael
Guest
 
Posts: n/a
Default

Quote:
Welcome to suseforums.net.

Please, next time you post, on a different problem, can you start a new thread? From what I can see from the script, your pc is a 64-bit X86_64 (running openSUSE-10.2 x86-64). You definitely do NOT have a PPC (Power PC). This is a PPC forum area, and a PPC thread.

Hence this post is in the wrong area of the forum, and will quite likely not get the attention it deserves as a result. Perhaps the moderators could move both your post, and my post, to a proper new thread in the correct area of the forum.
[/b]
sorry about that. I kind of overlooked that fact when I posted.
Quote:

Anyway, newbie forum mistakes aside, could try:
a. go to YaST > HARDWARE > SOUND > Other and test your sound, if no sound then,
[/b]
I did that. It did not work.
Quote:
b. go to YaST > HARDWARE > SOUND > Other > Volume and setup your PCM and Master Volume levels up and test your sound (these actually appear to be ok by the script output you provided), and if no sound then,
[/b]
my PCM volume level should be high enough to hear something. For some strange reason, I have no Master volume setting
when I run "amixer set Master unmute,unmute"
I get: "amixer: Unable to find simple control 'Master',0"
Why?
Quote:
c. go to YaST > HARDWARE > SOUND > EDIT and remove and then re-install/edit your sound configuration. Note when you remove the card, it is simply not configured, but neither is it removed,
[/b]
I have tried that a number of times already. It did not help.
Quote:
..... and if still no sound then,
d. exit YaST and open a konsole (<ALT><F2> and type: konsole) and in the knosole type: su (enter root password when prompted), followed by: alsaconf and then setup your sound.
[/b]
This also did not help.
Quote:
I see that you have a SigmaTel STAC9221 A1 codec in your sound chipset. A search on Alsa web site for the 92xx chipset gives this:
http://www.alsa-project.org/main/index.php...0.14rc4_v1.0.14
where many fixes were noted in going from alsa v1.0.14rc4 to v1.0.14.

But the script file you provide suggest your alsa driver version is alsa-1.0.14 rc1. Please, if you have not done so already, can you go here and download and install the latest alsa drivers from Packman:
http://packman.links2linux.de/package/alsa
http://packman.links2linux.de/package/alsa-firmware
http://packman.links2linux.de/package/alsa-tools
[/b]
I downloaded and installed the newer driver alsa-driver-1.0.14rc4.tar.bz2. Could not find same format file for tools and firmware. I need to configure it to use lib64 and therefore do not want to install with an rpm.

Any more suggestions?
 
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