| Summary: | headphone jacks not working dell xps m1210 | ||
|---|---|---|---|
| Product: | PulseAudio | Reporter: | Max Wachtel <maxpro4u> |
| Component: | alsa | Assignee: | pulseaudio-bugs |
| Status: | RESOLVED MOVED | QA Contact: | pulseaudio-bugs |
| Severity: | normal | ||
| Priority: | medium | CC: | lennart, maxpro4u |
| Version: | unspecified | ||
| Hardware: | x86-64 (AMD64) | ||
| OS: | Linux (All) | ||
| Whiteboard: | |||
| i915 platform: | i915 features: | ||
|
Description
Max Wachtel
2015-11-29 01:50:33 UTC
You have to fix the driver first if HP and speaker must share volume control https://bugzilla.kernel.org/enter_bug.cgi?product=Drivers Sound(ALSA) Node 0x02 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out R/L
Control: name="Speaker+LO Playback Volume", index=0, device=0
ControlAmp: chs=3, dir=Out, idx=0, ofs=0
Control: name="Speaker+LO Playback Switch", index=0, device=0
ControlAmp: chs=3, dir=Out, idx=0, ofs=0
Device: name="STAC9221 A1 Analog", type="Audio", device=0
Amp-Out caps: N/A
Amp-Out vals: [0x79 0x79]
Converter: stream=5, channel=0
Power states:
Power: setting=D0, actual=D0
Delay: 13 samples
Node 0x0a [Pin Complex] wcaps 0x400181: Stereo
Pincap 0x0000173f: IN OUT HP Detect Trigger ImpSense
Vref caps: HIZ 50 GRD 80
Pin Default 0x0221101f: [Jack] HP Out at Ext Front
Conn = 1/8, Color = Black
DefAssociation = 0x1, Sequence = 0xf
Pin-ctls: 0x40: OUT VREF_HIZ
Unsolicited: tag=02, enabled=1
Connection: 1
0x02
Node 0x0d [Pin Complex] wcaps 0x400181: Stereo
Pincap 0x0000173f: IN OUT HP Detect Trigger ImpSense
Vref caps: HIZ 50 GRD 80
Pin Default 0x90170110: [Fixed] Speaker at Int N/A
Conn = Analog, Color = Unknown
DefAssociation = 0x1, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x40: OUT VREF_HIZ
Unsolicited: tag=00, enabled=0
Connection: 1
0x02
Node 0x0f [Pin Complex] wcaps 0x400181: Stereo
Pincap 0x00000037: IN OUT Detect Trigger ImpSense
Pin Default 0x02011020: [Jack] Line Out at Ext Front
Conn = 1/8, Color = Black
DefAssociation = 0x2, Sequence = 0x0
Pin-ctls: 0x40: OUT
Unsolicited: tag=01, enabled=1
Connection: 1
0x05
https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/plain/sound/pci/hda/hda_generic.c case AUTO_PIN_HP_OUT: /* if the primary channel vol/mute is shared with spk volume, * don't name it as Headphone */ if (!ch && cfg->speaker_outs && !path_has_mixer(codec, spec->speaker_paths[0], ctl_type)) - break; + return "Speaker+HP"; /* for multi-io case, only the primary out */ if (ch && spec->multi_ios) break; *index = ch; return "Headphone"; You also need to add "Speaker+HP" to slaves of virtual master After the driver rename the shared volume control"Speaker+HP" , you need to change pulseaudio conf to avoid headphone mute the shared volume control similar to http://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/src/modules/alsa/mixer/paths?id=aec811798cd883a454b9b5cd82c77831906bbd2d ==> Best config: lo_type=2, wired=1, mio=1 multi_outs = a/f/0/0 : 2/5/0/0 (type HP) out path: depth=2 '02:0a' out path: depth=2 '05:0f' spk_outs = d/0/0/0 : 2/0/0/0 spk path: depth=2 '02:0d' as the driver create surround playback volume for the line out jack it seem that the driver create incorrect headphone jack kctl the alternative workaround is to change two output jacks to line out instead of headphone by hdajackretask pulseaudio cannot handle Front Headphone jack with index 1
control.17 {
iface CARD
name 'Front Headphone Jack'
value false
comment {
access read
type BOOLEAN
count 1
}
}
control.18 {
iface CARD
name 'Front Headphone Jack'
index 1
value false
comment {
access read
type BOOLEAN
count 1
}
}
control.19 {
iface CARD
name 'Speaker Phantom Jack'
value true
comment {
access read
type BOOLEAN
count 1
}
}
http://cgit.freedesktop.org/pulseaudio/pulseaudio/tree/src/modules/alsa/mixer/paths/analog-output-headphones-2.conf what is the usage of headphone2.conf ? seem no sound driver implemenet [Element Headphone2] just installed arch linux using the 4.1 LTS kernel and the headphone jacks work fine -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/211. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.