desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #129821
[Bug 1470730] Re: [HP EliteBook 840 G2, Realtek ALC3228, HP UltraSlim Dock 2013] Line in/Line out on docking station doesn't work
+ [ALC280_FIXUP_HP_DOCK_PINS] = {
+ .type = HDA_FIXUP_PINS,
+ .v.pins = (const struct hda_pintbl[]) {
+ { 0x1b, 0x21011020 }, /* line-out */
+ { 0x1a, 0x01a1903c }, /* headset mic */
+ { 0x18, 0x2181103f }, /* line-in */
+ { },
+ },
+ .chained = true,
+ .chain_id = ALC280_FIXUP_HP_GPIO
hdajackretask only fixup the missing pin
since hda verb and early patching only part of the init
but there is no workaround for alc280_fixup_hp_gpio4
the only way is to recompile alsa driver
static void alc280_fixup_hp_gpio4(struct hda_codec *codec,
const struct hda_fixup *fix, int action)
{
/* Like hp_gpio_mic1_led, but also needs GPIO4 low to enable headphone amp */
struct alc_spec *spec = codec->spec;
static const struct hda_verb gpio_init[] = {
{ 0x01, AC_VERB_SET_GPIO_MASK, 0x18 },
{ 0x01, AC_VERB_SET_GPIO_DIRECTION, 0x18 },
{}
};
if (action == HDA_FIXUP_ACT_PRE_PROBE) {
spec->gen.vmaster_mute.hook = alc_fixup_gpio_mute_hook;
spec->gen.cap_sync_hook = alc269_fixup_hp_cap_mic_mute_hook;
spec->gpio_led = 0;
spec->mute_led_polarity = 0;
spec->gpio_mute_led_mask = 0x08;
spec->cap_mute_led_nid = 0x18;
snd_hda_add_verbs(codec, gpio_init);
codec->power_filter = led_power_filter;
}
}
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to alsa-driver in Ubuntu.
https://bugs.launchpad.net/bugs/1470730
Title:
[HP EliteBook 840 G2, Realtek ALC3228, HP UltraSlim Dock 2013] Line
in/Line out on docking station doesn't work
Status in alsa-driver package in Ubuntu:
Confirmed
Bug description:
When I plug in external speakers to line in/line out combo on the
laptop the internal speakers are turned off but when I plug the
speakers into the docking station (HP UltraSlim Dock 2013 EURO,
D9Y32AA) music keeps playing in the internal speakers. Similar
behaviour (nothing happens) is experienced with microphone connected
to line in on docking station.
### Expected behaviour
Plugging in external speakers to docking station should turn off sound from laptop internal speakers.
Plugging in microphone to line in on docking station should switch
from "internal microphone" to "microphone" in Ubuntu sound settings.
### Current behaviour
Sound keeps playing in internal speakers when plugging in external speakers to docking station.
Plugging in microphone to line in on docking station, nothing happens.
### Hardware
Laptop: HP EliteBook 840 G2
Product number: H9W19EA#AK8
Docking station: HP UltraSlim Dock 2013 EURO
Product number: D9Y32AA
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: alsa-base 1.0.25+dfsg-0ubuntu4
ProcVersionSignature: Ubuntu 3.19.0-21.21-generic 3.19.8
Uname: Linux 3.19.0-21-generic x86_64
ApportVersion: 2.17.2-0ubuntu1.1
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC2: chol 2001 F.... pulseaudio
/dev/snd/controlC0: chol 2001 F.... pulseaudio
/dev/snd/controlC1: chol 2001 F.... pulseaudio
CurrentDesktop: Unity
Date: Thu Jul 2 08:16:15 2015
EcryptfsInUse: Yes
InstallationDate: Installed on 2015-06-05 (26 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
PackageArchitecture: all
SourcePackage: alsa-driver
Symptom: audio
Symptom_AlsaPlaybackTest: ALSA playback test through plughw:PCH successful
Symptom_Card: Built-in Audio - HDA Intel PCH
Symptom_Jack: Black Headphone Out, Right
Symptom_PulsePlaybackTest: PulseAudio playback test successful
Symptom_Type: Only some of outputs are working
Title: [HP EliteBook 840 G2, Realtek ALC3228, Black Headphone Out, Right] Playback problem
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 02/24/2015
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: M71 Ver. 01.04
dmi.board.name: 2216
dmi.board.vendor: Hewlett-Packard
dmi.board.version: KBC Version 96.54
dmi.chassis.asset.tag: 5CG5093YZ7
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnHewlett-Packard:bvrM71Ver.01.04:bd02/24/2015:svnHewlett-Packard:pnHPEliteBook840G2:pvrA3009D410303:rvnHewlett-Packard:rn2216:rvrKBCVersion96.54:cvnHewlett-Packard:ct10:cvr:
dmi.product.name: HP EliteBook 840 G2
dmi.product.version: A3009D410303
dmi.sys.vendor: Hewlett-Packard
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1470730/+subscriptions
References