From: Takashi Iwai <tiwai@suse.de>
To: Derick Eddington <derick.eddington@gmail.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: Headset doesn't work for HP EliteBook 755 G2
Date: Wed, 24 Feb 2016 09:00:04 +0100 [thread overview]
Message-ID: <s5hio1e1qt7.wl-tiwai@suse.de> (raw)
In-Reply-To: <877fhvdwl2.fsf@gmail.com>
On Tue, 23 Feb 2016 21:02:17 +0100,
Derick Eddington wrote:
>
> Hi, first time here, following suggestion [1] to report non-working
> default configuration, which I found how to make work.
>
> I checked using the latest stable kernel 4.4.2 and my headset jack
> doesn't work by default but my fix does work, on Scientific Linux 7.2
> using the 4.4.2 kernel from the ELRepo repository. I also checked using
> Ubuntu 16.04 alpha with its 4.4.0 kernel and the problem and fix are the
> same.
>
> My laptop is an HP EliteBook 755 G2 from mid 2015 [2] that has a
> combined headset (headphone + mic) jack that doesn't work by default.
> The speakers work fine by default and they mute when a headset is
> plugged in, but the headphones don't work.
>
> The snd-hda-intel module handles my device.
> The codec is Realtek ALC3228.
> I have the latest BIOS update from HP.
>
> I got it working by passing model=hp,headset-mic to snd-hda-intel. I
> found this fix in an alsa-user message about a different HP laptop with
> the same codec [3], but I had to modify the message's fix by only
> including the module option for model= and omitting the other options
> and aliases that seem to be specific to Arch Linux. I tried using only
> "hp" or only "headset-mic" as the value for model= but neither worked.
The point is the comma. Your Realtek codec is assigned as the
secondary, and model option takes multiple values, one for each slot.
So, you'd need to pass "model=,headset-mic"
> Attached are my outputs of alsa-info.sh from before and after I did
> model=hp,headset-mic.
Thanks, I'll compare them. Isn't the any functionality lost by this
option? Everything (except for the noise issue) works by that?
> Also, there's another problem after enabling model=hp,headset-mic, which
> I found how to fix: There is a very annoying squeaky background noise in
> the headphones that's independent of adjusting the volume level but it
> does stop when the headphones are muted. I tried a different headset
> and it's the same. I found how to suppress this by using the
> white_noise_fix.py script from [4] as described at [5,6], which
> apparently does some ioctl verbs to adjust the amp gain. I thought this
> might be something that should be fixed/adjusted in the kernel module(s)
> that handle this device, so that the white_noise_fix.py isn't needed.
> If so, maybe it's worth mentioning that when my laptop resumes from
> sleep, the background noise comes back, so I have to run
> white_noise_fix.py again.
Such a noise often comes from the analog-loopback. Try to turn off
"Loopback Mixing" mixer switch.
Takashi
next prev parent reply other threads:[~2016-02-24 8:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-23 20:02 Headset doesn't work for HP EliteBook 755 G2 Derick Eddington
2016-02-24 8:00 ` Takashi Iwai [this message]
2016-02-24 23:55 ` Derick Eddington
2016-02-25 13:37 ` Takashi Iwai
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=s5hio1e1qt7.wl-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@alsa-project.org \
--cc=derick.eddington@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox