* Internal speakers not working on HP ProBook 455 G2
@ 2015-02-19 6:24 Michel Dänzer
2015-02-19 11:38 ` Takashi Iwai
0 siblings, 1 reply; 9+ messages in thread
From: Michel Dänzer @ 2015-02-19 6:24 UTC (permalink / raw)
To: alsa-devel
[-- Attachment #1: Type: text/plain, Size: 2538 bytes --]
Hi,
the built-in speakers of my HP ProBook 455 G2 are not working by
default. I'm attaching the output of alsa-info.sh.
In pavucontrol, the speakers appear as "Speakers (unavailable)", and in
the GNOME sound settings they don't appear at all.
After some playing around with HDAAnalyzer, I discovered that enabling
the 'OUT' widget control of pin 0x14 makes the speakers emit sound, see
the diff below.
Let me know if you need any more information, and I'll happily test any
patches to fix this problem.
Diff for codec 1/0 (0x10ec0282):
---
+++
@@ -120,39 +120,40 @@
bits [0xe]: 16 20 24
formats [0x1]: PCM
Power: setting=D0, actual=D0
Connection: 1
0x12
Node 0x12 [Pin Complex] wcaps 0x40040b: Stereo Amp-In
Control: name="Internal Mic Boost Volume", index=0, device=0
ControlAmp: chs=3, dir=1, idx=0, ofs=0
- Control: name="Internal Mic Phantom Jack", index=0, device=0
+ Control: iface="card", name="Internal Mic Phantom Jack", index=0,
device=0
Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0
Amp-In vals: [0x00 0x00]
Pincap 0x00000020: IN
Pin Default 0x90a60140: [Fixed] Mic at Int N/A
Conn = Digital, Color = Unknown
DefAssociation = 0x4, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x20: IN
Power: setting=D0, actual=D0
Node 0x13 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x14 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
Control: name="Speaker Playback Switch", index=0, device=0
ControlAmp: chs=3, dir=1, idx=0, ofs=0
- Control: name="Speaker Phantom Jack", index=0, device=0
+ Control: iface="card", name="Speaker Phantom Jack", index=0, device=0
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x00 0x00]
Pincap 0x00010014: OUT EAPD Detect
EAPD 0x2: EAPD
Pin Default 0x90170110: [Fixed] Speaker at Int N/A
Conn = Analog, Color = Unknown
DefAssociation = 0x1, Sequence = 0x0
Misc = NO_PRESENCE
+ Pin-ctls: 0x40: OUT
Unsolicited: tag=0x00, enabled=0
Power: setting=D0, actual=D0
Connection: 1
0x0c
Node 0x15 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x16 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x17 [Pin Complex] wcaps 0x40050c: Mono Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Mesa and X developer
[-- Attachment #2: alsa-info.txt --]
[-- Type: text/plain, Size: 34255 bytes --]
upload=true&script=true&cardinfo=
!!################################
!!ALSA Information Script v 0.4.64
!!################################
!!Script ran on: Wed Feb 18 07:42:58 UTC 2015
!!Linux Distribution
!!------------------
Debian GNU/Linux 8 \n \l PRETTY_NAME="Debian GNU/Linux 8 (jessie)" NAME="Debian GNU/Linux" ID=debian HOME_URL="http://www.debian.org/" SUPPORT_URL="http://www.debian.org/support/" BUG_REPORT_URL="https://bugs.debian.org/"
!!DMI Information
!!---------------
Manufacturer: Hewlett-Packard
Product Name: HP ProBook 455 G2
Product Version: A3008DD10B03
Firmware Version: M75 Ver. 01.09
!!Kernel Information
!!------------------
Kernel release: 3.19.0+
Operating System: GNU/Linux
Architecture: x86_64
Processor: unknown
SMP Enabled: Yes
!!ALSA Version
!!------------
Driver version: k3.19.0+
Library version: 1.0.28
Utilities version: 1.0.28
!!Loaded ALSA modules
!!-------------------
snd_hda_intel
snd_hda_intel
!!Sound Servers on this system
!!----------------------------
Pulseaudio:
Installed - Yes (/usr/bin/pulseaudio)
Running - Yes
Jack:
Installed - Yes (/usr/bin/jackd)
Running - No
!!Soundcards recognised by ALSA
!!-----------------------------
0 [Generic ]: HDA-Intel - HD-Audio Generic
HD-Audio Generic at 0xd6840000 irq 49
1 [Generic_1 ]: HDA-Intel - HD-Audio Generic
HD-Audio Generic at 0xd6844000 irq 16
!!PCI Soundcards installed in the system
!!--------------------------------------
00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Kaveri HDMI/DP Audio Controller
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD] FCH Azalia Controller (rev 01)
!!Advanced information - PCI Vendor/Device/Subsystem ID's
!!-------------------------------------------------------
00:01.1 0403: 1002:1308
Subsystem: 103c:2235
--
00:14.2 0403: 1022:780d (rev 01)
Subsystem: 103c:2235
!!Modprobe options (Sound related)
!!--------------------------------
snd_pcsp: index=-2
snd_usb_audio: index=-2
snd_atiixp_modem: index=-2
snd_intel8x0m: index=-2
snd_via82xx_modem: index=-2
!!Loaded sound module options
!!---------------------------
!!Module: snd_hda_intel
align_buffer_size : -1
bdl_pos_adj : 32,32,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
beep_mode : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
enable : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
enable_msi : -1
id : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
jackpoll_ms : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
model : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
patch : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
position_fix : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
power_save : 0
power_save_controller : Y
probe_mask : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
probe_only : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
single_cmd : N
snoop : -1
!!Module: snd_hda_intel
align_buffer_size : -1
bdl_pos_adj : 32,32,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
beep_mode : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
enable : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
enable_msi : -1
id : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
jackpoll_ms : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
model : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
patch : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
position_fix : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
power_save : 0
power_save_controller : Y
probe_mask : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
probe_only : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
single_cmd : N
snoop : -1
!!HDA-Intel Codec information
!!---------------------------
--startcollapse--
Codec: ATI R6xx HDMI
Address: 0
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x1002aa01
Subsystem Id: 0x00aa0100
Revision Id: 0x100500
No Modem Function Group found
Default PCM:
rates [0x70]: 32000 44100 48000
bits [0x2]: 16
formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
State of AFG node 0x01:
Power states: D0 D3 CLKSTOP EPSS
Power: setting=D0, actual=D0, Clock-stop-OK
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
Node 0x02 [Audio Output] wcaps 0x221: Stereo Digital Stripe
Converter: stream=1, channel=0
Digital: Enabled
Digital category: 0x0
IEC Coding Type: 0x0
Node 0x03 [Pin Complex] wcaps 0x400381: Stereo Digital
Control: name="HDMI/DP,pcm=3 Jack", index=0, device=0
Control: name="IEC958 Playback Con Mask", index=0, device=0
Control: name="IEC958 Playback Pro Mask", index=0, device=0
Control: name="IEC958 Playback Default", index=0, device=0
Control: name="IEC958 Playback Switch", index=0, device=0
Control: name="ELD", index=0, device=3
Pincap 0x00000094: OUT Detect HDMI
Pin Default 0x185600f0: [Jack] Digital Out at Int HDMI
Conn = Digital, Color = Unknown
DefAssociation = 0xf, Sequence = 0x0
Pin-ctls: 0x40: OUT
Unsolicited: tag=01, enabled=1
Connection: 1
0x02
Node 0x04 [Audio Output] wcaps 0x221: Stereo Digital Stripe
Converter: stream=0, channel=0
Digital:
Digital category: 0x0
IEC Coding Type: 0x0
Node 0x05 [Pin Complex] wcaps 0x400381: Stereo Digital
Pincap 0x00000094: OUT Detect HDMI
Pin Default 0x585600f0: [N/A] Digital Out at Int HDMI
Conn = Digital, Color = Unknown
DefAssociation = 0xf, Sequence = 0x0
Pin-ctls: 0x40: OUT
Unsolicited: tag=00, enabled=0
Connection: 1
0x04
Node 0x06 [Audio Output] wcaps 0x221: Stereo Digital Stripe
Converter: stream=0, channel=0
Digital:
Digital category: 0x0
IEC Coding Type: 0x0
Node 0x07 [Pin Complex] wcaps 0x400381: Stereo Digital
Pincap 0x00000094: OUT Detect HDMI
Pin Default 0x585600f0: [N/A] Digital Out at Int HDMI
Conn = Digital, Color = Unknown
DefAssociation = 0xf, Sequence = 0x0
Pin-ctls: 0x40: OUT
Unsolicited: tag=00, enabled=0
Connection: 1
0x06
Node 0x08 [Audio Output] wcaps 0x221: Stereo Digital Stripe
Converter: stream=0, channel=0
Digital:
Digital category: 0x0
IEC Coding Type: 0x0
Node 0x09 [Pin Complex] wcaps 0x400381: Stereo Digital
Pincap 0x00000094: OUT Detect HDMI
Pin Default 0x585600f0: [N/A] Digital Out at Int HDMI
Conn = Digital, Color = Unknown
DefAssociation = 0xf, Sequence = 0x0
Pin-ctls: 0x40: OUT
Unsolicited: tag=00, enabled=0
Connection: 1
0x08
Node 0x0a [Audio Output] wcaps 0x221: Stereo Digital Stripe
Converter: stream=0, channel=0
Digital:
Digital category: 0x0
IEC Coding Type: 0x0
Node 0x0b [Pin Complex] wcaps 0x400381: Stereo Digital
Pincap 0x00000094: OUT Detect HDMI
Pin Default 0x585600f0: [N/A] Digital Out at Int HDMI
Conn = Digital, Color = Unknown
DefAssociation = 0xf, Sequence = 0x0
Pin-ctls: 0x40: OUT
Unsolicited: tag=00, enabled=0
Connection: 1
0x0a
Node 0x0c [Audio Output] wcaps 0x221: Stereo Digital Stripe
Converter: stream=0, channel=0
Digital:
Digital category: 0x0
IEC Coding Type: 0x0
Node 0x0d [Pin Complex] wcaps 0x400381: Stereo Digital
Pincap 0x00000094: OUT Detect HDMI
Pin Default 0x585600f0: [N/A] Digital Out at Int HDMI
Conn = Digital, Color = Unknown
DefAssociation = 0xf, Sequence = 0x0
Pin-ctls: 0x40: OUT
Unsolicited: tag=00, enabled=0
Connection: 1
0x0c
Node 0x0e [Audio Output] wcaps 0x221: Stereo Digital Stripe
Converter: stream=0, channel=0
Digital:
Digital category: 0x0
IEC Coding Type: 0x0
Node 0x0f [Pin Complex] wcaps 0x400381: Stereo Digital
Pincap 0x00000094: OUT Detect HDMI
Pin Default 0x585600f0: [N/A] Digital Out at Int HDMI
Conn = Digital, Color = Unknown
DefAssociation = 0xf, Sequence = 0x0
Pin-ctls: 0x40: OUT
Unsolicited: tag=00, enabled=0
Connection: 1
0x0e
Codec: Realtek ALC3227
Address: 0
AFG Function Id: 0x1 (unsol 1)
Vendor Id: 0x10ec0282
Subsystem Id: 0x103c2235
Revision Id: 0x100003
No Modem Function Group found
Default PCM:
rates [0x560]: 44100 48000 96000 192000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
State of AFG node 0x01:
Power states: D0 D1 D2 D3 CLKSTOP EPSS
Power: setting=D0, actual=D0
GPIO: io=3, o=0, i=0, unsolicited=1, wake=0
IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
IO[2]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
Node 0x02 [Audio Output] wcaps 0x41d: Stereo Amp-Out
Control: name="Speaker Playback Volume", index=0, device=0
ControlAmp: chs=3, dir=Out, idx=0, ofs=0
Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0
Amp-Out vals: [0x4a 0x4a]
Converter: stream=5, channel=0
PCM:
rates [0x560]: 44100 48000 96000 192000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Power states: D0 D1 D2 D3 EPSS
Power: setting=D0, actual=D0
Node 0x03 [Audio Output] wcaps 0x41d: Stereo Amp-Out
Control: name="Headphone Playback Volume", index=0, device=0
ControlAmp: chs=3, dir=Out, idx=0, ofs=0
Device: name="ALC3227 Analog", type="Audio", device=0
Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0
Amp-Out vals: [0x00 0x00]
Converter: stream=5, channel=0
PCM:
rates [0x560]: 44100 48000 96000 192000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Power states: D0 D1 D2 D3 EPSS
Power: setting=D0, actual=D0
Node 0x04 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x05 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x06 [Audio Output] wcaps 0x611: Stereo Digital
Converter: stream=0, channel=0
Digital:
Digital category: 0x0
IEC Coding Type: 0x0
PCM:
rates [0x5e0]: 44100 48000 88200 96000 192000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Power states: D0 D1 D2 D3 EPSS
Power: setting=D0, actual=D0
Node 0x07 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x08 [Audio Input] wcaps 0x10051b: Stereo Amp-In
Control: name="Capture Volume", index=0, device=0
ControlAmp: chs=3, dir=In, idx=0, ofs=0
Control: name="Capture Switch", index=0, device=0
ControlAmp: chs=3, dir=In, idx=0, ofs=0
Device: name="ALC3227 Analog", type="Audio", device=0
Amp-In caps: ofs=0x17, nsteps=0x3f, stepsize=0x02, mute=1
Amp-In vals: [0xbf 0xbf]
Converter: stream=1, channel=0
SDI-Select: 0
PCM:
rates [0x560]: 44100 48000 96000 192000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Power states: D0 D1 D2 D3 EPSS
Power: setting=D0, actual=D0
Connection: 1
0x23
Node 0x09 [Audio Input] wcaps 0x10051b: Stereo Amp-In
Amp-In caps: ofs=0x17, nsteps=0x3f, stepsize=0x02, mute=1
Amp-In vals: [0x97 0x97]
Converter: stream=0, channel=0
SDI-Select: 0
PCM:
rates [0x560]: 44100 48000 96000 192000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Power states: D0 D1 D2 D3 EPSS
Power: setting=D0, actual=D0
Connection: 1
0x22
Node 0x0a [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Control: name="Mic Playback Volume", index=0, device=0
ControlAmp: chs=3, dir=In, idx=1, ofs=0
Control: name="Mic Playback Switch", index=0, device=0
ControlAmp: chs=3, dir=In, idx=1, ofs=0
Control: name="Beep Playback Volume", index=0, device=0
ControlAmp: chs=3, dir=In, idx=4, ofs=0
Control: name="Beep Playback Switch", index=0, device=0
ControlAmp: chs=3, dir=In, idx=4, ofs=0
Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
Amp-In vals: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
Connection: 5
0x18 0x19 0x1a 0x1b 0x1d
Node 0x0c [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-In vals: [0x00 0x00] [0x00 0x00]
Connection: 2
0x02 0x0b
Node 0x0d [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-In vals: [0x00 0x00] [0x00 0x00]
Connection: 2
0x03 0x0b
Node 0x0e [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x0f [Audio Mixer] wcaps 0x20010a: Mono Amp-In
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-In vals: [0x00]
Connection: 1
0x0d
Node 0x10 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x11 [Audio Input] wcaps 0x10051b: Stereo Amp-In
Amp-In caps: ofs=0x17, nsteps=0x3f, stepsize=0x02, mute=1
Amp-In vals: [0xbf 0xbf]
Converter: stream=0, channel=0
SDI-Select: 0
PCM:
rates [0x560]: 44100 48000 96000 192000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Power states: D0 D1 D2 D3 EPSS
Power: setting=D0, actual=D0
Connection: 1
0x12
Node 0x12 [Pin Complex] wcaps 0x40040b: Stereo Amp-In
Control: name="Internal Mic Boost Volume", index=0, device=0
ControlAmp: chs=3, dir=In, idx=0, ofs=0
Control: name="Internal Mic Phantom Jack", index=0, device=0
Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0
Amp-In vals: [0x00 0x00]
Pincap 0x00000020: IN
Pin Default 0x90a60140: [Fixed] Mic at Int N/A
Conn = Digital, Color = Unknown
DefAssociation = 0x4, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x20: IN
Power states: D0 D1 D2 D3 EPSS
Power: setting=D0, actual=D0
Node 0x13 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x14 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
Control: name="Speaker Playback Switch", index=0, device=0
ControlAmp: chs=3, dir=Out, idx=0, ofs=0
Control: name="Speaker Phantom Jack", index=0, device=0
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x00 0x00]
Pincap 0x00010014: OUT EAPD Detect
EAPD 0x2: EAPD
Pin Default 0x90170110: [Fixed] Speaker at Int N/A
Conn = Analog, Color = Unknown
DefAssociation = 0x1, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x00:
Unsolicited: tag=00, enabled=0
Power states: D0 D1 D2 D3 EPSS
Power: setting=D0, actual=D0
Connection: 1
0x0c
Node 0x15 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x16 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x17 [Pin Complex] wcaps 0x40050c: Mono Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x80]
Pincap 0x00000010: OUT
Pin Default 0x40000000: [N/A] Line Out at Ext N/A
Conn = Unknown, Color = Unknown
DefAssociation = 0x0, Sequence = 0x0
Pin-ctls: 0x00:
Power states: D0 D1 D2 D3 EPSS
Power: setting=D0, actual=D0
Connection: 1
0x0f
Node 0x18 [Pin Complex] wcaps 0x40048b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0
Amp-In vals: [0x00 0x00]
Pincap 0x00003724: IN Detect
Vref caps: HIZ 50 GRD 80 100
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x04: VREF_80
Unsolicited: tag=00, enabled=0
Power states: D0 D1 D2 D3 EPSS
Power: setting=D0, actual=D0
Node 0x19 [Pin Complex] wcaps 0x40048b: Stereo Amp-In
Control: name="Mic Boost Volume", index=0, device=0
ControlAmp: chs=3, dir=In, idx=0, ofs=0
Control: name="Mic Jack", index=0, device=0
Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0
Amp-In vals: [0x03 0x03]
Pincap 0x00003724: IN Detect
Vref caps: HIZ 50 GRD 80 100
Pin Default 0x04a11030: [Jack] Mic at Ext Right
Conn = 1/8, Color = Black
DefAssociation = 0x3, Sequence = 0x0
Pin-ctls: 0x24: IN VREF_80
Unsolicited: tag=02, enabled=1
Power states: D0 D1 D2 D3 EPSS
Power: setting=D0, actual=D0
Node 0x1a [Pin Complex] wcaps 0x40048b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0
Amp-In vals: [0x00 0x00]
Pincap 0x00003724: IN Detect
Vref caps: HIZ 50 GRD 80 100
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x00: VREF_HIZ
Unsolicited: tag=00, enabled=0
Power states: D0 D1 D2 D3 EPSS
Power: setting=D0, actual=D0
Node 0x1b [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0
Amp-In vals: [0x00 0x00]
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x80 0x80]
Pincap 0x0000373c: IN OUT HP Detect
Vref caps: HIZ 50 GRD 80 100
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x20: IN VREF_HIZ
Unsolicited: tag=00, enabled=0
Power states: D0 D1 D2 D3 EPSS
Power: setting=D0, actual=D0
Connection: 2
0x0c* 0x0d
Node 0x1c [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x1d [Pin Complex] wcaps 0x400400: Mono
Pincap 0x00000020: IN
Pin Default 0x40f00001: [N/A] Other at Ext N/A
Conn = Unknown, Color = Unknown
DefAssociation = 0x0, Sequence = 0x1
Pin-ctls: 0x20: IN
Power states: D0 D1 D2 D3 EPSS
Power: setting=D0, actual=D0
Node 0x1e [Pin Complex] wcaps 0x400781: Stereo Digital
Pincap 0x00000014: OUT Detect
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x40: OUT
Unsolicited: tag=00, enabled=0
Power states: D0 D1 D2 D3 EPSS
Power: setting=D0, actual=D0
Connection: 1
0x06
Node 0x1f [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
Processing caps: benign=0, ncoeff=117
Node 0x21 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
Control: name="Headphone Playback Switch", index=0, device=0
ControlAmp: chs=3, dir=Out, idx=0, ofs=0
Control: name="Headphone Jack", index=0, device=0
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x80 0x80]
Pincap 0x0000001c: OUT HP Detect
Pin Default 0x04211020: [Jack] HP Out at Ext Right
Conn = 1/8, Color = Black
DefAssociation = 0x2, Sequence = 0x0
Pin-ctls: 0xc0: OUT HP
Unsolicited: tag=01, enabled=1
Power states: D0 D1 D2 D3 EPSS
Power: setting=D0, actual=D0
Connection: 2
0x0c 0x0d*
Node 0x22 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-In vals: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
Connection: 6
0x18 0x19 0x1a 0x1b 0x1d 0x0b
Node 0x23 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-In vals: [0x80 0x80] [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
Connection: 6
0x18 0x19 0x1a 0x1b 0x1d 0x0b
--endcollapse--
!!ALSA Device nodes
!!-----------------
crw-rw----+ 1 root audio 116, 2 Feb 18 01:07 /dev/snd/controlC0
crw-rw----+ 1 root audio 116, 5 Feb 18 01:07 /dev/snd/controlC1
crw-rw----+ 1 root audio 116, 4 Feb 18 01:07 /dev/snd/hwC0D0
crw-rw----+ 1 root audio 116, 8 Feb 18 01:07 /dev/snd/hwC1D0
crw-rw----+ 1 root audio 116, 3 Feb 18 11:41 /dev/snd/pcmC0D3p
crw-rw----+ 1 root audio 116, 7 Feb 18 11:20 /dev/snd/pcmC1D0c
crw-rw----+ 1 root audio 116, 6 Feb 18 16:35 /dev/snd/pcmC1D0p
crw-rw----+ 1 root audio 116, 1 Feb 18 01:07 /dev/snd/seq
crw-rw----+ 1 root audio 116, 33 Feb 18 01:07 /dev/snd/timer
/dev/snd/by-path:
total 0
drwxr-xr-x 2 root root 80 Feb 18 01:07 .
drwxr-xr-x 3 root root 240 Feb 18 01:07 ..
lrwxrwxrwx 1 root root 12 Feb 18 01:07 pci-0000:00:01.1 -> ../controlC0
lrwxrwxrwx 1 root root 12 Feb 18 01:07 pci-0000:00:14.2 -> ../controlC1
!!Aplay/Arecord output
!!--------------------
APLAY
**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic_1 [HD-Audio Generic], device 0: ALC3227 Analog [ALC3227 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
ARECORD
**** List of CAPTURE Hardware Devices ****
card 1: Generic_1 [HD-Audio Generic], device 0: ALC3227 Analog [ALC3227 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
!!Amixer output
!!-------------
!!-------Mixer controls for card 0 [Generic]
Card hw:0 'Generic'/'HD-Audio Generic at 0xd6840000 irq 49'
Mixer name : 'ATI R6xx HDMI'
Components : 'HDA:1002aa01,00aa0100,00100500'
Controls : 7
Simple ctrls : 1
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
!!-------Mixer controls for card 1 [Generic_1]
Card hw:1 'Generic_1'/'HD-Audio Generic at 0xd6844000 irq 16'
Mixer name : 'Realtek ALC3227'
Components : 'HDA:10ec0282,103c2235,00100003'
Controls : 23
Simple ctrls : 11
Simple mixer control 'Master',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 87
Mono: Playback 74 [85%] [-9.75dB] [on]
Simple mixer control 'Headphone',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 'Speaker',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 '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 'Mic',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 0 [0%] [-34.50dB] [off]
Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Mic Boost',0
Capabilities: volume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 3
Front Left: 3 [100%] [36.00dB]
Front Right: 3 [100%] [36.00dB]
Simple mixer control 'Beep',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 0 [0%] [-34.50dB] [off]
Front Right: Playback 0 [0%] [-34.50dB] [off]
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] [off]
Front Right: Capture 63 [100%] [30.00dB] [off]
Simple mixer control 'Auto-Mute Mode',0
Capabilities: enum
Items: 'Disabled' 'Enabled'
Item0: 'Enabled'
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 'Mute-LED Mode',0
Capabilities: enum
Items: 'On' 'Off' 'Follow Master'
Item0: 'Follow Master'
!!Alsactl output
!!--------------
--startcollapse--
state.Generic {
control.1 {
iface CARD
name 'HDMI/DP,pcm=3 Jack'
value false
comment {
access read
type BOOLEAN
count 1
}
}
control.2 {
iface MIXER
name 'IEC958 Playback Con Mask'
value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
comment {
access read
type IEC958
count 1
}
}
control.3 {
iface MIXER
name 'IEC958 Playback Pro Mask'
value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
comment {
access read
type IEC958
count 1
}
}
control.4 {
iface MIXER
name 'IEC958 Playback Default'
value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
comment {
access 'read write'
type IEC958
count 1
}
}
control.5 {
iface MIXER
name 'IEC958 Playback Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.6 {
iface PCM
device 3
name ELD
value ''
comment {
access 'read volatile'
type BYTES
count 0
}
}
control.7 {
iface PCM
device 3
name 'Playback Channel Map'
value.0 0
value.1 0
value.2 0
value.3 0
value.4 0
value.5 0
value.6 0
value.7 0
comment {
access 'read write'
type INTEGER
count 8
range '0 - 36'
}
}
}
state.Generic_1 {
control.1 {
iface MIXER
name 'Headphone Playback Volume'
value.0 0
value.1 0
comment {
access 'read write'
type INTEGER
count 2
range '0 - 87'
dbmin -6525
dbmax 0
dbvalue.0 -6525
dbvalue.1 -6525
}
}
control.2 {
iface MIXER
name 'Headphone Playback Switch'
value.0 false
value.1 false
comment {
access 'read write'
type BOOLEAN
count 2
}
}
control.3 {
iface MIXER
name 'Speaker Playback Volume'
value.0 87
value.1 87
comment {
access 'read write'
type INTEGER
count 2
range '0 - 87'
dbmin -6525
dbmax 0
dbvalue.0 0
dbvalue.1 0
}
}
control.4 {
iface MIXER
name 'Speaker Playback Switch'
value.0 true
value.1 true
comment {
access 'read write'
type BOOLEAN
count 2
}
}
control.5 {
iface MIXER
name 'Mic Playback Volume'
value.0 0
value.1 0
comment {
access 'read write'
type INTEGER
count 2
range '0 - 31'
dbmin -3450
dbmax 1200
dbvalue.0 -3450
dbvalue.1 -3450
}
}
control.6 {
iface MIXER
name 'Mic Playback Switch'
value.0 false
value.1 false
comment {
access 'read write'
type BOOLEAN
count 2
}
}
control.7 {
iface MIXER
name 'Auto-Mute Mode'
value Enabled
comment {
access 'read write'
type ENUMERATED
count 1
item.0 Disabled
item.1 Enabled
}
}
control.8 {
iface MIXER
name 'Capture Volume'
value.0 63
value.1 63
comment {
access 'read write'
type INTEGER
count 2
range '0 - 63'
dbmin -1725
dbmax 3000
dbvalue.0 3000
dbvalue.1 3000
}
}
control.9 {
iface MIXER
name 'Capture Switch'
value.0 false
value.1 false
comment {
access 'read write'
type BOOLEAN
count 2
}
}
control.10 {
iface MIXER
name 'Mic Boost Volume'
value.0 3
value.1 3
comment {
access 'read write'
type INTEGER
count 2
range '0 - 3'
dbmin 0
dbmax 3600
dbvalue.0 3600
dbvalue.1 3600
}
}
control.11 {
iface MIXER
name 'Internal Mic Boost Volume'
value.0 0
value.1 0
comment {
access 'read write'
type INTEGER
count 2
range '0 - 3'
dbmin 0
dbmax 3600
dbvalue.0 0
dbvalue.1 0
}
}
control.12 {
iface MIXER
name 'Master Playback Volume'
value 74
comment {
access 'read write'
type INTEGER
count 1
range '0 - 87'
dbmin -6525
dbmax 0
dbvalue.0 -975
}
}
control.13 {
iface MIXER
name 'Master Playback Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.14 {
iface MIXER
name 'Mute-LED Mode'
value 'Follow Master'
comment {
access 'read write'
type ENUMERATED
count 1
item.0 On
item.1 Off
item.2 'Follow Master'
}
}
control.15 {
iface CARD
name 'Mic Jack'
value true
comment {
access read
type BOOLEAN
count 1
}
}
control.16 {
iface CARD
name 'Internal Mic Phantom Jack'
value true
comment {
access read
type BOOLEAN
count 1
}
}
control.17 {
iface CARD
name 'Headphone Jack'
value true
comment {
access read
type BOOLEAN
count 1
}
}
control.18 {
iface CARD
name 'Speaker Phantom Jack'
value true
comment {
access read
type BOOLEAN
count 1
}
}
control.19 {
iface MIXER
name 'Beep Playback Volume'
value.0 0
value.1 0
comment {
access 'read write'
type INTEGER
count 2
range '0 - 31'
dbmin -3450
dbmax 1200
dbvalue.0 -3450
dbvalue.1 -3450
}
}
control.20 {
iface MIXER
name 'Beep Playback Switch'
value.0 false
value.1 false
comment {
access 'read write'
type BOOLEAN
count 2
}
}
control.21 {
iface PCM
name 'Playback Channel Map'
value.0 0
value.1 0
comment {
access read
type INTEGER
count 2
range '0 - 36'
}
}
control.22 {
iface PCM
name 'Capture Channel Map'
value.0 0
value.1 0
comment {
access read
type INTEGER
count 2
range '0 - 36'
}
}
control.23 {
iface MIXER
name 'PCM Playback Volume'
value.0 255
value.1 255
comment {
access 'read write user'
type INTEGER
count 2
range '0 - 255'
tlv '0000000100000008ffffec1400000014'
dbmin -5100
dbmax 0
dbvalue.0 0
dbvalue.1 0
}
}
}
--endcollapse--
!!All Loaded Modules
!!------------------
Module
btusb
nfnetlink_queue
nfnetlink_log
nfnetlink
zram
binfmt_misc
bnep
cfg80211
cpufreq_conservative
cpufreq_userspace
cpufreq_powersave
cpufreq_stats
hid_generic
nls_utf8
nls_cp437
vfat
fat
ecb
uvcvideo
videobuf2_vmalloc
bluetooth
videobuf2_memops
videobuf2_core
kvm_amd
v4l2_common
kvm
videodev
media
crct10dif_pclmul
joydev
rtsx_pci_sdmmc
mmc_core
crc32_pclmul
rtsx_pci_ms
memstick
crc32c_intel
edac_mce_amd
snd_hda_codec_realtek
snd_hda_codec_generic
snd_hda_codec_hdmi
hp_wmi
sparse_keymap
rfkill
ghash_clmulni_intel
edac_core
efivars
k10temp
pcspkr
snd_hda_intel
psmouse
fam15h_power
serio_raw
snd_hda_controller
r8169
rtsx_pci
mii
bcma
mfd_core
snd_hda_codec
hp_accel
ohci_pci
sr_mod
tpm_infineon
cdrom
i2c_piix4
xhci_pci
ehci_pci
snd_hwdep
snd_pcm
snd_timer
snd
soundcore
sg
ohci_hcd
xhci_hcd
hp_wireless
ehci_hcd
battery
shpchp
ac
lis3lv02d
input_polldev
tpm_tis
evdev
tpm
acpi_cpufreq
processor
sch_fq_codel
cuse
fuse
parport_pc
ppdev
lp
parport
autofs4
ext4
crc16
mbcache
jbd2
dm_crypt
dm_mod
usbhid
usbcore
usb_common
hid_apple
hid
sd_mod
amdkfd
aesni_intel
aes_x86_64
glue_helper
lrw
gf128mul
ablk_helper
cryptd
radeon
ahci
i2c_algo_bit
libahci
ttm
drm_kms_helper
libata
scsi_mod
drm
i2c_core
thermal
wmi
video
thermal_sys
button
!!Sysfs Files
!!-----------
/sys/class/sound/hwC0D0/init_pin_configs:
0x03 0x185600f0
0x05 0x585600f0
0x07 0x585600f0
0x09 0x585600f0
0x0b 0x585600f0
0x0d 0x585600f0
0x0f 0x585600f0
/sys/class/sound/hwC0D0/driver_pin_configs:
/sys/class/sound/hwC0D0/user_pin_configs:
/sys/class/sound/hwC0D0/init_verbs:
/sys/class/sound/hwC0D0/hints:
/sys/class/sound/hwC1D0/init_pin_configs:
0x12 0x90a60140
0x14 0x90170110
0x17 0x40000000
0x18 0x411111f0
0x19 0x04a11030
0x1a 0x411111f0
0x1b 0x411111f0
0x1d 0x40f00001
0x1e 0x411111f0
0x21 0x04211020
/sys/class/sound/hwC1D0/driver_pin_configs:
/sys/class/sound/hwC1D0/user_pin_configs:
/sys/class/sound/hwC1D0/init_verbs:
/sys/class/sound/hwC1D0/hints:
!!ALSA/HDA dmesg
!!--------------
[ 5.419710] [drm] Connector 1:
[ 5.419711] [drm] HDMI-A-1
[ 5.419713] [drm] HPD3
--
[ 67.118404] usb 3-2: new high-speed USB device number 2 using xhci_hcd
[ 67.144808] input: HD-Audio Generic HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.1/sound/card0/input15
[ 67.221516] sound hdaudioC1D0: autoconfig: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[ 67.221523] sound hdaudioC1D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 67.221527] sound hdaudioC1D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[ 67.221530] sound hdaudioC1D0: mono: mono_out=0x0
[ 67.221533] sound hdaudioC1D0: inputs:
[ 67.221536] sound hdaudioC1D0: Mic=0x19
[ 67.221540] sound hdaudioC1D0: Internal Mic=0x12
[ 67.245289] input: HP WMI hotkeys as /devices/virtual/input/input14
--
[ 67.422653] usb 1-5: new high-speed USB device number 4 using ehci-pci
[ 67.462852] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:14.2/sound/card1/hdaudioC1D0/input16
[ 67.463268] input: HD-Audio Generic Mic as /devices/pci0000:00/0000:00:14.2/sound/card1/input17
[ 67.463423] input: HD-Audio Generic Headphone as /devices/pci0000:00/0000:00:14.2/sound/card1/input18
[ 67.509245] alg: No test for crc32 (crc32-pclmul)
[-- Attachment #3: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: Internal speakers not working on HP ProBook 455 G2
2015-02-19 6:24 Internal speakers not working on HP ProBook 455 G2 Michel Dänzer
@ 2015-02-19 11:38 ` Takashi Iwai
2015-02-24 8:43 ` Michel Dänzer
0 siblings, 1 reply; 9+ messages in thread
From: Takashi Iwai @ 2015-02-19 11:38 UTC (permalink / raw)
To: Michel D4nzer; +Cc: alsa-devel
At Thu, 19 Feb 2015 15:24:15 +0900,
Michel D4nzer wrote:
>
> Hi,
>
>
> the built-in speakers of my HP ProBook 455 G2 are not working by
> default. I'm attaching the output of alsa-info.sh.
Is this a regression from earlier kernels?
> In pavucontrol, the speakers appear as "Speakers (unavailable)", and in
> the GNOME sound settings they don't appear at all.
>
>
> After some playing around with HDAAnalyzer, I discovered that enabling
> the 'OUT' widget control of pin 0x14 makes the speakers emit sound, see
> the diff below.
Interesting. This behavior doesn't appear on the emulator, so
something else must have cleared the pin ctl.
To be sure, load snd-hda-intel module with probe_only=1,1 option.
You can check /proc/asound/card1/codec#0 to see which value is set to
the pin 0x14 by BIOS as default. Then, enable the tracing via
# echo 1 > /sys/kernel/debug/tracing/events/hda/enable
and configure the codec via
# echo 1 > /sys/class/sound/hwC1D0/reconfigure
This will set up the PCM and the mixer. Get the events from
/sys/kernel/debug/tracing/trace. At this point. Then check again
whether pin 0x14 is set or not.
Better to check the above without PulseAudio, i.e. do it in runlevel 3
on Linux console.
Once when the problem is confirmed (the pin control is still 0x00),
try to check the events log you got. The bits 28-32 of the event
value indicates the codec address, the bits 20-28 the widget nid, and
the rest 20 bits the combo of verb + parameter. So, the command
SET_PIN_WIDGET_CONTROL for the widget 0x14 should appear like
0x01470740 where 0x707 is SET_PIN_WIDGET_CONTROL verb and 0x40 is the
pin control value.
thanks,
Takashi
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Internal speakers not working on HP ProBook 455 G2
2015-02-19 11:38 ` Takashi Iwai
@ 2015-02-24 8:43 ` Michel Dänzer
2015-02-24 9:05 ` Takashi Iwai
2015-06-23 6:37 ` Michel Dänzer
0 siblings, 2 replies; 9+ messages in thread
From: Michel Dänzer @ 2015-02-24 8:43 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel
Takashi-san,
On 19.02.2015 20:38, Takashi Iwai wrote:
> At Thu, 19 Feb 2015 15:24:15 +0900,
> Michel D4nzer wrote:
>>
>> the built-in speakers of my HP ProBook 455 G2 are not working by
>> default. I'm attaching the output of alsa-info.sh.
>
> Is this a regression from earlier kernels?
No, it's the same with Debian's default 3.16 kernel.
>> In pavucontrol, the speakers appear as "Speakers (unavailable)", and in
>> the GNOME sound settings they don't appear at all.
In the meantime, I've noticed that those symptoms are due to the
headphone jack being incorrectly detected as connected. And indeed, on a
different laptop I get all the same symptoms while headphones are
plugged in.
So, it occurred to me to try 'the other OS' on this laptop, and the
behaviour there is weird as well: No sound from the speakers even while
nothing's plugged into the headphone jack. When I plug in headphones,
there's a notification: "Something was just unplugged from your
headphone jack" (!), then sound works as expected through the
headphones. When I unplug them again, there's a notification: "Something
was just plugged into your headphone jack".
In Linux, I haven't seen any visible change when plugging in or out the
headphones.
Do you think the hardware is defective? Any possible workarounds for the
incorrect headphone jack detection?
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Mesa and X developer
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Internal speakers not working on HP ProBook 455 G2
2015-02-24 8:43 ` Michel Dänzer
@ 2015-02-24 9:05 ` Takashi Iwai
2015-02-28 6:03 ` Michel Dänzer
2015-06-23 6:37 ` Michel Dänzer
1 sibling, 1 reply; 9+ messages in thread
From: Takashi Iwai @ 2015-02-24 9:05 UTC (permalink / raw)
To: Michel D4nzer; +Cc: alsa-devel
At Tue, 24 Feb 2015 17:43:10 +0900,
Michel D4nzer wrote:
>
>
> Takashi-san,
>
>
> On 19.02.2015 20:38, Takashi Iwai wrote:
> > At Thu, 19 Feb 2015 15:24:15 +0900,
> > Michel D4nzer wrote:
> >>
> >> the built-in speakers of my HP ProBook 455 G2 are not working by
> >> default. I'm attaching the output of alsa-info.sh.
> >
> > Is this a regression from earlier kernels?
>
> No, it's the same with Debian's default 3.16 kernel.
What about even older one?
> >> In pavucontrol, the speakers appear as "Speakers (unavailable)", and in
> >> the GNOME sound settings they don't appear at all.
>
> In the meantime, I've noticed that those symptoms are due to the
> headphone jack being incorrectly detected as connected. And indeed, on a
> different laptop I get all the same symptoms while headphones are
> plugged in.
>
> So, it occurred to me to try 'the other OS' on this laptop, and the
> behaviour there is weird as well: No sound from the speakers even while
> nothing's plugged into the headphone jack. When I plug in headphones,
> there's a notification: "Something was just unplugged from your
> headphone jack" (!), then sound works as expected through the
> headphones. When I unplug them again, there's a notification: "Something
> was just plugged into your headphone jack".
So the plug state is inverted?
> In Linux, I haven't seen any visible change when plugging in or out the
> headphones.
You can watch the output of "alsactl monitor".
> Do you think the hardware is defective? Any possible workarounds for the
> incorrect headphone jack detection?
The question is whether it's an unreliable jack detection (sometimes /
always doesn't report the event) or the jack detection is inverted by
some reason (plug / unplug swapped). In the latter case, you can set
a hint "inv_jack_detect = 1". See
Documentation/sound/alsa/HD-Audio.txt, the section "Hint Strings",
"HD-Audio Reconfiguration" and "Early Patching" sections.
Takashi
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Internal speakers not working on HP ProBook 455 G2
2015-02-24 9:05 ` Takashi Iwai
@ 2015-02-28 6:03 ` Michel Dänzer
2015-02-28 7:58 ` Takashi Iwai
0 siblings, 1 reply; 9+ messages in thread
From: Michel Dänzer @ 2015-02-28 6:03 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel
On 24.02.2015 18:05, Takashi Iwai wrote:
> At Tue, 24 Feb 2015 17:43:10 +0900,
> Michel D4nzer wrote:
>> On 19.02.2015 20:38, Takashi Iwai wrote:
>>> At Thu, 19 Feb 2015 15:24:15 +0900,
>>> Michel D4nzer wrote:
>>>>
>>>> the built-in speakers of my HP ProBook 455 G2 are not working by
>>>> default. I'm attaching the output of alsa-info.sh.
>>>
>>> Is this a regression from earlier kernels?
>>
>> No, it's the same with Debian's default 3.16 kernel.
>
> What about even older one?
Are you thinking of any particular version(s)? How important is it to
test that?
>>>> In pavucontrol, the speakers appear as "Speakers (unavailable)", and in
>>>> the GNOME sound settings they don't appear at all.
>>
>> In the meantime, I've noticed that those symptoms are due to the
>> headphone jack being incorrectly detected as connected. And indeed, on a
>> different laptop I get all the same symptoms while headphones are
>> plugged in.
>>
>> So, it occurred to me to try 'the other OS' on this laptop, and the
>> behaviour there is weird as well: No sound from the speakers even while
>> nothing's plugged into the headphone jack. When I plug in headphones,
>> there's a notification: "Something was just unplugged from your
>> headphone jack" (!), then sound works as expected through the
>> headphones. When I unplug them again, there's a notification: "Something
>> was just plugged into your headphone jack".
>
> So the plug state is inverted?
Not exactly. The notifications in Windows sound like that, but the
speakers don't work regardless of whether headphones are plugged in or
not (even in Windows).
>> In Linux, I haven't seen any visible change when plugging in or out the
>> headphones.
>
> You can watch the output of "alsactl monitor".
When plugging in headphones:
card 1, #38 (0,0,0,Mic Jack,0) VALUE
card 1, #34 (2,0,0,Internal Mic Boost Volume,0) VALUE
card 1, #34 (2,0,0,Internal Mic Boost Volume,0) VALUE
card 1, #33 (2,0,0,Mic Boost Volume,0) VALUE
card 1, #33 (2,0,0,Mic Boost Volume,0) VALUE
When unplugging them again:
card 1, #38 (0,0,0,Mic Jack,0) VALUE
card 1, #33 (2,0,0,Mic Boost Volume,0) VALUE
card 1, #33 (2,0,0,Mic Boost Volume,0) VALUE
card 1, #34 (2,0,0,Internal Mic Boost Volume,0) VALUE
card 1, #34 (2,0,0,Internal Mic Boost Volume,0) VALUE
>> Do you think the hardware is defective? Any possible workarounds for the
>> incorrect headphone jack detection?
>
> The question is whether it's an unreliable jack detection (sometimes /
> always doesn't report the event) or the jack detection is inverted by
> some reason (plug / unplug swapped). In the latter case, you can set
> a hint "inv_jack_detect = 1". See
> Documentation/sound/alsa/HD-Audio.txt, the section "Hint Strings",
> "HD-Audio Reconfiguration" and "Early Patching" sections.
Setting inv_jack_detect = 1 makes the speakers work by default, but then
plugging in headphones isn't detected.
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Mesa and X developer
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Internal speakers not working on HP ProBook 455 G2
2015-02-28 6:03 ` Michel Dänzer
@ 2015-02-28 7:58 ` Takashi Iwai
2015-03-24 8:09 ` Michel Dänzer
0 siblings, 1 reply; 9+ messages in thread
From: Takashi Iwai @ 2015-02-28 7:58 UTC (permalink / raw)
To: Michel D4nzer; +Cc: alsa-devel
At Sat, 28 Feb 2015 15:03:41 +0900,
Michel D4nzer wrote:
>
> On 24.02.2015 18:05, Takashi Iwai wrote:
> > At Tue, 24 Feb 2015 17:43:10 +0900,
> > Michel D4nzer wrote:
> >> On 19.02.2015 20:38, Takashi Iwai wrote:
> >>> At Thu, 19 Feb 2015 15:24:15 +0900,
> >>> Michel D4nzer wrote:
> >>>>
> >>>> the built-in speakers of my HP ProBook 455 G2 are not working by
> >>>> default. I'm attaching the output of alsa-info.sh.
> >>>
> >>> Is this a regression from earlier kernels?
> >>
> >> No, it's the same with Debian's default 3.16 kernel.
> >
> > What about even older one?
>
> Are you thinking of any particular version(s)? How important is it to
> test that?
No particular version, I just wonder whether this is a regression at
all. But the cause is now clear.
> >> In Linux, I haven't seen any visible change when plugging in or out the
> >> headphones.
> >
> > You can watch the output of "alsactl monitor".
>
> When plugging in headphones:
>
> card 1, #38 (0,0,0,Mic Jack,0) VALUE
So, your headphone is recognized wrongly as a microphone. This
implies that the pins aren't properly set up by BIOS. Maybe BIOS
update will solve this?
If no BIOS update doesn't solve (or you don't want it), you have to
figure out the right pin configuration by trial and error.
hdajackretask and hda-analyzer would be your friend.
(Note that the onboard analog audio is the second card in your case.)
Takashi
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Internal speakers not working on HP ProBook 455 G2
2015-02-28 7:58 ` Takashi Iwai
@ 2015-03-24 8:09 ` Michel Dänzer
2015-03-24 8:23 ` Takashi Iwai
0 siblings, 1 reply; 9+ messages in thread
From: Michel Dänzer @ 2015-03-24 8:09 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel
On 28.02.2015 16:58, Takashi Iwai wrote:
> At Sat, 28 Feb 2015 15:03:41 +0900,
> Michel D4nzer wrote:
>>
>> On 24.02.2015 18:05, Takashi Iwai wrote:
>>> At Tue, 24 Feb 2015 17:43:10 +0900,
>>> Michel D4nzer wrote:
>>>> On 19.02.2015 20:38, Takashi Iwai wrote:
>>>>> At Thu, 19 Feb 2015 15:24:15 +0900,
>>>>> Michel D4nzer wrote:
>>>>>>
>>>>>> the built-in speakers of my HP ProBook 455 G2 are not working by
>>>>>> default. I'm attaching the output of alsa-info.sh.
[...]
>>>> In Linux, I haven't seen any visible change when plugging in or out the
>>>> headphones.
>>>
>>> You can watch the output of "alsactl monitor".
>>
>> When plugging in headphones:
>>
>> card 1, #38 (0,0,0,Mic Jack,0) VALUE
>
> So, your headphone is recognized wrongly as a microphone.
Actually, there are two pins for the (black) headphone jack, which BTW
has a headset icon next to it. Maybe some kind of headset quirk is
needed, or maybe one of the jacks should be gated by the other one?
> This implies that the pins aren't properly set up by BIOS. Maybe BIOS
> update will solve this?
>
> If no BIOS update doesn't solve (or you don't want it),
I already have the latest BIOS version.
> you have to figure out the right pin configuration by trial and error.
> hdajackretask and hda-analyzer would be your friend.
I've been playing around with them, but I don't really know what I'm
doing, and I haven't had much luck yet.
Something else I've noticed in the meantime: With inv_jack_detect
enabled, I can get sound from the speakers by choosing them for output
in the GNOME sound preferences. If I choose "Analog Output - Built-in
Audio" there, the sound comes out of the connected headphones.
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Mesa and X developer
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Internal speakers not working on HP ProBook 455 G2
2015-03-24 8:09 ` Michel Dänzer
@ 2015-03-24 8:23 ` Takashi Iwai
0 siblings, 0 replies; 9+ messages in thread
From: Takashi Iwai @ 2015-03-24 8:23 UTC (permalink / raw)
To: Michel D4nzer; +Cc: alsa-devel
At Tue, 24 Mar 2015 17:09:00 +0900,
Michel D4nzer wrote:
>
> On 28.02.2015 16:58, Takashi Iwai wrote:
> > At Sat, 28 Feb 2015 15:03:41 +0900,
> > Michel D4nzer wrote:
> >>
> >> On 24.02.2015 18:05, Takashi Iwai wrote:
> >>> At Tue, 24 Feb 2015 17:43:10 +0900,
> >>> Michel D4nzer wrote:
> >>>> On 19.02.2015 20:38, Takashi Iwai wrote:
> >>>>> At Thu, 19 Feb 2015 15:24:15 +0900,
> >>>>> Michel D4nzer wrote:
> >>>>>>
> >>>>>> the built-in speakers of my HP ProBook 455 G2 are not working by
> >>>>>> default. I'm attaching the output of alsa-info.sh.
>
> [...]
>
> >>>> In Linux, I haven't seen any visible change when plugging in or out the
> >>>> headphones.
> >>>
> >>> You can watch the output of "alsactl monitor".
> >>
> >> When plugging in headphones:
> >>
> >> card 1, #38 (0,0,0,Mic Jack,0) VALUE
> >
> > So, your headphone is recognized wrongly as a microphone.
>
> Actually, there are two pins for the (black) headphone jack, which BTW
> has a headset icon next to it. Maybe some kind of headset quirk is
> needed, or maybe one of the jacks should be gated by the other one?
For a headset support, yes, some extra quirk would be needed.
But usually the headset pin is assigned as the headphone primarily.
If you don't get the headphone jack detect event, it means that the
headphone pin isn't properly assigned.
> > This implies that the pins aren't properly set up by BIOS. Maybe BIOS
> > update will solve this?
> >
> > If no BIOS update doesn't solve (or you don't want it),
>
> I already have the latest BIOS version.
>
>
> > you have to figure out the right pin configuration by trial and error.
> > hdajackretask and hda-analyzer would be your friend.
>
> I've been playing around with them, but I don't really know what I'm
> doing, and I haven't had much luck yet.
Basically you need to figure out which pin corresponds to the
headphone jack. You can do it even without GUI. For example, to
check whether the pin widget 0x0a:
hda-verb /dev/snd/hwC0D0 0x0a SET_PIN_SENSE 0
hda-verb /dev/snd/hwC0D0 0x0a GET_PIN_SENSE 0
The first triggers the jack detection and the second reads the detected
value. If the jack is detected on that pin, you'll see the bit 31 on.
Repeat this for all widgets until you hit.
(In the above I assume the codec chip is in the card 0, codec address
0. If it's different, use another corresponding hwdep device.)
> Something else I've noticed in the meantime: With inv_jack_detect
> enabled, I can get sound from the speakers by choosing them for output
> in the GNOME sound preferences. If I choose "Analog Output - Built-in
> Audio" there, the sound comes out of the connected headphones.
inv_jack_detect is most likely wrong for new machines. It's only for
some old machines with the wrong h/w implementation. I've never seen
this for the recent machines.
That said, the reason inv_jack_detect makes speaker working is that
the headphone jack is wrongly detected as if constantly plugged. Then
with the inverted logic, it's regarded as constantly unplugged, so the
speaker gets unmuted.
HTH,
Takashi
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Internal speakers not working on HP ProBook 455 G2
2015-02-24 8:43 ` Michel Dänzer
2015-02-24 9:05 ` Takashi Iwai
@ 2015-06-23 6:37 ` Michel Dänzer
1 sibling, 0 replies; 9+ messages in thread
From: Michel Dänzer @ 2015-06-23 6:37 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel
On 24.02.2015 17:43, Michel Dänzer wrote:
>
> In the meantime, I've noticed that those symptoms are due to the
> headphone jack being incorrectly detected as connected. And indeed, on a
> different laptop I get all the same symptoms while headphones are
> plugged in.
>
> So, it occurred to me to try 'the other OS' on this laptop, and the
> behaviour there is weird as well: No sound from the speakers even while
> nothing's plugged into the headphone jack. When I plug in headphones,
> there's a notification: "Something was just unplugged from your
> headphone jack" (!), then sound works as expected through the
> headphones. When I unplug them again, there's a notification: "Something
> was just plugged into your headphone jack".
Since this was happening in the pre-installed Windows as well, I finally
convinced myself that this couldn't be (purely) a software issue and
contacted HP support. Thankfully I bought extended warranty including
on-site support, so today a technician came, and after he exchanged the
audio board, everything's working as expected out of the box in both
OSs. Thanks to everyone who made that possible in Linux, and especially
to you Takashi-san for trying to help me with this problem, which turned
out to be unsolvable in software.
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Mesa and X developer
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2015-06-23 6:37 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-19 6:24 Internal speakers not working on HP ProBook 455 G2 Michel Dänzer
2015-02-19 11:38 ` Takashi Iwai
2015-02-24 8:43 ` Michel Dänzer
2015-02-24 9:05 ` Takashi Iwai
2015-02-28 6:03 ` Michel Dänzer
2015-02-28 7:58 ` Takashi Iwai
2015-03-24 8:09 ` Michel Dänzer
2015-03-24 8:23 ` Takashi Iwai
2015-06-23 6:37 ` Michel Dänzer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox