[alsa-devel] Dell XPS 9360 continuous hissing sound

Paulo Fidalgo paulo.fidalgo.pt at gmail.com
Tue May 28 11:07:19 CEST 2019


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


More information about the Alsa-devel mailing list