kernel-testers.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Maxim Levitsky <maximlevitsky-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Andreas Mohr <andi-5+Cda9B46AM@public.gmane.org>
Cc: Takashi Iwai <tiwai-l3A5Bk7waGM@public.gmane.org>,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw@public.gmane.org,
	Kernel Testers List
	<kernel-testers-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: [alsa-devel] Bugs on aspire one A150
Date: Sat, 22 Nov 2008 21:00:18 +0200	[thread overview]
Message-ID: <492856C2.8000707@gmail.com> (raw)
In-Reply-To: <491DBDEA.9010104-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>

Maxim Levitsky wrote:
> Andreas Mohr wrote:
>> Hi,
>>
>> On Wed, Nov 12, 2008 at 07:07:04PM +0200, Maxim Levitsky wrote:
>>> I pretty much studied the datasheet and driver, and this is what I 
>>> found:
>>> btw, my acer 5720 and aspire one share same ALC268.
>>> Some stuff is trivially fixable, some seems to be unfixable at all:
>>
>> Wow, what an extremely in-depth analysis!
>> I just intended to dive into getting mic routing corrected myself,
>> thus you saved me a lot of time!
>>
>>> model=acer is used on my regular laptop.
>>> model-acer-aspire is used on aspire one laptop, and it needs to be 
>>> renamed, as both are aspire.
>>
>> +1 (your analysis of both being rather different - as already pondered -
>> confirms this necessity)
>>
>>> And now for unfixable problems:
>>>
>>> 1) There is strong DC offset on all inputs.
>>> it is even different on left/right and depends on capture volume.
>>> I tried to change the VREF only param that could help, but it doesn't.
>>> I feel that this is hardware flaw.
>>> (It is possible that voltage on inputs is created by circuit made by 
>>> acer, and then ALC268 amplifies it.)
>>
>> Sounds like really bad circuit design then.
>> One would think that the Intel HDA architecture might have builtin
>> measures to compensate for this if needed? DC offset issues on
>> soundcards aren't exactly a new phenomenon after all...
>>
>>> Lastly I noticed that datasheet mentions so called 'coefficients':
>>> the codecs exposes lots of internal and undocumented registers using 
>>> set address/ get/set value scheme.
>>> maybe some of above bugs are fixable there, but ether realtek has to 
>>> provide data for that or reverse engineering of
>>> windows driver is required.
>>
>> I've actually had a peek at the .inf files since I thought that it would
>> already contain register values in those registry keys that it creates on
>> install, but yeah, that's all in-driver it seems.
>> Probably time to ask Acer about specifics, especially since I didn't spot
>> any hda-intel changes in their linux-2.6.23.9lw source.
>>
>> Thank you very much,
>>
>> Andreas Mohr
> 
> Small update:
> 
> 1) The dc offset isn't present on aspire one, really is a circuit design 
> bug I guess 2) Internal mic works perfectly on aspire one, can reproduce 
> the strange behaver at all,
> Probably this was mixer bug.
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 .

Best regards,
	Maxim Levitsky





> 
> So aspire one support is almost, only need to add support to restore 
> beep volume
> after resume.
> 
> 
> Best regards,
>     Maxim Levitsky
> 
> 

  parent reply	other threads:[~2008-11-22 19:00 UTC|newest]

Thread overview: 58+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <491506DB.1070000@gmail.com>
     [not found] ` <491506DB.1070000-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2008-11-08 11:57   ` Bugs on aspire one A150 Alan Jenkins
2008-11-09  0:52     ` Maxim Levitsky
     [not found]       ` <49163435.20301-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2008-11-09  8:54         ` [alsa-devel] " Takashi Iwai
2008-11-09 13:31           ` Andreas Mohr
2008-11-09 15:13           ` Andreas Mohr
     [not found]             ` <20081109151323.GA18705-p/qQFhXj4MHA4IYVXhSI5GHfThorsUsI@public.gmane.org>
2008-11-09 18:58               ` [alsa-devel] " Takashi Iwai
2008-11-09 20:09                 ` Andreas Mohr
     [not found]                   ` <20081109200929.GA29333-p/qQFhXj4MHA4IYVXhSI5GHfThorsUsI@public.gmane.org>
2008-11-12 11:08                     ` [alsa-devel] " Takashi Iwai
2008-11-12 17:07                       ` Maxim Levitsky
     [not found]                         ` <491B0D38.1050207-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2008-11-12 18:05                           ` [alsa-devel] " Andreas Mohr
     [not found]                             ` <20081112180519.GA21919-p/qQFhXj4MHA4IYVXhSI5GHfThorsUsI@public.gmane.org>
2008-11-14 18:05                               ` Maxim Levitsky
     [not found]                                 ` <491DBDEA.9010104-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2008-11-22 19:00                                   ` Maxim Levitsky [this message]
2008-11-22 19:43                                     ` Andreas Mohr
     [not found]                                     ` <492856C2.8000707-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2008-11-24 14:35                                       ` [alsa-devel] " Takashi Iwai
