Getting Audio Working With OpenSolaris On An Ultra 40

I started with OpenSolaris 2008.05 and yesterday updated to build 94. I'm now trying to get the audio working. I have a couple speakers connected to the light green audio socket on the back of the machine. As this is current Sun hardware, I was hoping it would "just work" out of the box. Unfortunately that is not the case.

Before somebody says "install OSS", I just did that. I then rebooted and when I ran osstest I got:

$ osstest
Sound subsystem and version: OSS 4.0 (b1016/200806171344) (0x00040003)
Platform: SunOS/i86pc 5.11 snv_94

\*\*\* Scanning sound adapter #-1 \*\*\*
/dev/oss/hdaudio0/pcm0 (audio engine 0): HD Audio play front
- Performing audio playback test... 
   OK  OK  OK  
/dev/oss/hdaudio0/pcm1 (audio engine 1): HD Audio play rear
- Performing audio playback test... 
   OK  OK  OK  
/dev/oss/hdaudio0/pcm2 (audio engine 2): HD Audio play center/LFE
- Performing audio playback test... 
   OK  OK  OK  
/dev/oss/hdaudio0/pcm3 (audio engine 3): HD Audio play side
- Performing audio playback test... 
   OK  OK  OK  
/dev/oss/hdaudio0/pcm4 (audio engine 4): HD Audio play pcm4
- Performing audio playback test... 
   OK  OK  OK  
/dev/oss/hdaudio0/spdout0 (audio engine 5): HD Audio play spdif-out
- Performing audio playback test... 
   OK  OK  OK  
/dev/oss/hdaudio0/pcmin0 (audio engine 6): HD Audio rec mix
- Skipping input only device
/dev/oss/hdaudio0/pcmin1 (audio engine 7): HD Audio rec mix
- Skipping input only device
/dev/oss/hdaudio0/pcmin2 (audio engine 8): HD Audio rec mix
- Skipping input only device
/dev/oss/hdaudio0/spdin0 (audio engine 9): HD Audio rec spdifin
- Skipping input only device

\*\*\* All tests completed OK \*\*\*
$

I heard their special test music only for:

/dev/oss/hdaudio0/pcm0 (audio engine 0): HD Audio play front
- Performing audio playback test... 
   OK  OK  OK  

and

/dev/oss/hdaudio0/spdout0 (audio engine 5): HD Audio play spdif-out
- Performing audio playback test... 
   OK  OK  OK  

which I thought was a little strange as the speakers are plugged into the back of the machine not the front.

I then inserted an audio CD and tried to run rhythmbox. Okay, I can live with it having plugin failures for "Magnatune Store", "Jamendo" and "Cover art", but it didn't want to play any music either.

I see that the little loud speaker icon in the top GNOME panel has a red bar through it.

If anybody knows the magic incantations to get this to work, I'll update this blog post with the instructions. Then hopefully the next person to google to try to find the answer will come across this post and have better luck then I currently am.

Update

I should mention that I booted from the initial OpenSolaris 2008.05 image (which is build 86) and my audio CD plays just fine with Sound Juicer. Perhaps it's a build 94 specific problem...

[]

[]

Comments:

Post a Comment:
Comments are closed for this entry.
About

user12607856

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today