snd_hda, sound in both speaker and headphones

eculp eculp at encontacto.net
Sat Feb 2 10:30:55 PST 2008


Quoting ### <vamp1rus at mail.ru>:

>
>
> -----Original Message-----
> From: eculp <eculp at encontacto.net>
> To: ### <vamp1rus at mail.ru>
> Date: Wed, 30 Jan 2008 10:59:49 -0600
> Subject: Re: snd_hda, sound in both speaker and headphones
>
>> Quoting ### <vamp1rus at mail.ru>:
>>
>> > I have sound in both PC speaker and headphones -
>> > at the same time. The speaker does not mute when I plug in the
>> > headphone jack.
>> >
>>
>> I see the same on a 5520-5679 and assumed that it was a problem with
>> the jack, hopefully I'm wrong.
>>
>
>
> I fixed that:
> # pciconf -lv| grep -A2 pcm
> pcm0 at pci0:0:27:0:       class=0x040300 card=0x011f1025  
> chip=0x284b8086 rev=0x03 hdr=0x00
>     vendor     = 'Intel Corporation'
>     device     = '82801H &SUBSYS_81EC1043&REV_02\3&11583659&0&D8'
>
> important card=0x011f
>
> add in /usr/src/sys/dev/sound/pci/hda/hdac.c
> at line 206
> #define ACER_E5220_SUBVENDOR	HDA_MODEL_CONSTRUCT(ACER, 0x011f)
> then I search "ACER" in this file and copy
> 	{ ACER_A4710_SUBVENDOR, HDA_CODEC_ALC268, HDAC_HP_SWITCH_CTL,
> 	    0, 0, -1, 20, { 21, -1 }, -1 },
> and modify to
> 	{ ACER_E5220_SUBVENDOR, HDA_CODEC_ALC268, HDAC_HP_SWITCH_CTL,
> 	    0, 0, -1, 20, { 21, -1 }, -1 },

Just for the record the same changes but substituting the card ID  
blocks the laptop sound just fine with the headset plugged in on my  
ACCER ASPIRE AMD64 5520-5679 with the nvidia chip

pcm0 at pci0:0:7:0:        class=0x040300 card=0x01261025 chip=0x055c10de  
rev=0xa1 hdr=0x00
     vendor     = 'Nvidia Corp'
     class      = multimedia

Anyone have any suggestions to get the Microphone to work.

Thanks,

ed


More information about the freebsd-multimedia mailing list