Intel 82801I hda, STAC9271D codec: problem(s)
Andriy Gapon
avg at icyb.net.ua
Thu Nov 13 03:44:36 PST 2008
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
More information about the freebsd-multimedia
mailing list