HI,

For the record, Edgar Liu has solved this one for me with the new audiohd 
driver from build135.

For the benefit of anyone else with a similar system, this is my actual 
hardware in slightly more detail :

ste...@gollum:/var/tmp$ pfexec audioctl show-device
Device: /dev/sound/audiohd:0mixer
Name    = audiohd#0
Config  = Intel HD Audio (ICH9)
HW Info = HD codec: Integrated Devices 92HD75B3X5 HD codec: nVidia 
MCP78 HDMI

Regards,

Steve

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Steve Franks
Sent: Thursday, 4 March 2010 3:11 PM
To: [email protected]
Subject: [driver-discuss] audiohd problem?

HI,

My local opensolaris user group guru advised me to raise my audio 
problems with this list.

I started with a new HP pavillion DV6 laptop & installed opensol 2009.06 
- which i see from uname -a is snv_111b.

Once the X server starts I get white noise from the speakers.  I can 
stop this by plugging in headphones but it starts again shortly after.  
Re-plugging the headphones turns the noise off again.  THis makes sense 
as I am redirecting the audio output & it would appear that the 
headphones are fine.  I imagine that the driver touches the devices 
several times during the boot hence the noise restarts.

The white noise is at mid-level to high volume. 

After a while, I determined that there were other sounds (welcome 
jingles etc) coming out but but they are very hard to hear.

This appears to be an near exact match for bug 9308.

A bit more experimentation : headphones get clean & clear jingles & 
system sounds.  I have not been able to play any complex audio files etc 
but I never expected totem & the cd player etc to work out of the box 
anyway.

It seems that generating any sound thru the speakers - eg, by playing a 
theme sound with the headphones unplugged - starts the white noise again.

I have completed an image upgrade from the dev repository (now at 
snv_133).  It did not solve the problem (in fact, it broke the package 
GUI & made the wired network a bit flaky but I will deal with that 
later).  What the upgrade did do was change the problem footprint slightly :

THe white noise now lasts for the duration of the boot and I cannot stop 
it by plugging in headphones.  It stops when I log in but if I generate 
a sound (eg, by playing with system sounds), it comes back - I can still 
hear the correct sound under the noise though.  Now, I can add the 
headphones back and stop the sound : but only if I generate a sound - it 
appears that the audio redirection does not happen until an audio event 
happens.

I have gathered a little information that may be relevant :

ste...@gollum:~$ prtconf -PvD | grep -i audio
        pci103c,3629, instance #0 (driver name: audiohd)
                name='audiohd_beep' type=int items=1
                        dev_link=/dev/sound/audiohd:0mixer
                        dev_link=/dev/sound/audiohd:0dsp
                    dev_path=/p...@0,0/pci103c,3...@1b:sound,audio0
                        dev_link=/dev/sound/audiohd:0
                    dev_path=/p...@0,0/pci103c,3...@1b:sound,audioctl0
                        dev_link=/dev/sound/audiohd:0ctl
        audio, instance #0 (driver name: audio)
                    dev_path=/pseudo/au...@0:sound,sndstat0
        lx_audio, instance #0 (driver name: lx_audio)

This seems ok?  I tried adding pci103c,3629 to /etc/driver_aliases for 
audiohd as I have had success with this technique before.  Not this 
time.  And the driver is clearly already bound in any case.

ste...@gollum:~$ pfexec audiotest
Sound subsystem and version: SunOS Audio 4.0 (0x00040003)
Platform: SunOS 5.11 snv_133 i86pc

*** Scanning sound adapter #1 ***
/dev/sound/audiohd:0dsp (audio engine 0): audiohd#0
  - Performing audio playback test...
        <left> ................OK
        <right> ...............OK
        <stereo> ..............OK
        <measured sample rate 47968.00 Hz (-0.07%)>

THis seems OK - and makes sense in that I can hear system sounds, it is 
just that there is white noise over the top of it.

ste...@gollum:~$ pfexec scanpci

<...snip...>
pci bus 0x0000 cardnum 0x1b function 0x00: vendor 0x8086 device 0x293e
 Intel Corporation 82801I (ICH9 Family) HD Audio Controller
<...snip...>

As best I can tell, this is a fairly standard audio device - nothing 
wacky about it?  This is a dual boot box & Windows7 seems to have no 
issues with the audio device so I presume the problem is in the opensol 
driver.

Tried OSS drivers as I have used them successfully on Solaris 10.  Even 
though they are claimed to support OpenSOl, all I got was a panic.

Backed out my upgrade and re-did it.  I have since learned about an OSS 
port called Boomer that has been integrated from build 115.  Is there 
any trickery about using this?

Tried xset -b and muting the speakers with the gnome volume slider - 
made no difference to the white noise.

Rgds

Steve
_______________________________________________
driver-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/driver-discuss
_______________________________________________
driver-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/driver-discuss

Reply via email to