All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: pali.rohar@gmail.com, sre@kernel.org,
	kernel list <linux-kernel@vger.kernel.org>,
	linux-arm-kernel <linux-arm-kernel@lists.infradead.org>,
	linux-omap@vger.kernel.org, tony@atomide.com, khilman@kernel.org,
	aaro.koskinen@iki.fi, ivo.g.dimitrov.75@gmail.com,
	patrikbachan@gmail.com, serge@hallyn.com, abcloriens@gmail.com
Subject: Microphone gain on N900
Date: Sun, 26 Feb 2017 21:28:32 +0100	[thread overview]
Message-ID: <20170226202831.GA31405@amd> (raw)

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

Hi!

v4.10 works quite nicely on N900, but I still have problems with
audio. Even GSM calls would be usable, if I had reasonable volume on
microphone and speaker... but I don't.

Both speaker and microphone are too quiet. I can get louder output by
plugging headset -- good. I can hear the other side nicely, but am too
quiet for them. Unfortunately, even if I plug in wired headset,
internal microphone is still used.

Now... I researched mixer settings in v4.4, v4.10 and v2.6.28... and
could not find way to control microphone. v2.6.28 is completely
different from the other two. v4.10 misses many controls from v4.4;
and I guess this might be related:

[    2.579925] rx51-audio n900-audio: tlv320aic3x-hifi <->
49022000.mcbsp mapping ok
[    2.586486] rx51-audio n900-audio: ASoC: no source widget found for
TPA6130A2 HPLEFT
[    2.592651] rx51-audio n900-audio: ASoC: Failed to add route
TPA6130A2 HPLEFT -> direct -> Headphone Jack
[    2.605163] rx51-audio n900-audio: ASoC: no source widget found for
TPA6130A2 HPRIGHT
[    2.611938] rx51-audio n900-audio: ASoC: Failed to add route
TPA6130A2 HPRIGHT -> direct -> Headphone Jack
[    2.625701] rx51-audio n900-audio: ASoC: no sink widget found for
TPA6130A2 LEFTIN
[    2.632965] rx51-audio n900-audio: ASoC: Failed to add route LLOUT
-> direct -> TPA6130A2 LEFTIN
[    2.640563] rx51-audio n900-audio: ASoC: no sink widget found for
TPA6130A2 RIGHTIN
[    2.648101] rx51-audio n900-audio: ASoC: Failed to add route RLOUT
-> direct -> TPA6130A2 RIGHTIN
[    2.655761] rx51-audio n900-audio: ASoC: no sink widget found for b
LINE2R
[    2.663208] rx51-audio n900-audio: ASoC: Failed to add route
MONO_LOUT -> direct -> b LINE2R
[    2.670501] rx51-audio n900-audio: ASoC: no source widget found for
b HPLOUT
[    2.677642] rx51-audio n900-audio: ASoC: Failed to add route b
HPLOUT -> direct -> Earphone
[    2.685058] rx51-audio n900-audio: ASoC: no source widget found for
b Mic Bias
[    2.692352] rx51-audio n900-audio: ASoC: Failed to add route b Mic
Bias -> direct -> HS Mic
[    2.706298] input: RX-51 AV Jack as
/devices/platform/n900-audio/sound/card0/input6

Pali, do you have maemo running on top of recent kernel (v4.1, v4.4,
v4.10?). Do voice calls work there?

Any ideas welcome...

Best regards,
									Pavel

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: pavel@ucw.cz (Pavel Machek)
To: linux-arm-kernel@lists.infradead.org
Subject: Microphone gain on N900
Date: Sun, 26 Feb 2017 21:28:32 +0100	[thread overview]
Message-ID: <20170226202831.GA31405@amd> (raw)

Hi!

v4.10 works quite nicely on N900, but I still have problems with
audio. Even GSM calls would be usable, if I had reasonable volume on
microphone and speaker... but I don't.

