Date: Wed, 12 Nov 2008 19:57:08 +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: <491B18F4.10501@icyb.net.ua> In-Reply-To: <491B1023.2090605@icyb.net.ua> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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. -- Andriy Gapon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?491B18F4.10501>