Re: snd_hda and front headphones jack

2013-03-25 Thread David Demelier
Try something like :

In /boot/device.hints

hint.hdaa.4.nid31.config="as=1 seq=0" # or seq=1 if does not work
hint.hdaa.4.nid25.config="as=1 seq=15"

Also don't forget to add hw.snd.default_unit=4 in your /etc/sysctl.conf

Regards,


2013/3/12 Mark Felder :
> Hi guys,
>
> I seem to be having problems getting my front headphones jack to work. I've
> read the snd_hda man page and perhaps I'm doing this wrong, but here's my
> setup:
>
>
> dev.hdaa.4.%desc: Conexant CX20641 Audio Function Group
> dev.hdaa.0.nid5_original: 0x18560010 as=1 seq=0 device=Digital-out conn=Jack
> ctype=Digital loc=0x18 color=Unknown misc=0
> dev.hdaa.1.nid5_original: 0x18560010 as=1 seq=0 device=Digital-out conn=Jack
> ctype=Digital loc=0x18 color=Unknown misc=0
> dev.hdaa.2.nid5_original: 0x18560010 as=1 seq=0 device=Digital-out conn=Jack
> ctype=Digital loc=0x18 color=Unknown misc=0
> dev.hdaa.3.nid5_original: 0x18560010 as=1 seq=0 device=Digital-out conn=Jack
> ctype=Digital loc=0x18 color=Unknown misc=0
> dev.hdaa.4.nid24_original: 0x40f001f0 as=15 seq=0 device=Other conn=None
> ctype=Unknown loc=0x00 color=Unknown misc=1
> dev.hdaa.4.nid25_original: 0x02214040 as=4 seq=0 device=Headphones conn=Jack
> ctype=1/8 loc=Front color=Green misc=0
> dev.hdaa.4.nid26_original: 0x02a19020 as=2 seq=0 device=Mic conn=Jack
> ctype=1/8 loc=Front color=Pink misc=0
> dev.hdaa.4.nid27_original: 0x01a1903e as=3 seq=14 device=Mic conn=Jack
> ctype=1/8 loc=Rear color=Pink misc=0
> dev.hdaa.4.nid28_original: 0x01014010 as=1 seq=0 device=Line-out conn=Jack
> ctype=1/8 loc=Rear color=Green misc=0
> dev.hdaa.4.nid29_original: 0x01813030 as=3 seq=0 device=Line-in conn=Jack
> ctype=1/8 loc=Rear color=Blue misc=0
> dev.hdaa.4.nid30_original: 0x40f001f0 as=15 seq=0 device=Other conn=None
> ctype=Unknown loc=0x00 color=Unknown misc=1
> dev.hdaa.4.nid31_original: 0x9217011f as=1 seq=15 device=Speaker conn=Fixed
> ctype=Analog loc=0x12 color=Unknown misc=1
> dev.hdaa.4.nid32_original: 0x40f001f0 as=15 seq=0 device=Other conn=None
> ctype=Unknown loc=0x00 color=Unknown misc=1
> dev.hdaa.4.nid33_original: 0x40f001f0 as=15 seq=0 device=Other conn=None
> ctype=Unknown loc=0x00 color=Unknown misc=1
> dev.hdaa.4.nid38_original: 0x40f001ff as=15 seq=15 device=Other conn=None
> ctype=Unknown loc=0x00 color=Unknown misc=1
>
>
> If I am looking at this right I believe I need to set nid25 to as=1 which
> matches the nid31 Speaker and probably also set seq=15. However, this
> doesn't seem to be working. Am I overlooking something obvious?
>
>
> Thanks
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"



-- 
Demelier David
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: snd_hda and front headphones jack

2013-03-24 Thread kaltheat
On Tue, Mar 12, 2013 at 08:55:49AM -0500, Mark Felder wrote:
> Hi guys,
> 
> I seem to be having problems getting my front headphones jack to work.  
> I've read the snd_hda man page and perhaps I'm doing this wrong, but  
> here's my setup:
> 
> ... 
> 
> If I am looking at this right I believe I need to set nid25 to as=1 which  
> matches the nid31 Speaker and probably also set seq=15. However, this  
> doesn't seem to be working. Am I overlooking something obvious?
> 
> 
> Thanks
> 

Hi,

in my setup I disabled all pins referring to "Unknown" and I disabled pins I 
don't need by setting as=0 without having any issues. I put Headphones and 
Speaker in same association (anything between 0 and 15, not 0, not 15), then I 
gave Headphones seq=15 and Speaker seq=14. As mentioned in manpage seq=15 for 
headphones will duplicate first pin in association, that would be Speaker. If I 
remember correctly online reconfiguring of device using dev.hdaa.*.reconfig 
sysctl-variable produced in some cases different devices than rebooting system 
with same changes of default configuration in device.hints.

Regards,
kaltheat


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: snd_hda and front headphones jack

2013-03-12 Thread Joe Altman
On Tue, Mar 12, 2013 at 08:55:49AM -0500, Mark Felder wrote:
> Hi guys,
> 
> I seem to be having problems getting my front headphones jack to work.
>
 
> 
> If I am looking at this right I believe I need to set nid25 to as=1 which  
> matches the nid31 Speaker and probably also set seq=15. However, this  
> doesn't seem to be working. Am I overlooking something obvious?

In XMMS, which is what I use, I have to choose the Front Analog (pcm 2)
via Options => Preferences => Configure => Output Plugin for the front
headphone jack. Normally, I have it set to Rear Digital (pcm 3) for
speakers.

HTH, 

Joe
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


snd_hda and front headphones jack

2013-03-12 Thread Mark Felder

Hi guys,

I seem to be having problems getting my front headphones jack to work.  
I've read the snd_hda man page and perhaps I'm doing this wrong, but  
here's my setup:



dev.hdaa.4.%desc: Conexant CX20641 Audio Function Group
dev.hdaa.0.nid5_original: 0x18560010 as=1 seq=0 device=Digital-out  
conn=Jack ctype=Digital loc=0x18 color=Unknown misc=0
dev.hdaa.1.nid5_original: 0x18560010 as=1 seq=0 device=Digital-out  
conn=Jack ctype=Digital loc=0x18 color=Unknown misc=0
dev.hdaa.2.nid5_original: 0x18560010 as=1 seq=0 device=Digital-out  
conn=Jack ctype=Digital loc=0x18 color=Unknown misc=0
dev.hdaa.3.nid5_original: 0x18560010 as=1 seq=0 device=Digital-out  
conn=Jack ctype=Digital loc=0x18 color=Unknown misc=0
dev.hdaa.4.nid24_original: 0x40f001f0 as=15 seq=0 device=Other conn=None  
ctype=Unknown loc=0x00 color=Unknown misc=1
dev.hdaa.4.nid25_original: 0x02214040 as=4 seq=0 device=Headphones  
conn=Jack ctype=1/8 loc=Front color=Green misc=0
dev.hdaa.4.nid26_original: 0x02a19020 as=2 seq=0 device=Mic conn=Jack  
ctype=1/8 loc=Front color=Pink misc=0
dev.hdaa.4.nid27_original: 0x01a1903e as=3 seq=14 device=Mic conn=Jack  
ctype=1/8 loc=Rear color=Pink misc=0
dev.hdaa.4.nid28_original: 0x01014010 as=1 seq=0 device=Line-out conn=Jack  
ctype=1/8 loc=Rear color=Green misc=0
dev.hdaa.4.nid29_original: 0x01813030 as=3 seq=0 device=Line-in conn=Jack  
ctype=1/8 loc=Rear color=Blue misc=0
dev.hdaa.4.nid30_original: 0x40f001f0 as=15 seq=0 device=Other conn=None  
ctype=Unknown loc=0x00 color=Unknown misc=1
dev.hdaa.4.nid31_original: 0x9217011f as=1 seq=15 device=Speaker  
conn=Fixed ctype=Analog loc=0x12 color=Unknown misc=1
dev.hdaa.4.nid32_original: 0x40f001f0 as=15 seq=0 device=Other conn=None  
ctype=Unknown loc=0x00 color=Unknown misc=1
dev.hdaa.4.nid33_original: 0x40f001f0 as=15 seq=0 device=Other conn=None  
ctype=Unknown loc=0x00 color=Unknown misc=1
dev.hdaa.4.nid38_original: 0x40f001ff as=15 seq=15 device=Other conn=None  
ctype=Unknown loc=0x00 color=Unknown misc=1



If I am looking at this right I believe I need to set nid25 to as=1 which  
matches the nid31 Speaker and probably also set seq=15. However, this  
doesn't seem to be working. Am I overlooking something obvious?



Thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"