All of lore.kernel.org
 help / color / mirror / Atom feed
* Dell XPS 9360 continuous hissing sound
@ 2019-03-22 11:40 Paulo Fidalgo
  2019-03-22 15:37 ` Takashi Iwai
  0 siblings, 1 reply; 11+ messages in thread
From: Paulo Fidalgo @ 2019-03-22 11:40 UTC (permalink / raw)
  To: tiwai, alsa-devel

Hi!

After a bug report on Fedora
(https://bugzilla.redhat.com/show_bug.cgi?id=1677353)

----
When I start t he computer I hears a continuous background noise. The
problem is also described here:
https://wiki.archlinux.org/index.php/Dell_XPS_13_(9360)#Continuous_hissing_sound_with_headphones

I need to issue the command `amixer -c 0 cset 'numid=10' 1` to solve
the problem, but every time I reboot the computer I need to run it
again.
This has been happening for quite some time, but I've been post-poning
the bug report.

Current kernel: 4.20.7-200.fc29.x86_64

Alsa information:
http://www.alsa-project.org/db/?f=df4834c53335709abb521c767e7b1da2f4371744
----
They advise me to contact you, to see if we can get a solution on this.

Note: The computer also does not recognise (switch to) when I plug an headset.

If you need more information, I'm eager to help diagnose and help to
solve this, but I have no Kernel programming skills, other than that
count on me.

Kind regards,

Paulo Fidalgo

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

* Re: Dell XPS 9360 continuous hissing sound
  2019-03-22 11:40 Dell XPS 9360 continuous hissing sound Paulo Fidalgo
@ 2019-03-22 15:37 ` Takashi Iwai
  2019-03-22 16:07   ` Paulo Fidalgo
  0 siblings, 1 reply; 11+ messages in thread
From: Takashi Iwai @ 2019-03-22 15:37 UTC (permalink / raw)
  To: Paulo Fidalgo; +Cc: alsa-devel

On Fri, 22 Mar 2019 12:40:22 +0100,
Paulo Fidalgo wrote:
> 
> Hi!
> 
> After a bug report on Fedora
> (https://bugzilla.redhat.com/show_bug.cgi?id=1677353)
> 
> ----
> When I start t he computer I hears a continuous background noise. The
> problem is also described here:
> https://wiki.archlinux.org/index.php/Dell_XPS_13_(9360)#Continuous_hissing_sound_with_headphones
> 
> I need to issue the command `amixer -c 0 cset 'numid=10' 1` to solve
> the problem, but every time I reboot the computer I need to run it
> again.
> This has been happening for quite some time, but I've been post-poning
> the bug report.

What is the original value before setting this amixer command above?
You can get via "amixer -c0 get numid=10'.

Does the noise again when you restore the value after setting to 1 in
the above?


Takashi

> 
> Current kernel: 4.20.7-200.fc29.x86_64
> 
> Alsa information:
> http://www.alsa-project.org/db/?f=df4834c53335709abb521c767e7b1da2f4371744
> ----
> They advise me to contact you, to see if we can get a solution on this.
> 
> Note: The computer also does not recognise (switch to) when I plug an headset.
> 
> If you need more information, I'm eager to help diagnose and help to
> solve this, but I have no Kernel programming skills, other than that
> count on me.
> 
> Kind regards,
> 
> Paulo Fidalgo
> 

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

* Re: Dell XPS 9360 continuous hissing sound
  2019-03-22 15:37 ` Takashi Iwai
@ 2019-03-22 16:07   ` Paulo Fidalgo
  2019-03-22 16:54     ` Takashi Iwai
  0 siblings, 1 reply; 11+ messages in thread
From: Paulo Fidalgo @ 2019-03-22 16:07 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

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

Strangely the command returns amixer: Unable to find simple control 'numid=10',0
So I've runned "amixer -c0" and you can find the output in before.txt

Then I've runned amixer -c 0 cset 'numid=10' 1
and again the "amixer -c0" and you can find the output in after.txt

Also I've notice that the sound appears after I playing a music on
computer and goes a few (like 10 ) seconds after the music stopped.


