Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: bugtrack@alsa-project.org
To: alsa-devel@alsa-project.org
Subject: [ALSA - driver 0000653]: poor microphone recording quality on pcicmi
Date: Mon, 27 Jun 2005 15:58:45 +0200	[thread overview]
Message-ID: <d7e1138b69caa7f8ffd6b9bf7d62b3db@bugtrack.alsa-project.org> (raw)


The following issue has been set as RELATED TO issue 0001192.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=653> 
======================================================================
Reported By:                pbienst
Assigned To:                tiwai
======================================================================
Project:                    ALSA - driver
Issue ID:                   653
Category:                   PCI - cmipci
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Distribution:               Gentoo
Kernel Version:             2.6.9-gentoo-r4
======================================================================
Date Submitted:             11-18-2004 10:58 CET
Last Modified:              06-27-2005 15:58 CEST
======================================================================
Summary:                    poor microphone recording quality on pcicmi
Description: 
I have a C-Media PCI CMI8738-MC6 (rev 16) from a Hercules Muse DVD soundd
card.

When recording from a headset microphone, sound quality is really bad: low

volume and quite some noise / distortion.

I have my microphone mixers maxed out, 'Mic boost' is on, 'Mic as
Center/LFE' 
is off.

I've fiddled with all the other options, but they don't seem to affect the

quality.

I do my recording with:

arecord -D hw:1,0 -d 4 test.wav

Under Windows, sound quality is a lot better with the same setup.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0001192 Microphone doesn't work in record and/o...
======================================================================

----------------------------------------------------------------------
 tiwai - 11-18-04 18:07 
----------------------------------------------------------------------
Could you try the attached patch and play with "MICBST", "EMUCB"
and "VADMIC3" mixer switches?

(AFAIK, "Mic Boost" affects only the mic playback volume.)

----------------------------------------------------------------------
 pbienst - 11-18-04 19:11 
----------------------------------------------------------------------
I applied the patch, but I'm not able to change these settings. With
alsamixer, they don't budge, and with amixer I get:

pbienst@pbienst:~: amixer -c 1 set MICBST unmute
Simple mixer control 'MICBST',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]

But immediately afterwards:

pbienst@pbienst:~: amixer -c 1 get MICBST
Simple mixer control 'MICBST',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]

----------------------------------------------------------------------
 pbienst - 11-18-04 19:26 
----------------------------------------------------------------------
In the absense of any user controls, I tried changing the options by
changing e.g.

CMIPCI_MIXER_SW_MONO("MICBST", CM_REG_EXTENT_IND, 2, 0),

to

CMIPCI_MIXER_SW_MONO("MICBST", CM_REG_EXTENT_IND, 2, 1),

In the module.

Unfortunately, none of these options seems to make any difference.

Trouble is course that there are so many different options, and if they
interact, it's like a combinatorial explosion.

Are there any mixer settings which could be important, and others which
are definitely unimportant for this problem?

----------------------------------------------------------------------
 tiwai - 11-18-04 19:33 
----------------------------------------------------------------------
They could be read only.  Do all of them behave so?

----------------------------------------------------------------------
 pbienst - 11-18-04 19:36 
----------------------------------------------------------------------
Yes, all 3 of them behave like that. But changing the driver source as I
did should have done the trick too?

----------------------------------------------------------------------
 tiwai - 11-18-04 19:54 
----------------------------------------------------------------------
No, the last argument is the inverse - you just flipped the meaning of 0
and 1.  So these bits also play nothing.

It seems that all existing mixer switches have no influence on your
problem at all.  No matter which combination, it's liekly useless.

Sorry, simply lack of hardware information.  I can't do any more.

----------------------------------------------------------------------
 pbienst - 11-18-04 20:01 
----------------------------------------------------------------------
Well, I don't think we have explored all options then, since I haven't been
able to set the "MICBST", "EMUCB" and "VADMIC3" mixer switches.

Which lines in the driver do I need to change to set these?

----------------------------------------------------------------------
 tiwai - 11-18-04 20:22 
----------------------------------------------------------------------
When you can't change the values via amixer properly, they are read-only 
values.  Changing the driver won't help then.  You can forget the patch.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
11-18-04 10:58 pbienst        New Issue                                    
11-18-04 10:58 pbienst        Distribution              => Gentoo          
11-18-04 10:58 pbienst        Kernel Version            => 2.6.9-gentoo-r4 
11-18-04 18:07 tiwai          Note Added: 0002453                          
11-18-04 18:08 tiwai          File Added: cmipci-test.diff                    
11-18-04 19:11 pbienst        Note Added: 0002459                          
11-18-04 19:26 pbienst        Note Added: 0002460                          
11-18-04 19:33 tiwai          Note Added: 0002461                          
11-18-04 19:36 pbienst        Note Added: 0002462                          
11-18-04 19:54 tiwai          Note Added: 0002467                          
11-18-04 20:01 pbienst        Note Added: 0002468                          
11-18-04 20:22 tiwai          Note Added: 0002469                          
06-27-05 15:58 tiwai          Relationship added       related to 0001192  
======================================================================




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click

             reply	other threads:[~2005-06-27 13:58 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-27 13:58 bugtrack [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-07-28  8:58 [ALSA - driver 0000653]: poor microphone recording quality on pcicmi bugtrack
2005-11-07 19:56 bugtrack
2005-06-27 13:59 bugtrack
2004-11-18 19:22 bugtrack
2004-11-18 19:01 bugtrack
2004-11-18 18:54 bugtrack
2004-11-18 18:36 bugtrack
2004-11-18 18:33 bugtrack
2004-11-18 18:26 bugtrack
2004-11-18 18:11 bugtrack
2004-11-18 17:07 bugtrack
2004-11-18  9:58 bugtrack

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=d7e1138b69caa7f8ffd6b9bf7d62b3db@bugtrack.alsa-project.org \
    --to=bugtrack@alsa-project.org \
    --cc=alsa-devel@alsa-project.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox