All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paulo Fidalgo <paulo.fidalgo.pt@gmail.com>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org
Subject: Re: Dell XPS 9360 continuous hissing sound
Date: Tue, 28 May 2019 10:07:19 +0100	[thread overview]
Message-ID: <CAKbjie7MD9oNWUqZQpGAUmVZUuRMYkcKeMoq43c7ouDFFqo2dw@mail.gmail.com> (raw)
In-Reply-To: <s5hsgt0xk9k.wl-tiwai@suse.de>

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

  reply	other threads:[~2019-05-28  9:07 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2019-05-29 10:02                     ` Paulo Fidalgo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAKbjie7MD9oNWUqZQpGAUmVZUuRMYkcKeMoq43c7ouDFFqo2dw@mail.gmail.com \
    --to=paulo.fidalgo.pt@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.