All of lore.kernel.org
 help / color / mirror / Atom feed
* Nokia N900: mixers changed between 4.6 and 4.10, no longer can use in-call speaker
@ 2017-01-12 18:18 ` Pavel Machek
  0 siblings, 0 replies; 41+ messages in thread
From: Pavel Machek @ 2017-01-12 18:18 UTC (permalink / raw)
  To: pali.rohar, sre, kernel list, linux-arm-kernel, linux-omap, tony,
	khilman, aaro.koskinen, ivo.g.dimitrov.75, patrikbachan, serge,
	abcloriens
  Cc: peter.ujfalusi, jarkko.nikula, alsa-devel, linux-omap

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

Hi!

In v4.10 (and probably v4.9, too) I can no longer use the in-call
speaker. I can no longer use the wired headset, either.

v4.4 (and probably v4.6) works ok.

Any ideas? Does wired headset / in-call speaker work for you?

"Mono" and "Mono DAC" options are still there.. but something else
changed, as alsamixer now shows way many more options (meaning they
are shorter?) and I get complains from alsactl:

alsactl: set_control:1328: failed to obtain info for control #49 (No
such file or directory)
...
alsactl: set_control:1328: failed to obtain info for control #229 (No
such file or directory)



								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 --]

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Nokia N900: mixers changed between 4.6 and 4.10, no longer can use in-call speaker
@ 2017-01-12 18:18 ` Pavel Machek
  0 siblings, 0 replies; 41+ messages in thread
From: Pavel Machek @ 2017-01-12 18:18 UTC (permalink / raw)
  To: pali.rohar, sre, kernel list, linux-arm-kernel, tony, khilman,
	aaro.koskinen, ivo.g.dimitrov.75, patrikbachan, serge,
	abcloriens
  Cc: peter.ujfalusi, jarkko.nikula, alsa-devel, linux-omap

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

Hi!

In v4.10 (and probably v4.9, too) I can no longer use the in-call
speaker. I can no longer use the wired headset, either.

v4.4 (and probably v4.6) works ok.

Any ideas? Does wired headset / in-call speaker work for you?

"Mono" and "Mono DAC" options are still there.. but something else
changed, as alsamixer now shows way many more options (meaning they
are shorter?) and I get complains from alsactl:

alsactl: set_control:1328: failed to obtain info for control #49 (No
such file or directory)
...
alsactl: set_control:1328: failed to obtain info for control #229 (No
such file or directory)



								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 --]

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Nokia N900: mixers changed between 4.6 and 4.10, no longer can use in-call speaker
@ 2017-01-12 18:18 ` Pavel Machek
  0 siblings, 0 replies; 41+ messages in thread
From: Pavel Machek @ 2017-01-12 18:18 UTC (permalink / raw)
  To: linux-arm-kernel

Hi!

In v4.10 (and probably v4.9, too) I can no longer use the in-call
speaker. I can no longer use the wired headset, either.

v4.4 (and probably v4.6) works ok.

Any ideas? Does wired headset / in-call speaker work for you?

"Mono" and "Mono DAC" options are still there.. but something else
changed, as alsamixer now shows way many more options (meaning they
are shorter?) and I get complains from alsactl:

alsactl: set_control:1328: failed to obtain info for control #49 (No
such file or directory)
...
alsactl: set_control:1328: failed to obtain info for control #229 (No
such file or directory)



								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/20170112/686d3a2c/attachment-0001.sig>

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: Nokia N900: mixers changed between 4.6 and 4.10, no longer can use in-call speaker
  2017-01-12 18:18 ` Pavel Machek
  (?)
@ 2017-01-12 18:34   ` Pali Rohár
  -1 siblings, 0 replies; 41+ messages in thread
From: Pali Rohár @ 2017-01-12 18:34 UTC (permalink / raw)
  To: Pavel Machek
  Cc: sre, kernel list, linux-arm-kernel, linux-omap, tony, khilman,
	aaro.koskinen, ivo.g.dimitrov.75, patrikbachan, serge,
	abcloriens, peter.ujfalusi, jarkko.nikula, alsa-devel

[-- Attachment #1: Type: Text/Plain, Size: 985 bytes --]

On Thursday 12 January 2017 19:18:26 Pavel Machek wrote:
> Hi!
> 
> In v4.10 (and probably v4.9, too) I can no longer use the in-call
> speaker. I can no longer use the wired headset, either.
> 
> v4.4 (and probably v4.6) works ok.
> 
> Any ideas? Does wired headset / in-call speaker work for you?
> 
> "Mono" and "Mono DAC" options are still there.. but something else
> changed, as alsamixer now shows way many more options (meaning they
> are shorter?) and I get complains from alsactl:
> 
> alsactl: set_control:1328: failed to obtain info for control #49 (No
> such file or directory)
> ...
> alsactl: set_control:1328: failed to obtain info for control #229 (No
> such file or directory)
> 
> 
> 
> 								Pavel

Looks like there are not so much commits related to 
sound/soc/omap/rx51.c Maybe it can be one of these twos?

cb7e62256e99d285e415cf75db67558f0f8bb107
6d2de5ab4328718302c54b20222c6b1a574c3fce

-- 
Pali Rohár
pali.rohar@gmail.com

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: Nokia N900: mixers changed between 4.6 and 4.10, no longer can use in-call speaker
@ 2017-01-12 18:34   ` Pali Rohár
  0 siblings, 0 replies; 41+ messages in thread
From: Pali Rohár @ 2017-01-12 18:34 UTC (permalink / raw)
  To: Pavel Machek
  Cc: alsa-devel, ivo.g.dimitrov.75, khilman, tony, aaro.koskinen, sre,
	kernel list, abcloriens, jarkko.nikula, linux-omap, patrikbachan,
	linux-arm-kernel, serge


[-- Attachment #1.1: Type: Text/Plain, Size: 985 bytes --]

On Thursday 12 January 2017 19:18:26 Pavel Machek wrote:
> Hi!
> 
> In v4.10 (and probably v4.9, too) I can no longer use the in-call
> speaker. I can no longer use the wired headset, either.
> 
> v4.4 (and probably v4.6) works ok.
> 
> Any ideas? Does wired headset / in-call speaker work for you?
> 
> "Mono" and "Mono DAC" options are still there.. but something else
> changed, as alsamixer now shows way many more options (meaning they
> are shorter?) and I get complains from alsactl:
> 
> alsactl: set_control:1328: failed to obtain info for control #49 (No
> such file or directory)
> ...
> alsactl: set_control:1328: failed to obtain info for control #229 (No
> such file or directory)
> 
> 
> 
> 								Pavel

Looks like there are not so much commits related to 
sound/soc/omap/rx51.c Maybe it can be one of these twos?

cb7e62256e99d285e415cf75db67558f0f8bb107
6d2de5ab4328718302c54b20222c6b1a574c3fce

-- 
Pali Rohár
pali.rohar@gmail.com

[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Nokia N900: mixers changed between 4.6 and 4.10, no longer can use in-call speaker
@ 2017-01-12 18:34   ` Pali Rohár
  0 siblings, 0 replies; 41+ messages in thread
From: Pali Rohár @ 2017-01-12 18:34 UTC (permalink / raw)
  To: linux-arm-kernel

On Thursday 12 January 2017 19:18:26 Pavel Machek wrote:
> Hi!
> 
> In v4.10 (and probably v4.9, too) I can no longer use the in-call
> speaker. I can no longer use the wired headset, either.
> 
> v4.4 (and probably v4.6) works ok.
> 
> Any ideas? Does wired headset / in-call speaker work for you?
> 
> "Mono" and "Mono DAC" options are still there.. but something else
> changed, as alsamixer now shows way many more options (meaning they
> are shorter?) and I get complains from alsactl:
> 
> alsactl: set_control:1328: failed to obtain info for control #49 (No
> such file or directory)
> ...
> alsactl: set_control:1328: failed to obtain info for control #229 (No
> such file or directory)
> 
> 
> 
> 								Pavel

Looks like there are not so much commits related to 
sound/soc/omap/rx51.c Maybe it can be one of these twos?

cb7e62256e99d285e415cf75db67558f0f8bb107
6d2de5ab4328718302c54b20222c6b1a574c3fce

-- 
Pali Roh?r
pali.rohar at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20170112/2c86eae0/attachment.sig>

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: Nokia N900: mixers changed between 4.9 and 4.10-rc3, no longer can use in-call speaker
  2017-01-12 18:34   ` Pali Rohár
@ 2017-01-14 22:56     ` Pavel Machek
  -1 siblings, 0 replies; 41+ messages in thread
From: Pavel Machek @ 2017-01-14 22:56 UTC (permalink / raw)
  To: Pali Rohár
  Cc: sre, kernel list, linux-arm-kernel, linux-omap, tony, khilman,
	aaro.koskinen, ivo.g.dimitrov.75, patrikbachan, serge,
	abcloriens, peter.ujfalusi, jarkko.nikula, alsa-devel,
	helen.koike, lars, broonie

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

Hi!

> > In v4.10 (and probably v4.9, too) I can no longer use the in-call
> > speaker. I can no longer use the wired headset, either.
> > 
> > v4.4 (and probably v4.6) works ok.
> > 
> > Any ideas? Does wired headset / in-call speaker work for you?
> > 
> > "Mono" and "Mono DAC" options are still there.. but something else
> > changed, as alsamixer now shows way many more options (meaning they
> > are shorter?) and I get complains from alsactl:
> > 
> > alsactl: set_control:1328: failed to obtain info for control #49 (No
> > such file or directory)
> > ...
> > alsactl: set_control:1328: failed to obtain info for control #229 (No
> > such file or directory)
> 
> Looks like there are not so much commits related to 
> sound/soc/omap/rx51.c Maybe it can be one of these twos?
> 
> cb7e62256e99d285e415cf75db67558f0f8bb107
> 6d2de5ab4328718302c54b20222c6b1a574c3fce

Both are based on v4.7-rc1. v4.6 worked ok for me.

Lets test mini-v4.7: in-call speaker works ok there, and no alsactl
warnings.

mini-v4.7+cb7e62256e99d285e415cf75db67558f0f8bb107+6d2de5ab4328718302c54b20222c6b1a574c3fce
: something seems to be broken there already.

alsactl: set_control:1464: Cannot write control '2:0:0:TPA6130A2
Headphone Playback Volume:0' : Remote I/O error

But in-call speakers and wired headset still seems to work.

Lets test mini-v4.9... works ok. I don't even get the remote i/o
error. Interesting.

So regression seems to be between v4.9 and v4.10. Any ideas?

								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 --]

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Nokia N900: mixers changed between 4.9 and 4.10-rc3, no longer can use in-call speaker
@ 2017-01-14 22:56     ` Pavel Machek
  0 siblings, 0 replies; 41+ messages in thread
From: Pavel Machek @ 2017-01-14 22:56 UTC (permalink / raw)
  To: linux-arm-kernel

Hi!

> > In v4.10 (and probably v4.9, too) I can no longer use the in-call
> > speaker. I can no longer use the wired headset, either.
> > 
> > v4.4 (and probably v4.6) works ok.
> > 
> > Any ideas? Does wired headset / in-call speaker work for you?
> > 
> > "Mono" and "Mono DAC" options are still there.. but something else
> > changed, as alsamixer now shows way many more options (meaning they
> > are shorter?) and I get complains from alsactl:
> > 
> > alsactl: set_control:1328: failed to obtain info for control #49 (No
> > such file or directory)
> > ...
> > alsactl: set_control:1328: failed to obtain info for control #229 (No
> > such file or directory)
> 
> Looks like there are not so much commits related to 
> sound/soc/omap/rx51.c Maybe it can be one of these twos?
> 
> cb7e62256e99d285e415cf75db67558f0f8bb107
> 6d2de5ab4328718302c54b20222c6b1a574c3fce

Both are based on v4.7-rc1. v4.6 worked ok for me.

Lets test mini-v4.7: in-call speaker works ok there, and no alsactl
warnings.

mini-v4.7+cb7e62256e99d285e415cf75db67558f0f8bb107+6d2de5ab4328718302c54b20222c6b1a574c3fce
: something seems to be broken there already.

alsactl: set_control:1464: Cannot write control '2:0:0:TPA6130A2
Headphone Playback Volume:0' : Remote I/O error

But in-call speakers and wired headset still seems to work.

Lets test mini-v4.9... works ok. I don't even get the remote i/o
error. Interesting.

So regression seems to be between v4.9 and v4.10. Any ideas?

								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/20170114/3faf5c9e/attachment.sig>

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: Nokia N900: mixers changed between 4.9 and 4.10-rc3, no longer can use in-call speaker
  2017-01-14 22:56     ` Pavel Machek
@ 2017-01-15  0:00       ` Pali Rohár
  -1 siblings, 0 replies; 41+ messages in thread
From: Pali Rohár @ 2017-01-15  0:00 UTC (permalink / raw)
  To: Pavel Machek
  Cc: sre, kernel list, linux-arm-kernel, linux-omap, tony, khilman,
	aaro.koskinen, ivo.g.dimitrov.75, patrikbachan, serge,
	abcloriens, peter.ujfalusi, jarkko.nikula, alsa-devel,
	helen.koike, lars, broonie

[-- Attachment #1: Type: Text/Plain, Size: 2060 bytes --]

On Saturday 14 January 2017 23:56:15 Pavel Machek wrote:
> Hi!
> 
> > > In v4.10 (and probably v4.9, too) I can no longer use the in-call
> > > speaker. I can no longer use the wired headset, either.
> > > 
> > > v4.4 (and probably v4.6) works ok.
> > > 
> > > Any ideas? Does wired headset / in-call speaker work for you?
> > > 
> > > "Mono" and "Mono DAC" options are still there.. but something
> > > else changed, as alsamixer now shows way many more options
> > > (meaning they are shorter?) and I get complains from alsactl:
> > > 
> > > alsactl: set_control:1328: failed to obtain info for control #49
> > > (No such file or directory)
> > > ...
> > > alsactl: set_control:1328: failed to obtain info for control #229
> > > (No such file or directory)
> > 
> > Looks like there are not so much commits related to
> > sound/soc/omap/rx51.c Maybe it can be one of these twos?
> > 
> > cb7e62256e99d285e415cf75db67558f0f8bb107
> > 6d2de5ab4328718302c54b20222c6b1a574c3fce
> 
> Both are based on v4.7-rc1. v4.6 worked ok for me.
> 
> Lets test mini-v4.7: in-call speaker works ok there, and no alsactl
> warnings.
> 
> mini-v4.7+cb7e62256e99d285e415cf75db67558f0f8bb107+6d2de5ab4328718302
> c54b20222c6b1a574c3fce
> 
> : something seems to be broken there already.
> 
> alsactl: set_control:1464: Cannot write control '2:0:0:TPA6130A2
> Headphone Playback Volume:0' : Remote I/O error
> 
> But in-call speakers and wired headset still seems to work.
> 
> Lets test mini-v4.9... works ok. I don't even get the remote i/o
> error. Interesting.
> 
> So regression seems to be between v4.9 and v4.10. Any ideas?

Interesting... seems there are no sound relevant changes after v4.9.

Looks like there are only three commits after v4.9 for sound/soc which 
are built for Nokia N900:

e411b0b5eb9b65257a050eac333d181d6e00e2c6
e7aa450fe17890e59db7d3c2d8eff5b6b41fc531
63c3194b82530bd71fd49db84eb7ab656b8d404a

Maybe something not related to sound/soc could broke it?

-- 
Pali Rohár
pali.rohar@gmail.com

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Nokia N900: mixers changed between 4.9 and 4.10-rc3, no longer can use in-call speaker
@ 2017-01-15  0:00       ` Pali Rohár
  0 siblings, 0 replies; 41+ messages in thread
From: Pali Rohár @ 2017-01-15  0:00 UTC (permalink / raw)
  To: linux-arm-kernel

On Saturday 14 January 2017 23:56:15 Pavel Machek wrote:
> Hi!
> 
> > > In v4.10 (and probably v4.9, too) I can no longer use the in-call
> > > speaker. I can no longer use the wired headset, either.
> > > 
> > > v4.4 (and probably v4.6) works ok.
> > > 
> > > Any ideas? Does wired headset / in-call speaker work for you?
> > > 
> > > "Mono" and "Mono DAC" options are still there.. but something
> > > else changed, as alsamixer now shows way many more options
> > > (meaning they are shorter?) and I get complains from alsactl:
> > > 
> > > alsactl: set_control:1328: failed to obtain info for control #49
> > > (No such file or directory)
> > > ...
> > > alsactl: set_control:1328: failed to obtain info for control #229
> > > (No such file or directory)
> > 
> > Looks like there are not so much commits related to
> > sound/soc/omap/rx51.c Maybe it can be one of these twos?
> > 
> > cb7e62256e99d285e415cf75db67558f0f8bb107
> > 6d2de5ab4328718302c54b20222c6b1a574c3fce
> 
> Both are based on v4.7-rc1. v4.6 worked ok for me.
> 
> Lets test mini-v4.7: in-call speaker works ok there, and no alsactl
> warnings.
> 
> mini-v4.7+cb7e62256e99d285e415cf75db67558f0f8bb107+6d2de5ab4328718302
> c54b20222c6b1a574c3fce
> 
> : something seems to be broken there already.
> 
> alsactl: set_control:1464: Cannot write control '2:0:0:TPA6130A2
> Headphone Playback Volume:0' : Remote I/O error
> 
> But in-call speakers and wired headset still seems to work.
> 
> Lets test mini-v4.9... works ok. I don't even get the remote i/o
> error. Interesting.
> 
> So regression seems to be between v4.9 and v4.10. Any ideas?

Interesting... seems there are no sound relevant changes after v4.9.

Looks like there are only three commits after v4.9 for sound/soc which 
are built for Nokia N900:

e411b0b5eb9b65257a050eac333d181d6e00e2c6
e7aa450fe17890e59db7d3c2d8eff5b6b41fc531
63c3194b82530bd71fd49db84eb7ab656b8d404a

Maybe something not related to sound/soc could broke it?

-- 
Pali Roh?r
pali.rohar at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20170115/1ff353d6/attachment.sig>

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: Nokia N900: mixers changed between 4.9 and 4.10-rc3, no longer can use in-call speaker
  2017-01-15  0:00       ` Pali Rohár
@ 2017-01-15 10:05         ` Pavel Machek
  -1 siblings, 0 replies; 41+ messages in thread
From: Pavel Machek @ 2017-01-15 10:05 UTC (permalink / raw)
  To: Pali Rohár
  Cc: sre, kernel list, linux-arm-kernel, linux-omap, tony, khilman,
	aaro.koskinen, ivo.g.dimitrov.75, patrikbachan, serge,
	abcloriens, peter.ujfalusi, jarkko.nikula, alsa-devel,
	helen.koike, lars, broonie

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

Hi!

> > Both are based on v4.7-rc1. v4.6 worked ok for me.
> > 
> > Lets test mini-v4.7: in-call speaker works ok there, and no alsactl
> > warnings.
> > 
> > mini-v4.7+cb7e62256e99d285e415cf75db67558f0f8bb107+6d2de5ab4328718302
> > c54b20222c6b1a574c3fce
> > 
> > : something seems to be broken there already.
> > 
> > alsactl: set_control:1464: Cannot write control '2:0:0:TPA6130A2
> > Headphone Playback Volume:0' : Remote I/O error
> > 
> > But in-call speakers and wired headset still seems to work.
> > 
> > Lets test mini-v4.9... works ok. I don't even get the remote i/o
> > error. Interesting.
> > 
> > So regression seems to be between v4.9 and v4.10. Any ideas?
> 
> Interesting... seems there are no sound relevant changes after v4.9.
> 
> Looks like there are only three commits after v4.9 for sound/soc which 
> are built for Nokia N900:
> 
> e411b0b5eb9b65257a050eac333d181d6e00e2c6
> e7aa450fe17890e59db7d3c2d8eff5b6b41fc531
> 63c3194b82530bd71fd49db84eb7ab656b8d404a
> 
> Maybe something not related to sound/soc could broke it?

Lets see.

a9042defa29a01cc538b742eab047848e9b5ae14 -- works ok.
ce38207f161513ee3d2bd3860489f07ebe65bc78 --

alsactl: set_control:1328: failed to obtain info for control #229 (No
such file or directory)

and broken in-call speaker. So this merge breaks stuff:

commit ce38207f161513ee3d2bd3860489f07ebe65bc78
Merge: a9042de 995c6a7
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date:   Wed Dec 14 11:14:28 2016 -0800

    Merge tag 'sound-4.10-rc1' of
    git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound
...
      Below are some highlights:

      ASoC:
             - support for stereo DAPM controls
	            - some initial work on the of-graph sound card
		           - regmap conversions of the remaining AC'97
      drivers
             - a new version of the topology ABI; this should be
      backward
               compatible
	              - updates / cleanups of rsnd, sunxi, sti,
      nau8825, samsung, arizona,
               Intel skylake, atom-sst
	              - new drivers for Cirrus Logic CS42L42, Qualcomm
      MSM8916-WCD, and
               Realtek RT5665
...

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 --]

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Nokia N900: mixers changed between 4.9 and 4.10-rc3, no longer can use in-call speaker
@ 2017-01-15 10:05         ` Pavel Machek
  0 siblings, 0 replies; 41+ messages in thread
From: Pavel Machek @ 2017-01-15 10:05 UTC (permalink / raw)
  To: linux-arm-kernel

Hi!

> > Both are based on v4.7-rc1. v4.6 worked ok for me.
> > 
> > Lets test mini-v4.7: in-call speaker works ok there, and no alsactl
> > warnings.
> > 
> > mini-v4.7+cb7e62256e99d285e415cf75db67558f0f8bb107+6d2de5ab4328718302
> > c54b20222c6b1a574c3fce
> > 
> > : something seems to be broken there already.
> > 
> > alsactl: set_control:1464: Cannot write control '2:0:0:TPA6130A2
> > Headphone Playback Volume:0' : Remote I/O error
> > 
> > But in-call speakers and wired headset still seems to work.
> > 
> > Lets test mini-v4.9... works ok. I don't even get the remote i/o
> > error. Interesting.
> > 
> > So regression seems to be between v4.9 and v4.10. Any ideas?
> 
> Interesting... seems there are no sound relevant changes after v4.9.
> 
> Looks like there are only three commits after v4.9 for sound/soc which 
> are built for Nokia N900:
> 
> e411b0b5eb9b65257a050eac333d181d6e00e2c6
> e7aa450fe17890e59db7d3c2d8eff5b6b41fc531
> 63c3194b82530bd71fd49db84eb7ab656b8d404a
> 
> Maybe something not related to sound/soc could broke it?

Lets see.

a9042defa29a01cc538b742eab047848e9b5ae14 -- works ok.
ce38207f161513ee3d2bd3860489f07ebe65bc78 --

alsactl: set_control:1328: failed to obtain info for control #229 (No
such file or directory)

