All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Bernard Urban <Bernard.Urban@meteo.fr>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: CMI8330: success !
Date: Tue, 21 Jan 2003 11:16:32 +0100	[thread overview]
Message-ID: <s5hu1g24xkv.wl@alsa2.suse.de> (raw)
In-Reply-To: <87of6aolqs.fsf@merceron.meteo.fr>

[-- Attachment #1: Type: text/plain, Size: 1067 bytes --]

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

[-- Attachment #2: cmi-cd-vol-fix.dif --]
[-- Type: application/octet-stream, Size: 1104 bytes --]

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),

  reply	other threads:[~2003-01-21 10:16 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-16 15:15 Requested: CMI8330 testers? Takashi Iwai
2002-12-27  9:19 ` Bernard Urban
2003-01-08 13:00   ` Takashi Iwai
2003-01-08 16:17     ` Takashi Iwai
2003-01-09 10:55       ` Takashi Iwai
     [not found]         ` <873cnxz8pz.fsf@merceron.meteo.fr>
     [not found]           ` <s5hel7hwf4p.wl@alsa2.suse.de>
     [not found]             ` <87ptqy3ij6.fsf_-_@merceron.meteo.fr>
2003-01-17 13:54               ` CMI8330: success ! Bernard Urban
2003-01-20  9:43                 ` Bernard Urban
2003-01-20  9:56                   ` Takashi Iwai
2003-01-21 10:11                     ` Bernard Urban
2003-01-21 10:16                       ` Takashi Iwai [this message]
2003-01-09 15:00     ` Requested: CMI8330 testers? Bernard Urban
2003-01-10 13:29       ` SB 16 driver OSS emulation Bernard Urban

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=s5hu1g24xkv.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=Bernard.Urban@meteo.fr \
    --cc=alsa-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.