我正在尝试做的事情:

我正在尝试做的事情:

我有一台 T430 ThinkPad,无法录制音频。详情如下:

我正在尝试做的事情:

我所做的就是让笔记本电脑的麦克风处于工作状态。我正在使用默认系统麦克风以及我拥有的耳机(单个 3.5 毫米插孔,带有可用的麦克风和耳塞)进行尝试。

ThinkPad 有一个按钮,用于静音/取消静音麦克风,按钮上有一个 LED,用于指示麦克风的状态。按下按钮时,LED 不会切换(并且一直处于关闭状态)。所以我尝试启动它们。进一步研究后,我发现即使acpi_listen没有接收到麦克风按钮按下(它正在接收其他按钮按下)。结果,这也是旧内核的一个问题。 在答案之一,所使用的脚本最终用于amixer麦克风toggle的静音/取消静音状态。所以我尝试先直接使用它,但没有成功。下面给出了我尝试的详细信息。

那么,最后,到底发生了什么?是硬件问题吗?我不认为这是麦克风的问题,因为耳机应该可以正常工作。是卡本身的问题还是其他什么问题?有没有更好、更具体的方法来进一步调试这个问题?

尝试:

系统设置显示如下:

在此处输入图片描述

笔记:Internal Microphone - Built-in Audio当我拔下耳机时, 设备变为。

为了测试目的,我尝试使用默认Audio Recorder应用程序录制音频:

在此处输入图片描述

  • 使用Audio OutputSource我可以录制正在播放的音乐。
  • 使用,MicrophoneSource耳机Audio Recorder插入,录制的音频除了白噪声什么都没有。
  • 使用,MicrophoneSource耳机Audio Recorder未插入因此,系统麦克风再次发出白噪声。不同之处在于,这次白噪声稍微大一些。

以下是amixer我尝试录制音频时的设置。

  • amixer -c 0 scontrols输出
zeekhuge ● amixer -c 0 scontrols
Simple mixer control 'Master',0
Simple mixer control 'Headphone',0
Simple mixer control 'Headphone',1
Simple mixer control 'Speaker',0
Simple mixer control 'PCM',0
Simple mixer control 'Mic',0
Simple mixer control 'Mic Boost',0
Simple mixer control 'Mic Mute-LED Mode',0
Simple mixer control 'Beep',0
Simple mixer control 'Capture',0
Simple mixer control 'Auto-Mute Mode',0
Simple mixer control 'Digital',0
Simple mixer control 'Dock Mic',0
Simple mixer control 'Dock Mic Boost',0
Simple mixer control 'Internal Mic Boost',0
Simple mixer control 'Loopback Mixing',0
  • 看似相关的控制参数:
zeekhuge ● amixer -c 0 sget 'Master',0
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 87
  Mono: Playback 59 [68%] [-21.00dB] [on]

zeekhuge ● amixer -c 0 sget 'Mic',0
Simple mixer control 'Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 31 [100%] [12.00dB] [on]
  Front Right: Playback 31 [100%] [12.00dB] [on]

zeekhuge ● amixer -c 0 sget 'Mic Boost',0
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: 2 [67%] [20.00dB]
  Front Right: 2 [67%] [20.00dB]

zeekhuge ● amixer -c 0 sget 'Mic Mute-LED Mode',0
Simple mixer control 'Mic Mute-LED Mode',0
  Capabilities: enum
  Items: 'On' 'Off' 'Follow Capture' 'Follow Mute'
  Item0: 'Follow Mute'

zeekhuge ● amixer -c 0 sget 'Capture',0
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] [on]
  Front Right: Capture 63 [100%] [30.00dB] [on]

zeekhuge ● amixer -c 0 sget 'Auto-Mute Mode',0
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Disabled'

zeekhuge ● amixer -c 0 sget 'Digital',0
Simple mixer control 'Digital',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 120
  Front Left: Capture 120 [100%] [30.00dB]
  Front Right: Capture 120 [100%] [30.00dB]

zeekhuge ● amixer -c 0 sget 'Dock Mic',0
Simple mixer control 'Dock Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 31 [100%] [12.00dB] [on]
  Front Right: Playback 31 [100%] [12.00dB] [on]

zeekhuge ● amixer -c 0 sget 'Dock Mic Boost',0
Simple mixer control 'Dock 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]

zeekhuge ● amixer -c 0 sget 'Internal Mic Boost',0
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]

因此,最初Dock Mic BoostInternal Mic Boost都为 0%。我尝试ssetDock Mic BoostInternal Mic Boost改为100%

zeekhuge ● amixer -c 0 sget 'Dock Mic Boost',0 && amixer -c 0 sget 'Internal Mic Boost',0
Simple mixer control 'Dock Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 3 [100%] [30.00dB]
  Front Right: 3 [100%] [30.00dB]
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: 2 [67%] [20.00dB]
  Front Right: 2 [67%] [20.00dB]

即使使用这些参数录制音频也会产生与之前相同的结果,即白噪声。

  • 此外,这些是 card 上的控件1。它们似乎并不重要,但如果需要的话,以防万一:
zeekhuge ● amixer -c 1
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',1
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',2
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',3
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]

系统详细信息:

Linux内核和Ubuntu版本:

zeekhuge ● uname -a
Linux zeekhuge 5.4.0-42-generic #46~18.04.1-Ubuntu SMP Fri Jul 10 07:21:24 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

lspci输出:

00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation 7 Series/C216 Chipset Family MEI Controller #1 (rev 04)
00:16.3 Serial controller: Intel Corporation 7 Series/C210 Series Chipset Family KT Controller (rev 04)
00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (Lewisville) (rev 04)
00:1a.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 7 Series/C216 Chipset Family PCI Express Root Port 1 (rev c4)
00:1c.1 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 (rev c4)
00:1c.2 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 3 (rev c4)
00:1d.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation QM77 Express Chipset LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 7 Series/C216 Chipset Family SMBus Controller (rev 04)
01:00.0 VGA compatible controller: NVIDIA Corporation GF108M [NVS 5400M] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GF108 High Definition Audio Controller (rev a1)
02:00.0 System peripheral: Ricoh Co Ltd MMC/SD Host Controller (rev 07)
03:00.0 Network controller: Intel Corporation Centrino Advanced-N 6205 [Taylor Peak] (rev 34)

答案1

好的。原来,麦克风在 BIOS 中被禁用了。笔记一旦您更改 BIOS 中的设置,您就需要完全关闭系统,并切断电源并让其等待几秒钟。

如果有人有更多细节要添加,或者有更好的调试方法或其他什么的,请随意添加它们作为答案。到那时,我会把这个作为正确的答案。

相关内容