From: Takashi Iwai Subject: Re: PCM Volume on FSC V5505 Date: Thu, 29 Nov 2007 15:27:34 +0100 Message-ID: References: <200711231745.21199.dl9pf@gmx.de> <200711291602.10082.dl9pf@gmx.de> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 677E124464 for ; Thu, 29 Nov 2007 16:09:45 +0100 (CET) In-Reply-To: <200711291602.10082.dl9pf@gmx.de> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Jan-Simon =?ISO-8859-1?Q?M=F6ller?= Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Thu, 29 Nov 2007 16:02:09 +0100, Jan-Simon M=F6ller wrote: > = > The levels were 0-43 on Master and PCM. > When PCM was over 20 it sounded ugly. In the recent version of alsamixer, you must be able to see the corresponding dB level. I guess it's 0dB. > Your patch fixed it with PCM. = > Master now 0-43, PCM now 0-20 . > What about the inputs are they affected before/after the patch ? Which inputs, more exactly? Takashi > = > Many thanks ! > = > Best regards > Jan-Simon > = > = > Am Dienstag 27 November 2007 16:23:08 schrieb Takashi Iwai: > > At Tue, 27 Nov 2007 16:19:56 +0100, > > > > I wrote: > > > At Fri, 23 Nov 2007 17:45:21 +0100, > > > > > > Jan-Simon M=F6ller wrote: > > > > Hi ! > > > > With the patches, the sound works - well done! > > > > But I need to make sure the PCM volume is max @ 50% . > > > > If its over 50% sound is clipped and ugly (overload?). > > > > > > Looks like so. Mixer apps (e.g. alsamixer) can show its dB value > > > instead of percent. Check the dB level shown there. > > > > > > The patch below may fix this issue. Give it a try. > > > > Argh, the patch is wrong. Use the below instead. > > > > > > Takashi > > > > diff -r 17223a4918b4 pci/hda/patch_conexant.c > > --- a/pci/hda/patch_conexant.c Tue Nov 27 15:27:17 2007 +0100 > > +++ b/pci/hda/patch_conexant.c Tue Nov 27 16:50:37 2007 +0100 > > @@ -826,6 +826,17 @@ static int patch_cxt5045(struct hda_code > > spec->init_verbs[0] =3D cxt5045_test_init_verbs; > > #endif > > } > > + > > + /* > > + * Fix max PCM level to 0 dB > > + * (originall it has 0x2b steps with 0dB offset 0x14) > > + */ > > + snd_hda_override_amp_caps(codec, 0x17, HDA_INPUT, > > + (0x14 << AC_AMPCAP_OFFSET_SHIFT) | > > + (0x14 << AC_AMPCAP_NUM_STEPS_SHIFT) | > > + (0x05 << AC_AMPCAP_STEP_SIZE_SHIFT) | > > + (1 << AC_AMPCAP_MUTE_SHIFT)); > > + > > return 0; > > } > > > > _______________________________________________ > > Alsa-devel mailing list > > Alsa-devel@alsa-project.org > > http://mailman.alsa-project.org/mailman/listinfo/alsa-devel > = > = > = > -- = > Jan-Simon M=F6ller > Schaumburgstra=DFe 2 > 30419 Hannover > = > +49 511 2700750 > +49 177 3017915 > =