On Fri, 22 Mar 2019 at 15:37, Takashi Iwai <tiwai@suse.de> wrote:
>
> On Fri, 22 Mar 2019 12:40:22 +0100,
> Paulo Fidalgo wrote:
> >
> > Hi!
> >
> > After a bug report on Fedora
> > (https://bugzilla.redhat.com/show_bug.cgi?id=1677353)
> >
> > ----
> > When I start t he computer I hears a continuous background noise. The
> > problem is also described here:
> > https://wiki.archlinux.org/index.php/Dell_XPS_13_(9360)#Continuous_hissing_sound_with_headphones
> >
> > I need to issue the command `amixer -c 0 cset 'numid=10' 1` to solve
> > the problem, but every time I reboot the computer I need to run it
> > again.
> > This has been happening for quite some time, but I've been post-poning
> > the bug report.
>
> What is the original value before setting this amixer command above?
> You can get via "amixer -c0 get numid=10'.
>
> Does the noise again when you restore the value after setting to 1 in
> the above?
>
>
> Takashi
>
> >
> > Current kernel: 4.20.7-200.fc29.x86_64
> >
> > Alsa information:
> > http://www.alsa-project.org/db/?f=df4834c53335709abb521c767e7b1da2f4371744
> > ----
> > They advise me to contact you, to see if we can get a solution on this.
> >
> > Note: The computer also does not recognise (switch to) when I plug an headset.
> >
> > If you need more information, I'm eager to help diagnose and help to
> > solve this, but I have no Kernel programming skills, other than that
> > count on me.
> >
> > Kind regards,
> >
> > Paulo Fidalgo
> >

[-- Attachment #2: after.txt --]
[-- Type: text/plain, Size: 3052 bytes --]

Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 87
  Mono: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 87 [100%] [0.00dB] [on]
  Front Right: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Headphone Mic',0
  Capabilities: cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Mono
  Mono: Capture [off]
Simple mixer control 'Headphone Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 1 [33%] [10.00dB]
  Front Right: 1 [33%] [10.00dB]
Simple mixer control 'Speaker',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 0 [0%] [-65.25dB] [off]
  Front Right: Playback 0 [0%] [-65.25dB] [off]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 255 [100%] [0.00dB]
  Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958',1
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',2
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',3
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',4
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 63
  Front Left: Capture 63 [100%] [30.00dB] [on]
  Front Right: Capture 63 [100%] [30.00dB] [on]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Disabled'
Simple mixer control 'Headset Mic',0
  Capabilities: cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Mono
  Mono: Capture [on]
Simple mixer control 'Headset Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 1 [33%] [10.00dB]
  Front Right: 1 [33%] [10.00dB]
Simple mixer control 'Internal Mic',0
  Capabilities: cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Mono
  Mono: Capture [off]
Simple mixer control 'Internal Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]

[-- Attachment #3: before.txt --]
[-- Type: text/plain, Size: 3048 bytes --]

Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 87
  Mono: Playback 83 [95%] [-3.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 87 [100%] [0.00dB] [on]
  Front Right: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Headphone Mic',0
  Capabilities: cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Mono
  Mono: Capture [off]
Simple mixer control 'Headphone Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]
Simple mixer control 'Speaker',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 0 [0%] [-65.25dB] [off]
  Front Right: Playback 0 [0%] [-65.25dB] [off]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 255 [100%] [0.00dB]
  Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958',1
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',2
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',3
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',4
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 63
  Front Left: Capture 63 [100%] [30.00dB] [on]
  Front Right: Capture 63 [100%] [30.00dB] [on]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Disabled'
Simple mixer control 'Headset Mic',0
  Capabilities: cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Mono
  Mono: Capture [on]
Simple mixer control 'Headset Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 1 [33%] [10.00dB]
  Front Right: 1 [33%] [10.00dB]
Simple mixer control 'Internal Mic',0
  Capabilities: cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Mono
  Mono: Capture [off]
Simple mixer control 'Internal Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]

[-- Attachment #4: Type: text/plain, Size: 0 bytes --]



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

* Re: Dell XPS 9360 continuous hissing sound
  2019-03-22 16:07   ` Paulo Fidalgo
@ 2019-03-22 16:54     ` Takashi Iwai
       [not found]       ` <CAKbjie7oiqbT=6Y2RT06fZjwAX42oumTSSjcHY=Vs4o-q+r7-g@mail.gmail.com>
  0 siblings, 1 reply; 11+ messages in thread
From: Takashi Iwai @ 2019-03-22 16:54 UTC (permalink / raw)
  To: Paulo Fidalgo; +Cc: alsa-devel

On Fri, 22 Mar 2019 17:07:15 +0100,
Paulo Fidalgo wrote:
> 
> Strangely the command returns amixer: Unable to find simple control 'numid=10',0
> So I've runned "amixer -c0" and you can find the output in before.txt

Ah sorry, it was a typo: use "cget" instead of "get".


> Then I've runned amixer -c 0 cset 'numid=10' 1
> and again the "amixer -c0" and you can find the output in after.txt
> 
> Also I've notice that the sound appears after I playing a music on
> computer and goes a few (like 10 ) seconds after the music stopped.

It sounds like a state after runtime PM.


Takashi

> 
> On Fri, 22 Mar 2019 at 15:37, Takashi Iwai <tiwai@suse.de> wrote:
> >
> > On Fri, 22 Mar 2019 12:40:22 +0100,
> > Paulo Fidalgo wrote:
> > >
> > > Hi!
> > >
> > > After a bug report on Fedora
> > > (https://bugzilla.redhat.com/show_bug.cgi?id=1677353)
> > >
> > > ----
> > > When I start t he computer I hears a continuous background noise. The
> > > problem is also described here:
> > > https://wiki.archlinux.org/index.php/Dell_XPS_13_(9360)#Continuous_hissing_sound_with_headphones
> > >
> > > I need to issue the command `amixer -c 0 cset 'numid=10' 1` to solve
> > > the problem, but every time I reboot the computer I need to run it
> > > again.
> > > This has been happening for quite some time, but I've been post-poning
> > > the bug report.
> >
> > What is the original value before setting this amixer command above?
> > You can get via "amixer -c0 get numid=10'.
> >
> > Does the noise again when you restore the value after setting to 1 in
> > the above?
> >
> >
> > Takashi
> >
> > >
> > > Current kernel: 4.20.7-200.fc29.x86_64
> > >
> > > Alsa information:
> > > http://www.alsa-project.org/db/?f=df4834c53335709abb521c767e7b1da2f4371744
> > > ----
> > > They advise me to contact you, to see if we can get a solution on this.
> > >
> > > Note: The computer also does not recognise (switch to) when I plug an headset.
> > >
> > > If you need more information, I'm eager to help diagnose and help to
> > > solve this, but I have no Kernel programming skills, other than that
> > > count on me.
> > >
> > > Kind regards,
> > >
> > > Paulo Fidalgo
> > >
> Simple mixer control 'Master',0
>   Capabilities: pvolume pvolume-joined pswitch pswitch-joined
>   Playback channels: Mono
>   Limits: Playback 0 - 87
>   Mono: Playback 87 [100%] [0.00dB] [on]
> Simple mixer control 'Headphone',0
>   Capabilities: pvolume pswitch
>   Playback channels: Front Left - Front Right
>   Limits: Playback 0 - 87
>   Mono:
>   Front Left: Playback 87 [100%] [0.00dB] [on]
>   Front Right: Playback 87 [100%] [0.00dB] [on]
> Simple mixer control 'Headphone Mic',0
>   Capabilities: cswitch cswitch-joined cswitch-exclusive
>   Capture exclusive group: 0
>   Capture channels: Mono
>   Mono: Capture [off]
> Simple mixer control 'Headphone Mic Boost',0
>   Capabilities: volume
>   Playback channels: Front Left - Front Right
>   Capture channels: Front Left - Front Right
>   Limits: 0 - 3
>   Front Left: 1 [33%] [10.00dB]
>   Front Right: 1 [33%] [10.00dB]
> Simple mixer control 'Speaker',0
>   Capabilities: pvolume pswitch
>   Playback channels: Front Left - Front Right
>   Limits: Playback 0 - 87
>   Mono:
>   Front Left: Playback 0 [0%] [-65.25dB] [off]
>   Front Right: Playback 0 [0%] [-65.25dB] [off]
> Simple mixer control 'PCM',0
>   Capabilities: pvolume
>   Playback channels: Front Left - Front Right
>   Limits: Playback 0 - 255
>   Mono:
>   Front Left: Playback 255 [100%] [0.00dB]
>   Front Right: Playback 255 [100%] [0.00dB]
> Simple mixer control 'IEC958',0
>   Capabilities: pswitch pswitch-joined
>   Playback channels: Mono
>   Mono: Playback [off]
> Simple mixer control 'IEC958',1
>   Capabilities: pswitch pswitch-joined
>   Playback channels: Mono
>   Mono: Playback [on]
> Simple mixer control 'IEC958',2
>   Capabilities: pswitch pswitch-joined
>   Playback channels: Mono
>   Mono: Playback [on]
> Simple mixer control 'IEC958',3
>   Capabilities: pswitch pswitch-joined
>   Playback channels: Mono
>   Mono: Playback [on]
> Simple mixer control 'IEC958',4
>   Capabilities: pswitch pswitch-joined
>   Playback channels: Mono
>   Mono: Playback [on]
> Simple mixer control 'Capture',0
>   Capabilities: cvolume cswitch
>   Capture channels: Front Left - Front Right
>   Limits: Capture 0 - 63
>   Front Left: Capture 63 [100%] [30.00dB] [on]
>   Front Right: Capture 63 [100%] [30.00dB] [on]
> Simple mixer control 'Auto-Mute Mode',0
>   Capabilities: enum
>   Items: 'Disabled' 'Enabled'
>   Item0: 'Disabled'
> Simple mixer control 'Headset Mic',0
>   Capabilities: cswitch cswitch-joined cswitch-exclusive
>   Capture exclusive group: 0
>   Capture channels: Mono
>   Mono: Capture [on]
> Simple mixer control 'Headset Mic Boost',0
>   Capabilities: volume
>   Playback channels: Front Left - Front Right
>   Capture channels: Front Left - Front Right
>   Limits: 0 - 3
>   Front Left: 1 [33%] [10.00dB]
>   Front Right: 1 [33%] [10.00dB]
> Simple mixer control 'Internal Mic',0
>   Capabilities: cswitch cswitch-joined cswitch-exclusive
>   Capture exclusive group: 0
>   Capture channels: Mono
>   Mono: Capture [off]
> Simple mixer control 'Internal Mic Boost',0
>   Capabilities: volume
>   Playback channels: Front Left - Front Right
>   Capture channels: Front Left - Front Right
>   Limits: 0 - 3
>   Front Left: 0 [0%] [0.00dB]
>   Front Right: 0 [0%] [0.00dB]
> Simple mixer control 'Master',0
>   Capabilities: pvolume pvolume-joined pswitch pswitch-joined
>   Playback channels: Mono
>   Limits: Playback 0 - 87
>   Mono: Playback 83 [95%] [-3.00dB] [on]
> Simple mixer control 'Headphone',0
>   Capabilities: pvolume pswitch
>   Playback channels: Front Left - Front Right
>   Limits: Playback 0 - 87
>   Mono:
>   Front Left: Playback 87 [100%] [0.00dB] [on]
>   Front Right: Playback 87 [100%] [0.00dB] [on]
> Simple mixer control 'Headphone Mic',0
>   Capabilities: cswitch cswitch-joined cswitch-exclusive
>   Capture exclusive group: 0
>   Capture channels: Mono
>   Mono: Capture [off]
> Simple mixer control 'Headphone Mic Boost',0
>   Capabilities: volume
>   Playback channels: Front Left - Front Right
>   Capture channels: Front Left - Front Right
>   Limits: 0 - 3
>   Front Left: 0 [0%] [0.00dB]
>   Front Right: 0 [0%] [0.00dB]
> Simple mixer control 'Speaker',0
>   Capabilities: pvolume pswitch
>   Playback channels: Front Left - Front Right
>   Limits: Playback 0 - 87
>   Mono:
>   Front Left: Playback 0 [0%] [-65.25dB] [off]
>   Front Right: Playback 0 [0%] [-65.25dB] [off]
> Simple mixer control 'PCM',0
>   Capabilities: pvolume
>   Playback channels: Front Left - Front Right
>   Limits: Playback 0 - 255
>   Mono:
>   Front Left: Playback 255 [100%] [0.00dB]
>   Front Right: Playback 255 [100%] [0.00dB]
> Simple mixer control 'IEC958',0
>   Capabilities: pswitch pswitch-joined
>   Playback channels: Mono
>   Mono: Playback [off]
> Simple mixer control 'IEC958',1
>   Capabilities: pswitch pswitch-joined
>   Playback channels: Mono
>   Mono: Playback [on]
> Simple mixer control 'IEC958',2
>   Capabilities: pswitch pswitch-joined
>   Playback channels: Mono
>   Mono: Playback [on]
> Simple mixer control 'IEC958',3
>   Capabilities: pswitch pswitch-joined
>   Playback channels: Mono
>   Mono: Playback [on]
> Simple mixer control 'IEC958',4
>   Capabilities: pswitch pswitch-joined
>   Playback channels: Mono
>   Mono: Playback [on]
> Simple mixer control 'Capture',0
>   Capabilities: cvolume cswitch
>   Capture channels: Front Left - Front Right
>   Limits: Capture 0 - 63
>   Front Left: Capture 63 [100%] [30.00dB] [on]
>   Front Right: Capture 63 [100%] [30.00dB] [on]
> Simple mixer control 'Auto-Mute Mode',0
>   Capabilities: enum
>   Items: 'Disabled' 'Enabled'
>   Item0: 'Disabled'
> Simple mixer control 'Headset Mic',0
>   Capabilities: cswitch cswitch-joined cswitch-exclusive
>   Capture exclusive group: 0
>   Capture channels: Mono
>   Mono: Capture [on]
> Simple mixer control 'Headset Mic Boost',0
>   Capabilities: volume
>   Playback channels: Front Left - Front Right
>   Capture channels: Front Left - Front Right
>   Limits: 0 - 3
>   Front Left: 1 [33%] [10.00dB]
>   Front Right: 1 [33%] [10.00dB]
> Simple mixer control 'Internal Mic',0
>   Capabilities: cswitch cswitch-joined cswitch-exclusive
>   Capture exclusive group: 0
>   Capture channels: Mono
>   Mono: Capture [off]
> Simple mixer control 'Internal Mic Boost',0
>   Capabilities: volume
>   Playback channels: Front Left - Front Right
>   Capture channels: Front Left - Front Right
>   Limits: 0 - 3
>   Front Left: 0 [0%] [0.00dB]
>   Front Right: 0 [0%] [0.00dB]

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

* Re: Dell XPS 9360 continuous hissing sound
       [not found]       ` <CAKbjie7oiqbT=6Y2RT06fZjwAX42oumTSSjcHY=Vs4o-q+r7-g@mail.gmail.com>
@ 2019-05-27  9:48         ` Paulo Fidalgo
  2019-05-27  9:55           ` Takashi Iwai
  0 siblings, 1 reply; 11+ messages in thread
From: Paulo Fidalgo @ 2019-05-27  9:48 UTC (permalink / raw)
  To: Takashi Iwai, alsa-devel

Since I don't know if you are waiting for the command output or not I
will provide it:

After a reboot with the headset unplugged:

amixer -c0 cget numid=10
numid=10,iface=MIXER,name='Headphone Mic Boost Volume'
  ; type=INTEGER,access=rw---R--,values=2,min=0,max=3,step=0
  : values=0,0
  | dBscale-min=0.00dB,step=10.00dB,mute=0

After a reboot with the headset plugged I have the same value:

amixer -c0 cget numid=10
numid=10,iface=MIXER,name='Headphone Mic Boost Volume'
  ; type=INTEGER,access=rw---R--,values=2,min=0,max=3,step=0
  : values=0,0
  | dBscale-min=0.00dB,step=10.00dB,mute=0


Also when the headset is plugged the mic, seems to not be detected, as
it keeps with the internal mic of the laptop, but I will create
another thread for that.

Kind regards,

Paulo Fidalgo

On Thu, 16 May 2019 at 15:45, Paulo Fidalgo <paulo.fidalgo.pt@gmail.com> wrote:
>
> Since I don't know if you are waiting for the command output or not I
> will provide it:
>
> After a reboot with the headset unplugged:
>
> amixer -c0 cget numid=10
> numid=10,iface=MIXER,name='Headphone Mic Boost Volume'
>   ; type=INTEGER,access=rw---R--,values=2,min=0,max=3,step=0
>   : values=0,0
>   | dBscale-min=0.00dB,step=10.00dB,mute=0
>
> After a reboot with the headset plugged I have the same value:
>
> amixer -c0 cget numid=10
> numid=10,iface=MIXER,name='Headphone Mic Boost Volume'
>   ; type=INTEGER,access=rw---R--,values=2,min=0,max=3,step=0
>   : values=0,0
>   | dBscale-min=0.00dB,step=10.00dB,mute=0
>
>
> Also when the headset is plugged the mic, seems to not be detected, as
> it keeps with the internal mic of the laptop, but I will create
> another thread for that.
>
> Kind regards,
>
> Paulo Fidalgo
>
>
> On Fri, 22 Mar 2019 at 16:54, Takashi Iwai <tiwai@suse.de> wrote:
> >
> > On Fri, 22 Mar 2019 17:07:15 +0100,
> > Paulo Fidalgo wrote:
> > >
> > > Strangely the command returns amixer: Unable to find simple control 'numid=10',0
> > > So I've runned "amixer -c0" and you can find the output in before.txt
> >
> > Ah sorry, it was a typo: use "cget" instead of "get".
> >
> >
> > > Then I've runned amixer -c 0 cset 'numid=10' 1
> > > and again the "amixer -c0" and you can find the output in after.txt
> > >
> > > Also I've notice that the sound appears after I playing a music on
> > > computer and goes a few (like 10 ) seconds after the music stopped.
> >
> > It sounds like a state after runtime PM.
> >
> >
> > Takashi
> >
> > >
> > > On Fri, 22 Mar 2019 at 15:37, Takashi Iwai <tiwai@suse.de> wrote:
> > > >
> > > > On Fri, 22 Mar 2019 12:40:22 +0100,
> > > > Paulo Fidalgo wrote:
> > > > >
> > > > > Hi!
> > > > >
> > > > > After a bug report on Fedora
> > > > > (https://bugzilla.redhat.com/show_bug.cgi?id=1677353)
> > > > >
> > > > > ----
> > > > > When I start t he computer I hears a continuous background noise. The
> > > > > problem is also described here:
> > > > > https://wiki.archlinux.org/index.php/Dell_XPS_13_(9360)#Continuous_hissing_sound_with_headphones
> > > > >
> > > > > I need to issue the command `amixer -c 0 cset 'numid=10' 1` to solve
> > > > > the problem, but every time I reboot the computer I need to run it
> > > > > again.
> > > > > This has been happening for quite some time, but I've been post-poning
> > > > > the bug report.
> > > >
> > > > What is the original value before setting this amixer command above?
> > > > You can get via "amixer -c0 get numid=10'.
> > > >
> > > > Does the noise again when you restore the value after setting to 1 in
> > > > the above?
> > > >
> > > >
> > > > Takashi
> > > >
> > > > >
> > > > > Current kernel: 4.20.7-200.fc29.x86_64
> > > > >
> > > > > Alsa information:
> > > > > http://www.alsa-project.org/db/?f=df4834c53335709abb521c767e7b1da2f4371744
> > > > > ----
> > > > > They advise me to contact you, to see if we can get a solution on this.
> > > > >
> > > > > Note: The computer also does not recognise (switch to) when I plug an headset.
> > > > >
> > > > > If you need more information, I'm eager to help diagnose and help to
> > > > > solve this, but I have no Kernel programming skills, other than that
> > > > > count on me.
> > > > >
> > > > > Kind regards,
> > > > >
> > > > > Paulo Fidalgo
> > > > >
> > > Simple mixer control 'Master',0
> > >   Capabilities: pvolume pvolume-joined pswitch pswitch-joined
> > >   Playback channels: Mono
> > >   Limits: Playback 0 - 87
> > >   Mono: Playback 87 [100%] [0.00dB] [on]
> > > Simple mixer control 'Headphone',0
> > >   Capabilities: pvolume pswitch
> > >   Playback channels: Front Left - Front Right
> > >   Limits: Playback 0 - 87
> > >   Mono:
> > >   Front Left: Playback 87 [100%] [0.00dB] [on]
> > >   Front Right: Playback 87 [100%] [0.00dB] [on]
> > > Simple mixer control 'Headphone Mic',0
> > >   Capabilities: cswitch cswitch-joined cswitch-exclusive
> > >   Capture exclusive group: 0
> > >   Capture channels: Mono
> > >   Mono: Capture [off]
> > > Simple mixer control 'Headphone Mic Boost',0
> > >   Capabilities: volume
> > >   Playback channels: Front Left - Front Right
> > >   Capture channels: Front Left - Front Right
> > >   Limits: 0 - 3
> > >   Front Left: 1 [33%] [10.00dB]
> > >   Front Right: 1 [33%] [10.00dB]
> > > Simple mixer control 'Speaker',0
> > >   Capabilities: pvolume pswitch
> > >   Playback channels: Front Left - Front Right
> > >   Limits: Playback 0 - 87
> > >   Mono:
> > >   Front Left: Playback 0 [0%] [-65.25dB] [off]
> > >   Front Right: Playback 0 [0%] [-65.25dB] [off]
> > > Simple mixer control 'PCM',0
> > >   Capabilities: pvolume
> > >   Playback channels: Front Left - Front Right
> > >   Limits: Playback 0 - 255
> > >   Mono:
> > >   Front Left: Playback 255 [100%] [0.00dB]
> > >   Front Right: Playback 255 [100%] [0.00dB]
> > > Simple mixer control 'IEC958',0
> > >   Capabilities: pswitch pswitch-joined
> > >   Playback channels: Mono
> > >   Mono: Playback [off]
> > > Simple mixer control 'IEC958',1
> > >   Capabilities: pswitch pswitch-joined
> > >   Playback channels: Mono
> > >   Mono: Playback [on]
> > > Simple mixer control 'IEC958',2
> > >   Capabilities: pswitch pswitch-joined
> > >   Playback channels: Mono
> > >   Mono: Playback [on]
> > > Simple mixer control 'IEC958',3
> > >   Capabilities: pswitch pswitch-joined
> > >   Playback channels: Mono
> > >   Mono: Playback [on]
> > > Simple mixer control 'IEC958',4
> > >   Capabilities: pswitch pswitch-joined
> > >   Playback channels: Mono
> > >   Mono: Playback [on]
> > > Simple mixer control 'Capture',0
> > >   Capabilities: cvolume cswitch
> > >   Capture channels: Front Left - Front Right
> > >   Limits: Capture 0 - 63
> > >   Front Left: Capture 63 [100%] [30.00dB] [on]
> > >   Front Right: Capture 63 [100%] [30.00dB] [on]
> > > Simple mixer control 'Auto-Mute Mode',0
> > >   Capabilities: enum
> > >   Items: 'Disabled' 'Enabled'
> > >   Item0: 'Disabled'
> > > Simple mixer control 'Headset Mic',0
> > >   Capabilities: cswitch cswitch-joined cswitch-exclusive
> > >   Capture exclusive group: 0
> > >   Capture channels: Mono
> > >   Mono: Capture [on]
> > > Simple mixer control 'Headset Mic Boost',0
> > >   Capabilities: volume
> > >   Playback channels: Front Left - Front Right
> > >   Capture channels: Front Left - Front Right
> > >   Limits: 0 - 3
> > >   Front Left: 1 [33%] [10.00dB]
> > >   Front Right: 1 [33%] [10.00dB]
> > > Simple mixer control 'Internal Mic',0
> > >   Capabilities: cswitch cswitch-joined cswitch-exclusive
> > >   Capture exclusive group: 0
> > >   Capture channels: Mono
> > >   Mono: Capture [off]
> > > Simple mixer control 'Internal Mic Boost',0
> > >   Capabilities: volume
> > >   Playback channels: Front Left - Front Right
> > >   Capture channels: Front Left - Front Right
> > >   Limits: 0 - 3
> > >   Front Left: 0 [0%] [0.00dB]
> > >   Front Right: 0 [0%] [0.00dB]
> > > Simple mixer control 'Master',0
> > >   Capabilities: pvolume pvolume-joined pswitch pswitch-joined
> > >   Playback channels: Mono
> > >   Limits: Playback 0 - 87
> > >   Mono: Playback 83 [95%] [-3.00dB] [on]
> > > Simple mixer control 'Headphone',0
> > >   Capabilities: pvolume pswitch
> > >   Playback channels: Front Left - Front Right
> > >   Limits: Playback 0 - 87
> > >   Mono:
> > >   Front Left: Playback 87 [100%] [0.00dB] [on]
> > >   Front Right: Playback 87 [100%] [0.00dB] [on]
> > > Simple mixer control 'Headphone Mic',0
> > >   Capabilities: cswitch cswitch-joined cswitch-exclusive
> > >   Capture exclusive group: 0
> > >   Capture channels: Mono
> > >   Mono: Capture [off]
> > > Simple mixer control 'Headphone Mic Boost',0
> > >   Capabilities: volume
> > >   Playback channels: Front Left - Front Right
> > >   Capture channels: Front Left - Front Right
> > >   Limits: 0 - 3
> > >   Front Left: 0 [0%] [0.00dB]
> > >   Front Right: 0 [0%] [0.00dB]
> > > Simple mixer control 'Speaker',0
> > >   Capabilities: pvolume pswitch
> > >   Playback channels: Front Left - Front Right
> > >   Limits: Playback 0 - 87
> > >   Mono:
> > >   Front Left: Playback 0 [0%] [-65.25dB] [off]
> > >   Front Right: Playback 0 [0%] [-65.25dB] [off]
> > > Simple mixer control 'PCM',0
> > >   Capabilities: pvolume
> > >   Playback channels: Front Left - Front Right
> > >   Limits: Playback 0 - 255
> > >   Mono:
> > >   Front Left: Playback 255 [100%] [0.00dB]
> > >   Front Right: Playback 255 [100%] [0.00dB]
> > > Simple mixer control 'IEC958',0
> > >   Capabilities: pswitch pswitch-joined
> > >   Playback channels: Mono
> > >   Mono: Playback [off]
> > > Simple mixer control 'IEC958',1
> > >   Capabilities: pswitch pswitch-joined
> > >   Playback channels: Mono
> > >   Mono: Playback [on]
> > > Simple mixer control 'IEC958',2
> > >   Capabilities: pswitch pswitch-joined
> > >   Playback channels: Mono
> > >   Mono: Playback [on]
> > > Simple mixer control 'IEC958',3
> > >   Capabilities: pswitch pswitch-joined
> > >   Playback channels: Mono
> > >   Mono: Playback [on]
> > > Simple mixer control 'IEC958',4
> > >   Capabilities: pswitch pswitch-joined
> > >   Playback channels: Mono
> > >   Mono: Playback [on]
> > > Simple mixer control 'Capture',0
> > >   Capabilities: cvolume cswitch
> > >   Capture channels: Front Left - Front Right
> > >   Limits: Capture 0 - 63
> > >   Front Left: Capture 63 [100%] [30.00dB] [on]
> > >   Front Right: Capture 63 [100%] [30.00dB] [on]
> > > Simple mixer control 'Auto-Mute Mode',0
> > >   Capabilities: enum
> > >   Items: 'Disabled' 'Enabled'
> > >   Item0: 'Disabled'
> > > Simple mixer control 'Headset Mic',0
> > >   Capabilities: cswitch cswitch-joined cswitch-exclusive
> > >   Capture exclusive group: 0
> > >   Capture channels: Mono
> > >   Mono: Capture [on]
> > > Simple mixer control 'Headset Mic Boost',0
> > >   Capabilities: volume
> > >   Playback channels: Front Left - Front Right
> > >   Capture channels: Front Left - Front Right
> > >   Limits: 0 - 3
> > >   Front Left: 1 [33%] [10.00dB]
> > >   Front Right: 1 [33%] [10.00dB]
> > > Simple mixer control 'Internal Mic',0
> > >   Capabilities: cswitch cswitch-joined cswitch-exclusive
> > >   Capture exclusive group: 0
> > >   Capture channels: Mono
> > >   Mono: Capture [off]
> > > Simple mixer control 'Internal Mic Boost',0
> > >   Capabilities: volume
> > >   Playback channels: Front Left - Front Right
> > >   Capture channels: Front Left - Front Right
> > >   Limits: 0 - 3
> > >   Front Left: 0 [0%] [0.00dB]
> > >   Front Right: 0 [0%] [0.00dB]

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

* Re: Dell XPS 9360 continuous hissing sound
  2019-05-27  9:48         ` Paulo Fidalgo
@ 2019-05-27  9:55           ` Takashi Iwai
  2019-05-27 10:11             ` Paulo Fidalgo
  0 siblings, 1 reply; 11+ messages in thread
From: Takashi Iwai @ 2019-05-27  9:55 UTC (permalink / raw)
  To: Paulo Fidalgo; +Cc: alsa-devel

On Mon, 27 May 2019 11:48:36 +0200,
Paulo Fidalgo wrote:
> 
> Since I don't know if you are waiting for the command output or not I
> will provide it:
> 
> After a reboot with the headset unplugged:
> 
> amixer -c0 cget numid=10
> numid=10,iface=MIXER,name='Headphone Mic Boost Volume'
>   ; type=INTEGER,access=rw---R--,values=2,min=0,max=3,step=0
>   : values=0,0
>   | dBscale-min=0.00dB,step=10.00dB,mute=0
> 
> After a reboot with the headset plugged I have the same value:
> 
> amixer -c0 cget numid=10
> numid=10,iface=MIXER,name='Headphone Mic Boost Volume'
>   ; type=INTEGER,access=rw---R--,values=2,min=0,max=3,step=0
>   : values=0,0
>   | dBscale-min=0.00dB,step=10.00dB,mute=0
> 
> 
> Also when the headset is plugged the mic, seems to not be detected, as
> it keeps with the internal mic of the laptop, but I will create
> another thread for that.

Could you try the latest for-linus branch of sound.git tree?
Now we disable the poewr_save_node flag as default for some Realtek
codecs, and this might influence on such behavior.


thanks,

Takashi

> 
> Kind regards,
> 
> Paulo Fidalgo
> 
> On Thu, 16 May 2019 at 15:45, Paulo Fidalgo <paulo.fidalgo.pt@gmail.com> wrote:
> >
> > Since I don't know if you are waiting for the command output or not I
> > will provide it:
> >
> > After a reboot with the headset unplugged:
> >
> > amixer -c0 cget numid=10
> > numid=10,iface=MIXER,name='Headphone Mic Boost Volume'
> >   ; type=INTEGER,access=rw---R--,values=2,min=0,max=3,step=0
> >   : values=0,0
> >   | dBscale-min=0.00dB,step=10.00dB,mute=0
> >
> > After a reboot with the headset plugged I have the same value:
> >
> > amixer -c0 cget numid=10
> > numid=10,iface=MIXER,name='Headphone Mic Boost Volume'
> >   ; type=INTEGER,access=rw---R--,values=2,min=0,max=3,step=0
> >   : values=0,0
> >   | dBscale-min=0.00dB,step=10.00dB,mute=0
> >
> >
> > Also when the headset is plugged the mic, seems to not be detected, as
> > it keeps with the internal mic of the laptop, but I will create
> > another thread for that.
> >
> > Kind regards,
> >
> > Paulo Fidalgo
> >
> >
> > On Fri, 22 Mar 2019 at 16:54, Takashi Iwai <tiwai@suse.de> wrote:
> > >
> > > On Fri, 22 Mar 2019 17:07:15 +0100,
> > > Paulo Fidalgo wrote:
> > > >
> > > > Strangely the command returns amixer: Unable to find simple control 'numid=10',0
> > > > So I've runned "amixer -c0" and you can find the output in before.txt
> > >
> > > Ah sorry, it was a typo: use "cget" instead of "get".
> > >
> > >
> > > > Then I've runned amixer -c 0 cset 'numid=10' 1
> > > > and again the "amixer -c0" and you can find the output in after.txt
> > > >
> > > > Also I've notice that the sound appears after I playing a music on
> > > > computer and goes a few (like 10 ) seconds after the music stopped.
> > >
> > > It sounds like a state after runtime PM.
> > >
> > >
> > > Takashi
> > >
> > > >
> > > > On Fri, 22 Mar 2019 at 15:37, Takashi Iwai <tiwai@suse.de> wrote:
> > > > >
> > > > > On Fri, 22 Mar 2019 12:40:22 +0100,
> > > > > Paulo Fidalgo wrote:
> > > > > >
> > > > > > Hi!
> > > > > >
> > > > > > After a bug report on Fedora
> > > > > > (https://bugzilla.redhat.com/show_bug.cgi?id=1677353)
> > > > > >
> > > > > > ----
> > > > > > When I start t he computer I hears a continuous background noise. The
> > > > > > problem is also described here:
> > > > > > https://wiki.archlinux.org/index.php/Dell_XPS_13_(9360)#Continuous_hissing_sound_with_headphones
> > > > > >
> > > > > > I need to issue the command `amixer -c 0 cset 'numid=10' 1` to solve
> > > > > > the problem, but every time I reboot the computer I need to run it
> > > > > > again.
> > > > > > This has been happening for quite some time, but I've been post-poning
> > > > > > the bug report.
> > > > >
> > > > > What is the original value before setting this amixer command above?
> > > > > You can get via "amixer -c0 get numid=10'.
> > > > >
> > > > > Does the noise again when you restore the value after setting to 1 in
> > > > > the above?
> > > > >
> > > > >
> > > > > Takashi
> > > > >
> > > > > >
> > > > > > Current kernel: 4.20.7-200.fc29.x86_64
> > > > > >
> > > > > > Alsa information:
> > > > > > http://www.alsa-project.org/db/?f=df4834c53335709abb521c767e7b1da2f4371744
> > > > > > ----
> > > > > > They advise me to contact you, to see if we can get a solution on this.
> > > > > >
> > > > > > Note: The computer also does not recognise (switch to) when I plug an headset.
> > > > > >
> > > > > > If you need more information, I'm eager to help diagnose and help to
> > > > > > solve this, but I have no Kernel programming skills, other than that
> > > > > > count on me.
> > > > > >
> > > > > > Kind regards,
> > > > > >
> > > > > > Paulo Fidalgo
> > > > > >
> > > > Simple mixer control 'Master',0
> > > >   Capabilities: pvolume pvolume-joined pswitch pswitch-joined
> > > >   Playback channels: Mono
> > > >   Limits: Playback 0 - 87
> > > >   Mono: Playback 87 [100%] [0.00dB] [on]
> > > > Simple mixer control 'Headphone',0
> > > >   Capabilities: pvolume pswitch
> > > >   Playback channels: Front Left - Front Right
> > > >   Limits: Playback 0 - 87
> > > >   Mono:
> > > >   Front Left: Playback 87 [100%] [0.00dB] [on]
> > > >   Front Right: Playback 87 [100%] [0.00dB] [on]
> > > > Simple mixer control 'Headphone Mic',0
> > > >   Capabilities: cswitch cswitch-joined cswitch-exclusive
> > > >   Capture exclusive group: 0
> > > >   Capture channels: Mono
> > > >   Mono: Capture [off]
> > > > Simple mixer control 'Headphone Mic Boost',0
> > > >   Capabilities: volume
> > > >   Playback channels: Front Left - Front Right
> > > >   Capture channels: Front Left - Front Right
> > > >   Limits: 0 - 3
> > > >   Front Left: 1 [33%] [10.00dB]
> > > >   Front Right: 1 [33%] [10.00dB]
> > > > Simple mixer control 'Speaker',0
> > > >   Capabilities: pvolume pswitch
> > > >   Playback channels: Front Left - Front Right
> > > >   Limits: Playback 0 - 87
> > > >   Mono:
> > > >   Front Left: Playback 0 [0%] [-65.25dB] [off]
> > > >   Front Right: Playback 0 [0%] [-65.25dB] [off]
> > > > Simple mixer control 'PCM',0
> > > >   Capabilities: pvolume
> > > >   Playback channels: Front Left - Front Right
> > > >   Limits: Playback 0 - 255
> > > >   Mono:
> > > >   Front Left: Playback 255 [100%] [0.00dB]
> > > >   Front Right: Playback 255 [100%] [0.00dB]
> > > > Simple mixer control 'IEC958',0
> > > >   Capabilities: pswitch pswitch-joined
> > > >   Playback channels: Mono
> > > >   Mono: Playback [off]
> > > > Simple mixer control 'IEC958',1
> > > >   Capabilities: pswitch pswitch-joined
> > > >   Playback channels: Mono
> > > >   Mono: Playback [on]
> > > > Simple mixer control 'IEC958',2
> > > >   Capabilities: pswitch pswitch-joined
> > > >   Playback channels: Mono
> > > >   Mono: Playback [on]
> > > > Simple mixer control 'IEC958',3
> > > >   Capabilities: pswitch pswitch-joined
> > > >   Playback channels: Mono
> > > >   Mono: Playback [on]
> > > > Simple mixer control 'IEC958',4
> > > >   Capabilities: pswitch pswitch-joined
> > > >   Playback channels: Mono
> > > >   Mono: Playback [on]
> > > > Simple mixer control 'Capture',0
> > > >   Capabilities: cvolume cswitch
> > > >   Capture channels: Front Left - Front Right
> > > >   Limits: Capture 0 - 63
> > > >   Front Left: Capture 63 [100%] [30.00dB] [on]
> > > >   Front Right: Capture 63 [100%] [30.00dB] [on]
> > > > Simple mixer control 'Auto-Mute Mode',0
> > > >   Capabilities: enum
> > > >   Items: 'Disabled' 'Enabled'
> > > >   Item0: 'Disabled'
> > > > Simple mixer control 'Headset Mic',0
> > > >   Capabilities: cswitch cswitch-joined cswitch-exclusive
> > > >   Capture exclusive group: 0
> > > >   Capture channels: Mono
> > > >   Mono: Capture [on]
> > > > Simple mixer control 'Headset Mic Boost',0
> > > >   Capabilities: volume
> > > >   Playback channels: Front Left - Front Right
> > > >   Capture channels: Front Left - Front Right
> > > >   Limits: 0 - 3
> > > >   Front Left: 1 [33%] [10.00dB]
> > > >   Front Right: 1 [33%] [10.00dB]
> > > > Simple mixer control 'Internal Mic',0
> > > >   Capabilities: cswitch cswitch-joined cswitch-exclusive
> > > >   Capture exclusive group: 0
> > > >   Capture channels: Mono
> > > >   Mono: Capture [off]
> > > > Simple mixer control 'Internal Mic Boost',0
> > > >   Capabilities: volume
> > > >   Playback channels: Front Left - Front Right
> > > >   Capture channels: Front Left - Front Right
> > > >   Limits: 0 - 3
> > > >   Front Left: 0 [0%] [0.00dB]
> > > >   Front Right: 0 [0%] [0.00dB]
> > > > Simple mixer control 'Master',0
> > > >   Capabilities: pvolume pvolume-joined pswitch pswitch-joined
> > > >   Playback channels: Mono
> > > >   Limits: Playback 0 - 87
> > > >   Mono: Playback 83 [95%] [-3.00dB] [on]
> > > > Simple mixer control 'Headphone',0
> > > >   Capabilities: pvolume pswitch
> > > >   Playback channels: Front Left - Front Right
> > > >   Limits: Playback 0 - 87
> > > >   Mono:
> > > >   Front Left: Playback 87 [100%] [0.00dB] [on]
> > > >   Front Right: Playback 87 [100%] [0.00dB] [on]
> > > > Simple mixer control 'Headphone Mic',0
> > > >   Capabilities: cswitch cswitch-joined cswitch-exclusive
> > > >   Capture exclusive group: 0
> > > >   Capture channels: Mono
> > > >   Mono: Capture [off]
> > > > Simple mixer control 'Headphone Mic Boost',0
> > > >   Capabilities: volume
> > > >   Playback channels: Front Left - Front Right
> > > >   Capture channels: Front Left - Front Right
> > > >   Limits: 0 - 3
> > > >   Front Left: 0 [0%] [0.00dB]
> > > >   Front Right: 0 [0%] [0.00dB]
> > > > Simple mixer control 'Speaker',0
> > > >   Capabilities: pvolume pswitch
> > > >   Playback channels: Front Left - Front Right
> > > >   Limits: Playback 0 - 87
> > > >   Mono:
> > > >   Front Left: Playback 0 [0%] [-65.25dB] [off]
> > > >   Front Right: Playback 0 [0%] [-65.25dB] [off]
> > > > Simple mixer control 'PCM',0
> > > >   Capabilities: pvolume
> > > >   Playback channels: Front Left - Front Right
> > > >   Limits: Playback 0 - 255
> > > >   Mono:
> > > >   Front Left: Playback 255 [100%] [0.00dB]
> > > >   Front Right: Playback 255 [100%] [0.00dB]
> > > > Simple mixer control 'IEC958',0
> > > >   Capabilities: pswitch pswitch-joined
> > > >   Playback channels: Mono
> > > >   Mono: Playback [off]
> > > > Simple mixer control 'IEC958',1
> > > >   Capabilities: pswitch pswitch-joined
> > > >   Playback channels: Mono
> > > >   Mono: Playback [on]
> > > > Simple mixer control 'IEC958',2
> > > >   Capabilities: pswitch pswitch-joined
> > > >   Playback channels: Mono
> > > >   Mono: Playback [on]
> > > > Simple mixer control 'IEC958',3
> > > >   Capabilities: pswitch pswitch-joined
> > > >   Playback channels: Mono
> > > >   Mono: Playback [on]
> > > > Simple mixer control 'IEC958',4
> > > >   Capabilities: pswitch pswitch-joined
> > > >   Playback channels: Mono
> > > >   Mono: Playback [on]
> > > > Simple mixer control 'Capture',0
> > > >   Capabilities: cvolume cswitch
> > > >   Capture channels: Front Left - Front Right
> > > >   Limits: Capture 0 - 63
> > > >   Front Left: Capture 63 [100%] [30.00dB] [on]
> > > >   Front Right: Capture 63 [100%] [30.00dB] [on]
> > > > Simple mixer control 'Auto-Mute Mode',0
> > > >   Capabilities: enum
> > > >   Items: 'Disabled' 'Enabled'
> > > >   Item0: 'Disabled'
> > > > Simple mixer control 'Headset Mic',0
> > > >   Capabilities: cswitch cswitch-joined cswitch-exclusive
> > > >   Capture exclusive group: 0
> > > >   Capture channels: Mono
> > > >   Mono: Capture [on]
> > > > Simple mixer control 'Headset Mic Boost',0
> > > >   Capabilities: volume
> > > >   Playback channels: Front Left - Front Right
> > > >   Capture channels: Front Left - Front Right
> > > >   Limits: 0 - 3
> > > >   Front Left: 1 [33%] [10.00dB]
> > > >   Front Right: 1 [33%] [10.00dB]
> > > > Simple mixer control 'Internal Mic',0
> > > >   Capabilities: cswitch cswitch-joined cswitch-exclusive
> > > >   Capture exclusive group: 0
> > > >   Capture channels: Mono
> > > >   Mono: Capture [off]
> > > > Simple mixer control 'Internal Mic Boost',0
> > > >   Capabilities: volume
> > > >   Playback channels: Front Left - Front Right
> > > >   Capture channels: Front Left - Front Right
> > > >   Limits: 0 - 3
> > > >   Front Left: 0 [0%] [0.00dB]
> > > >   Front Right: 0 [0%] [0.00dB]
> 

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

* Re: Dell XPS 9360 continuous hissing sound
  2019-05-27  9:55           ` Takashi Iwai
@ 2019-05-27 10:11             ` Paulo Fidalgo
  2019-05-27 10:18               ` Takashi Iwai
  0 siblings, 1 reply; 11+ messages in thread
From: Paulo Fidalgo @ 2019-05-27 10:11 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

Sure,

Can you point me to an updated doc? I'm using fedora, if there's
anything specific.

Kind regards,

Paulo Fidalgo

On Mon, 27 May 2019 at 10:55, Takashi Iwai <tiwai@suse.de> wrote:
>
> On Mon, 27 May 2019 11:48:36 +0200,
> Paulo Fidalgo wrote:
> >
> > Since I don't know if you are waiting for the command output or not I
> > will provide it:
> >
> > After a reboot with the headset unplugged:
> >
> > amixer -c0 cget numid=10
> > numid=10,iface=MIXER,name='Headphone Mic Boost Volume'
> >   ; type=INTEGER,access=rw---R--,values=2,min=0,max=3,step=0
> >   : values=0,0
> >   | dBscale-min=0.00dB,step=10.00dB,mute=0
> >
> > After a reboot with the headset plugged I have the same value:
> >
> > amixer -c0 cget numid=10
> > numid=10,iface=MIXER,name='Headphone Mic Boost Volume'
> >   ; type=INTEGER,access=rw---R--,values=2,min=0,max=3,step=0
> >   : values=0,0
> >   | dBscale-min=0.00dB,step=10.00dB,mute=0
> >
> >
> > Also when the headset is plugged the mic, seems to not be detected, as
> > it keeps with the internal mic of the laptop, but I will create
> > another thread for that.
>
> Could you try the latest for-linus branch of sound.git tree?
> Now we disable the poewr_save_node flag as default for some Realtek
> codecs, and this might influence on such behavior.
>
>
> thanks,
>
> Takashi
>
> >
> > Kind regards,
> >
> > Paulo Fidalgo
> >
> > On Thu, 16 May 2019 at 15:45, Paulo Fidalgo <paulo.fidalgo.pt@gmail.com> wrote:
> > >
> > > Since I don't know if you are waiting for the command output or not I
> > > will provide it:
> > >
> > > After a reboot with the headset unplugged:
> > >
> > > amixer -c0 cget numid=10
> > > numid=10,iface=MIXER,name='Headphone Mic Boost Volume'
> > >   ; type=INTEGER,access=rw---R--,values=2,min=0,max=3,step=0
> > >   : values=0,0
> > >   | dBscale-min=0.00dB,step=10.00dB,mute=0
> > >
> > > After a reboot with the headset plugged I have the same value:
> > >
> > > amixer -c0 cget numid=10
> > > numid=10,iface=MIXER,name='Headphone Mic Boost Volume'
> > >   ; type=INTEGER,access=rw---R--,values=2,min=0,max=3,step=0
> > >   : values=0,0
> > >   | dBscale-min=0.00dB,step=10.00dB,mute=0
> > >
> > >
> > > Also when the headset is plugged the mic, seems to not be detected, as
> > > it keeps with the internal mic of the laptop, but I will create
> > > another thread for that.
> > >
> > > Kind regards,
> > >
> > > Paulo Fidalgo
> > >
> > >
> > > On Fri, 22 Mar 2019 at 16:54, Takashi Iwai <tiwai@suse.de> wrote:
> > > >
> > > > On Fri, 22 Mar 2019 17:07:15 +0100,
> > > > Paulo Fidalgo wrote:
> > > > >
> > > > > Strangely the command returns amixer: Unable to find simple control 'numid=10',0
> > > > > So I've runned "amixer -c0" and you can find the output in before.txt
> > > >
> > > > Ah sorry, it was a typo: use "cget" instead of "get".
> > > >
> > > >
> > > > > Then I've runned amixer -c 0 cset 'numid=10' 1
> > > > > and again the "amixer -c0" and you can find the output in after.txt
> > > > >
> > > > > Also I've notice that the sound appears after I playing a music on
> > > > > computer and goes a few (like 10 ) seconds after the music stopped.
> > > >
> > > > It sounds like a state after runtime PM.
> > > >
> > > >
> > > > Takashi
> > > >
> > > > >
> > > > > On Fri, 22 Mar 2019 at 15:37, Takashi Iwai <tiwai@suse.de> wrote:
> > > > > >
> > > > > > On Fri, 22 Mar 2019 12:40:22 +0100,
> > > > > > Paulo Fidalgo wrote:
> > > > > > >
> > > > > > > Hi!
> > > > > > >
> > > > > > > After a bug report on Fedora
> > > > > > > (https://bugzilla.redhat.com/show_bug.cgi?id=1677353)
> > > > > > >
> > > > > > > ----
> > > > > > > When I start t he computer I hears a continuous background noise. The
> > > > > > > problem is also described here:
> > > > > > > https://wiki.archlinux.org/index.php/Dell_XPS_13_(9360)#Continuous_hissing_sound_with_headphones
> > > > > > >
> > > > > > > I need to issue the command `amixer -c 0 cset 'numid=10' 1` to solve
> > > > > > > the problem, but every time I reboot the computer I need to run it
> > > > > > > again.
> > > > > > > This has been happening for quite some time, but I've been post-poning
> > > > > > > the bug report.
> > > > > >
> > > > > > What is the original value before setting this amixer command above?
> > > > > > You can get via "amixer -c0 get numid=10'.
> > > > > >
> > > > > > Does the noise again when you restore the value after setting to 1 in
> > > > > > the above?
> > > > > >
> > > > > >
> > > > > > Takashi
> > > > > >
> > > > > > >
> > > > > > > Current kernel: 4.20.7-200.fc29.x86_64
> > > > > > >
> > > > > > > Alsa information:
> > > > > > > http://www.alsa-project.org/db/?f=df4834c53335709abb521c767e7b1da2f4371744
> > > > > > > ----
> > > > > > > They advise me to contact you, to see if we can get a solution on this.
> > > > > > >
> > > > > > > Note: The computer also does not recognise (switch to) when I plug an headset.
> > > > > > >
> > > > > > > If you need more information, I'm eager to help diagnose and help to
> > > > > > > solve this, but I have no Kernel programming skills, other than that
> > > > > > > count on me.
> > > > > > >
> > > > > > > Kind regards,
> > > > > > >
> > > > > > > Paulo Fidalgo
> > > > > > >
> > > > > Simple mixer control 'Master',0
> > > > >   Capabilities: pvolume pvolume-joined pswitch pswitch-joined
> > > > >   Playback channels: Mono
> > > > >   Limits: Playback 0 - 87
> > > > >   Mono: Playback 87 [100%] [0.00dB] [on]
> > > > > Simple mixer control 'Headphone',0
> > > > >   Capabilities: pvolume pswitch
> > > > >   Playback channels: Front Left - Front Right
> > > > >   Limits: Playback 0 - 87
> > > > >   Mono:
> > > > >   Front Left: Playback 87 [100%] [0.00dB] [on]
> > > > >   Front Right: Playback 87 [100%] [0.00dB] [on]
> > > > > Simple mixer control 'Headphone Mic',0
> > > > >   Capabilities: cswitch cswitch-joined cswitch-exclusive
> > > > >   Capture exclusive group: 0
> > > > >   Capture channels: Mono
> > > > >   Mono: Capture [off]
> > > > > Simple mixer control 'Headphone Mic Boost',0
> > > > >   Capabilities: volume
> > > > >   Playback channels: Front Left - Front Right
> > > > >   Capture channels: Front Left - Front Right
> > > > >   Limits: 0 - 3
> > > > >   Front Left: 1 [33%] [10.00dB]
> > > > >   Front Right: 1 [33%] [10.00dB]
> > > > > Simple mixer control 'Speaker',0
> > > > >   Capabilities: pvolume pswitch
> > > > >   Playback channels: Front Left - Front Right
> > > > >   Limits: Playback 0 - 87
> > > > >   Mono:
> > > > >   Front Left: Playback 0 [0%] [-65.25dB] [off]
> > > > >   Front Right: Playback 0 [0%] [-65.25dB] [off]
> > > > > Simple mixer control 'PCM',0
> > > > >   Capabilities: pvolume
> > > > >   Playback channels: Front Left - Front Right
> > > > >   Limits: Playback 0 - 255
> > > > >   Mono:
> > > > >   Front Left: Playback 255 [100%] [0.00dB]
> > > > >   Front Right: Playback 255 [100%] [0.00dB]
> > > > > Simple mixer control 'IEC958',0
> > > > >   Capabilities: pswitch pswitch-joined
> > > > >   Playback channels: Mono
> > > > >   Mono: Playback [off]
> > > > > Simple mixer control 'IEC958',1
> > > > >   Capabilities: pswitch pswitch-joined
> > > > >   Playback channels: Mono
> > > > >   Mono: Playback [on]
> > > > > Simple mixer control 'IEC958',2
> > > > >   Capabilities: pswitch pswitch-joined
> > > > >   Playback channels: Mono
> > > > >   Mono: Playback [on]
> > > > > Simple mixer control 'IEC958',3
> > > > >   Capabilities: pswitch pswitch-joined
> > > > >   Playback channels: Mono
> > > > >   Mono: Playback [on]
> > > > > Simple mixer control 'IEC958',4
> > > > >   Capabilities: pswitch pswitch-joined
> > > > >   Playback channels: Mono
> > > > >   Mono: Playback [on]
> > > > > Simple mixer control 'Capture',0
> > > > >   Capabilities: cvolume cswitch
> > > > >   Capture channels: Front Left - Front Right
> > > > >   Limits: Capture 0 - 63
> > > > >   Front Left: Capture 63 [100%] [30.00dB] [on]
> > > > >   Front Right: Capture 63 [100%] [30.00dB] [on]
> > > > > Simple mixer control 'Auto-Mute Mode',0
> > > > >   Capabilities: enum
> > > > >   Items: 'Disabled' 'Enabled'
> > > > >   Item0: 'Disabled'
> > > > > Simple mixer control 'Headset Mic',0
> > > > >   Capabilities: cswitch cswitch-joined cswitch-exclusive
> > > > >   Capture exclusive group: 0
> > > > >   Capture channels: Mono
> > > > >   Mono: Capture [on]
> > > > > Simple mixer control 'Headset Mic Boost',0
> > > > >   Capabilities: volume
> > > > >   Playback channels: Front Left - Front Right
> > > > >   Capture channels: Front Left - Front Right
> > > > >   Limits: 0 - 3
> > > > >   Front Left: 1 [33%] [10.00dB]
> > > > >   Front Right: 1 [33%] [10.00dB]
> > > > > Simple mixer control 'Internal Mic',0
> > > > >   Capabilities: cswitch cswitch-joined cswitch-exclusive
> > > > >   Capture exclusive group: 0
> > > > >   Capture channels: Mono
> > > > >   Mono: Capture [off]
> > > > > Simple mixer control 'Internal Mic Boost',0
> > > > >   Capabilities: volume
> > > > >   Playback channels: Front Left - Front Right
> > > > >   Capture channels: Front Left - Front Right
> > > > >   Limits: 0 - 3
> > > > >   Front Left: 0 [0%] [0.00dB]
> > > > >   Front Right: 0 [0%] [0.00dB]
> > > > > Simple mixer control 'Master',0
> > > > >   Capabilities: pvolume pvolume-joined pswitch pswitch-joined
> > > > >   Playback channels: Mono
> > > > >   Limits: Playback 0 - 87
> > > > >   Mono: Playback 83 [95%] [-3.00dB] [on]
> > > > > Simple mixer control 'Headphone',0
> > > > >   Capabilities: pvolume pswitch
> > > > >   Playback channels: Front Left - Front Right
> > > > >   Limits: Playback 0 - 87
> > > > >   Mono:
> > > > >   Front Left: Playback 87 [100%] [0.00dB] [on]
> > > > >   Front Right: Playback 87 [100%] [0.00dB] [on]
> > > > > Simple mixer control 'Headphone Mic',0
> > > > >   Capabilities: cswitch cswitch-joined cswitch-exclusive
> > > > >   Capture exclusive group: 0
> > > > >   Capture channels: Mono
> > > > >   Mono: Capture [off]
> > > > > Simple mixer control 'Headphone Mic Boost',0
> > > > >   Capabilities: volume
> > > > >   Playback channels: Front Left - Front Right
> > > > >   Capture channels: Front Left - Front Right
> > > > >   Limits: 0 - 3
> > > > >   Front Left: 0 [0%] [0.00dB]
> > > > >   Front Right: 0 [0%] [0.00dB]
> > > > > Simple mixer control 'Speaker',0
> > > > >   Capabilities: pvolume pswitch
> > > > >   Playback channels: Front Left - Front Right
> > > > >   Limits: Playback 0 - 87
> > > > >   Mono:
> > > > >   Front Left: Playback 0 [0%] [-65.25dB] [off]
> > > > >   Front Right: Playback 0 [0%] [-65.25dB] [off]
> > > > > Simple mixer control 'PCM',0
> > > > >   Capabilities: pvolume
> > > > >   Playback channels: Front Left - Front Right
> > > > >   Limits: Playback 0 - 255
> > > > >   Mono:
> > > > >   Front Left: Playback 255 [100%] [0.00dB]
> > > > >   Front Right: Playback 255 [100%] [0.00dB]
> > > > > Simple mixer control 'IEC958',0
> > > > >   Capabilities: pswitch pswitch-joined
> > > > >   Playback channels: Mono
> > > > >   Mono: Playback [off]
> > > > > Simple mixer control 'IEC958',1
> > > > >   Capabilities: pswitch pswitch-joined
> > > > >   Playback channels: Mono
> > > > >   Mono: Playback [on]
> > > > > Simple mixer control 'IEC958',2
> > > > >   Capabilities: pswitch pswitch-joined
> > > > >   Playback channels: Mono
> > > > >   Mono: Playback [on]
> > > > > Simple mixer control 'IEC958',3
> > > > >   Capabilities: pswitch pswitch-joined
> > > > >   Playback channels: Mono
> > > > >   Mono: Playback [on]
> > > > > Simple mixer control 'IEC958',4
> > > > >   Capabilities: pswitch pswitch-joined
> > > > >   Playback channels: Mono
> > > > >   Mono: Playback [on]
> > > > > Simple mixer control 'Capture',0
> > > > >   Capabilities: cvolume cswitch
> > > > >   Capture channels: Front Left - Front Right
> > > > >   Limits: Capture 0 - 63
> > > > >   Front Left: Capture 63 [100%] [30.00dB] [on]
> > > > >   Front Right: Capture 63 [100%] [30.00dB] [on]
> > > > > Simple mixer control 'Auto-Mute Mode',0
> > > > >   Capabilities: enum
> > > > >   Items: 'Disabled' 'Enabled'
> > > > >   Item0: 'Disabled'
> > > > > Simple mixer control 'Headset Mic',0
> > > > >   Capabilities: cswitch cswitch-joined cswitch-exclusive
> > > > >   Capture exclusive group: 0
> > > > >   Capture channels: Mono
> > > > >   Mono: Capture [on]
> > > > > Simple mixer control 'Headset Mic Boost',0
> > > > >   Capabilities: volume
> > > > >   Playback channels: Front Left - Front Right
> > > > >   Capture channels: Front Left - Front Right
> > > > >   Limits: 0 - 3
> > > > >   Front Left: 1 [33%] [10.00dB]
> > > > >   Front Right: 1 [33%] [10.00dB]
> > > > > Simple mixer control 'Internal Mic',0
> > > > >   Capabilities: cswitch cswitch-joined cswitch-exclusive
> > > > >   Capture exclusive group: 0
> > > > >   Capture channels: Mono
> > > > >   Mono: Capture [off]
> > > > > Simple mixer control 'Internal Mic Boost',0
> > > > >   Capabilities: volume
> > > > >   Playback channels: Front Left - Front Right
> > > > >   Capture channels: Front Left - Front Right
> > > > >   Limits: 0 - 3
> > > > >   Front Left: 0 [0%] [0.00dB]
> > > > >   Front Right: 0 [0%] [0.00dB]
> >

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

* Re: Dell XPS 9360 continuous hissing sound
  2019-05-27 10:11             ` Paulo Fidalgo
@ 2019-05-27 10:18               ` Takashi Iwai
  2019-05-27 10:29                 ` Takashi Iwai
  0 siblings, 1 reply; 11+ messages in thread
From: Takashi Iwai @ 2019-05-27 10:18 UTC (permalink / raw)
  To: Paulo Fidalgo; +Cc: alsa-devel

On Mon, 27 May 2019 12:11:24 +0200,
Paulo Fidalgo wrote:
> 
> Sure,
> 
> Can you point me to an updated doc? I'm using fedora, if there's
> anything specific.

I have no idea about Fedora, but what I'm asking is to test the
upstream kernel, so it should be independent from the distro.


Takashi

> 
> Kind regards,
> 
> Paulo Fidalgo
> 
> On Mon, 27 May 2019 at 10:55, Takashi Iwai <tiwai@suse.de> wrote:
> >
> > On Mon, 27 May 2019 11:48:36 +0200,
> > Paulo Fidalgo wrote:
> > >
> > > Since I don't know if you are waiting for the command output or not I
> > > will provide it:
> > >
> > > After a reboot with the headset unplugged:
> > >
> > > amixer -c0 cget numid=10
> > > numid=10,iface=MIXER,name='Headphone Mic Boost Volume'
> > >   ; type=INTEGER,access=rw---R--,values=2,min=0,max=3,step=0
> > >   : values=0,0
> > >   | dBscale-min=0.00dB,step=10.00dB,mute=0
> > >
> > > After a reboot with the headset plugged I have the same value:
> > >
> > > amixer -c0 cget numid=10
> > > numid=10,iface=MIXER,name='Headphone Mic Boost Volume'
> > >   ; type=INTEGER,access=rw---R--,values=2,min=0,max=3,step=0
> > >   : values=0,0
> > >   | dBscale-min=0.00dB,step=10.00dB,mute=0
> > >
> > >
> > > Also when the headset is plugged the mic, seems to not be detected, as
> > > it keeps with the internal mic of the laptop, but I will create
> > > another thread for that.
> >
> > Could you try the latest for-linus branch of sound.git tree?
> > Now we disable the poewr_save_node flag as default for some Realtek
> > codecs, and this might influence on such behavior.
> >
> >
> > thanks,
> >
> > Takashi
> >
> > >
> > > Kind regards,
> > >
> > > Paulo Fidalgo
> > >
> > > On Thu, 16 May 2019 at 15:45, Paulo Fidalgo <paulo.fidalgo.pt@gmail.com> wrote:
> > > >
> > > > Since I don't know if you are waiting for the command output or not I
> > > > will provide it:
> > > >
> > > > After a reboot with the headset unplugged:
> > > >
> > > > amixer -c0 cget numid=10
> > > > numid=10,iface=MIXER,name='Headphone Mic Boost Volume'
> > > >   ; type=INTEGER,access=rw---R--,values=2,min=0,max=3,step=0
> > > >   : values=0,0
> > > >   | dBscale-min=0.00dB,step=10.00dB,mute=0
> > > >
> > > > After a reboot with the headset plugged I have the same value:
> > > >
> > > > amixer -c0 cget numid=10
> > > > numid=10,iface=MIXER,name='Headphone Mic Boost Volume'
> > > >   ; type=INTEGER,access=rw---R--,values=2,min=0,max=3,step=0
> > > >   : values=0,0
> > > >   | dBscale-min=0.00dB,step=10.00dB,mute=0
> > > >
> > > >
> > > > Also when the headset is plugged the mic, seems to not be detected, as
> > > > it keeps with the internal mic of the laptop, but I will create
> > > > another thread for that.
> > > >
> > > > Kind regards,
> > > >
> > > > Paulo Fidalgo
> > > >
> > > >
> > > > On Fri, 22 Mar 2019 at 16:54, Takashi Iwai <tiwai@suse.de> wrote:
> > > > >
> > > > > On Fri, 22 Mar 2019 17:07:15 +0100,
> > > > > Paulo Fidalgo wrote:
> > > > > >
> > > > > > Strangely the command returns amixer: Unable to find simple control 'numid=10',0
> > > > > > So I've runned "amixer -c0" and you can find the output in before.txt
> > > > >
> > > > > Ah sorry, it was a typo: use "cget" instead of "get".
> > > > >
> > > > >
> > > > > > Then I've runned amixer -c 0 cset 'numid=10' 1
> > > > > > and again the "amixer -c0" and you can find the output in after.txt
> > > > > >
> > > > > > Also I've notice that the sound appears after I playing a music on
> > > > > > computer and goes a few (like 10 ) seconds after the music stopped.
> > > > >
> > > > > It sounds like a state after runtime PM.
> > > > >
> > > > >
> > > > > Takashi
> > > > >
> > > > > >
> > > > > > On Fri, 22 Mar 2019 at 15:37, Takashi Iwai <tiwai@suse.de> wrote:
> > > > > > >
> > > > > > > On Fri, 22 Mar 2019 12:40:22 +0100,
> > > > > > > Paulo Fidalgo wrote:
> > > > > > > >
> > > > > > > > Hi!
> > > > > > > >
> > > > > > > > After a bug report on Fedora
> > > > > > > > (https://bugzilla.redhat.com/show_bug.cgi?id=1677353)
> > > > > > > >
> > > > > > > > ----
> > > > > > > > When I start t he computer I hears a continuous background noise. The
> > > > > > > > problem is also described here:
> > > > > > > > https://wiki.archlinux.org/index.php/Dell_XPS_13_(9360)#Continuous_hissing_sound_with_headphones
> > > > > > > >
> > > > > > > > I need to issue the command `amixer -c 0 cset 'numid=10' 1` to solve
> > > > > > > > the problem, but every time I reboot the computer I need to run it
> > > > > > > > again.
> > > > > > > > This has been happening for quite some time, but I've been post-poning
> > > > > > > > the bug report.
> > > > > > >
> > > > > > > What is the original value before setting this amixer command above?
> > > > > > > You can get via "amixer -c0 get numid=10'.
> > > > > > >
> > > > > > > Does the noise again when you restore the value after setting to 1 in
> > > > > > > the above?
> > > > > > >
> > > > > > >
> > > > > > > Takashi
> > > > > > >
> > > > > > > >
> > > > > > > > Current kernel: 4.20.7-200.fc29.x86_64
> > > > > > > >
> > > > > > > > Alsa information:
> > > > > > > > http://www.alsa-project.org/db/?f=df4834c53335709abb521c767e7b1da2f4371744
> > > > > > > > ----
> > > > > > > > They advise me to contact you, to see if we can get a solution on this.
> > > > > > > >
> > > > > > > > Note: The computer also does not recognise (switch to) when I plug an headset.
> > > > > > > >
> > > > > > > > If you need more information, I'm eager to help diagnose and help to
> > > > > > > > solve this, but I have no Kernel programming skills, other than that
> > > > > > > > count on me.
> > > > > > > >
> > > > > > > > Kind regards,
> > > > > > > >
> > > > > > > > Paulo Fidalgo
> > > > > > > >
> > > > > > Simple mixer control 'Master',0
> > > > > >   Capabilities: pvolume pvolume-joined pswitch pswitch-joined
> > > > > >   Playback channels: Mono
> > > > > >   Limits: Playback 0 - 87
> > > > > >   Mono: Playback 87 [100%] [0.00dB] [on]
> > > > > > Simple mixer control 'Headphone',0
> > > > > >   Capabilities: pvolume pswitch
> > > > > >   Playback channels: Front Left - Front Right
> > > > > >   Limits: Playback 0 - 87
> > > > > >   Mono:
> > > > > >   Front Left: Playback 87 [100%] [0.00dB] [on]
> > > > > >   Front Right: Playback 87 [100%] [0.00dB] [on]
> > > > > > Simple mixer control 'Headphone Mic',0
> > > > > >   Capabilities: cswitch cswitch-joined cswitch-exclusive
> > > > > >   Capture exclusive group: 0
> > > > > >   Capture channels: Mono
> > > > > >   Mono: Capture [off]
> > > > > > Simple mixer control 'Headphone Mic Boost',0
> > > > > >   Capabilities: volume
> > > > > >   Playback channels: Front Left - Front Right
> > > > > >   Capture channels: Front Left - Front Right
> > > > > >   Limits: 0 - 3
> > > > > >   Front Left: 1 [33%] [10.00dB]
> > > > > >   Front Right: 1 [33%] [10.00dB]
> > > > > > Simple mixer control 'Speaker',0
> > > > > >   Capabilities: pvolume pswitch
> > > > > >   Playback channels: Front Left - Front Right
> > > > > >   Limits: Playback 0 - 87
> > > > > >   Mono:
> > > > > >   Front Left: Playback 0 [0%] [-65.25dB] [off]
> > > > > >   Front Right: Playback 0 [0%] [-65.25dB] [off]
> > > > > > Simple mixer control 'PCM',0
> > > > > >   Capabilities: pvolume
> > > > > >   Playback channels: Front Left - Front Right
> > > > > >   Limits: Playback 0 - 255
> > > > > >   Mono:
> > > > > >   Front Left: Playback 255 [100%] [0.00dB]
> > > > > >   Front Right: Playback 255 [100%] [0.00dB]
> > > > > > Simple mixer control 'IEC958',0
> > > > > >   Capabilities: pswitch pswitch-joined
> > > > > >   Playback channels: Mono
> > > > > >   Mono: Playback [off]
> > > > > > Simple mixer control 'IEC958',1
> > > > > >   Capabilities: pswitch pswitch-joined
> > > > > >   Playback channels: Mono
> > > > > >   Mono: Playback [on]
> > > > > > Simple mixer control 'IEC958',2
> > > > > >   Capabilities: pswitch pswitch-joined
> > > > > >   Playback channels: Mono
> > > > > >   Mono: Playback [on]
> > > > > > Simple mixer control 'IEC958',3
> > > > > >   Capabilities: pswitch pswitch-joined
> > > > > >   Playback channels: Mono
> > > > > >   Mono: Playback [on]
> > > > > > Simple mixer control 'IEC958',4
> > > > > >   Capabilities: pswitch pswitch-joined
> > > > > >   Playback channels: Mono
> > > > > >   Mono: Playback [on]
> > > > > > Simple mixer control 'Capture',0
> > > > > >   Capabilities: cvolume cswitch
> > > > > >   Capture channels: Front Left - Front Right
> > > > > >   Limits: Capture 0 - 63
> > > > > >   Front Left: Capture 63 [100%] [30.00dB] [on]
> > > > > >   Front Right: Capture 63 [100%] [30.00dB] [on]
> > > > > > Simple mixer control 'Auto-Mute Mode',0
> > > > > >   Capabilities: enum
> > > > > >   Items: 'Disabled' 'Enabled'
> > > > > >   Item0: 'Disabled'
> > > > > > Simple mixer control 'Headset Mic',0
> > > > > >   Capabilities: cswitch cswitch-joined cswitch-exclusive
> > > > > >   Capture exclusive group: 0
> > > > > >   Capture channels: Mono
> > > > > >   Mono: Capture [on]
> > > > > > Simple mixer control 'Headset Mic Boost',0
> > > > > >   Capabilities: volume
> > > > > >   Playback channels: Front Left - Front Right
> > > > > >   Capture channels: Front Left - Front Right
> > > > > >   Limits: 0 - 3
> > > > > >   Front Left: 1 [33%] [10.00dB]
> > > > > >   Front Right: 1 [33%] [10.00dB]
> > > > > > Simple mixer control 'Internal Mic',0
> > > > > >   Capabilities: cswitch cswitch-joined cswitch-exclusive
> > > > > >   Capture exclusive group: 0
> > > > > >   Capture channels: Mono
> > > > > >   Mono: Capture [off]
> > > > > > Simple mixer control 'Internal Mic Boost',0
> > > > > >   Capabilities: volume
> > > > > >   Playback channels: Front Left - Front Right
> > > > > >   Capture channels: Front Left - Front Right
> > > > > >   Limits: 0 - 3
> > > > > >   Front Left: 0 [0%] [0.00dB]
> > > > > >   Front Right: 0 [0%] [0.00dB]
> > > > > > Simple mixer control 'Master',0
> > > > > >   Capabilities: pvolume pvolume-joined pswitch pswitch-joined
> > > > > >   Playback channels: Mono
> > > > > >   Limits: Playback 0 - 87
> > > > > >   Mono: Playback 83 [95%] [-3.00dB] [on]
> > > > > > Simple mixer control 'Headphone',0
> > > > > >   Capabilities: pvolume pswitch
> > > > > >   Playback channels: Front Left - Front Right
> > > > > >   Limits: Playback 0 - 87
> > > > > >   Mono:
> > > > > >   Front Left: Playback 87 [100%] [0.00dB] [on]
> > > > > >   Front Right: Playback 87 [100%] [0.00dB] [on]
> > > > > > Simple mixer control 'Headphone Mic',0
> > > > > >   Capabilities: cswitch cswitch-joined cswitch-exclusive
> > > > > >   Capture exclusive group: 0
> > > > > >   Capture channels: Mono
> > > > > >   Mono: Capture [off]
> > > > > > Simple mixer control 'Headphone Mic Boost',0
> > > > > >   Capabilities: volume
> > > > > >   Playback channels: Front Left - Front Right
> > > > > >   Capture channels: Front Left - Front Right
> > > > > >   Limits: 0 - 3
> > > > > >   Front Left: 0 [0%] [0.00dB]
> > > > > >   Front Right: 0 [0%] [0.00dB]
> > > > > > Simple mixer control 'Speaker',0
> > > > > >   Capabilities: pvolume pswitch
> > > > > >   Playback channels: Front Left - Front Right
> > > > > >   Limits: Playback 0 - 87
> > > > > >   Mono:
> > > > > >   Front Left: Playback 0 [0%] [-65.25dB] [off]
> > > > > >   Front Right: Playback 0 [0%] [-65.25dB] [off]
> > > > > > Simple mixer control 'PCM',0
> > > > > >   Capabilities: pvolume
> > > > > >   Playback channels: Front Left - Front Right
> > > > > >   Limits: Playback 0 - 255
> > > > > >   Mono:
> > > > > >   Front Left: Playback 255 [100%] [0.00dB]
> > > > > >   Front Right: Playback 255 [100%] [0.00dB]
> > > > > > Simple mixer control 'IEC958',0
> > > > > >   Capabilities: pswitch pswitch-joined
> > > > > >   Playback channels: Mono
> > > > > >   Mono: Playback [off]
> > > > > > Simple mixer control 'IEC958',1
> > > > > >   Capabilities: pswitch pswitch-joined
> > > > > >   Playback channels: Mono
> > > > > >   Mono: Playback [on]
> > > > > > Simple mixer control 'IEC958',2
> > > > > >   Capabilities: pswitch pswitch-joined
> > > > > >   Playback channels: Mono
> > > > > >   Mono: Playback [on]
> > > > > > Simple mixer control 'IEC958',3
> > > > > >   Capabilities: pswitch pswitch-joined
> > > > > >   Playback channels: Mono
> > > > > >   Mono: Playback [on]
> > > > > > Simple mixer control 'IEC958',4
> > > > > >   Capabilities: pswitch pswitch-joined
> > > > > >   Playback channels: Mono
> > > > > >   Mono: Playback [on]
> > > > > > Simple mixer control 'Capture',0
> > > > > >   Capabilities: cvolume cswitch
> > > > > >   Capture channels: Front Left - Front Right
> > > > > >   Limits: Capture 0 - 63
> > > > > >   Front Left: Capture 63 [100%] [30.00dB] [on]
> > > > > >   Front Right: Capture 63 [100%] [30.00dB] [on]
> > > > > > Simple mixer control 'Auto-Mute Mode',0
> > > > > >   Capabilities: enum
> > > > > >   Items: 'Disabled' 'Enabled'
> > > > > >   Item0: 'Disabled'
> > > > > > Simple mixer control 'Headset Mic',0
> > > > > >   Capabilities: cswitch cswitch-joined cswitch-exclusive
> > > > > >   Capture exclusive group: 0
> > > > > >   Capture channels: Mono
> > > > > >   Mono: Capture [on]
> > > > > > Simple mixer control 'Headset Mic Boost',0
> > > > > >   Capabilities: volume
> > > > > >   Playback channels: Front Left - Front Right
> > > > > >   Capture channels: Front Left - Front Right
> > > > > >   Limits: 0 - 3
> > > > > >   Front Left: 1 [33%] [10.00dB]
> > > > > >   Front Right: 1 [33%] [10.00dB]
> > > > > > Simple mixer control 'Internal Mic',0
> > > > > >   Capabilities: cswitch cswitch-joined cswitch-exclusive
> > > > > >   Capture exclusive group: 0
> > > > > >   Capture channels: Mono
> > > > > >   Mono: Capture [off]
> > > > > > Simple mixer control 'Internal Mic Boost',0
> > > > > >   Capabilities: volume
> > > > > >   Playback channels: Front Left - Front Right
> > > > > >   Capture channels: Front Left - Front Right
> > > > > >   Limits: 0 - 3
> > > > > >   Front Left: 0 [0%] [0.00dB]
> > > > > >   Front Right: 0 [0%] [0.00dB]
> > >
> 

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

* Re: Dell XPS 9360 continuous hissing sound
  2019-05-27 10:18               ` Takashi Iwai
@ 2019-05-27 10:29                 ` Takashi Iwai
  2019-05-28  9:07                   ` Paulo Fidalgo
  0 siblings, 1 reply; 11+ messages in thread
From: Takashi Iwai @ 2019-05-27 10:29 UTC (permalink / raw)
  To: Paulo Fidalgo; +Cc: alsa-devel

On Mon, 27 May 2019 12:18:59 +0200,
Takashi Iwai wrote:
> 
> On Mon, 27 May 2019 12:11:24 +0200,
> Paulo Fidalgo wrote:
> > 
> > Sure,
> > 
> > Can you point me to an updated doc? I'm using fedora, if there's
> > anything specific.
> 
> I have no idea about Fedora, but what I'm asking is to test the
> upstream kernel, so it should be independent from the distro.

FWIW, the git tree is found at
  git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git

and you need to checkout for-linus branch.


Takashi


> 
> 
> Takashi
> 
> > 
> > Kind regards,
> > 
> > Paulo Fidalgo
> > 
> > On Mon, 27 May 2019 at 10:55, Takashi Iwai <tiwai@suse.de> wrote:
> > >
> > > On Mon, 27 May 2019 11:48:36 +0200,
> > > Paulo Fidalgo wrote:
> > > >
> > > > Since I don't know if you are waiting for the command output or not I
> > > > will provide it:
> > > >
> > > > After a reboot with the headset unplugged:
> > > >
> > > > amixer -c0 cget numid=10
> > > > numid=10,iface=MIXER,name='Headphone Mic Boost Volume'
> > > >   ; type=INTEGER,access=rw---R--,values=2,min=0,max=3,step=0
> > > >   : values=0,0
> > > >   | dBscale-min=0.00dB,step=10.00dB,mute=0
> > > >
> > > > After a reboot with the headset plugged I have the same value:
> > > >
> > > > amixer -c0 cget numid=10
> > > > numid=10,iface=MIXER,name='Headphone Mic Boost Volume'
> > > >   ; type=INTEGER,access=rw---R--,values=2,min=0,max=3,step=0
> > > >   : values=0,0
> > > >   | dBscale-min=0.00dB,step=10.00dB,mute=0
> > > >
> > > >
> > > > Also when the headset is plugged the mic, seems to not be detected, as
> > > > it keeps with the internal mic of the laptop, but I will create
> > > > another thread for that.
> > >
> > > Could you try the latest for-linus branch of sound.git tree?
> > > Now we disable the poewr_save_node flag as default for some Realtek
> > > codecs, and this might influence on such behavior.
> > >
> > >
> > > thanks,
> > >
> > > Takashi
> > >
> > > >
> > > > Kind regards,
> > > >
> > > > Paulo Fidalgo
> > > >
> > > > On Thu, 16 May 2019 at 15:45, Paulo Fidalgo <paulo.fidalgo.pt@gmail.com> wrote:
> > > > >
> > > > > Since I don't know if you are waiting for the command output or not I
> > > > > will provide it:
> > > > >
> > > > > After a reboot with the headset unplugged:
> > > > >
> > > > > amixer -c0 cget numid=10
> > > > > numid=10,iface=MIXER,name='Headphone Mic Boost Volume'
> > > > >   ; type=INTEGER,access=rw---R--,values=2,min=0,max=3,step=0
> > > > >   : values=0,0
> > > > >   | dBscale-min=0.00dB,step=10.00dB,mute=0
> > > > >
> > > > > After a reboot with the headset plugged I have the same value:
> > > > >
> > > > > amixer -c0 cget numid=10
> > > > > numid=10,iface=MIXER,name='Headphone Mic Boost Volume'
> > > > >   ; type=INTEGER,access=rw---R--,values=2,min=0,max=3,step=0
> > > > >   : values=0,0
> > > > >   | dBscale-min=0.00dB,step=10.00dB,mute=0
> > > > >
> > > > >
> > > > > Also when the headset is plugged the mic, seems to not be detected, as
> > > > > it keeps with the internal mic of the laptop, but I will create
> > > > > another thread for that.
> > > > >
> > > > > Kind regards,
> > > > >
> > > > > Paulo Fidalgo
> > > > >
> > > > >
> > > > > On Fri, 22 Mar 2019 at 16:54, Takashi Iwai <tiwai@suse.de> wrote:
> > > > > >
> > > > > > On Fri, 22 Mar 2019 17:07:15 +0100,
> > > > > > Paulo Fidalgo wrote:
> > > > > > >
> > > > > > > Strangely the command returns amixer: Unable to find simple control 'numid=10',0
> > > > > > > So I've runned "amixer -c0" and you can find the output in before.txt
> > > > > >
> > > > > > Ah sorry, it was a typo: use "cget" instead of "get".
> > > > > >
> > > > > >
> > > > > > > Then I've runned amixer -c 0 cset 'numid=10' 1
> > > > > > > and again the "amixer -c0" and you can find the output in after.txt
> > > > > > >
> > > > > > > Also I've notice that the sound appears after I playing a music on
> > > > > > > computer and goes a few (like 10 ) seconds after the music stopped.
> > > > > >
> > > > > > It sounds like a state after runtime PM.
> > > > > >
> > > > > >
> > > > > > Takashi
> > > > > >
> > > > > > >
> > > > > > > On Fri, 22 Mar 2019 at 15:37, Takashi Iwai <tiwai@suse.de> wrote:
> > > > > > > >
> > > > > > > > On Fri, 22 Mar 2019 12:40:22 +0100,
> > > > > > > > Paulo Fidalgo wrote:
> > > > > > > > >
> > > > > > > > > Hi!
> > > > > > > > >
> > > > > > > > > After a bug report on Fedora
> > > > > > > > > (https://bugzilla.redhat.com/show_bug.cgi?id=1677353)
> > > > > > > > >
> > > > > > > > > ----
> > > > > > > > > When I start t he computer I hears a continuous background noise. The
> > > > > > > > > problem is also described here:
> > > > > > > > > https://wiki.archlinux.org/index.php/Dell_XPS_13_(9360)#Continuous_hissing_sound_with_headphones
> > > > > > > > >
> > > > > > > > > I need to issue the command `amixer -c 0 cset 'numid=10' 1` to solve
> > > > > > > > > the problem, but every time I reboot the computer I need to run it
> > > > > > > > > again.
> > > > > > > > > This has been happening for quite some time, but I've been post-poning
> > > > > > > > > the bug report.
> > > > > > > >
> > > > > > > > What is the original value before setting this amixer command above?
> > > > > > > > You can get via "amixer -c0 get numid=10'.
> > > > > > > >
> > > > > > > > Does the noise again when you restore the value after setting to 1 in
> > > > > > > > the above?
> > > > > > > >
> > > > > > > >
> > > > > > > > Takashi
> > > > > > > >
> > > > > > > > >
> > > > > > > > > Current kernel: 4.20.7-200.fc29.x86_64
> > > > > > > > >
> > > > > > > > > Alsa information:
> > > > > > > > > http://www.alsa-project.org/db/?f=df4834c53335709abb521c767e7b1da2f4371744
> > > > > > > > > ----
> > > > > > > > > They advise me to contact you, to see if we can get a solution on this.
> > > > > > > > >
> > > > > > > > > Note: The computer also does not recognise (switch to) when I plug an headset.
> > > > > > > > >
> > > > > > > > > If you need more information, I'm eager to help diagnose and help to
> > > > > > > > > solve this, but I have no Kernel programming skills, other than that
> > > > > > > > > count on me.
> > > > > > > > >
> > > > > > > > > Kind regards,
> > > > > > > > >
> > > > > > > > > Paulo Fidalgo
> > > > > > > > >
> > > > > > > Simple mixer control 'Master',0
> > > > > > >   Capabilities: pvolume pvolume-joined pswitch pswitch-joined
> > > > > > >   Playback channels: Mono
> > > > > > >   Limits: Playback 0 - 87
> > > > > > >   Mono: Playback 87 [100%] [0.00dB] [on]
> > > > > > > Simple mixer control 'Headphone',0
> > > > > > >   Capabilities: pvolume pswitch
> > > > > > >   Playback channels: Front Left - Front Right
> > > > > > >   Limits: Playback 0 - 87
> > > > > > >   Mono:
> > > > > > >   Front Left: Playback 87 [100%] [0.00dB] [on]
> > > > > > >   Front Right: Playback 87 [100%] [0.00dB] [on]
> > > > > > > Simple mixer control 'Headphone Mic',0
> > > > > > >   Capabilities: cswitch cswitch-joined cswitch-exclusive
> > > > > > >   Capture exclusive group: 0
> > > > > > >   Capture channels: Mono
> > > > > > >   Mono: Capture [off]
> > > > > > > Simple mixer control 'Headphone Mic Boost',0
> > > > > > >   Capabilities: volume
> > > > > > >   Playback channels: Front Left - Front Right
> > > > > > >   Capture channels: Front Left - Front Right
> > > > > > >   Limits: 0 - 3
> > > > > > >   Front Left: 1 [33%] [10.00dB]
> > > > > > >   Front Right: 1 [33%] [10.00dB]
> > > > > > > Simple mixer control 'Speaker',0
> > > > > > >   Capabilities: pvolume pswitch
> > > > > > >   Playback channels: Front Left - Front Right
> > > > > > >   Limits: Playback 0 - 87
> > > > > > >   Mono:
> > > > > > >   Front Left: Playback 0 [0%] [-65.25dB] [off]
> > > > > > >   Front Right: Playback 0 [0%] [-65.25dB] [off]
> > > > > > > Simple mixer control 'PCM',0
> > > > > > >   Capabilities: pvolume
> > > > > > >   Playback channels: Front Left - Front Right
> > > > > > >   Limits: Playback 0 - 255
> > > > > > >   Mono:
> > > > > > >   Front Left: Playback 255 [100%] [0.00dB]
> > > > > > >   Front Right: Playback 255 [100%] [0.00dB]
> > > > > > > Simple mixer control 'IEC958',0
> > > > > > >   Capabilities: pswitch pswitch-joined
> > > > > > >   Playback channels: Mono
> > > > > > >   Mono: Playback [off]
> > > > > > > Simple mixer control 'IEC958',1
> > > > > > >   Capabilities: pswitch pswitch-joined
> > > > > > >   Playback channels: Mono
> > > > > > >   Mono: Playback [on]
> > > > > > > Simple mixer control 'IEC958',2
> > > > > > >   Capabilities: pswitch pswitch-joined
> > > > > > >   Playback channels: Mono
> > > > > > >   Mono: Playback [on]
> > > > > > > Simple mixer control 'IEC958',3
> > > > > > >   Capabilities: pswitch pswitch-joined
> > > > > > >   Playback channels: Mono
> > > > > > >   Mono: Playback [on]
> > > > > > > Simple mixer control 'IEC958',4
> > > > > > >   Capabilities: pswitch pswitch-joined
> > > > > > >   Playback channels: Mono
> > > > > > >   Mono: Playback [on]
> > > > > > > Simple mixer control 'Capture',0
> > > > > > >   Capabilities: cvolume cswitch
> > > > > > >   Capture channels: Front Left - Front Right
> > > > > > >   Limits: Capture 0 - 63
> > > > > > >   Front Left: Capture 63 [100%] [30.00dB] [on]
> > > > > > >   Front Right: Capture 63 [100%] [30.00dB] [on]
> > > > > > > Simple mixer control 'Auto-Mute Mode',0
> > > > > > >   Capabilities: enum
> > > > > > >   Items: 'Disabled' 'Enabled'
> > > > > > >   Item0: 'Disabled'
> > > > > > > Simple mixer control 'Headset Mic',0
> > > > > > >   Capabilities: cswitch cswitch-joined cswitch-exclusive
> > > > > > >   Capture exclusive group: 0
> > > > > > >   Capture channels: Mono
> > > > > > >   Mono: Capture [on]
> > > > > > > Simple mixer control 'Headset Mic Boost',0
> > > > > > >   Capabilities: volume
> > > > > > >   Playback channels: Front Left - Front Right
> > > > > > >   Capture channels: Front Left - Front Right
> > > > > > >   Limits: 0 - 3
> > > > > > >   Front Left: 1 [33%] [10.00dB]
> > > > > > >   Front Right: 1 [33%] [10.00dB]
> > > > > > > Simple mixer control 'Internal Mic',0
> > > > > > >   Capabilities: cswitch cswitch-joined cswitch-exclusive
> > > > > > >   Capture exclusive group: 0
> > > > > > >   Capture channels: Mono
> > > > > > >   Mono: Capture [off]
> > > > > > > Simple mixer control 'Internal Mic Boost',0
> > > > > > >   Capabilities: volume
> > > > > > >   Playback channels: Front Left - Front Right
> > > > > > >   Capture channels: Front Left - Front Right
> > > > > > >   Limits: 0 - 3
> > > > > > >   Front Left: 0 [0%] [0.00dB]
> > > > > > >   Front Right: 0 [0%] [0.00dB]
> > > > > > > Simple mixer control 'Master',0
> > > > > > >   Capabilities: pvolume pvolume-joined pswitch pswitch-joined
> > > > > > >   Playback channels: Mono
> > > > > > >   Limits: Playback 0 - 87
> > > > > > >   Mono: Playback 83 [95%] [-3.00dB] [on]
> > > > > > > Simple mixer control 'Headphone',0
> > > > > > >   Capabilities: pvolume pswitch
> > > > > > >   Playback channels: Front Left - Front Right
> > > > > > >   Limits: Playback 0 - 87
> > > > > > >   Mono:
> > > > > > >   Front Left: Playback 87 [100%] [0.00dB] [on]
> > > > > > >   Front Right: Playback 87 [100%] [0.00dB] [on]
> > > > > > > Simple mixer control 'Headphone Mic',0
> > > > > > >   Capabilities: cswitch cswitch-joined cswitch-exclusive
> > > > > > >   Capture exclusive group: 0
> > > > > > >   Capture channels: Mono
> > > > > > >   Mono: Capture [off]
> > > > > > > Simple mixer control 'Headphone Mic Boost',0
> > > > > > >   Capabilities: volume
> > > > > > >   Playback channels: Front Left - Front Right
> > > > > > >   Capture channels: Front Left - Front Right
> > > > > > >   Limits: 0 - 3
> > > > > > >   Front Left: 0 [0%] [0.00dB]
> > > > > > >   Front Right: 0 [0%] [0.00dB]
> > > > > > > Simple mixer control 'Speaker',0
> > > > > > >   Capabilities: pvolume pswitch
> > > > > > >   Playback channels: Front Left - Front Right
> > > > > > >   Limits: Playback 0 - 87
> > > > > > >   Mono:
> > > > > > >   Front Left: Playback 0 [0%] [-65.25dB] [off]
> > > > > > >   Front Right: Playback 0 [0%] [-65.25dB] [off]
> > > > > > > Simple mixer control 'PCM',0
> > > > > > >   Capabilities: pvolume
> > > > > > >   Playback channels: Front Left - Front Right
> > > > > > >   Limits: Playback 0 - 255
> > > > > > >   Mono:
> > > > > > >   Front Left: Playback 255 [100%] [0.00dB]
> > > > > > >   Front Right: Playback 255 [100%] [0.00dB]
> > > > > > > Simple mixer control 'IEC958',0
> > > > > > >   Capabilities: pswitch pswitch-joined
> > > > > > >   Playback channels: Mono
> > > > > > >   Mono: Playback [off]
> > > > > > > Simple mixer control 'IEC958',1
> > > > > > >   Capabilities: pswitch pswitch-joined
> > > > > > >   Playback channels: Mono
> > > > > > >   Mono: Playback [on]
> > > > > > > Simple mixer control 'IEC958',2
> > > > > > >   Capabilities: pswitch pswitch-joined
> > > > > > >   Playback channels: Mono
> > > > > > >   Mono: Playback [on]
> > > > > > > Simple mixer control 'IEC958',3
> > > > > > >   Capabilities: pswitch pswitch-joined
> > > > > > >   Playback channels: Mono
> > > > > > >   Mono: Playback [on]
> > > > > > > Simple mixer control 'IEC958',4
> > > > > > >   Capabilities: pswitch pswitch-joined
> > > > > > >   Playback channels: Mono
> > > > > > >   Mono: Playback [on]
> > > > > > > Simple mixer control 'Capture',0
> > > > > > >   Capabilities: cvolume cswitch
> > > > > > >   Capture channels: Front Left - Front Right
> > > > > > >   Limits: Capture 0 - 63
> > > > > > >   Front Left: Capture 63 [100%] [30.00dB] [on]
> > > > > > >   Front Right: Capture 63 [100%] [30.00dB] [on]
> > > > > > > Simple mixer control 'Auto-Mute Mode',0
> > > > > > >   Capabilities: enum
> > > > > > >   Items: 'Disabled' 'Enabled'
> > > > > > >   Item0: 'Disabled'
> > > > > > > Simple mixer control 'Headset Mic',0
> > > > > > >   Capabilities: cswitch cswitch-joined cswitch-exclusive
> > > > > > >   Capture exclusive group: 0
> > > > > > >   Capture channels: Mono
> > > > > > >   Mono: Capture [on]
> > > > > > > Simple mixer control 'Headset Mic Boost',0
> > > > > > >   Capabilities: volume
> > > > > > >   Playback channels: Front Left - Front Right
> > > > > > >   Capture channels: Front Left - Front Right
> > > > > > >   Limits: 0 - 3
> > > > > > >   Front Left: 1 [33%] [10.00dB]
> > > > > > >   Front Right: 1 [33%] [10.00dB]
> > > > > > > Simple mixer control 'Internal Mic',0
> > > > > > >   Capabilities: cswitch cswitch-joined cswitch-exclusive
> > > > > > >   Capture exclusive group: 0
> > > > > > >   Capture channels: Mono
> > > > > > >   Mono: Capture [off]
> > > > > > > Simple mixer control 'Internal Mic Boost',0
> > > > > > >   Capabilities: volume
> > > > > > >   Playback channels: Front Left - Front Right
> > > > > > >   Capture channels: Front Left - Front Right
> > > > > > >   Limits: 0 - 3
> > > > > > >   Front Left: 0 [0%] [0.00dB]
> > > > > > >   Front Right: 0 [0%] [0.00dB]
> > > >
> > 

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

* Re: Dell XPS 9360 continuous hissing sound
  2019-05-27 10:29                 ` Takashi Iwai
@ 2019-05-28  9:07                   ` Paulo Fidalgo
  2019-05-29 10:02                     ` Paulo Fidalgo
  0 siblings, 1 reply; 11+ messages in thread
From: Paulo Fidalgo @ 2019-05-28  9:07 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

Hi!

I've tested and there's only one situation when I can ear that sound,
after pausing a music, I can ear it from a few seconds (~6 seconds).
I guess this is OK now, at least now I can live with it.

As a side note, the headset detection still only detects the
heaphones, not the mic.

Thanks!

On Mon, 27 May 2019 at 11:30, Takashi Iwai <tiwai@suse.de> wrote:
>
> On Mon, 27 May 2019 12:18:59 +0200,
> Takashi Iwai wrote:
> >
> > On Mon, 27 May 2019 12:11:24 +0200,
> > Paulo Fidalgo wrote:
> > >
> > > Sure,
> > >
> > > Can you point me to an updated doc? I'm using fedora, if there's
> > > anything specific.
> >
> > I have no idea about Fedora, but what I'm asking is to test the
> > upstream kernel, so it should be independent from the distro.
>
> FWIW, the git tree is found at
>   git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git
>
> and you need to checkout for-linus branch.
>
>
> Takashi
>
>
> >
> >
> > Takashi
> >
> > >
> > > Kind regards,
> > >
> > > Paulo Fidalgo
> > >
> > > On Mon, 27 May 2019 at 10:55, Takashi Iwai <tiwai@suse.de> wrote:
> > > >
> > > > On Mon, 27 May 2019 11:48:36 +0200,
> > > > Paulo Fidalgo wrote:
> > > > >
> > > > > Since I don't know if you are waiting for the command output or not I
> > > > > will provide it:
> > > > >
> > > > > After a reboot with the headset unplugged:
> > > > >
> > > > > amixer -c0 cget numid=10
> > > > > numid=10,iface=MIXER,name='Headphone Mic Boost Volume'
> > > > >   ; type=INTEGER,access=rw---R--,values=2,min=0,max=3,step=0
> > > > >   : values=0,0
> > > > >   | dBscale-min=0.00dB,step=10.00dB,mute=0
> > > > >
> > > > > After a reboot with the headset plugged I have the same value:
> > > > >
> > > > > amixer -c0 cget numid=10
> > > > > numid=10,iface=MIXER,name='Headphone Mic Boost Volume'
> > > > >   ; type=INTEGER,access=rw---R--,values=2,min=0,max=3,step=0
> > > > >   : values=0,0
> > > > >   | dBscale-min=0.00dB,step=10.00dB,mute=0
> > > > >
> > > > >
> > > > > Also when the headset is plugged the mic, seems to not be detected, as
> > > > > it keeps with the internal mic of the laptop, but I will create
> > > > > another thread for that.
> > > >
> > > > Could you try the latest for-linus branch of sound.git tree?
> > > > Now we disable the poewr_save_node flag as default for some Realtek
> > > > codecs, and this might influence on such behavior.
> > > >
> > > >
> > > > thanks,
> > > >
> > > > Takashi
> > > >
> > > > >
> > > > > Kind regards,
> > > > >
> > > > > Paulo Fidalgo
> > > > >
> > > > > On Thu, 16 May 2019 at 15:45, Paulo Fidalgo <paulo.fidalgo.pt@gmail.com> wrote:
> > > > > >
> > > > > > Since I don't know if you are waiting for the command output or not I
> > > > > > will provide it:
> > > > > >
> > > > > > After a reboot with the headset unplugged:
> > > > > >
> > > > > > amixer -c0 cget numid=10
> > > > > > numid=10,iface=MIXER,name='Headphone Mic Boost Volume'
> > > > > >   ; type=INTEGER,access=rw---R--,values=2,min=0,max=3,step=0
> > > > > >   : values=0,0
> > > > > >   | dBscale-min=0.00dB,step=10.00dB,mute=0
> > > > > >
> > > > > > After a reboot with the headset plugged I have the same value:
> > > > > >
> > > > > > amixer -c0 cget numid=10
> > > > > > numid=10,iface=MIXER,name='Headphone Mic Boost Volume'
> > > > > >   ; type=INTEGER,access=rw---R--,values=2,min=0,max=3,step=0
> > > > > >   : values=0,0
> > > > > >   | dBscale-min=0.00dB,step=10.00dB,mute=0
> > > > > >
> > > > > >
> > > > > > Also when the headset is plugged the mic, seems to not be detected, as
> > > > > > it keeps with the internal mic of the laptop, but I will create
> > > > > > another thread for that.
> > > > > >
> > > > > > Kind regards,
> > > > > >
> > > > > > Paulo Fidalgo
> > > > > >
> > > > > >
> > > > > > On Fri, 22 Mar 2019 at 16:54, Takashi Iwai <tiwai@suse.de> wrote:
> > > > > > >
> > > > > > > On Fri, 22 Mar 2019 17:07:15 +0100,
> > > > > > > Paulo Fidalgo wrote:
> > > > > > > >
> > > > > > > > Strangely the command returns amixer: Unable to find simple control 'numid=10',0
> > > > > > > > So I've runned "amixer -c0" and you can find the output in before.txt
> > > > > > >
> > > > > > > Ah sorry, it was a typo: use "cget" instead of "get".
> > > > > > >
> > > > > > >
> > > > > > > > Then I've runned amixer -c 0 cset 'numid=10' 1
> > > > > > > > and again the "amixer -c0" and you can find the output in after.txt
> > > > > > > >
> > > > > > > > Also I've notice that the sound appears after I playing a music on
> > > > > > > > computer and goes a few (like 10 ) seconds after the music stopped.
> > > > > > >
> > > > > > > It sounds like a state after runtime PM.
> > > > > > >
> > > > > > >
> > > > > > > Takashi
> > > > > > >
> > > > > > > >
> > > > > > > > On Fri, 22 Mar 2019 at 15:37, Takashi Iwai <tiwai@suse.de> wrote:
> > > > > > > > >
> > > > > > > > > On Fri, 22 Mar 2019 12:40:22 +0100,
> > > > > > > > > Paulo Fidalgo wrote:
> > > > > > > > > >
> > > > > > > > > > Hi!
> > > > > > > > > >
> > > > > > > > > > After a bug report on Fedora
> > > > > > > > > > (https://bugzilla.redhat.com/show_bug.cgi?id=1677353)
> > > > > > > > > >
> > > > > > > > > > ----
> > > > > > > > > > When I start t he computer I hears a continuous background noise. The
> > > > > > > > > > problem is also described here:
> > > > > > > > > > https://wiki.archlinux.org/index.php/Dell_XPS_13_(9360)#Continuous_hissing_sound_with_headphones
> > > > > > > > > >
> > > > > > > > > > I need to issue the command `amixer -c 0 cset 'numid=10' 1` to solve
> > > > > > > > > > the problem, but every time I reboot the computer I need to run it
> > > > > > > > > > again.
> > > > > > > > > > This has been happening for quite some time, but I've been post-poning
> > > > > > > > > > the bug report.
> > > > > > > > >
> > > > > > > > > What is the original value before setting this amixer command above?
> > > > > > > > > You can get via "amixer -c0 get numid=10'.
> > > > > > > > >
> > > > > > > > > Does the noise again when you restore the value after setting to 1 in
> > > > > > > > > the above?
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Takashi
> > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Current kernel: 4.20.7-200.fc29.x86_64
> > > > > > > > > >
> > > > > > > > > > Alsa information:
> > > > > > > > > > http://www.alsa-project.org/db/?f=df4834c53335709abb521c767e7b1da2f4371744
> > > > > > > > > > ----
> > > > > > > > > > They advise me to contact you, to see if we can get a solution on this.
> > > > > > > > > >
> > > > > > > > > > Note: The computer also does not recognise (switch to) when I plug an headset.
> > > > > > > > > >
> > > > > > > > > > If you need more information, I'm eager to help diagnose and help to
> > > > > > > > > > solve this, but I have no Kernel programming skills, other than that
> > > > > > > > > > count on me.
> > > > > > > > > >
> > > > > > > > > > Kind regards,
> > > > > > > > > >
> > > > > > > > > > Paulo Fidalgo
> > > > > > > > > >
> > > > > > > > Simple mixer control 'Master',0
> > > > > > > >   Capabilities: pvolume pvolume-joined pswitch pswitch-joined
> > > > > > > >   Playback channels: Mono
> > > > > > > >   Limits: Playback 0 - 87
> > > > > > > >   Mono: Playback 87 [100%] [0.00dB] [on]
> > > > > > > > Simple mixer control 'Headphone',0
> > > > > > > >   Capabilities: pvolume pswitch
> > > > > > > >   Playback channels: Front Left - Front Right
> > > > > > > >   Limits: Playback 0 - 87
> > > > > > > >   Mono:
> > > > > > > >   Front Left: Playback 87 [100%] [0.00dB] [on]
> > > > > > > >   Front Right: Playback 87 [100%] [0.00dB] [on]
> > > > > > > > Simple mixer control 'Headphone Mic',0
> > > > > > > >   Capabilities: cswitch cswitch-joined cswitch-exclusive
> > > > > > > >   Capture exclusive group: 0
> > > > > > > >   Capture channels: Mono
> > > > > > > >   Mono: Capture [off]
> > > > > > > > Simple mixer control 'Headphone Mic Boost',0
> > > > > > > >   Capabilities: volume
> > > > > > > >   Playback channels: Front Left - Front Right
> > > > > > > >   Capture channels: Front Left - Front Right
> > > > > > > >   Limits: 0 - 3
> > > > > > > >   Front Left: 1 [33%] [10.00dB]
> > > > > > > >   Front Right: 1 [33%] [10.00dB]
> > > > > > > > Simple mixer control 'Speaker',0
> > > > > > > >   Capabilities: pvolume pswitch
> > > > > > > >   Playback channels: Front Left - Front Right
> > > > > > > >   Limits: Playback 0 - 87
> > > > > > > >   Mono:
> > > > > > > >   Front Left: Playback 0 [0%] [-65.25dB] [off]
> > > > > > > >   Front Right: Playback 0 [0%] [-65.25dB] [off]
> > > > > > > > Simple mixer control 'PCM',0
> > > > > > > >   Capabilities: pvolume
> > > > > > > >   Playback channels: Front Left - Front Right
> > > > > > > >   Limits: Playback 0 - 255
> > > > > > > >   Mono:
> > > > > > > >   Front Left: Playback 255 [100%] [0.00dB]
> > > > > > > >   Front Right: Playback 255 [100%] [0.00dB]
> > > > > > > > Simple mixer control 'IEC958',0
> > > > > > > >   Capabilities: pswitch pswitch-joined
> > > > > > > >   Playback channels: Mono
> > > > > > > >   Mono: Playback [off]
> > > > > > > > Simple mixer control 'IEC958',1
> > > > > > > >   Capabilities: pswitch pswitch-joined
> > > > > > > >   Playback channels: Mono
> > > > > > > >   Mono: Playback [on]
> > > > > > > > Simple mixer control 'IEC958',2
> > > > > > > >   Capabilities: pswitch pswitch-joined
> > > > > > > >   Playback channels: Mono
> > > > > > > >   Mono: Playback [on]
> > > > > > > > Simple mixer control 'IEC958',3
> > > > > > > >   Capabilities: pswitch pswitch-joined
> > > > > > > >   Playback channels: Mono
> > > > > > > >   Mono: Playback [on]
> > > > > > > > Simple mixer control 'IEC958',4
> > > > > > > >   Capabilities: pswitch pswitch-joined
> > > > > > > >   Playback channels: Mono
> > > > > > > >   Mono: Playback [on]
> > > > > > > > Simple mixer control 'Capture',0
> > > > > > > >   Capabilities: cvolume cswitch
> > > > > > > >   Capture channels: Front Left - Front Right
> > > > > > > >   Limits: Capture 0 - 63
> > > > > > > >   Front Left: Capture 63 [100%] [30.00dB] [on]
> > > > > > > >   Front Right: Capture 63 [100%] [30.00dB] [on]
> > > > > > > > Simple mixer control 'Auto-Mute Mode',0
> > > > > > > >   Capabilities: enum
> > > > > > > >   Items: 'Disabled' 'Enabled'
> > > > > > > >   Item0: 'Disabled'
> > > > > > > > Simple mixer control 'Headset Mic',0
> > > > > > > >   Capabilities: cswitch cswitch-joined cswitch-exclusive
> > > > > > > >   Capture exclusive group: 0
> > > > > > > >   Capture channels: Mono
> > > > > > > >   Mono: Capture [on]
> > > > > > > > Simple mixer control 'Headset Mic Boost',0
> > > > > > > >   Capabilities: volume
> > > > > > > >   Playback channels: Front Left - Front Right
> > > > > > > >   Capture channels: Front Left - Front Right
> > > > > > > >   Limits: 0 - 3
> > > > > > > >   Front Left: 1 [33%] [10.00dB]
> > > > > > > >   Front Right: 1 [33%] [10.00dB]
> > > > > > > > Simple mixer control 'Internal Mic',0
> > > > > > > >   Capabilities: cswitch cswitch-joined cswitch-exclusive
> > > > > > > >   Capture exclusive group: 0
> > > > > > > >   Capture channels: Mono
> > > > > > > >   Mono: Capture [off]
> > > > > > > > Simple mixer control 'Internal Mic Boost',0
> > > > > > > >   Capabilities: volume
> > > > > > > >   Playback channels: Front Left - Front Right
> > > > > > > >   Capture channels: Front Left - Front Right
> > > > > > > >   Limits: 0 - 3
> > > > > > > >   Front Left: 0 [0%] [0.00dB]
> > > > > > > >   Front Right: 0 [0%] [0.00dB]
> > > > > > > > Simple mixer control 'Master',0
> > > > > > > >   Capabilities: pvolume pvolume-joined pswitch pswitch-joined
> > > > > > > >   Playback channels: Mono
> > > > > > > >   Limits: Playback 0 - 87
> > > > > > > >   Mono: Playback 83 [95%] [-3.00dB] [on]
> > > > > > > > Simple mixer control 'Headphone',0
> > > > > > > >   Capabilities: pvolume pswitch
> > > > > > > >   Playback channels: Front Left - Front Right
> > > > > > > >   Limits: Playback 0 - 87
> > > > > > > >   Mono:
> > > > > > > >   Front Left: Playback 87 [100%] [0.00dB] [on]
> > > > > > > >   Front Right: Playback 87 [100%] [0.00dB] [on]
> > > > > > > > Simple mixer control 'Headphone Mic',0
> > > > > > > >   Capabilities: cswitch cswitch-joined cswitch-exclusive
> > > > > > > >   Capture exclusive group: 0
> > > > > > > >   Capture channels: Mono
> > > > > > > >   Mono: Capture [off]
> > > > > > > > Simple mixer control 'Headphone Mic Boost',0
> > > > > > > >   Capabilities: volume
> > > > > > > >   Playback channels: Front Left - Front Right
> > > > > > > >   Capture channels: Front Left - Front Right
> > > > > > > >   Limits: 0 - 3
> > > > > > > >   Front Left: 0 [0%] [0.00dB]
> > > > > > > >   Front Right: 0 [0%] [0.00dB]
> > > > > > > > Simple mixer control 'Speaker',0
> > > > > > > >   Capabilities: pvolume pswitch
> > > > > > > >   Playback channels: Front Left - Front Right
> > > > > > > >   Limits: Playback 0 - 87
> > > > > > > >   Mono:
> > > > > > > >   Front Left: Playback 0 [0%] [-65.25dB] [off]
> > > > > > > >   Front Right: Playback 0 [0%] [-65.25dB] [off]
> > > > > > > > Simple mixer control 'PCM',0
> > > > > > > >   Capabilities: pvolume
> > > > > > > >   Playback channels: Front Left - Front Right
> > > > > > > >   Limits: Playback 0 - 255
> > > > > > > >   Mono:
> > > > > > > >   Front Left: Playback 255 [100%] [0.00dB]
> > > > > > > >   Front Right: Playback 255 [100%] [0.00dB]
> > > > > > > > Simple mixer control 'IEC958',0
> > > > > > > >   Capabilities: pswitch pswitch-joined
> > > > > > > >   Playback channels: Mono
> > > > > > > >   Mono: Playback [off]
> > > > > > > > Simple mixer control 'IEC958',1
> > > > > > > >   Capabilities: pswitch pswitch-joined
> > > > > > > >   Playback channels: Mono
> > > > > > > >   Mono: Playback [on]
> > > > > > > > Simple mixer control 'IEC958',2
> > > > > > > >   Capabilities: pswitch pswitch-joined
> > > > > > > >   Playback channels: Mono
> > > > > > > >   Mono: Playback [on]
> > > > > > > > Simple mixer control 'IEC958',3
> > > > > > > >   Capabilities: pswitch pswitch-joined
> > > > > > > >   Playback channels: Mono
> > > > > > > >   Mono: Playback [on]
> > > > > > > > Simple mixer control 'IEC958',4
> > > > > > > >   Capabilities: pswitch pswitch-joined
> > > > > > > >   Playback channels: Mono
> > > > > > > >   Mono: Playback [on]
> > > > > > > > Simple mixer control 'Capture',0
> > > > > > > >   Capabilities: cvolume cswitch
> > > > > > > >   Capture channels: Front Left - Front Right
> > > > > > > >   Limits: Capture 0 - 63
> > > > > > > >   Front Left: Capture 63 [100%] [30.00dB] [on]
> > > > > > > >   Front Right: Capture 63 [100%] [30.00dB] [on]
> > > > > > > > Simple mixer control 'Auto-Mute Mode',0
> > > > > > > >   Capabilities: enum
> > > > > > > >   Items: 'Disabled' 'Enabled'
> > > > > > > >   Item0: 'Disabled'
> > > > > > > > Simple mixer control 'Headset Mic',0
> > > > > > > >   Capabilities: cswitch cswitch-joined cswitch-exclusive
> > > > > > > >   Capture exclusive group: 0
> > > > > > > >   Capture channels: Mono
> > > > > > > >   Mono: Capture [on]
> > > > > > > > Simple mixer control 'Headset Mic Boost',0
> > > > > > > >   Capabilities: volume
> > > > > > > >   Playback channels: Front Left - Front Right
> > > > > > > >   Capture channels: Front Left - Front Right
> > > > > > > >   Limits: 0 - 3
> > > > > > > >   Front Left: 1 [33%] [10.00dB]
> > > > > > > >   Front Right: 1 [33%] [10.00dB]
> > > > > > > > Simple mixer control 'Internal Mic',0
> > > > > > > >   Capabilities: cswitch cswitch-joined cswitch-exclusive
> > > > > > > >   Capture exclusive group: 0
> > > > > > > >   Capture channels: Mono
> > > > > > > >   Mono: Capture [off]
> > > > > > > > Simple mixer control 'Internal Mic Boost',0
> > > > > > > >   Capabilities: volume
> > > > > > > >   Playback channels: Front Left - Front Right
> > > > > > > >   Capture channels: Front Left - Front Right
> > > > > > > >   Limits: 0 - 3
> > > > > > > >   Front Left: 0 [0%] [0.00dB]
> > > > > > > >   Front Right: 0 [0%] [0.00dB]
> > > > >
> > >

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

* Re: Dell XPS 9360 continuous hissing sound
  2019-05-28  9:07                   ` Paulo Fidalgo
@ 2019-05-29 10:02                     ` Paulo Fidalgo
  0 siblings, 0 replies; 11+ messages in thread
From: Paulo Fidalgo @ 2019-05-29 10:02 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

There's still a issue that I've found riht now, if I'm in call and
it's silent I still have the hissing sound.

On Tue, 28 May 2019 at 10:07, Paulo Fidalgo <paulo.fidalgo.pt@gmail.com> wrote:
>
> Hi!
>
> I've tested and there's only one situation when I can ear that sound,
> after pausing a music, I can ear it from a few seconds (~6 seconds).
> I guess this is OK now, at least now I can live with it.
>
> As a side note, the headset detection still only detects the
> heaphones, not the mic.
>
> Thanks!
>
> On Mon, 27 May 2019 at 11:30, Takashi Iwai <tiwai@suse.de> wrote:
> >
> > On Mon, 27 May 2019 12:18:59 +0200,
> > Takashi Iwai wrote:
> > >
> > > On Mon, 27 May 2019 12:11:24 +0200,
> > > Paulo Fidalgo wrote:
> > > >
> > > > Sure,
> > > >
> > > > Can you point me to an updated doc? I'm using fedora, if there's
> > > > anything specific.
> > >
> > > I have no idea about Fedora, but what I'm asking is to test the
> > > upstream kernel, so it should be independent from the distro.
> >
> > FWIW, the git tree is found at
> >   git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git
> >
> > and you need to checkout for-linus branch.
> >
> >
> > Takashi
> >
> >
> > >
> > >
> > > Takashi
> > >
> > > >
> > > > Kind regards,
> > > >
> > > > Paulo Fidalgo
> > > >
> > > > On Mon, 27 May 2019 at 10:55, Takashi Iwai <tiwai@suse.de> wrote:
> > > > >
> > > > > On Mon, 27 May 2019 11:48:36 +0200,
> > > > > Paulo Fidalgo wrote:
> > > > > >
> > > > > > Since I don't know if you are waiting for the command output or not I
> > > > > > will provide it:
> > > > > >
> > > > > > After a reboot with the headset unplugged:
> > > > > >
> > > > > > amixer -c0 cget numid=10
> > > > > > numid=10,iface=MIXER,name='Headphone Mic Boost Volume'
> > > > > >   ; type=INTEGER,access=rw---R--,values=2,min=0,max=3,step=0
> > > > > >   : values=0,0
> > > > > >   | dBscale-min=0.00dB,step=10.00dB,mute=0
> > > > > >
> > > > > > After a reboot with the headset plugged I have the same value:
> > > > > >
> > > > > > amixer -c0 cget numid=10
> > > > > > numid=10,iface=MIXER,name='Headphone Mic Boost Volume'
> > > > > >   ; type=INTEGER,access=rw---R--,values=2,min=0,max=3,step=0
> > > > > >   : values=0,0
> > > > > >   | dBscale-min=0.00dB,step=10.00dB,mute=0
> > > > > >
> > > > > >
> > > > > > Also when the headset is plugged the mic, seems to not be detected, as
> > > > > > it keeps with the internal mic of the laptop, but I will create
> > > > > > another thread for that.
> > > > >
> > > > > Could you try the latest for-linus branch of sound.git tree?
> > > > > Now we disable the poewr_save_node flag as default for some Realtek
> > > > > codecs, and this might influence on such behavior.
> > > > >
> > > > >
> > > > > thanks,
> > > > >
> > > > > Takashi
> > > > >
> > > > > >
> > > > > > Kind regards,
> > > > > >
> > > > > > Paulo Fidalgo
> > > > > >
> > > > > > On Thu, 16 May 2019 at 15:45, Paulo Fidalgo <paulo.fidalgo.pt@gmail.com> wrote:
> > > > > > >
> > > > > > > Since I don't know if you are waiting for the command output or not I
> > > > > > > will provide it:
> > > > > > >
> > > > > > > After a reboot with the headset unplugged:
> > > > > > >
> > > > > > > amixer -c0 cget numid=10
> > > > > > > numid=10,iface=MIXER,name='Headphone Mic Boost Volume'
> > > > > > >   ; type=INTEGER,access=rw---R--,values=2,min=0,max=3,step=0
> > > > > > >   : values=0,0
> > > > > > >   | dBscale-min=0.00dB,step=10.00dB,mute=0
> > > > > > >
> > > > > > > After a reboot with the headset plugged I have the same value:
> > > > > > >
> > > > > > > amixer -c0 cget numid=10
> > > > > > > numid=10,iface=MIXER,name='Headphone Mic Boost Volume'
> > > > > > >   ; type=INTEGER,access=rw---R--,values=2,min=0,max=3,step=0
> > > > > > >   : values=0,0
> > > > > > >   | dBscale-min=0.00dB,step=10.00dB,mute=0
> > > > > > >
> > > > > > >
> > > > > > > Also when the headset is plugged the mic, seems to not be detected, as
> > > > > > > it keeps with the internal mic of the laptop, but I will create
> > > > > > > another thread for that.
> > > > > > >
> > > > > > > Kind regards,
> > > > > > >
> > > > > > > Paulo Fidalgo
> > > > > > >
> > > > > > >
> > > > > > > On Fri, 22 Mar 2019 at 16:54, Takashi Iwai <tiwai@suse.de> wrote:
> > > > > > > >
> > > > > > > > On Fri, 22 Mar 2019 17:07:15 +0100,
> > > > > > > > Paulo Fidalgo wrote:
> > > > > > > > >
> > > > > > > > > Strangely the command returns amixer: Unable to find simple control 'numid=10',0
> > > > > > > > > So I've runned "amixer -c0" and you can find the output in before.txt
> > > > > > > >
> > > > > > > > Ah sorry, it was a typo: use "cget" instead of "get".
> > > > > > > >
> > > > > > > >
> > > > > > > > > Then I've runned amixer -c 0 cset 'numid=10' 1
> > > > > > > > > and again the "amixer -c0" and you can find the output in after.txt
> > > > > > > > >
> > > > > > > > > Also I've notice that the sound appears after I playing a music on
> > > > > > > > > computer and goes a few (like 10 ) seconds after the music stopped.
> > > > > > > >
> > > > > > > > It sounds like a state after runtime PM.
> > > > > > > >
> > > > > > > >
> > > > > > > > Takashi
> > > > > > > >
> > > > > > > > >
> > > > > > > > > On Fri, 22 Mar 2019 at 15:37, Takashi Iwai <tiwai@suse.de> wrote:
> > > > > > > > > >
> > > > > > > > > > On Fri, 22 Mar 2019 12:40:22 +0100,
> > > > > > > > > > Paulo Fidalgo wrote:
> > > > > > > > > > >
> > > > > > > > > > > Hi!
> > > > > > > > > > >
> > > > > > > > > > > After a bug report on Fedora
> > > > > > > > > > > (https://bugzilla.redhat.com/show_bug.cgi?id=1677353)
> > > > > > > > > > >
> > > > > > > > > > > ----
> > > > > > > > > > > When I start t he computer I hears a continuous background noise. The
> > > > > > > > > > > problem is also described here:
> > > > > > > > > > > https://wiki.archlinux.org/index.php/Dell_XPS_13_(9360)#Continuous_hissing_sound_with_headphones
> > > > > > > > > > >
> > > > > > > > > > > I need to issue the command `amixer -c 0 cset 'numid=10' 1` to solve
> > > > > > > > > > > the problem, but every time I reboot the computer I need to run it
> > > > > > > > > > > again.
> > > > > > > > > > > This has been happening for quite some time, but I've been post-poning
> > > > > > > > > > > the bug report.
> > > > > > > > > >
> > > > > > > > > > What is the original value before setting this amixer command above?
> > > > > > > > > > You can get via "amixer -c0 get numid=10'.
> > > > > > > > > >
> > > > > > > > > > Does the noise again when you restore the value after setting to 1 in
> > > > > > > > > > the above?
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Takashi
> > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Current kernel: 4.20.7-200.fc29.x86_64
> > > > > > > > > > >
> > > > > > > > > > > Alsa information:
> > > > > > > > > > > http://www.alsa-project.org/db/?f=df4834c53335709abb521c767e7b1da2f4371744
> > > > > > > > > > > ----
> > > > > > > > > > > They advise me to contact you, to see if we can get a solution on this.
> > > > > > > > > > >
> > > > > > > > > > > Note: The computer also does not recognise (switch to) when I plug an headset.
> > > > > > > > > > >
> > > > > > > > > > > If you need more information, I'm eager to help diagnose and help to
> > > > > > > > > > > solve this, but I have no Kernel programming skills, other than that
> > > > > > > > > > > count on me.
> > > > > > > > > > >
> > > > > > > > > > > Kind regards,
> > > > > > > > > > >
> > > > > > > > > > > Paulo Fidalgo
> > > > > > > > > > >
> > > > > > > > > Simple mixer control 'Master',0
> > > > > > > > >   Capabilities: pvolume pvolume-joined pswitch pswitch-joined
> > > > > > > > >   Playback channels: Mono
> > > > > > > > >   Limits: Playback 0 - 87
> > > > > > > > >   Mono: Playback 87 [100%] [0.00dB] [on]
> > > > > > > > > Simple mixer control 'Headphone',0
> > > > > > > > >   Capabilities: pvolume pswitch
> > > > > > > > >   Playback channels: Front Left - Front Right
> > > > > > > > >   Limits: Playback 0 - 87
> > > > > > > > >   Mono:
> > > > > > > > >   Front Left: Playback 87 [100%] [0.00dB] [on]
> > > > > > > > >   Front Right: Playback 87 [100%] [0.00dB] [on]
> > > > > > > > > Simple mixer control 'Headphone Mic',0
> > > > > > > > >   Capabilities: cswitch cswitch-joined cswitch-exclusive
> > > > > > > > >   Capture exclusive group: 0
> > > > > > > > >   Capture channels: Mono
> > > > > > > > >   Mono: Capture [off]
> > > > > > > > > Simple mixer control 'Headphone Mic Boost',0
> > > > > > > > >   Capabilities: volume
> > > > > > > > >   Playback channels: Front Left - Front Right
> > > > > > > > >   Capture channels: Front Left - Front Right
> > > > > > > > >   Limits: 0 - 3
> > > > > > > > >   Front Left: 1 [33%] [10.00dB]
> > > > > > > > >   Front Right: 1 [33%] [10.00dB]
> > > > > > > > > Simple mixer control 'Speaker',0
> > > > > > > > >   Capabilities: pvolume pswitch
> > > > > > > > >   Playback channels: Front Left - Front Right
> > > > > > > > >   Limits: Playback 0 - 87
> > > > > > > > >   Mono:
> > > > > > > > >   Front Left: Playback 0 [0%] [-65.25dB] [off]
> > > > > > > > >   Front Right: Playback 0 [0%] [-65.25dB] [off]
> > > > > > > > > Simple mixer control 'PCM',0
> > > > > > > > >   Capabilities: pvolume
> > > > > > > > >   Playback channels: Front Left - Front Right
> > > > > > > > >   Limits: Playback 0 - 255
> > > > > > > > >   Mono:
> > > > > > > > >   Front Left: Playback 255 [100%] [0.00dB]
> > > > > > > > >   Front Right: Playback 255 [100%] [0.00dB]
> > > > > > > > > Simple mixer control 'IEC958',0
> > > > > > > > >   Capabilities: pswitch pswitch-joined
> > > > > > > > >   Playback channels: Mono
> > > > > > > > >   Mono: Playback [off]
> > > > > > > > > Simple mixer control 'IEC958',1
> > > > > > > > >   Capabilities: pswitch pswitch-joined
> > > > > > > > >   Playback channels: Mono
> > > > > > > > >   Mono: Playback [on]
> > > > > > > > > Simple mixer control 'IEC958',2
> > > > > > > > >   Capabilities: pswitch pswitch-joined
> > > > > > > > >   Playback channels: Mono
> > > > > > > > >   Mono: Playback [on]
> > > > > > > > > Simple mixer control 'IEC958',3
> > > > > > > > >   Capabilities: pswitch pswitch-joined
> > > > > > > > >   Playback channels: Mono
> > > > > > > > >   Mono: Playback [on]
> > > > > > > > > Simple mixer control 'IEC958',4
> > > > > > > > >   Capabilities: pswitch pswitch-joined
> > > > > > > > >   Playback channels: Mono
> > > > > > > > >   Mono: Playback [on]
> > > > > > > > > Simple mixer control 'Capture',0
> > > > > > > > >   Capabilities: cvolume cswitch
> > > > > > > > >   Capture channels: Front Left - Front Right
> > > > > > > > >   Limits: Capture 0 - 63
> > > > > > > > >   Front Left: Capture 63 [100%] [30.00dB] [on]
> > > > > > > > >   Front Right: Capture 63 [100%] [30.00dB] [on]
> > > > > > > > > Simple mixer control 'Auto-Mute Mode',0
> > > > > > > > >   Capabilities: enum
> > > > > > > > >   Items: 'Disabled' 'Enabled'
> > > > > > > > >   Item0: 'Disabled'
> > > > > > > > > Simple mixer control 'Headset Mic',0
> > > > > > > > >   Capabilities: cswitch cswitch-joined cswitch-exclusive
> > > > > > > > >   Capture exclusive group: 0
> > > > > > > > >   Capture channels: Mono
> > > > > > > > >   Mono: Capture [on]
> > > > > > > > > Simple mixer control 'Headset Mic Boost',0
> > > > > > > > >   Capabilities: volume
> > > > > > > > >   Playback channels: Front Left - Front Right
> > > > > > > > >   Capture channels: Front Left - Front Right
> > > > > > > > >   Limits: 0 - 3
> > > > > > > > >   Front Left: 1 [33%] [10.00dB]
> > > > > > > > >   Front Right: 1 [33%] [10.00dB]
> > > > > > > > > Simple mixer control 'Internal Mic',0
> > > > > > > > >   Capabilities: cswitch cswitch-joined cswitch-exclusive
> > > > > > > > >   Capture exclusive group: 0
> > > > > > > > >   Capture channels: Mono
> > > > > > > > >   Mono: Capture [off]
> > > > > > > > > Simple mixer control 'Internal Mic Boost',0
> > > > > > > > >   Capabilities: volume
> > > > > > > > >   Playback channels: Front Left - Front Right
> > > > > > > > >   Capture channels: Front Left - Front Right
> > > > > > > > >   Limits: 0 - 3
> > > > > > > > >   Front Left: 0 [0%] [0.00dB]
> > > > > > > > >   Front Right: 0 [0%] [0.00dB]
> > > > > > > > > Simple mixer control 'Master',0
> > > > > > > > >   Capabilities: pvolume pvolume-joined pswitch pswitch-joined
> > > > > > > > >   Playback channels: Mono
> > > > > > > > >   Limits: Playback 0 - 87
> > > > > > > > >   Mono: Playback 83 [95%] [-3.00dB] [on]
> > > > > > > > > Simple mixer control 'Headphone',0
> > > > > > > > >   Capabilities: pvolume pswitch
> > > > > > > > >   Playback channels: Front Left - Front Right
> > > > > > > > >   Limits: Playback 0 - 87
> > > > > > > > >   Mono:
> > > > > > > > >   Front Left: Playback 87 [100%] [0.00dB] [on]
> > > > > > > > >   Front Right: Playback 87 [100%] [0.00dB] [on]
> > > > > > > > > Simple mixer control 'Headphone Mic',0
> > > > > > > > >   Capabilities: cswitch cswitch-joined cswitch-exclusive
> > > > > > > > >   Capture exclusive group: 0
> > > > > > > > >   Capture channels: Mono
> > > > > > > > >   Mono: Capture [off]
> > > > > > > > > Simple mixer control 'Headphone Mic Boost',0
> > > > > > > > >   Capabilities: volume
> > > > > > > > >   Playback channels: Front Left - Front Right
> > > > > > > > >   Capture channels: Front Left - Front Right
> > > > > > > > >   Limits: 0 - 3
> > > > > > > > >   Front Left: 0 [0%] [0.00dB]
> > > > > > > > >   Front Right: 0 [0%] [0.00dB]
> > > > > > > > > Simple mixer control 'Speaker',0
> > > > > > > > >   Capabilities: pvolume pswitch
> > > > > > > > >   Playback channels: Front Left - Front Right
> > > > > > > > >   Limits: Playback 0 - 87
> > > > > > > > >   Mono:
> > > > > > > > >   Front Left: Playback 0 [0%] [-65.25dB] [off]
> > > > > > > > >   Front Right: Playback 0 [0%] [-65.25dB] [off]
> > > > > > > > > Simple mixer control 'PCM',0
> > > > > > > > >   Capabilities: pvolume
> > > > > > > > >   Playback channels: Front Left - Front Right
> > > > > > > > >   Limits: Playback 0 - 255
> > > > > > > > >   Mono:
> > > > > > > > >   Front Left: Playback 255 [100%] [0.00dB]
> > > > > > > > >   Front Right: Playback 255 [100%] [0.00dB]
> > > > > > > > > Simple mixer control 'IEC958',0
> > > > > > > > >   Capabilities: pswitch pswitch-joined
> > > > > > > > >   Playback channels: Mono
> > > > > > > > >   Mono: Playback [off]
> > > > > > > > > Simple mixer control 'IEC958',1
> > > > > > > > >   Capabilities: pswitch pswitch-joined
> > > > > > > > >   Playback channels: Mono
> > > > > > > > >   Mono: Playback [on]
> > > > > > > > > Simple mixer control 'IEC958',2
> > > > > > > > >   Capabilities: pswitch pswitch-joined
> > > > > > > > >   Playback channels: Mono
> > > > > > > > >   Mono: Playback [on]
> > > > > > > > > Simple mixer control 'IEC958',3
> > > > > > > > >   Capabilities: pswitch pswitch-joined
> > > > > > > > >   Playback channels: Mono
> > > > > > > > >   Mono: Playback [on]
> > > > > > > > > Simple mixer control 'IEC958',4
> > > > > > > > >   Capabilities: pswitch pswitch-joined
> > > > > > > > >   Playback channels: Mono
> > > > > > > > >   Mono: Playback [on]
> > > > > > > > > Simple mixer control 'Capture',0
> > > > > > > > >   Capabilities: cvolume cswitch
> > > > > > > > >   Capture channels: Front Left - Front Right
> > > > > > > > >   Limits: Capture 0 - 63
> > > > > > > > >   Front Left: Capture 63 [100%] [30.00dB] [on]
> > > > > > > > >   Front Right: Capture 63 [100%] [30.00dB] [on]
> > > > > > > > > Simple mixer control 'Auto-Mute Mode',0
> > > > > > > > >   Capabilities: enum
> > > > > > > > >   Items: 'Disabled' 'Enabled'
> > > > > > > > >   Item0: 'Disabled'
> > > > > > > > > Simple mixer control 'Headset Mic',0
> > > > > > > > >   Capabilities: cswitch cswitch-joined cswitch-exclusive
> > > > > > > > >   Capture exclusive group: 0
> > > > > > > > >   Capture channels: Mono
> > > > > > > > >   Mono: Capture [on]
> > > > > > > > > Simple mixer control 'Headset Mic Boost',0
> > > > > > > > >   Capabilities: volume
> > > > > > > > >   Playback channels: Front Left - Front Right
> > > > > > > > >   Capture channels: Front Left - Front Right
> > > > > > > > >   Limits: 0 - 3
> > > > > > > > >   Front Left: 1 [33%] [10.00dB]
> > > > > > > > >   Front Right: 1 [33%] [10.00dB]
> > > > > > > > > Simple mixer control 'Internal Mic',0
> > > > > > > > >   Capabilities: cswitch cswitch-joined cswitch-exclusive
> > > > > > > > >   Capture exclusive group: 0
> > > > > > > > >   Capture channels: Mono
> > > > > > > > >   Mono: Capture [off]
> > > > > > > > > Simple mixer control 'Internal Mic Boost',0
> > > > > > > > >   Capabilities: volume
> > > > > > > > >   Playback channels: Front Left - Front Right
> > > > > > > > >   Capture channels: Front Left - Front Right
> > > > > > > > >   Limits: 0 - 3
> > > > > > > > >   Front Left: 0 [0%] [0.00dB]
> > > > > > > > >   Front Right: 0 [0%] [0.00dB]
> > > > > >
> > > >

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

end of thread, other threads:[~2019-05-29 10:02 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-22 11:40 Dell XPS 9360 continuous hissing sound Paulo Fidalgo
2019-03-22 15:37 ` Takashi Iwai
2019-03-22 16:07   ` Paulo Fidalgo
2019-03-22 16:54     ` Takashi Iwai
     [not found]       ` <CAKbjie7oiqbT=6Y2RT06fZjwAX42oumTSSjcHY=Vs4o-q+r7-g@mail.gmail.com>
2019-05-27  9:48         ` Paulo Fidalgo
2019-05-27  9:55           ` Takashi Iwai
2019-05-27 10:11             ` Paulo Fidalgo
2019-05-27 10:18               ` Takashi Iwai
2019-05-27 10:29                 ` Takashi Iwai
2019-05-28  9:07                   ` Paulo Fidalgo
2019-05-29 10:02                     ` Paulo Fidalgo

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.