2009-03-15  9:21                                         ` Andreas Mohr
2009-03-16 12:03                                           ` Andreas Mohr
     [not found]                                             ` <20090316120312.GA19299-p/qQFhXj4MHA4IYVXhSI5GHfThorsUsI@public.gmane.org>
2009-03-16 12:09                                               ` [alsa-devel] " Takashi Iwai
2009-03-16 13:30                                                 ` Andreas Mohr
     [not found]                                                   ` <20090316133001.GA8437-p/qQFhXj4MHA4IYVXhSI5GHfThorsUsI@public.gmane.org>
2009-03-16 14:18                                                     ` [alsa-devel] " Takashi Iwai
2009-03-16 14:31                                                       ` Andreas Mohr
2009-03-16 14:42                                                         ` Takashi Iwai
2009-03-16 14:50                                                           ` Andreas Mohr
     [not found]                                                             ` <20090316145036.GA26358-p/qQFhXj4MHA4IYVXhSI5GHfThorsUsI@public.gmane.org>
2009-03-16 15:34                                                               ` [alsa-devel] " Takashi Iwai
2009-03-16 16:02                                                                 ` Andreas Mohr
2009-03-16 16:06                                                                   ` Takashi Iwai
     [not found]                                                                     ` <s5hwsappi44.wl%tiwai-l3A5Bk7waGM@public.gmane.org>
2009-03-16 16:19                                                                       ` [alsa-devel] " Takashi Iwai
2009-03-16 17:00                                                                         ` Andreas Mohr
2009-03-16 17:15                                                                           ` Takashi Iwai
     [not found]                                                                             ` <s5hljr5pex0.wl%tiwai-l3A5Bk7waGM@public.gmane.org>
2009-03-16 17:30                                                                               ` [alsa-devel] " Andreas Mohr
     [not found]                                                                                 ` <20090316173000.GA25647-p/qQFhXj4MHA4IYVXhSI5GHfThorsUsI@public.gmane.org>
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
     [not found]                                                                                           ` <20090316212227.GA29471-p/qQFhXj4MHA4IYVXhSI5GHfThorsUsI@public.gmane.org>
2009-03-17  0:52                                                                                             ` [alsa-devel] " Maxim Levitsky
2009-03-17  7:57                                                                                               ` Takashi Iwai
     [not found]                                                                                                 ` <s5heiwwzim7.wl%tiwai-l3A5Bk7waGM@public.gmane.org>
2009-03-17 11:30                                                                                                   ` [alsa-devel] " Maxim Levitsky
2009-03-17 12:52                                                                                                     ` Takashi Iwai
2009-03-17  7:57                                                                                           ` Takashi Iwai
     [not found]                                                                                             ` <s5hfxhczinh.wl%tiwai-l3A5Bk7waGM@public.gmane.org>
2009-03-17 10:05                                                                                               ` [alsa-devel] " Andreas Mohr
2009-03-17 10:38                                                                                                 ` Andreas Mohr
     [not found]                                                                                                   ` <20090317103845.GA26007-p/qQFhXj4MHA4IYVXhSI5GHfThorsUsI@public.gmane.org>
2009-03-17 10:47                                                                                                     ` [alsa-devel] " Andreas Mohr
2009-03-17 11:25                                                                                                       ` Takashi Iwai
     [not found]                                                                                                         ` <s5h3adcpf1i.wl%tiwai-l3A5Bk7waGM@public.gmane.org>
2009-03-17 16:18                                                                                                           ` [alsa-devel] " 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
     [not found]                                                                                                                       ` <s5hmybgnddc.wl%tiwai-l3A5Bk7waGM@public.gmane.org>
2009-03-22 12:55                                                                                                                         ` [alsa-devel] " Andreas Mohr
     [not found]                                                                                                                           ` <20090322125517.GA26498-p/qQFhXj4MHA4IYVXhSI5GHfThorsUsI@public.gmane.org>
2009-03-23  6:51                                                                                                                             ` Takashi Iwai
2008-11-12 17:20                       ` Maxim Levitsky
     [not found]                       ` <s5hiqqtkxqr.wl%tiwai-l3A5Bk7waGM@public.gmane.org>
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
     [not found]     ` <49157E97.60503-cCz0Lq7MMjm9FHfhHBbuYA@public.gmane.org>
2008-11-14 19:06       ` Maxim Levitsky
     [not found]         ` <491DCC21.6060705-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2008-11-14 19:59           ` Alan Jenkins
     [not found]             ` <61b223ba0811141159k179558d0i60cebf373baa9fb8-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-11-15 12:52               ` Maxim Levitsky
2008-11-15 12:55                 ` Matthew Garrett

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=492856C2.8000707@gmail.com \
    --to=maximlevitsky-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw@public.gmane.org \
    --cc=andi-5+Cda9B46AM@public.gmane.org \
    --cc=kernel-testers-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=tiwai-l3A5Bk7waGM@public.gmane.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;
as well as URLs for NNTP newsgroup(s).