Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jan 2007 12:44:53 +0100
From:      Ingeborg Hellemo <Ingeborg.Hellemo@cc.uit.no>
To:        Ariff Abdullah <ariff@FreeBSD.org>
Cc:        freebsd-multimedia@FreeBSD.org
Subject:   Re: snd_hda, sound in both speaker and headphones 
Message-ID:  <200701181144.l0IBirEB008321@barnetv.cc.uit.no>
In-Reply-To: Your message of "Thu, 18 Jan 2007 18:14:07 %2B0800." <20070118181407.72f29176.ariff@FreeBSD.org> 

next in thread | previous in thread | raw e-mail | index | archive | help

ariff@FreeBSD.org said:
> Did you grab the latest hdac.c and recompile? 

Yes. I have now done the following:

* Compiled with tuesdays hdac.c. Result: Sound in speaker, none in headphone. 
There is a minor difference inn dmesg:

Original hdac.c:
pcm0: HDA_DEBUG: OSS mixer initialization...
pcm0: HDA_DEBUG: Enabling Soft PCM volume

Tuesdays hdac.c:
pcm0: HDA_DEBUG: OSS mixer initialization...
pcm0: HDA_DEBUG: Pin sense: nid=21 res=0x7fffffff
pcm0: HDA_DEBUG: Enabling headphone/speaker audio routing switching:
pcm0: HDA_DEBUG:        index=4 nid=21 pci_subvendor=0x3013103c 
codec=0x10ec0260
pcm0: HDA_DEBUG: Enabling Soft PCM volume

I am not able to trigger any more "Pin sense"-lines if I plug/unplug the 
headphone. The "Pin sense"-line does not change if I load the module with or 
without the headphone plugged in.


* Compiled with todays hdac.c. Result: Sound in both speaker and headphone. 
dmesg says: 
pcm0: HDA_DEBUG: OSS mixer initialization...
pcm0: HDA_DEBUG: Enabling Soft PCM volume

~/>grep XW43 /usr/src/sys/dev/sound/pci/hda/hdac.c
#define HP_XW4300_SUBVENDOR     HDA_MODEL_CONSTRUCT(HP, 0x3013)
                if (subvendor == HP_XW4300_SUBVENDOR) {


/usr/sbin/mixer only recognise "vol, pcm, line, mic, cd, rec"


I recompile with "cd /usr/src/sys/modules/sound/; make clean cleandir; make && 
make install"

Thank you for spending time on this!


--Ingeborg




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701181144.l0IBirEB008321>