Both speaker and microphone are too quiet. I can get louder output by
plugging headset -- good. I can hear the other side nicely, but am too
quiet for them. Unfortunately, even if I plug in wired headset,
internal microphone is still used.

Now... I researched mixer settings in v4.4, v4.10 and v2.6.28... and
could not find way to control microphone. v2.6.28 is completely
different from the other two. v4.10 misses many controls from v4.4;
and I guess this might be related:

[    2.579925] rx51-audio n900-audio: tlv320aic3x-hifi <->
49022000.mcbsp mapping ok
[    2.586486] rx51-audio n900-audio: ASoC: no source widget found for
TPA6130A2 HPLEFT
[    2.592651] rx51-audio n900-audio: ASoC: Failed to add route
TPA6130A2 HPLEFT -> direct -> Headphone Jack
[    2.605163] rx51-audio n900-audio: ASoC: no source widget found for
TPA6130A2 HPRIGHT
[    2.611938] rx51-audio n900-audio: ASoC: Failed to add route
TPA6130A2 HPRIGHT -> direct -> Headphone Jack
[    2.625701] rx51-audio n900-audio: ASoC: no sink widget found for
TPA6130A2 LEFTIN
[    2.632965] rx51-audio n900-audio: ASoC: Failed to add route LLOUT
-> direct -> TPA6130A2 LEFTIN
[    2.640563] rx51-audio n900-audio: ASoC: no sink widget found for
TPA6130A2 RIGHTIN
[    2.648101] rx51-audio n900-audio: ASoC: Failed to add route RLOUT
-> direct -> TPA6130A2 RIGHTIN
[    2.655761] rx51-audio n900-audio: ASoC: no sink widget found for b
LINE2R
[    2.663208] rx51-audio n900-audio: ASoC: Failed to add route
MONO_LOUT -> direct -> b LINE2R
[    2.670501] rx51-audio n900-audio: ASoC: no source widget found for
b HPLOUT
[    2.677642] rx51-audio n900-audio: ASoC: Failed to add route b
HPLOUT -> direct -> Earphone
[    2.685058] rx51-audio n900-audio: ASoC: no source widget found for
b Mic Bias
[    2.692352] rx51-audio n900-audio: ASoC: Failed to add route b Mic
Bias -> direct -> HS Mic
[    2.706298] input: RX-51 AV Jack as
/devices/platform/n900-audio/sound/card0/input6

Pali, do you have maemo running on top of recent kernel (v4.1, v4.4,
v4.10?). Do voice calls work there?

Any ideas welcome...

Best regards,
									Pavel

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20170226/26df08ad/attachment-0001.sig>

             reply	other threads:[~2017-02-26 20:28 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-26 20:28 Pavel Machek [this message]
2017-02-26 20:28 ` Microphone gain on N900 Pavel Machek
2017-02-27 19:53 ` Pali Rohár
2017-02-27 19:53   ` Pali Rohár
2017-02-27 19:53   ` Pali Rohár
2017-02-28 18:45   ` Jarkko Nikula
2017-02-28 18:45     ` Jarkko Nikula
2017-02-28 18:45     ` Jarkko Nikula
2017-03-02 14:28     ` Pavel Machek
2017-03-02 14:28       ` Pavel Machek
2017-03-02 14:28       ` Pavel Machek
2017-03-04 16:01       ` Jarkko Nikula
2017-03-04 16:01         ` Jarkko Nikula
2017-04-17 20:34         ` Pavel Machek
2017-04-17 20:34           ` Pavel Machek

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=20170226202831.GA31405@amd \
    --to=pavel@ucw.cz \
    --cc=aaro.koskinen@iki.fi \
    --cc=abcloriens@gmail.com \
    --cc=ivo.g.dimitrov.75@gmail.com \
    --cc=khilman@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=pali.rohar@gmail.com \
    --cc=patrikbachan@gmail.com \
    --cc=serge@hallyn.com \
    --cc=sre@kernel.org \
    --cc=tony@atomide.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 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.