我有一台 Thinkpad T450s,最近使用 XFCE 升级到了 Debian Stretch。在 Pavucontrol 中,我看到三个输入设备,内置麦克风(未插入),麦克风(未插入),底座麦克风(已插入)。
当设备位于扩展坞中时,所有输入似乎都没有记录任何内容; Pavucontrol 中的蓝色指示条仅显示一些抖动。使用 Alsamixer,我取消了所有通道的静音并将其音量提高到至少 50%。没有帮助。
现在,当我从扩展坞释放设备时,我仍然看到上述所有三个输入,并且所有这些输入似乎都拾取了音频(这也不可能是正确的)。这意味着,它必须与扩展坞有关,而且还与 PA 通常发现输入设备的方式有关。
pacmd list-cards
对接状态和未对接状态的输出有所不同:
--- 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"
不同的输出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
所以肯定有事情发生。
(我确信这不是硬件问题,因为我之前安装的Ubuntu没有这个问题。所以它一定是Pulseaudio/Alsa配置的问题。)
有人知道如何解决这个问题吗?