Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Nov 2008 13:44:32 +0200
From:      Andriy Gapon <avg@icyb.net.ua>
To:        Alexander Motin <mav@FreeBSD.org>
Cc:        freebsd-multimedia@FreeBSD.org
Subject:   Re: Intel 82801I hda, STAC9271D codec: problem(s)
Message-ID:  <491C1320.8060501@icyb.net.ua>
In-Reply-To: <491B2F1C.90202@FreeBSD.org>
References:  <4910CD23.9090902@icyb.net.ua> <491162E9.4020400@FreeBSD.org> <4911AA93.9050603@icyb.net.ua> <4911B9FE.6000505@FreeBSD.org> <4912E1A5.6040206@icyb.net.ua> <491AEB24.8030109@icyb.net.ua> <491AFF68.9080104@FreeBSD.org> <491B0D30.2050102@icyb.net.ua> <491B1023.2090605@icyb.net.ua> <491B18F4.10501@icyb.net.ua> <491B2F1C.90202@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
on 12/11/2008 21:31 Alexander Motin said the following:
> Andriy Gapon wrote:
>> And one more thing, glimpsed from linux:
>> http://lxr.linux.no/linux+v2.6.27.5/sound/pci/hda/patch_sigmatel.c#L690
>>
>> It seems that they program Volume Knob widget to use direct control of
>> sub-ordinate amplifiers and set the volume to max.
>> I hacked our driver to do the same by adding the following:
>>
>> +#if 1
>> +       if (w->type == HDA_PARAM_AUDIO_WIDGET_CAP_TYPE_VOLUME_WIDGET) {
>> +               hdac_command(sc,
>> +                   HDA_CMD_SET_VOLUME_KNOB(cad, nid, 0xff), cad);
>> +       }
>> +#endif
>>
>> And it seems that I got louder volume with the same mixer settings as
>> before. But maybe this is a psychological effect.
> 
> According to specification effect must be the same as setting this
> volume to all related controls directly. In your case as setting pcm and
> vol to 100.
> 

I see. Thank you!

-- 
Andriy Gapon



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