and broken in-call speaker. So this merge breaks stuff:

commit ce38207f161513ee3d2bd3860489f07ebe65bc78
Merge: a9042de 995c6a7
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date:   Wed Dec 14 11:14:28 2016 -0800

    Merge tag 'sound-4.10-rc1' of
    git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound
...
      Below are some highlights:

      ASoC:
             - support for stereo DAPM controls
	            - some initial work on the of-graph sound card
		           - regmap conversions of the remaining AC'97
      drivers
             - a new version of the topology ABI; this should be
      backward
               compatible
	              - updates / cleanups of rsnd, sunxi, sti,
      nau8825, samsung, arizona,
               Intel skylake, atom-sst
	              - new drivers for Cirrus Logic CS42L42, Qualcomm
      MSM8916-WCD, and
               Realtek RT5665
...

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/20170115/2c305712/attachment.sig>

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: Nokia N900: mixers changed between 4.9 and 4.10-rc3, no longer can use in-call speaker
  2017-01-15 10:05         ` Pavel Machek
@ 2017-01-15 19:08           ` Jarkko Nikula
  -1 siblings, 0 replies; 41+ messages in thread
From: Jarkko Nikula @ 2017-01-15 19:08 UTC (permalink / raw)
  To: Pavel Machek, Pali Rohár
  Cc: sre, kernel list, linux-arm-kernel, linux-omap, tony, khilman,
	aaro.koskinen, ivo.g.dimitrov.75, patrikbachan, serge,
	abcloriens, peter.ujfalusi, alsa-devel, helen.koike, lars,
	broonie

On 01/15/2017 12:05 PM, Pavel Machek wrote:
>>> So regression seems to be between v4.9 and v4.10. Any ideas?
>>
>> Interesting... seems there are no sound relevant changes after v4.9.
>>
>> Looks like there are only three commits after v4.9 for sound/soc which 
>> are built for Nokia N900:
>>
>> e411b0b5eb9b65257a050eac333d181d6e00e2c6
>> e7aa450fe17890e59db7d3c2d8eff5b6b41fc531
>> 63c3194b82530bd71fd49db84eb7ab656b8d404a
>>
>> Maybe something not related to sound/soc could broke it?
> 
> Lets see.
> 
> a9042defa29a01cc538b742eab047848e9b5ae14 -- works ok.
> ce38207f161513ee3d2bd3860489f07ebe65bc78 --
> 
> alsactl: set_control:1328: failed to obtain info for control #229 (No
> such file or directory)
> 
I'm unable to test older kernels at the moment since modules don't load
by some reason (bluetooth: Unknown symbol _GLOBAL_OFFSET_TABLE_ (err
0)). Probably some recent regression in my debian/testing installation
since the same configs were working before.

However v4.9.4 works and with it I can see there is an issue with these
aic3x controls:

amixer: Unable to find simple control 'Left DAC_L1 Mixer Line',0



amixer: Unable to find simple control 'Right DAC_R1 Mixer Line',0


At quick look I don't see why above commits could cause it. Maybe
regression happened earlier between v4.6 and v4.9?

-- 
Jarkko

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Nokia N900: mixers changed between 4.9 and 4.10-rc3, no longer can use in-call speaker
@ 2017-01-15 19:08           ` Jarkko Nikula
  0 siblings, 0 replies; 41+ messages in thread
From: Jarkko Nikula @ 2017-01-15 19:08 UTC (permalink / raw)
  To: linux-arm-kernel

On 01/15/2017 12:05 PM, Pavel Machek wrote:
>>> So regression seems to be between v4.9 and v4.10. Any ideas?
>>
>> Interesting... seems there are no sound relevant changes after v4.9.
>>
>> Looks like there are only three commits after v4.9 for sound/soc which 
>> are built for Nokia N900:
>>
>> e411b0b5eb9b65257a050eac333d181d6e00e2c6
>> e7aa450fe17890e59db7d3c2d8eff5b6b41fc531
>> 63c3194b82530bd71fd49db84eb7ab656b8d404a
>>
>> Maybe something not related to sound/soc could broke it?
> 
> Lets see.
> 
> a9042defa29a01cc538b742eab047848e9b5ae14 -- works ok.
> ce38207f161513ee3d2bd3860489f07ebe65bc78 --
> 
> alsactl: set_control:1328: failed to obtain info for control #229 (No
> such file or directory)
> 
I'm unable to test older kernels at the moment since modules don't load
by some reason (bluetooth: Unknown symbol _GLOBAL_OFFSET_TABLE_ (err
0)). Probably some recent regression in my debian/testing installation
since the same configs were working before.

However v4.9.4 works and with it I can see there is an issue with these
aic3x controls:

amixer: Unable to find simple control 'Left DAC_L1 Mixer Line',0



amixer: Unable to find simple control 'Right DAC_R1 Mixer Line',0


At quick look I don't see why above commits could cause it. Maybe
regression happened earlier between v4.6 and v4.9?

-- 
Jarkko

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: Nokia N900: mixers changed between 4.9 and 4.10-rc3, no longer can use in-call speaker
  2017-01-15  0:00       ` Pali Rohár
  (?)
@ 2017-01-16 21:15         ` Pavel Machek
  -1 siblings, 0 replies; 41+ messages in thread
From: Pavel Machek @ 2017-01-16 21:15 UTC (permalink / raw)
  To: Pali Rohár
  Cc: sre, kernel list, linux-arm-kernel, linux-omap, tony, khilman,
	aaro.koskinen, ivo.g.dimitrov.75, patrikbachan, serge,
	abcloriens, peter.ujfalusi, jarkko.nikula, alsa-devel,
	helen.koike, lars, broonie

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

Hi!

> > So regression seems to be between v4.9 and v4.10. Any ideas?
> 
> Interesting... seems there are no sound relevant changes after v4.9.
> 
> Looks like there are only three commits after v4.9 for sound/soc which 
> are built for Nokia N900:

I'm at ce38207f161513ee3d2bd3860489f07ebe65bc78, which is already
broken, and first broken commit by Linus.

> e411b0b5eb9b65257a050eac333d181d6e00e2c6

Can't revert that easily.

> e7aa450fe17890e59db7d3c2d8eff5b6b41fc531

This can be reverted. Lets try. Did not help.

> 63c3194b82530bd71fd49db84eb7ab656b8d404a

Commit older than this one fails, IIRC.

> Maybe something not related to sound/soc could broke it?

Its definitely caused by something merged here:

commit ce38207f161513ee3d2bd3860489f07ebe65bc78
Merge: a9042de 995c6a7
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date:   Wed Dec 14 11:14:28 2016 -0800

So it should be easy to find out..

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 --]

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: Nokia N900: mixers changed between 4.9 and 4.10-rc3, no longer can use in-call speaker
@ 2017-01-16 21:15         ` Pavel Machek
  0 siblings, 0 replies; 41+ messages in thread
From: Pavel Machek @ 2017-01-16 21:15 UTC (permalink / raw)
  To: Pali Rohár
  Cc: alsa-devel, ivo.g.dimitrov.75, khilman, tony, broonie,
	aaro.koskinen, sre, kernel list, lars, abcloriens, jarkko.nikula,
	helen.koike, linux-omap, patrikbachan, linux-arm-kernel, serge


