mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Andreas Mohr <andi@lisas.de>
Cc: Maxim Levitsky <maximlevitsky@gmail.com>,
	linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org,
	Kernel Testers List <kernel-testers@vger.kernel.org>
Subject: Re: [alsa-devel] Bugs on aspire one A150
Date: Mon, 16 Mar 2009 15:18:20 +0100	[thread overview]
Message-ID: <s5hfxhdr1oz.wl%tiwai@suse.de> (raw)
In-Reply-To: <20090316133001.GA8437@rhlx01.hs-esslingen.de>

At Mon, 16 Mar 2009 14:30:01 +0100,
Andreas Mohr wrote:
> 
> Hi,
> 
> On Mon, Mar 16, 2009 at 01:09:50PM +0100, Takashi Iwai wrote:
> > At Mon, 16 Mar 2009 13:03:12 +0100,
> > Andreas Mohr wrote:
> > > 
> > > Hi,
> > > 
> > > On Sun, Mar 15, 2009 at 10:21:17AM +0100, Andreas Mohr wrote:
> > > > Hi,
> > > > 
> > > > On Mon, Nov 24, 2008 at 03:35:10PM +0100, Takashi Iwai wrote:
> > > > > At Sat, 22 Nov 2008 21:00:18 +0200,
> > > > > Maxim Levitsky wrote:
> > > > > > Finally, I found how to reproduce that bug,
> > > > > > I mean to get normal volume on internal mic, I have to increase volume
> > > > > > only on left or right channel.
> > > > > > 
> > > > > > So, this happens always, and _only_ when recording _mono_ sound from internal
> > > > > > mic.
> > > > > > 
> > > > > > Since hardware doesn't support hardware mono input, tested with -D hw:0
> > > > > > I suspect this to be alsa-lib bug, any ideas?
> > > > > > Happens with arecord -D plughw:0 -c1 .
> > > > > 
> > > > > What does show with -v option?
> > > > 
> > > > OK, I could fully reproduce this now (sorry for the delay!).
> > > > 
> > > > Currently 2.6.28, u8.10, model acer-aspire, libasound2 1.0.17a-0ubuntu4,
> > > > libasound2-plugins 1.0.17-0ubuntu5.
> > > 
> > > Same microphone behaviour on 2.6.29-rc8 (additionally remembered to enable
> > > CONFIG_SND_HDA_HWDEP for further testing!), u9.04, model acer-aspire,
> > > libasound2 1.0.18-1ubuntu7, libasound2-plugins 1.0.18-1ubuntu4
> > > (yes, I've just done some monster upgrade).
> > > 
> > > Will try to eventually analyze things using your _HWDEP-related tools.
> > 
> > The question in the top priority is whether it's a kernel driver
> > issue or alsa-lib converter issue.  Could you check whether the sounds
> > recorded with -Dhw (and with matching rate, format, etc) have the same
> > noise problem at first?
> 
> OK, tried arecord -v -D hw:0 -c1 test.wav, which ended with
> arecord: set_params:961: Sample format non available
> .
> 
> arecord -v -D hw:0 -c1 -f S16_LE test.wav then ended with
> arecord: set_params:966: Channels count non available
> thus completing it into a
> arecord -v -D hw:0 -c2 -f S16_LE test.wav
> worked.
> 
> Trying this line with plughw then worked (of course, since two channels
> never has any problems).
> 
> Interestingly when using plughw there seems to be some LPF effect, since
> with hw I get lots of white noise whereas with plughw the recorded sound
> is dark (no higher-frequency components at all).
> 
> And audio is always being recorded properly no matter which Capture
> sliders position.
>
> To state it more clearly, both hw and plughw have no issues whatsoever
> with -c2 -f S16_LE, any sliders position.
> If I then switch to plughw:0 -c2 -f U8 (IOW change to U8 format),
> no problems either. Trouble starts if I then change to -c1 and have
> both channel sliders about equal (if they're not equal then I'm getting
> audio returned properly).

So, the following is also problematic

	% arecord -fdat -c1 -Dplughw ng.wav

while the below works?

	% arecord -fdat -Dhw good.wav

> > And, if it's about the alsa-lib conversion problem, we can reproduce
> > without the hardware, e.g. via file plugin...
> 
> So, what to do?

Does the conversion by sox from good.wav to a mono-channel file work?


Takashi

  reply	other threads:[~2009-03-16 14:18 UTC|newest]

Thread overview: 96+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-08  3:26 Maxim Levitsky
2008-11-08 11:57 ` Alan Jenkins
2008-11-09  0:52   ` Maxim Levitsky
2008-11-09  8:54     ` [alsa-devel] " Takashi Iwai
2008-11-09 13:31       ` Andreas Mohr
2008-11-09 15:13       ` Andreas Mohr
2008-11-09 18:58         ` Takashi Iwai
2008-11-09 20:09           ` Andreas Mohr
2008-11-12 11:08             ` Takashi Iwai
2008-11-12 17:07               ` Maxim Levitsky
2008-11-12 18:05                 ` Andreas Mohr
2008-11-14 18:05                   ` Maxim Levitsky
2008-11-22 19:00                     ` Maxim Levitsky
2008-11-22 19:43                       ` Andreas Mohr
2008-11-24 14:35                       ` Takashi Iwai
2009-03-15  9:21                         ` Andreas Mohr
2009-03-16 12:03                           ` Andreas Mohr
2009-03-16 12:09                             ` Takashi Iwai
2009-03-16 13:30                               ` Andreas Mohr
2009-03-16 14:18                                 ` Takashi Iwai [this message]
2009-03-16 14:31                                   ` Andreas Mohr
2009-03-16 14:42                                     ` Takashi Iwai
2009-03-16 14:50                                       ` Andreas Mohr
2009-03-16 15:34                                         ` Takashi Iwai
2009-03-16 16:02                                           ` Andreas Mohr
2009-03-16 16:06                                             ` Takashi Iwai
2009-03-16 16:19                                               ` Takashi Iwai
2009-03-16 17:00                                                 ` Andreas Mohr
2009-03-16 17:15                                                   ` Takashi Iwai
2009-03-16 17:30                                                     ` Andreas Mohr
2009-03-16 17:34                                                       ` Takashi Iwai
2009-03-16 18:06                                                         ` Andreas Mohr
2009-03-16 20:28                                                           ` Takashi Iwai
2009-03-16 21:22                                                             ` Andreas Mohr
2009-03-17  0:52                                                               ` Maxim Levitsky
2009-03-17  7:57                                                                 ` Takashi Iwai
2009-03-17 11:30                                                                   ` Maxim Levitsky
2009-03-17 12:52                                                                     ` Takashi Iwai
2009-03-17  7:57                                                               ` Takashi Iwai
2009-03-17 10:05                                                                 ` Andreas Mohr
2009-03-17 10:38                                                                   ` Andreas Mohr
2009-03-17 10:47                                                                     ` Andreas Mohr
2009-03-17 11:25                                                                       ` Takashi Iwai
2009-03-17 16:18                                                                         ` Andreas Mohr
2009-03-17 20:32                                                                           ` Takashi Iwai
2009-03-18  9:05                                                                             ` Andreas Mohr
2009-03-18  9:19                                                                               ` Takashi Iwai
2009-03-20 18:56                                                                                 ` Andreas Mohr
2009-03-20 20:33                                                                                   ` Takashi Iwai
2009-03-22 12:55                                                                                     ` Andreas Mohr
2009-03-23  6:51                                                                                       ` Takashi Iwai
2008-11-12 17:20               ` Maxim Levitsky
2008-11-12 18:53               ` HDA-emu 0.0.1 (Re: [alsa-devel] Bugs on aspire one A150) Takashi Iwai
2008-11-09 10:43     ` Bugs on aspire one A150 Alan Jenkins
2008-11-12 17:48       ` Maxim Levitsky
2008-11-14 19:06   ` Maxim Levitsky
2008-11-14 19:59     ` Alan Jenkins
2008-11-15 12:52       ` Maxim Levitsky
2008-11-15 12:55         ` Matthew Garrett
2008-11-10 16:51 ` Bob Copeland
2008-11-10 21:33   ` Maxim Levitsky
2008-11-10 22:12     ` [ath5k-devel] " Nick Kossifidis
2008-11-12 17:51       ` Maxim Levitsky
2008-11-13 14:58         ` Bob Copeland
2008-11-14  3:47         ` Bob Copeland
2008-11-14 18:57           ` Maxim Levitsky
2008-11-17 17:28             ` Bob Copeland
2008-11-17 18:55               ` Maxim Levitsky
2008-12-01 15:33       ` Maxim Levitsky
2008-12-13 13:28       ` Maxim Levitsky
2008-12-13 14:08         ` Nick Kossifidis
2008-12-13 14:36           ` Maxim Levitsky
2008-12-13 14:38             ` Maxim Levitsky
2008-12-13 14:24         ` Bob Copeland
2008-12-13 14:31           ` Maxim Levitsky
2008-12-30  4:26           ` Bob Copeland
2008-12-30 12:43             ` Maxim Levitsky
2008-12-31  9:18               ` Andreas Mohr
2008-12-31 13:59                 ` Andreas Mohr
2008-12-31 14:06                   ` Bob Copeland
2008-12-31 14:03                 ` Bob Copeland
2008-12-31 16:51                   ` Maxim Levitsky
2009-01-01 13:41                     ` Andreas Mohr
2009-01-01 14:15                       ` Maxim Levitsky
2009-01-01 20:27                         ` Andreas Mohr
2009-01-01 15:09                       ` Bob Copeland
2008-12-13 13:15 ` Maxim Levitsky
2008-12-13 13:35   ` Rafael J. Wysocki
2008-12-13 14:21     ` Maxim Levitsky
2008-12-13 17:42       ` Rafael J. Wysocki
2008-12-13 18:04         ` Maxim Levitsky
2008-12-14 22:29   ` J.A. Magallón
2008-12-14 22:57   ` J.A. Magallón
2008-12-14 23:18     ` Maxim Levitsky
2008-12-14 23:24       ` J.A. Magallón
2008-12-14 23:35   ` J.A. Magallón

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=s5hfxhdr1oz.wl%tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=andi@lisas.de \
    --cc=kernel-testers@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maximlevitsky@gmail.com \
    /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

all inboxes | Powered by JetHome®