Tenho um Thinkpad T450s que atualizei recentemente para o Debian Stretch com o XFCE. No Pavucontrol, vejo três dispositivos de entrada, Microfone interno (desconectado) , Microfone (desconectado) , Microfone de encaixe (conectado) .
Quando o dispositivo está na docking station, nenhuma das entradas parece gravar nada; a barra indicadora azul no Pavucontrol não mostra nada além de um tremor. Usando o Alsamixer, eu mudei todos os canais e aumentei o volume para pelo menos 50%. Não ajudou.
Agora, quando eu libero o dispositivo da docking station, eu ainda vejo todas as três entradas acima, e todas elas parecem captar áudio (o que também não pode estar certo). Isto significa, deve ter a ver com a estação de encaixe, mas também com a maneira como o PA geralmente descobre os dispositivos de entrada.
A saída de pacmd list-cards
difere entre o estado encaixado e desacoplado:
--- docked 2017-09-20 14:13:34.616493356 +0200
+++ undocked 2017-09-20 14:13:10.076279502 +0200
@@ -23,7 +23,7 @@
input:analog-stereo: Analog Stereo Input (priority 60, available: unknown)
output:analog-stereo: Analog Stereo Output (priority 6000, available: unknown)
output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6060, available: unknown)
- output:analog-surround-40: Analog Surround 4.0 Output (priority 700, available: no)
+ output:analog-surround-40: Analog Surround 4.0 Output (priority 700, available: unknown)
output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (priority 760, available: unknown)
off: Off (priority 0, available: unknown)
active profile: <output:analog-stereo+input:analog-stereo>
@@ -33,19 +33,19 @@
alsa_output.pci-0000_00_1b.0.analog-stereo.monitor/#0: Monitor of Built-in Audio Analog Stereo
alsa_input.pci-0000_00_1b.0.analog-stereo/#1: Built-in Audio Analog Stereo
ports:
- analog-input-internal-mic: Internal Microphone (priority 8900, latency offset 0 usec, available: no)
+ analog-input-internal-mic: Internal Microphone (priority 8900, latency offset 0 usec, available: unknown)
properties:
device.icon_name = "audio-input-microphone"
- analog-input-dock-mic: Dock Microphone (priority 7800, latency offset 0 usec, available: yes)
+ analog-input-dock-mic: Dock Microphone (priority 7800, latency offset 0 usec, available: no)
properties:
device.icon_name = "audio-input-microphone"
analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: no)
properties:
device.icon_name = "audio-input-microphone"
- analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: no)
+ analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: unknown)
properties:
device.icon_name = "audio-speakers"
- analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: yes)
+ analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: no)
properties:
device.icon_name = "audio-headphones"
Saída diferente para cat /proc/asound/card*/codec\#*
:
--- docked 2017-09-20 14:35:46.690827476 +0200
+++ undocked 2017-09-20 14:36:01.042972787 +0200
@@ -82,10 +82,7 @@
Unsolicited: tag=00, enabled=0
Power states: D0 D3 EPSS
Power: setting=D0, actual=D0
- Devices: 3
- Dev 00: PD = 0, ELDV = 0, IA = 0
- Dev 01: PD = 0, ELDV = 0, IA = 0
- Dev 02: PD = 0, ELDV = 0, IA = 0
+ Devices: 0
Connection: 0
In-driver Connection: 3
0x02 0x03 0x04
@@ -136,7 +133,7 @@
ControlAmp: chs=3, dir=Out, idx=0, ofs=0
Device: name="ALC3232 Analog", type="Audio", device=0
Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0
- Amp-Out vals: [0x00 0x00]
+ Amp-Out vals: [0x3c 0x3c]
Converter: stream=5, channel=0
PCM:
rates [0x560]: 44100 48000 96000 192000
@@ -148,7 +145,7 @@
Control: name="Headphone 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: [0x3c 0x3c]
+ Amp-Out vals: [0x00 0x00]
Converter: stream=5, channel=0
PCM:
rates [0x560]: 44100 48000 96000 192000
@@ -190,7 +187,7 @@
ControlAmp: chs=3, dir=In, idx=0, ofs=0
Device: name="ALC3232 Analog", type="Audio", device=0
Amp-In caps: ofs=0x17, nsteps=0x3f, stepsize=0x02, mute=1
- Amp-In vals: [0x3f 0x3f]
+ Amp-In vals: [0x2e 0x2e]
Converter: stream=1, channel=0
SDI-Select: 0
PCM:
@@ -264,7 +261,7 @@
Control: name="Speaker Playback Switch", index=0, device=0
ControlAmp: chs=3, dir=Out, idx=0, ofs=0
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
- Amp-Out vals: [0x80 0x80]
+ Amp-Out vals: [0x00 0x00]
Pincap 0x00010010: OUT EAPD
EAPD 0x2: EAPD
Pin Default 0x90170110: [Fixed] Speaker at Int N/A
@@ -297,7 +294,7 @@
Control: name="Headphone Playback Switch", index=0, device=0
ControlAmp: chs=3, dir=Out, idx=0, ofs=0
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
- Amp-Out vals: [0x00 0x00]
+ Amp-Out vals: [0x80 0x80]
Pincap 0x0001001c: OUT HP EAPD Detect
EAPD 0x2: EAPD
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
@@ -332,7 +329,7 @@
Control: name="Dock Mic Boost Volume", index=0, device=0
ControlAmp: chs=3, dir=In, idx=0, ofs=0
Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0
- Amp-In vals: [0x01 0x01]
+ Amp-In vals: [0x00 0x00]
Pincap 0x00000024: IN Detect
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
@@ -401,7 +398,7 @@
Node 0x21 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x22 [Audio Selector] wcaps 0x300101: Stereo
Connection: 8
- 0x18 0x19* 0x1a 0x1b 0x1d 0x0b 0x12 0x13
+ 0x18 0x19 0x1a 0x1b 0x1d 0x0b 0x12* 0x13
Node 0x23 [Audio Selector] wcaps 0x300101: Stereo
Connection: 6
0x18* 0x19 0x1a 0x1b 0x1d 0x0b
Então, definitivamente, algo está acontecendo.
(Tenho certeza de que isso não é um problema de hardware, porque eu não tive o problema com o Ubuntu instalado anteriormente. Por isso, deve ser algo com a configuração Pulseaudio / Alsa).
Alguém tem uma ideia de como resolver esse problema?
Tags pulseaudio debian alsa dock-station