Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 02 Feb 2008 12:25:39 -0600
From:      eculp <eculp@encontacto.net>
To:        ### <vamp1rus@mail.ru>
Cc:        freebsd-multimedia@freebsd.org
Subject:   Re: Re[2]: snd_hda, sound in both speaker and headphones
Message-ID:  <20080202122539.1528276t3zkc6wg0@intranet.encontacto.net>
In-Reply-To: <E1JLDvN-000FfC-00.vamp1rus-mail-ru@f160.mail.ru>
References:  <20080130105949.19764nj3v4jzjke8@intranet.encontacto.net> <E1JLDvN-000FfC-00.vamp1rus-mail-ru@f160.mail.ru>

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

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

>
>
> -----Original Message-----
> From: eculp <eculp@encontacto.net>
> To: ### <vamp1rus@mail.ru>
> Date: Wed, 30 Jan 2008 10:59:49 -0600
> Subject: Re: snd_hda, sound in both speaker and headphones
>
>> Quoting ### <vamp1rus@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@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@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



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