[-- Attachment #1.1: Type: text/plain, Size: 1127 bytes --]

Hi!

> > So regression seems to be between v4.9 and v4.10. Any ideas?
> 
> Interesting... seems there are no sound relevant changes after v4.9.
> 
> Looks like there are only three commits after v4.9 for sound/soc which 
> are built for Nokia N900:

I'm at ce38207f161513ee3d2bd3860489f07ebe65bc78, which is already
broken, and first broken commit by Linus.

> e411b0b5eb9b65257a050eac333d181d6e00e2c6

Can't revert that easily.

> e7aa450fe17890e59db7d3c2d8eff5b6b41fc531

This can be reverted. Lets try. Did not help.

> 63c3194b82530bd71fd49db84eb7ab656b8d404a

Commit older than this one fails, IIRC.

> Maybe something not related to sound/soc could broke it?

Its definitely caused by something merged here:

commit ce38207f161513ee3d2bd3860489f07ebe65bc78
Merge: a9042de 995c6a7
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date:   Wed Dec 14 11:14:28 2016 -0800

So it should be easy to find out..

Best regards,
								Pavel



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

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

[-- Attachment #2: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Nokia N900: mixers changed between 4.9 and 4.10-rc3, no longer can use in-call speaker
@ 2017-01-16 21:15         ` Pavel Machek
  0 siblings, 0 replies; 41+ messages in thread
From: Pavel Machek @ 2017-01-16 21:15 UTC (permalink / raw)
  To: linux-arm-kernel

Hi!

> > So regression seems to be between v4.9 and v4.10. Any ideas?
> 
> Interesting... seems there are no sound relevant changes after v4.9.
> 
> Looks like there are only three commits after v4.9 for sound/soc which 
> are built for Nokia N900:

I'm at ce38207f161513ee3d2bd3860489f07ebe65bc78, which is already
broken, and first broken commit by Linus.

> e411b0b5eb9b65257a050eac333d181d6e00e2c6

Can't revert that easily.

> e7aa450fe17890e59db7d3c2d8eff5b6b41fc531

This can be reverted. Lets try. Did not help.

> 63c3194b82530bd71fd49db84eb7ab656b8d404a

Commit older than this one fails, IIRC.

> Maybe something not related to sound/soc could broke it?

Its definitely caused by something merged here:

commit ce38207f161513ee3d2bd3860489f07ebe65bc78
Merge: a9042de 995c6a7
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date:   Wed Dec 14 11:14:28 2016 -0800

So it should be easy to find out..

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/20170116/a8bf5045/attachment-0001.sig>

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: Nokia N900: mixers changed between 4.9 and 4.10-rc3, no longer can use in-call speaker
  2017-01-15 19:08           ` Jarkko Nikula
  (?)
@ 2017-01-17 13:47             ` Peter Ujfalusi
  -1 siblings, 0 replies; 41+ messages in thread
From: Peter Ujfalusi @ 2017-01-17 13:47 UTC (permalink / raw)
  To: Jarkko Nikula, Pavel Machek, Pali Rohár
  Cc: sre, kernel list, linux-arm-kernel, linux-omap, tony, khilman,
	aaro.koskinen, ivo.g.dimitrov.75, patrikbachan, serge,
	abcloriens, alsa-devel, helen.koike, lars, broonie

On 01/15/2017 09:08 PM, Jarkko Nikula wrote:
> On 01/15/2017 12:05 PM, Pavel Machek wrote:
>>>> So regression seems to be between v4.9 and v4.10. Any ideas?
>>>
>>> Interesting... seems there are no sound relevant changes after v4.9.
>>>
>>> Looks like there are only three commits after v4.9 for sound/soc which 
>>> are built for Nokia N900:
>>>
>>> e411b0b5eb9b65257a050eac333d181d6e00e2c6
>>> e7aa450fe17890e59db7d3c2d8eff5b6b41fc531
>>> 63c3194b82530bd71fd49db84eb7ab656b8d404a
>>>
>>> Maybe something not related to sound/soc could broke it?
>>
>> Lets see.
>>
>> a9042defa29a01cc538b742eab047848e9b5ae14 -- works ok.
>> ce38207f161513ee3d2bd3860489f07ebe65bc78 --
>>
>> alsactl: set_control:1328: failed to obtain info for control #229 (No
>> such file or directory)
>>
> I'm unable to test older kernels at the moment since modules don't load
> by some reason (bluetooth: Unknown symbol _GLOBAL_OFFSET_TABLE_ (err
> 0)). Probably some recent regression in my debian/testing installation
> since the same configs were working before.
> 
> However v4.9.4 works and with it I can see there is an issue with these
> aic3x controls:
> 
> amixer: Unable to find simple control 'Left DAC_L1 Mixer Line',0
> 
> 
> 
> amixer: Unable to find simple control 'Right DAC_R1 Mixer Line',0

These are certainly not the regression between 4.6 and 4.9, more like
more like regression since 2.6:
'Line Switch' -> 'LineL Switch':
54f01916297bafc18bd7df4e2300a0544a84fce3

'LineL Switch' -> 'DACL1 Switch':
c3b79e05b4d9ab2e7c3ba281261ea87ab5b71a92

> At quick look I don't see why above commits could cause it. Maybe
> regression happened earlier between v4.6 and v4.9?

It might be that there were some work to fix control names for different aic
versions to match with the HW or support for new codec is added and some
control gone missing for 3x?

I would compare the 'amixer controls' for the working and regressed
kernel to see what differs. From there git blame or smthing will for
sure point to the correct commit.

-- 
Péter

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: Nokia N900: mixers changed between 4.9 and 4.10-rc3, no longer can use in-call speaker
@ 2017-01-17 13:47             ` Peter Ujfalusi
  0 siblings, 0 replies; 41+ messages in thread
From: Peter Ujfalusi @ 2017-01-17 13:47 UTC (permalink / raw)
  To: Jarkko Nikula, Pavel Machek, Pali Rohár
  Cc: alsa-devel, ivo.g.dimitrov.75, khilman, tony, broonie,
	aaro.koskinen, sre, kernel list, lars, abcloriens, helen.koike,
	linux-omap, patrikbachan, linux-arm-kernel, serge

On 01/15/2017 09:08 PM, Jarkko Nikula wrote:
> On 01/15/2017 12:05 PM, Pavel Machek wrote:
>>>> So regression seems to be between v4.9 and v4.10. Any ideas?
>>>
>>> Interesting... seems there are no sound relevant changes after v4.9.
>>>
>>> Looks like there are only three commits after v4.9 for sound/soc which 
>>> are built for Nokia N900:
>>>
>>> e411b0b5eb9b65257a050eac333d181d6e00e2c6
>>> e7aa450fe17890e59db7d3c2d8eff5b6b41fc531
>>> 63c3194b82530bd71fd49db84eb7ab656b8d404a
>>>
>>> Maybe something not related to sound/soc could broke it?
>>
>> Lets see.
>>
>> a9042defa29a01cc538b742eab047848e9b5ae14 -- works ok.
>> ce38207f161513ee3d2bd3860489f07ebe65bc78 --
>>
>> alsactl: set_control:1328: failed to obtain info for control #229 (No
>> such file or directory)
>>
> I'm unable to test older kernels at the moment since modules don't load
> by some reason (bluetooth: Unknown symbol _GLOBAL_OFFSET_TABLE_ (err
> 0)). Probably some recent regression in my debian/testing installation
> since the same configs were working before.
> 
> However v4.9.4 works and with it I can see there is an issue with these
> aic3x controls:
> 
> amixer: Unable to find simple control 'Left DAC_L1 Mixer Line',0
> 
> 
> 
> amixer: Unable to find simple control 'Right DAC_R1 Mixer Line',0

These are certainly not the regression between 4.6 and 4.9, more like
more like regression since 2.6:
'Line Switch' -> 'LineL Switch':
54f01916297bafc18bd7df4e2300a0544a84fce3

'LineL Switch' -> 'DACL1 Switch':
c3b79e05b4d9ab2e7c3ba281261ea87ab5b71a92

> At quick look I don't see why above commits could cause it. Maybe
> regression happened earlier between v4.6 and v4.9?

It might be that there were some work to fix control names for different aic
versions to match with the HW or support for new codec is added and some
control gone missing for 3x?

I would compare the 'amixer controls' for the working and regressed
kernel to see what differs. From there git blame or smthing will for
sure point to the correct commit.

-- 
Péter

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Nokia N900: mixers changed between 4.9 and 4.10-rc3, no longer can use in-call speaker
@ 2017-01-17 13:47             ` Peter Ujfalusi
  0 siblings, 0 replies; 41+ messages in thread
From: Peter Ujfalusi @ 2017-01-17 13:47 UTC (permalink / raw)
  To: linux-arm-kernel

On 01/15/2017 09:08 PM, Jarkko Nikula wrote:
> On 01/15/2017 12:05 PM, Pavel Machek wrote:
>>>> So regression seems to be between v4.9 and v4.10. Any ideas?
>>>
>>> Interesting... seems there are no sound relevant changes after v4.9.
>>>
>>> Looks like there are only three commits after v4.9 for sound/soc which 
>>> are built for Nokia N900:
>>>
>>> e411b0b5eb9b65257a050eac333d181d6e00e2c6
>>> e7aa450fe17890e59db7d3c2d8eff5b6b41fc531
>>> 63c3194b82530bd71fd49db84eb7ab656b8d404a
>>>
>>> Maybe something not related to sound/soc could broke it?
>>
>> Lets see.
>>
>> a9042defa29a01cc538b742eab047848e9b5ae14 -- works ok.
>> ce38207f161513ee3d2bd3860489f07ebe65bc78 --
>>
>> alsactl: set_control:1328: failed to obtain info for control #229 (No
>> such file or directory)
>>
> I'm unable to test older kernels at the moment since modules don't load
> by some reason (bluetooth: Unknown symbol _GLOBAL_OFFSET_TABLE_ (err
> 0)). Probably some recent regression in my debian/testing installation
> since the same configs were working before.
> 
> However v4.9.4 works and with it I can see there is an issue with these
> aic3x controls:
> 
> amixer: Unable to find simple control 'Left DAC_L1 Mixer Line',0
> 
> 
> 
> amixer: Unable to find simple control 'Right DAC_R1 Mixer Line',0

These are certainly not the regression between 4.6 and 4.9, more like
more like regression since 2.6:
'Line Switch' -> 'LineL Switch':
54f01916297bafc18bd7df4e2300a0544a84fce3

'LineL Switch' -> 'DACL1 Switch':
c3b79e05b4d9ab2e7c3ba281261ea87ab5b71a92

> At quick look I don't see why above commits could cause it. Maybe
> regression happened earlier between v4.6 and v4.9?

It might be that there were some work to fix control names for different aic
versions to match with the HW or support for new codec is added and some
control gone missing for 3x?

I would compare the 'amixer controls' for the working and regressed
kernel to see what differs. From there git blame or smthing will for
sure point to the correct commit.

-- 
P?ter

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: Nokia N900: mixers changed between 4.9 and 4.10-rc3, no longer can use in-call speaker
  2017-01-16 21:15         ` Pavel Machek
  (?)
@ 2017-01-18 20:44           ` Pavel Machek
  -1 siblings, 0 replies; 41+ messages in thread
From: Pavel Machek @ 2017-01-18 20:44 UTC (permalink / raw)
  To: Pali Rohár, kuninori.morimoto.gx
  Cc: sre, kernel list, linux-arm-kernel, linux-omap, tony, khilman,
	aaro.koskinen, ivo.g.dimitrov.75, patrikbachan, serge,
	abcloriens, peter.ujfalusi, jarkko.nikula, alsa-devel,
	helen.koike, lars, broonie

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

Hi!

> > > So regression seems to be between v4.9 and v4.10. Any ideas?
> > 
> > Interesting... seems there are no sound relevant changes after v4.9.
> > 
> > Looks like there are only three commits after v4.9 for sound/soc which 
> > are built for Nokia N900:
...
> Its definitely caused by something merged here:
> 
> commit ce38207f161513ee3d2bd3860489f07ebe65bc78
> Merge: a9042de 995c6a7
> Author: Linus Torvalds <torvalds@linux-foundation.org>
> Date:   Wed Dec 14 11:14:28 2016 -0800
> 
> So it should be easy to find out..

Doing git bisect now. Hmmm.

pavel@amd:/data/l/linux-n900$ git bisect bad
1a653aa44725668590b36bbe2d7fe4736a69f055 is the first bad commit
commit 1a653aa44725668590b36bbe2d7fe4736a69f055
Author: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Date:   Wed Nov 30 06:22:55 2016 +0000

    ASoC: core: replace aux_comp_list to component_dev_list

    Now, Card has component_dev_list, we can replace aux_comp_list
        to component_dev_list with new auxiliary flags

    Signed-off-by: Kuninori Morimoto
    <kuninori.morimoto.gx@renesas.com>
        Signed-off-by: Mark Brown <broonie@kernel.org>

:040000 040000 a571fa05e5ce8e00b73bbc3f1e30e26775d619e8
e9336929cacf2d7bc94da99acfc10c9a7f513b8b M	include
:040000 040000 87976e9406d452e791870cc12e27cb67ba04fd12
60d36f685642621c0e3ebb61ba7a14186d8b3eb0 M	sound
pavel@amd:/data/l/linux-n900$

I'll try reverting this patch on top of 4.10-rc, next. Any other ideas?

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 --]

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: Nokia N900: mixers changed between 4.9 and 4.10-rc3, no longer can use in-call speaker
@ 2017-01-18 20:44           ` Pavel Machek
  0 siblings, 0 replies; 41+ messages in thread
From: Pavel Machek @ 2017-01-18 20:44 UTC (permalink / raw)
  To: Pali Rohár, kuninori.morimoto.gx
  Cc: alsa-devel, ivo.g.dimitrov.75, khilman, tony, broonie,
	aaro.koskinen, sre, kernel list, lars, abcloriens, jarkko.nikula,
	helen.koike, linux-omap, patrikbachan, linux-arm-kernel, serge


[-- Attachment #1.1: Type: text/plain, Size: 1667 bytes --]

Hi!

> > > So regression seems to be between v4.9 and v4.10. Any ideas?
> > 
> > Interesting... seems there are no sound relevant changes after v4.9.
> > 
> > Looks like there are only three commits after v4.9 for sound/soc which 
> > are built for Nokia N900:
...
> Its definitely caused by something merged here:
> 
> commit ce38207f161513ee3d2bd3860489f07ebe65bc78
> Merge: a9042de 995c6a7
> Author: Linus Torvalds <torvalds@linux-foundation.org>
> Date:   Wed Dec 14 11:14:28 2016 -0800
> 
> So it should be easy to find out..

Doing git bisect now. Hmmm.

pavel@amd:/data/l/linux-n900$ git bisect bad
1a653aa44725668590b36bbe2d7fe4736a69f055 is the first bad commit
commit 1a653aa44725668590b36bbe2d7fe4736a69f055
Author: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Date:   Wed Nov 30 06:22:55 2016 +0000

    ASoC: core: replace aux_comp_list to component_dev_list

    Now, Card has component_dev_list, we can replace aux_comp_list
        to component_dev_list with new auxiliary flags

    Signed-off-by: Kuninori Morimoto
    <kuninori.morimoto.gx@renesas.com>
        Signed-off-by: Mark Brown <broonie@kernel.org>

:040000 040000 a571fa05e5ce8e00b73bbc3f1e30e26775d619e8
e9336929cacf2d7bc94da99acfc10c9a7f513b8b M	include
:040000 040000 87976e9406d452e791870cc12e27cb67ba04fd12
60d36f685642621c0e3ebb61ba7a14186d8b3eb0 M	sound
pavel@amd:/data/l/linux-n900$

I'll try reverting this patch on top of 4.10-rc, next. Any other ideas?

Best regards,
									Pavel

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

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

[-- Attachment #2: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Nokia N900: mixers changed between 4.9 and 4.10-rc3, no longer can use in-call speaker
@ 2017-01-18 20:44           ` Pavel Machek
  0 siblings, 0 replies; 41+ messages in thread
From: Pavel Machek @ 2017-01-18 20:44 UTC (permalink / raw)
  To: linux-arm-kernel

Hi!

> > > So regression seems to be between v4.9 and v4.10. Any ideas?
> > 
> > Interesting... seems there are no sound relevant changes after v4.9.
> > 
> > Looks like there are only three commits after v4.9 for sound/soc which 
> > are built for Nokia N900:
...
> Its definitely caused by something merged here:
> 
> commit ce38207f161513ee3d2bd3860489f07ebe65bc78
> Merge: a9042de 995c6a7
> Author: Linus Torvalds <torvalds@linux-foundation.org>
> Date:   Wed Dec 14 11:14:28 2016 -0800
> 
> So it should be easy to find out..

Doing git bisect now. Hmmm.

pavel at amd:/data/l/linux-n900$ git bisect bad
1a653aa44725668590b36bbe2d7fe4736a69f055 is the first bad commit
commit 1a653aa44725668590b36bbe2d7fe4736a69f055
Author: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Date:   Wed Nov 30 06:22:55 2016 +0000

    ASoC: core: replace aux_comp_list to component_dev_list

    Now, Card has component_dev_list, we can replace aux_comp_list
        to component_dev_list with new auxiliary flags

    Signed-off-by: Kuninori Morimoto
    <kuninori.morimoto.gx@renesas.com>
        Signed-off-by: Mark Brown <broonie@kernel.org>

:040000 040000 a571fa05e5ce8e00b73bbc3f1e30e26775d619e8
e9336929cacf2d7bc94da99acfc10c9a7f513b8b M	include
:040000 040000 87976e9406d452e791870cc12e27cb67ba04fd12
60d36f685642621c0e3ebb61ba7a14186d8b3eb0 M	sound
pavel at amd:/data/l/linux-n900$

I'll try reverting this patch on top of 4.10-rc, next. Any other ideas?

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/20170118/5c10026d/attachment.sig>

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: Nokia N900: mixers changed between 4.9 and 4.10-rc3, no longer can use in-call speaker
  2017-01-18 20:44           ` Pavel Machek
  (?)
@ 2017-01-18 21:55             ` Pavel Machek
  -1 siblings, 0 replies; 41+ messages in thread
From: Pavel Machek @ 2017-01-18 21:55 UTC (permalink / raw)
  To: Pali Rohár, kuninori.morimoto.gx
  Cc: sre, kernel list, linux-arm-kernel, linux-omap, tony, khilman,
	aaro.koskinen, ivo.g.dimitrov.75, patrikbachan, serge,
	abcloriens, peter.ujfalusi, jarkko.nikula, alsa-devel,
	helen.koike, lars, broonie

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

Hi!

> > > > So regression seems to be between v4.9 and v4.10. Any ideas?
> > > 
> > > Interesting... seems there are no sound relevant changes after v4.9.
> > > 
> > > Looks like there are only three commits after v4.9 for sound/soc which 
> > > are built for Nokia N900:
> ...
> > Its definitely caused by something merged here:
> > 
> > commit ce38207f161513ee3d2bd3860489f07ebe65bc78
> > Merge: a9042de 995c6a7
> > Author: Linus Torvalds <torvalds@linux-foundation.org>
> > Date:   Wed Dec 14 11:14:28 2016 -0800
> > 
> > So it should be easy to find out..
> 
> Doing git bisect now. Hmmm.
> 
> pavel@amd:/data/l/linux-n900$ git bisect bad
> 1a653aa44725668590b36bbe2d7fe4736a69f055 is the first bad commit
> commit 1a653aa44725668590b36bbe2d7fe4736a69f055
> Author: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> Date:   Wed Nov 30 06:22:55 2016 +0000
> 
>     ASoC: core: replace aux_comp_list to component_dev_list
> 
>     Now, Card has component_dev_list, we can replace aux_comp_list
>         to component_dev_list with new auxiliary flags
> 
>     Signed-off-by: Kuninori Morimoto
>     <kuninori.morimoto.gx@renesas.com>
>         Signed-off-by: Mark Brown <broonie@kernel.org>
> 
> :040000 040000 a571fa05e5ce8e00b73bbc3f1e30e26775d619e8
> e9336929cacf2d7bc94da99acfc10c9a7f513b8b M	include
> :040000 040000 87976e9406d452e791870cc12e27cb67ba04fd12
> 60d36f685642621c0e3ebb61ba7a14186d8b3eb0 M	sound
> pavel@amd:/data/l/linux-n900$
> 
> I'll try reverting this patch on top of 4.10-rc, next. Any other ideas?

Reverting that fixed the issue, but when I re-checked current -rc4, it
seems it has similar fix there, too. GOod.

								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 --]

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: Nokia N900: mixers changed between 4.9 and 4.10-rc3, no longer can use in-call speaker
@ 2017-01-18 21:55             ` Pavel Machek
  0 siblings, 0 replies; 41+ messages in thread
From: Pavel Machek @ 2017-01-18 21:55 UTC (permalink / raw)
  To: Pali Rohár, kuninori.morimoto.gx
  Cc: alsa-devel, ivo.g.dimitrov.75, khilman, tony, broonie,
	aaro.koskinen, sre, kernel list, lars, abcloriens, jarkko.nikula,
	helen.koike, linux-omap, patrikbachan, linux-arm-kernel, serge


[-- Attachment #1.1: Type: text/plain, Size: 1847 bytes --]

Hi!

> > > > So regression seems to be between v4.9 and v4.10. Any ideas?
> > > 
> > > Interesting... seems there are no sound relevant changes after v4.9.
> > > 
> > > Looks like there are only three commits after v4.9 for sound/soc which 
> > > are built for Nokia N900:
> ...
> > Its definitely caused by something merged here:
> > 
> > commit ce38207f161513ee3d2bd3860489f07ebe65bc78
> > Merge: a9042de 995c6a7
> > Author: Linus Torvalds <torvalds@linux-foundation.org>
> > Date:   Wed Dec 14 11:14:28 2016 -0800
> > 
> > So it should be easy to find out..
> 
> Doing git bisect now. Hmmm.
> 
> pavel@amd:/data/l/linux-n900$ git bisect bad
> 1a653aa44725668590b36bbe2d7fe4736a69f055 is the first bad commit
> commit 1a653aa44725668590b36bbe2d7fe4736a69f055
> Author: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> Date:   Wed Nov 30 06:22:55 2016 +0000
> 
>     ASoC: core: replace aux_comp_list to component_dev_list
> 
>     Now, Card has component_dev_list, we can replace aux_comp_list
>         to component_dev_list with new auxiliary flags
> 
>     Signed-off-by: Kuninori Morimoto
>     <kuninori.morimoto.gx@renesas.com>
>         Signed-off-by: Mark Brown <broonie@kernel.org>
> 
> :040000 040000 a571fa05e5ce8e00b73bbc3f1e30e26775d619e8
> e9336929cacf2d7bc94da99acfc10c9a7f513b8b M	include
> :040000 040000 87976e9406d452e791870cc12e27cb67ba04fd12
> 60d36f685642621c0e3ebb61ba7a14186d8b3eb0 M	sound
> pavel@amd:/data/l/linux-n900$
> 
> I'll try reverting this patch on top of 4.10-rc, next. Any other ideas?

Reverting that fixed the issue, but when I re-checked current -rc4, it
seems it has similar fix there, too. GOod.

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

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

[-- Attachment #2: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Nokia N900: mixers changed between 4.9 and 4.10-rc3, no longer can use in-call speaker
@ 2017-01-18 21:55             ` Pavel Machek
  0 siblings, 0 replies; 41+ messages in thread
From: Pavel Machek @ 2017-01-18 21:55 UTC (permalink / raw)
  To: linux-arm-kernel

Hi!

> > > > So regression seems to be between v4.9 and v4.10. Any ideas?
> > > 
> > > Interesting... seems there are no sound relevant changes after v4.9.
> > > 
> > > Looks like there are only three commits after v4.9 for sound/soc which 
> > > are built for Nokia N900:
> ...
> > Its definitely caused by something merged here:
> > 
> > commit ce38207f161513ee3d2bd3860489f07ebe65bc78
> > Merge: a9042de 995c6a7
> > Author: Linus Torvalds <torvalds@linux-foundation.org>
> > Date:   Wed Dec 14 11:14:28 2016 -0800
> > 
> > So it should be easy to find out..
> 
> Doing git bisect now. Hmmm.
> 
> pavel at amd:/data/l/linux-n900$ git bisect bad
> 1a653aa44725668590b36bbe2d7fe4736a69f055 is the first bad commit
> commit 1a653aa44725668590b36bbe2d7fe4736a69f055
> Author: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> Date:   Wed Nov 30 06:22:55 2016 +0000
> 
>     ASoC: core: replace aux_comp_list to component_dev_list
> 
>     Now, Card has component_dev_list, we can replace aux_comp_list
>         to component_dev_list with new auxiliary flags
> 
>     Signed-off-by: Kuninori Morimoto
>     <kuninori.morimoto.gx@renesas.com>
>         Signed-off-by: Mark Brown <broonie@kernel.org>
> 
> :040000 040000 a571fa05e5ce8e00b73bbc3f1e30e26775d619e8
> e9336929cacf2d7bc94da99acfc10c9a7f513b8b M	include
> :040000 040000 87976e9406d452e791870cc12e27cb67ba04fd12
> 60d36f685642621c0e3ebb61ba7a14186d8b3eb0 M	sound
> pavel at amd:/data/l/linux-n900$
> 
> I'll try reverting this patch on top of 4.10-rc, next. Any other ideas?

Reverting that fixed the issue, but when I re-checked current -rc4, it
seems it has similar fix there, too. GOod.

								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/20170118/a0a015ca/attachment.sig>

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: Nokia N900: mixers changed between 4.9 and 4.10-rc3, no longer can use in-call speaker
  2017-01-18 21:55             ` Pavel Machek
@ 2017-01-19  1:17               ` Kuninori Morimoto
  -1 siblings, 0 replies; 41+ messages in thread
From: Kuninori Morimoto @ 2017-01-19  1:17 UTC (permalink / raw)
  To: Pavel Machek
  Cc: Pali Rohár, sre, kernel list, linux-arm-kernel, linux-omap,
	tony, khilman, aaro.koskinen, ivo.g.dimitrov.75, patrikbachan,
	serge, abcloriens, peter.ujfalusi, jarkko.nikula, alsa-devel,
	helen.koike, lars, broonie


Hi Pavel

> > pavel@amd:/data/l/linux-n900$ git bisect bad
> > 1a653aa44725668590b36bbe2d7fe4736a69f055 is the first bad commit
> > commit 1a653aa44725668590b36bbe2d7fe4736a69f055
> > Author: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> > Date:   Wed Nov 30 06:22:55 2016 +0000
> > 
> >     ASoC: core: replace aux_comp_list to component_dev_list
> > 
> >     Now, Card has component_dev_list, we can replace aux_comp_list
> >         to component_dev_list with new auxiliary flags
> > 
> >     Signed-off-by: Kuninori Morimoto
> >     <kuninori.morimoto.gx@renesas.com>
> >         Signed-off-by: Mark Brown <broonie@kernel.org>
> > 
> > :040000 040000 a571fa05e5ce8e00b73bbc3f1e30e26775d619e8
> > e9336929cacf2d7bc94da99acfc10c9a7f513b8b M	include
> > :040000 040000 87976e9406d452e791870cc12e27cb67ba04fd12
> > 60d36f685642621c0e3ebb61ba7a14186d8b3eb0 M	sound
> > pavel@amd:/data/l/linux-n900$
> > 
> > I'll try reverting this patch on top of 4.10-rc, next. Any other ideas?
> 
> Reverting that fixed the issue, but when I re-checked current -rc4, it
> seems it has similar fix there, too. GOod.

Sorry about my fault, thanks to Sylwester for fixing it

Best regards
---
Kuninori Morimoto

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Nokia N900: mixers changed between 4.9 and 4.10-rc3, no longer can use in-call speaker
@ 2017-01-19  1:17               ` Kuninori Morimoto
  0 siblings, 0 replies; 41+ messages in thread
From: Kuninori Morimoto @ 2017-01-19  1:17 UTC (permalink / raw)
  To: linux-arm-kernel


Hi Pavel

> > pavel at amd:/data/l/linux-n900$ git bisect bad
> > 1a653aa44725668590b36bbe2d7fe4736a69f055 is the first bad commit
> > commit 1a653aa44725668590b36bbe2d7fe4736a69f055
> > Author: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> > Date:   Wed Nov 30 06:22:55 2016 +0000
> > 
> >     ASoC: core: replace aux_comp_list to component_dev_list
> > 
> >     Now, Card has component_dev_list, we can replace aux_comp_list
> >         to component_dev_list with new auxiliary flags
> > 
> >     Signed-off-by: Kuninori Morimoto
> >     <kuninori.morimoto.gx@renesas.com>
> >         Signed-off-by: Mark Brown <broonie@kernel.org>
> > 
> > :040000 040000 a571fa05e5ce8e00b73bbc3f1e30e26775d619e8
> > e9336929cacf2d7bc94da99acfc10c9a7f513b8b M	include
> > :040000 040000 87976e9406d452e791870cc12e27cb67ba04fd12
> > 60d36f685642621c0e3ebb61ba7a14186d8b3eb0 M	sound
> > pavel at amd:/data/l/linux-n900$
> > 
> > I'll try reverting this patch on top of 4.10-rc, next. Any other ideas?
> 
> Reverting that fixed the issue, but when I re-checked current -rc4, it
> seems it has similar fix there, too. GOod.

Sorry about my fault, thanks to Sylwester for fixing it

Best regards
---
Kuninori Morimoto

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: Nokia N900: mixers changed between 4.9 and 4.10-rc3, no longer can use in-call speaker
  2017-01-17 13:47             ` Peter Ujfalusi
  (?)
@ 2017-01-19 18:51               ` Jarkko Nikula
  -1 siblings, 0 replies; 41+ messages in thread
From: Jarkko Nikula @ 2017-01-19 18:51 UTC (permalink / raw)
  To: Peter Ujfalusi, Pavel Machek, Pali Rohár
  Cc: sre, kernel list, linux-arm-kernel, linux-omap, tony, khilman,
	aaro.koskinen, ivo.g.dimitrov.75, patrikbachan, serge,
	abcloriens, alsa-devel, helen.koike, lars, broonie

On 01/17/2017 03:47 PM, Peter Ujfalusi wrote:
> On 01/15/2017 09:08 PM, Jarkko Nikula wrote:
>> However v4.9.4 works and with it I can see there is an issue with these
>> aic3x controls:
>>
>> amixer: Unable to find simple control 'Left DAC_L1 Mixer Line',0
>>
>>
>>
>> amixer: Unable to find simple control 'Right DAC_R1 Mixer Line',0
> 
> These are certainly not the regression between 4.6 and 4.9, more like
> more like regression since 2.6:
> 'Line Switch' -> 'LineL Switch':
> 54f01916297bafc18bd7df4e2300a0544a84fce3
> 
> 'LineL Switch' -> 'DACL1 Switch':
> c3b79e05b4d9ab2e7c3ba281261ea87ab5b71a92
> 
You are right. Those mixer scripts were for Maemo 2.6.28 kernel and
dated 2009... grr, looks like I've overwritten my N900 mixer scripts at
some point.

Fortunately the issue seems to be fixed in v4.10-rc4.

-- 
Jarkko

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: Nokia N900: mixers changed between 4.9 and 4.10-rc3, no longer can use in-call speaker
@ 2017-01-19 18:51               ` Jarkko Nikula
  0 siblings, 0 replies; 41+ messages in thread
From: Jarkko Nikula @ 2017-01-19 18:51 UTC (permalink / raw)
  To: Peter Ujfalusi, Pavel Machek, Pali Rohár
  Cc: alsa-devel, ivo.g.dimitrov.75, khilman, tony, broonie,
	aaro.koskinen, sre, kernel list, lars, abcloriens, helen.koike,
	linux-omap, patrikbachan, linux-arm-kernel, serge

On 01/17/2017 03:47 PM, Peter Ujfalusi wrote:
> On 01/15/2017 09:08 PM, Jarkko Nikula wrote:
>> However v4.9.4 works and with it I can see there is an issue with these
>> aic3x controls:
>>
>> amixer: Unable to find simple control 'Left DAC_L1 Mixer Line',0
>>
>>
>>
>> amixer: Unable to find simple control 'Right DAC_R1 Mixer Line',0
> 
> These are certainly not the regression between 4.6 and 4.9, more like
> more like regression since 2.6:
> 'Line Switch' -> 'LineL Switch':
> 54f01916297bafc18bd7df4e2300a0544a84fce3
> 
> 'LineL Switch' -> 'DACL1 Switch':
> c3b79e05b4d9ab2e7c3ba281261ea87ab5b71a92
> 
You are right. Those mixer scripts were for Maemo 2.6.28 kernel and
dated 2009... grr, looks like I've overwritten my N900 mixer scripts at
some point.

Fortunately the issue seems to be fixed in v4.10-rc4.

-- 
Jarkko

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Nokia N900: mixers changed between 4.9 and 4.10-rc3, no longer can use in-call speaker
@ 2017-01-19 18:51               ` Jarkko Nikula
  0 siblings, 0 replies; 41+ messages in thread
From: Jarkko Nikula @ 2017-01-19 18:51 UTC (permalink / raw)
  To: linux-arm-kernel

On 01/17/2017 03:47 PM, Peter Ujfalusi wrote:
> On 01/15/2017 09:08 PM, Jarkko Nikula wrote:
>> However v4.9.4 works and with it I can see there is an issue with these
>> aic3x controls:
>>
>> amixer: Unable to find simple control 'Left DAC_L1 Mixer Line',0
>>
>>
>>
>> amixer: Unable to find simple control 'Right DAC_R1 Mixer Line',0
> 
> These are certainly not the regression between 4.6 and 4.9, more like
> more like regression since 2.6:
> 'Line Switch' -> 'LineL Switch':
> 54f01916297bafc18bd7df4e2300a0544a84fce3
> 
> 'LineL Switch' -> 'DACL1 Switch':
> c3b79e05b4d9ab2e7c3ba281261ea87ab5b71a92
> 
You are right. Those mixer scripts were for Maemo 2.6.28 kernel and
dated 2009... grr, looks like I've overwritten my N900 mixer scripts at
some point.

Fortunately the issue seems to be fixed in v4.10-rc4.

-- 
Jarkko

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Nokia N900: microphone mixers
  2017-01-19 18:51               ` Jarkko Nikula
  (?)
  (?)
@ 2017-01-20 13:31               ` Pavel Machek
  2017-01-20 13:38                   ` Pali Rohár
  -1 siblings, 1 reply; 41+ messages in thread
From: Pavel Machek @ 2017-01-20 13:31 UTC (permalink / raw)
  To: Jarkko Nikula
  Cc: Peter Ujfalusi, Pali Rohár, sre, kernel list,
	linux-arm-kernel, linux-omap, tony, khilman, aaro.koskinen,
	ivo.g.dimitrov.75, patrikbachan, serge, abcloriens, alsa-devel,
	helen.koike, lars, broonie

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

Hi!

Do you have any idea how to control the microphone? I'd like the audio
source to be microphone on headset (not the built in one). So I run
alsamixer, set everything in "capture" section to zero... and I still
get the audio from the internal microphone :-(.

Tested with arecord | aplay.

Any ideas?
									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 --]

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: Nokia N900: microphone mixers
  2017-01-20 13:31               ` Nokia N900: microphone mixers Pavel Machek
@ 2017-01-20 13:38                   ` Pali Rohár
  0 siblings, 0 replies; 41+ messages in thread
From: Pali Rohár @ 2017-01-20 13:38 UTC (permalink / raw)
  To: Pavel Machek
  Cc: Jarkko Nikula, Peter Ujfalusi, sre, kernel list,
	linux-arm-kernel, linux-omap, tony, khilman, aaro.koskinen,
	ivo.g.dimitrov.75, patrikbachan, serge, abcloriens, alsa-devel,
	helen.koike, lars, broonie

On Friday 20 January 2017 14:31:59 Pavel Machek wrote:
> Hi!
> 
> Do you have any idea how to control the microphone? I'd like the audio
> source to be microphone on headset (not the built in one). So I run
> alsamixer, set everything in "capture" section to zero... and I still
> get the audio from the internal microphone :-(.
> 
> Tested with arecord | aplay.
> 
> Any ideas?

Hi! Try to set Jack Function to Headset or enable b HS Mic.

-- 
Pali Rohár
pali.rohar@gmail.com

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Nokia N900: microphone mixers
@ 2017-01-20 13:38                   ` Pali Rohár
  0 siblings, 0 replies; 41+ messages in thread
From: Pali Rohár @ 2017-01-20 13:38 UTC (permalink / raw)
  To: linux-arm-kernel

On Friday 20 January 2017 14:31:59 Pavel Machek wrote:
> Hi!
> 
> Do you have any idea how to control the microphone? I'd like the audio
> source to be microphone on headset (not the built in one). So I run
> alsamixer, set everything in "capture" section to zero... and I still
> get the audio from the internal microphone :-(.
> 
> Tested with arecord | aplay.
> 
> Any ideas?

Hi! Try to set Jack Function to Headset or enable b HS Mic.

-- 
Pali Roh?r
pali.rohar at gmail.com

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: Nokia N900: microphone mixers
  2017-01-20 13:38                   ` Pali Rohár
@ 2017-01-20 14:00                     ` Pavel Machek
  -1 siblings, 0 replies; 41+ messages in thread
From: Pavel Machek @ 2017-01-20 14:00 UTC (permalink / raw)
  To: Pali Rohár
  Cc: Jarkko Nikula, Peter Ujfalusi, sre, kernel list,
	linux-arm-kernel, linux-omap, tony, khilman, aaro.koskinen,
	ivo.g.dimitrov.75, patrikbachan, serge, abcloriens, alsa-devel,
	helen.koike, lars, broonie

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

On Fri 2017-01-20 14:38:30, Pali Rohár wrote:
> On Friday 20 January 2017 14:31:59 Pavel Machek wrote:
> > Hi!
> > 
> > Do you have any idea how to control the microphone? I'd like the audio
> > source to be microphone on headset (not the built in one). So I run
> > alsamixer, set everything in "capture" section to zero... and I still
> > get the audio from the internal microphone :-(.
> > 
> > Tested with arecord | aplay.
> > 
> > Any ideas?
> 
> Hi! Try to set Jack Function to Headset or enable b HS Mic.

I can't find "b HS Mic" function. I can set "Input Select" to "ADC",
and ten internal microphone is off, but I can't get any audio on
input. I tried with "Jack function" both "headset" and "headphone".

Do I need to enable microphone bias voltage somewhere?

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 --]

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Nokia N900: microphone mixers
@ 2017-01-20 14:00                     ` Pavel Machek
  0 siblings, 0 replies; 41+ messages in thread
From: Pavel Machek @ 2017-01-20 14:00 UTC (permalink / raw)
  To: linux-arm-kernel

On Fri 2017-01-20 14:38:30, Pali Roh?r wrote:
> On Friday 20 January 2017 14:31:59 Pavel Machek wrote:
> > Hi!
> > 
> > Do you have any idea how to control the microphone? I'd like the audio
> > source to be microphone on headset (not the built in one). So I run
> > alsamixer, set everything in "capture" section to zero... and I still
> > get the audio from the internal microphone :-(.
> > 
> > Tested with arecord | aplay.
> > 
> > Any ideas?
> 
> Hi! Try to set Jack Function to Headset or enable b HS Mic.

I can't find "b HS Mic" function. I can set "Input Select" to "ADC",
and ten internal microphone is off, but I can't get any audio on
input. I tried with "Jack function" both "headset" and "headphone".

Do I need to enable microphone bias voltage somewhere?

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/20170120/a94c2a45/attachment.sig>

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: Nokia N900: microphone mixers
  2017-01-20 14:00                     ` Pavel Machek
  (?)
@ 2017-01-20 14:04                       ` Pali Rohár
  -1 siblings, 0 replies; 41+ messages in thread
From: Pali Rohár @ 2017-01-20 14:04 UTC (permalink / raw)
  To: Pavel Machek
  Cc: Jarkko Nikula, Peter Ujfalusi, sre, kernel list,
	linux-arm-kernel, linux-omap, tony, khilman, aaro.koskinen,
	ivo.g.dimitrov.75, patrikbachan, serge, abcloriens, alsa-devel,
	helen.koike, lars, broonie

On Friday 20 January 2017 15:00:47 Pavel Machek wrote:
> On Fri 2017-01-20 14:38:30, Pali Rohár wrote:
> > On Friday 20 January 2017 14:31:59 Pavel Machek wrote:
> > > Hi!
> > > 
> > > Do you have any idea how to control the microphone? I'd like the audio
> > > source to be microphone on headset (not the built in one). So I run
> > > alsamixer, set everything in "capture" section to zero... and I still
> > > get the audio from the internal microphone :-(.
> > > 
> > > Tested with arecord | aplay.
> > > 
> > > Any ideas?
> > 
> > Hi! Try to set Jack Function to Headset or enable b HS Mic.
> 
> I can't find "b HS Mic" function. I can set "Input Select" to "ADC",
> and ten internal microphone is off, but I can't get any audio on
> input. I tried with "Jack function" both "headset" and "headphone".
> 
> Do I need to enable microphone bias voltage somewhere?

When you set Jack function to headset it automatically enable HS Mic
control which controls mic bias.

If Jack function in headset mode does not work, then there is bug. Try
older versions of kernel...

-- 
Pali Rohár
pali.rohar@gmail.com

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: Nokia N900: microphone mixers
@ 2017-01-20 14:04                       ` Pali Rohár
  0 siblings, 0 replies; 41+ messages in thread
From: Pali Rohár @ 2017-01-20 14:04 UTC (permalink / raw)
  To: Pavel Machek
  Cc: alsa-devel, ivo.g.dimitrov.75, khilman, tony, broonie,
	aaro.koskinen, sre, kernel list, lars, abcloriens, Jarkko Nikula,
	helen.koike, linux-omap, patrikbachan, linux-arm-kernel, serge

On Friday 20 January 2017 15:00:47 Pavel Machek wrote:
> On Fri 2017-01-20 14:38:30, Pali Rohár wrote:
> > On Friday 20 January 2017 14:31:59 Pavel Machek wrote:
> > > Hi!
> > > 
> > > Do you have any idea how to control the microphone? I'd like the audio
> > > source to be microphone on headset (not the built in one). So I run
> > > alsamixer, set everything in "capture" section to zero... and I still
> > > get the audio from the internal microphone :-(.
> > > 
> > > Tested with arecord | aplay.
> > > 
> > > Any ideas?
> > 
> > Hi! Try to set Jack Function to Headset or enable b HS Mic.
> 
> I can't find "b HS Mic" function. I can set "Input Select" to "ADC",
> and ten internal microphone is off, but I can't get any audio on
> input. I tried with "Jack function" both "headset" and "headphone".
> 
> Do I need to enable microphone bias voltage somewhere?

When you set Jack function to headset it automatically enable HS Mic
control which controls mic bias.

If Jack function in headset mode does not work, then there is bug. Try
older versions of kernel...

-- 
Pali Rohár
pali.rohar@gmail.com

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Nokia N900: microphone mixers
@ 2017-01-20 14:04                       ` Pali Rohár
  0 siblings, 0 replies; 41+ messages in thread
From: Pali Rohár @ 2017-01-20 14:04 UTC (permalink / raw)
  To: linux-arm-kernel

On Friday 20 January 2017 15:00:47 Pavel Machek wrote:
> On Fri 2017-01-20 14:38:30, Pali Roh?r wrote:
> > On Friday 20 January 2017 14:31:59 Pavel Machek wrote:
> > > Hi!
> > > 
> > > Do you have any idea how to control the microphone? I'd like the audio
> > > source to be microphone on headset (not the built in one). So I run
> > > alsamixer, set everything in "capture" section to zero... and I still
> > > get the audio from the internal microphone :-(.
> > > 
> > > Tested with arecord | aplay.
> > > 
> > > Any ideas?
> > 
> > Hi! Try to set Jack Function to Headset or enable b HS Mic.
> 
> I can't find "b HS Mic" function. I can set "Input Select" to "ADC",
> and ten internal microphone is off, but I can't get any audio on
> input. I tried with "Jack function" both "headset" and "headphone".
> 
> Do I need to enable microphone bias voltage somewhere?

When you set Jack function to headset it automatically enable HS Mic
control which controls mic bias.

If Jack function in headset mode does not work, then there is bug. Try
older versions of kernel...

-- 
Pali Roh?r
pali.rohar at gmail.com

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Re: Nokia N900: microphone mixers
  2017-01-20 14:04                       ` Pali Rohár
@ 2017-01-20 19:32                         ` Pavel Machek
  -1 siblings, 0 replies; 41+ messages in thread
From: Pavel Machek @ 2017-01-20 19:32 UTC (permalink / raw)
  To: Pali Rohár
  Cc: Jarkko Nikula, Peter Ujfalusi, sre, kernel list,
	linux-arm-kernel, linux-omap, tony, khilman, aaro.koskinen,
	ivo.g.dimitrov.75, patrikbachan, serge, abcloriens, alsa-devel,
	helen.koike, lars, broonie

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

On Fri 2017-01-20 15:04:04, Pali Rohár wrote:
> On Friday 20 January 2017 15:00:47 Pavel Machek wrote:
> > On Fri 2017-01-20 14:38:30, Pali Rohár wrote:
> > > On Friday 20 January 2017 14:31:59 Pavel Machek wrote:
> > > > Hi!
> > > > 
> > > > Do you have any idea how to control the microphone? I'd like the audio
> > > > source to be microphone on headset (not the built in one). So I run
> > > > alsamixer, set everything in "capture" section to zero... and I still
> > > > get the audio from the internal microphone :-(.
> > > > 
> > > > Tested with arecord | aplay.
> > > > 
> > > > Any ideas?
> > > 
> > > Hi! Try to set Jack Function to Headset or enable b HS Mic.
> > 
> > I can't find "b HS Mic" function. I can set "Input Select" to "ADC",
> > and ten internal microphone is off, but I can't get any audio on
> > input. I tried with "Jack function" both "headset" and "headphone".
> > 
> > Do I need to enable microphone bias voltage somewhere?
> 
> When you set Jack function to headset it automatically enable HS Mic
> control which controls mic bias.
> 
> If Jack function in headset mode does not work, then there is bug. Try
> older versions of kernel...

Would you know which mainline kernel version is "known good"?

									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 --]

^ permalink raw reply	[flat|nested] 41+ messages in thread

* Nokia N900: microphone mixers
@ 2017-01-20 19:32                         ` Pavel Machek
  0 siblings, 0 replies; 41+ messages in thread
From: Pavel Machek @ 2017-01-20 19:32 UTC (permalink / raw)
  To: linux-arm-kernel

On Fri 2017-01-20 15:04:04, Pali Roh?r wrote:
> On Friday 20 January 2017 15:00:47 Pavel Machek wrote:
> > On Fri 2017-01-20 14:38:30, Pali Roh?r wrote:
> > > On Friday 20 January 2017 14:31:59 Pavel Machek wrote:
> > > > Hi!
> > > > 
> > > > Do you have any idea how to control the microphone? I'd like the audio
> > > > source to be microphone on headset (not the built in one). So I run
> > > > alsamixer, set everything in "capture" section to zero... and I still
> > > > get the audio from the internal microphone :-(.
> > > > 
> > > > Tested with arecord | aplay.
> > > > 
> > > > Any ideas?
> > > 
> > > Hi! Try to set Jack Function to Headset or enable b HS Mic.
> > 
> > I can't find "b HS Mic" function. I can set "Input Select" to "ADC",
> > and ten internal microphone is off, but I can't get any audio on
> > input. I tried with "Jack function" both "headset" and "headphone".
> > 
> > Do I need to enable microphone bias voltage somewhere?
> 
> When you set Jack function to headset it automatically enable HS Mic
> control which controls mic bias.
> 
> If Jack function in headset mode does not work, then there is bug. Try
> older versions of kernel...

Would you know which mainline kernel version is "known good"?

									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/20170120/a099e3fe/attachment.sig>

^ permalink raw reply	[flat|nested] 41+ messages in thread

end of thread, other threads:[~2017-01-20 19:32 UTC | newest]

Thread overview: 41+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-12 18:18 Nokia N900: mixers changed between 4.6 and 4.10, no longer can use in-call speaker Pavel Machek
2017-01-12 18:18 ` Pavel Machek
2017-01-12 18:18 ` Pavel Machek
2017-01-12 18:34 ` Pali Rohár
2017-01-12 18:34   ` Pali Rohár
2017-01-12 18:34   ` Pali Rohár
2017-01-14 22:56   ` Nokia N900: mixers changed between 4.9 and 4.10-rc3, " Pavel Machek
2017-01-14 22:56     ` Pavel Machek
2017-01-15  0:00     ` Pali Rohár
2017-01-15  0:00       ` Pali Rohár
2017-01-15 10:05       ` Pavel Machek
2017-01-15 10:05         ` Pavel Machek
2017-01-15 19:08         ` Jarkko Nikula
2017-01-15 19:08           ` Jarkko Nikula
2017-01-17 13:47           ` Peter Ujfalusi
2017-01-17 13:47             ` Peter Ujfalusi
2017-01-17 13:47             ` Peter Ujfalusi
2017-01-19 18:51             ` Jarkko Nikula
2017-01-19 18:51               ` Jarkko Nikula
2017-01-19 18:51               ` Jarkko Nikula
2017-01-20 13:31               ` Nokia N900: microphone mixers Pavel Machek
2017-01-20 13:38                 ` Pali Rohár
2017-01-20 13:38                   ` Pali Rohár
2017-01-20 14:00                   ` Pavel Machek
2017-01-20 14:00                     ` Pavel Machek
2017-01-20 14:04                     ` Pali Rohár
2017-01-20 14:04                       ` Pali Rohár
2017-01-20 14:04                       ` Pali Rohár
2017-01-20 19:32                       ` Pavel Machek
2017-01-20 19:32                         ` Pavel Machek
2017-01-16 21:15       ` Nokia N900: mixers changed between 4.9 and 4.10-rc3, no longer can use in-call speaker Pavel Machek
2017-01-16 21:15         ` Pavel Machek
2017-01-16 21:15         ` Pavel Machek
2017-01-18 20:44         ` Pavel Machek
2017-01-18 20:44           ` Pavel Machek
2017-01-18 20:44           ` Pavel Machek
2017-01-18 21:55           ` Pavel Machek
2017-01-18 21:55             ` Pavel Machek
2017-01-18 21:55             ` Pavel Machek
2017-01-19  1:17             ` Kuninori Morimoto
2017-01-19  1:17               ` Kuninori Morimoto

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.