From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: CMI8330: success ! Date: Tue, 21 Jan 2003 11:16:32 +0100 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <87el83q0oh.fsf@merceron.meteo.fr> <873cnxz8pz.fsf@merceron.meteo.fr> <87ptqy3ij6.fsf_-_@merceron.meteo.fr> <87el7bkhk4.fsf@merceron.meteo.fr> <8765skqhq7.fsf@merceron.meteo.fr> <87of6aolqs.fsf@merceron.meteo.fr> Mime-Version: 1.0 (generated by SEMI 1.14.4 - "Hosorogi") Content-Type: multipart/mixed; boundary="Multipart_Tue_Jan_21_11:16:32_2003-1" Return-path: In-Reply-To: <87of6aolqs.fsf@merceron.meteo.fr> Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Bernard Urban Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org --Multipart_Tue_Jan_21_11:16:32_2003-1 Content-Type: text/plain; charset=US-ASCII Hi, At 21 Jan 2003 11:11:55 +0100, Bernard Urban wrote: > > > > Capture for cmi8330: no success at all, with or without > > > PLAYBACK_ON_SB, and ENABLE_SB_MIXER defined. > > > But I noticed that I cannot capture (mic recording) with DOS or > > > Windows either on this machine. The microphone is ok, it is the same > > > used for the successful SB16 test. So it is not out of possibility there is > > > a hardware problem on my mainboard (the chip is on it, not on an add-on > > > card). I have not currently the possibility to test the "line in" entry. > > > I will perhaps test the CD one if it makes sense ? > > > > yes, but make sure that you connected the CD-cable :) > > > > Good news, capture works with CD ! > > Only one gotcha (probably not related to the cmi8330 driver): > there are "Line Capture Volume", "Mic Capture Volume" > and "CD Capture Volume" controls. The first 2 appear in alsamixer, > but not the CD one ? > So you must raise the CD capture volume with amixer. it's a typo in the driver. please try the attached patch. Takashi --Multipart_Tue_Jan_21_11:16:32_2003-1 Content-Type: application/octet-stream Content-Disposition: attachment; filename="cmi-cd-vol-fix.dif" Content-Transfer-Encoding: 7bit Index: alsa-kernel/isa/cmi8330.c =================================================================== RCS file: /suse/tiwai/cvs/alsa/alsa-kernel/isa/cmi8330.c,v retrieving revision 1.12 diff -u -r1.12 cmi8330.c --- alsa-kernel/isa/cmi8330.c 9 Jan 2003 10:45:09 -0000 1.12 +++ alsa-kernel/isa/cmi8330.c 21 Jan 2003 10:14:38 -0000 @@ -59,7 +59,7 @@ /* */ -#define ENABLE_SB_MIXER +/* #define ENABLE_SB_MIXER */ #define PLAYBACK_ON_SB /* @@ -209,7 +209,7 @@ AD1848_DOUBLE("CD Playback Switch", 0, CMI8330_MUTEMUX, CMI8330_MUTEMUX, 2, 1, 1, 0), AD1848_DOUBLE("CD Capture Switch", 0, CMI8330_RMUX3D, CMI8330_RMUX3D, 4, 3, 1, 0), AD1848_DOUBLE("CD Playback Volume", 0, CMI8330_CDINVOL, CMI8330_CDINVOL, 4, 0, 15, 0), -AD1848_DOUBLE("CD Capture Switch", 0, CMI8330_CDINGAIN, CMI8330_CDINGAIN, 4, 0, 15, 0), +AD1848_DOUBLE("CD Capture Volume", 0, CMI8330_CDINGAIN, CMI8330_CDINGAIN, 4, 0, 15, 0), AD1848_SINGLE("Mic Playback Switch", 0, CMI8330_MUTEMUX, 0, 1, 0), AD1848_SINGLE("Mic Playback Volume", 0, CMI8330_OUTPUTVOL, 0, 7, 0), AD1848_SINGLE("Mic Capture Switch", 0, CMI8330_RMUX3D, 0, 1, 0), --Multipart_Tue_Jan_21_11:16:32_2003-1-- ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com