您尚未登录。

#1 2020-08-04 18:21:54

panpansuannai
会员
注册时间: 2020-08-04
帖子: 13

[已解决]alsamixer:This sound device does not have any capture controls

arch笔记本播放声音正常,然而无法录音,运行alsamixer选择内置声卡后查看Capture时出现如题内容,在pavucontrol 选择Input Devices 里port只有一个 Analog Input,
Configuration 里Profile选的是Analog Stereo Duplex,在使用各种软件进行录音也不成功。比如使用simplescreenrecorder进行录屏的时候无论在Audio Input里选择哪一个
source都无法录入声音,以下是有关声音设备的一些信息,想问一下为什么声音录入不成功。谢谢。


uname -a
Linux ******* 5.4.54-1-lts #1 SMP Wed, 29 Jul 2020 21:38:41 +0000 x86_64 GNU/Linux

arecord -lL
null
    Discard all samples (playback) or generate zero samples (capture)
samplerate
    Rate Converter Plugin Using Samplerate Library
speexrate
    Rate Converter Plugin Using Speex Resampler
jack
    JACK Audio Connection Kit
oss
    Open Sound System
pulse
    PulseAudio Sound Server
speex
    Plugin using Speex DSP (resample, agc, denoise, echo, dereverb)
upmix
    Plugin for channel upmix (4,6,8)
vdownmix
    Plugin for channel downmix (stereo) with a simple spacialization
default
    Default ALSA Output (currently PulseAudio Sound Server)
sysdefault:CARD=PCH
    HDA Intel PCH, ALC256 Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, ALC256 Analog
    Front output / input
usbstream:CARD=PCH
    HDA Intel PCH
    USB Stream Output
**** List of CAPTURE Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC256 Analog [ALC256 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 2: ALC256 Alt Analog [ALC256 Alt Analog]
  Subdevices: 2/2
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1

cat /proc/asound/devices
  2: [ 0- 0]: digital audio playback
  3: [ 0- 0]: digital audio capture
  4: [ 0- 2]: digital audio capture
  5: [ 0- 3]: digital audio playback
  6: [ 0- 7]: digital audio playback
  7: [ 0- 8]: digital audio playback
  8: [ 0- 9]: digital audio playback
  9: [ 0-10]: digital audio playback
10: [ 0- 0]: hardware dependent
11: [ 0- 2]: hardware dependent
12: [ 0]   : control
33:        : timer

cat /proc/asound/cards
0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xa411c000 irq 139

cat ~/.asoundrc
default.pcm.card 0
default.ctl.card 0

cat  /proc/asound/modules
0 snd_had_intel

cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version k5.4.54-1-lts.


硬件的话应该是没有问题的,毕竟笔记本是比较新的,而且在windows10下也可以正常录音。

最近编辑记录 panpansuannai (2020-08-05 12:35:09)

离线

#2 2020-08-04 18:32:24

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,961
个人网站

Re: [已解决]alsamixer:This sound device does not have any capture controls

好长,然而问题描述在哪里?

在线

#3 2020-08-04 18:35:26

panpansuannai
会员
注册时间: 2020-08-04
帖子: 13

Re: [已解决]alsamixer:This sound device does not have any capture controls

依云 说:

好长,然而问题描述在哪里?

不好意思,第一行就是。

离线

#4 2020-08-04 18:46:32

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,961
个人网站

Re: [已解决]alsamixer:This sound device does not have any capture controls

panpansuannai 说:
依云 说:

好长,然而问题描述在哪里?

不好意思,第一行就是。

抱歉,我只看到了问题的总结,没能看到你的操作过程和程序的反应。

在线

#5 2020-08-04 18:55:27

panpansuannai
会员
注册时间: 2020-08-04
帖子: 13

Re: [已解决]alsamixer:This sound device does not have any capture controls

依云 说:
panpansuannai 说:
依云 说:

好长,然而问题描述在哪里?

不好意思,第一行就是。

抱歉,我只看到了问题的总结,没能看到你的操作过程和程序的反应。

已重新编辑了问题。

离线

#6 2020-08-04 19:13:59

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,961
个人网站

Re: [已解决]alsamixer:This sound device does not have any capture controls

描述现象而非结论:你是通过什么判断出来「无法录音」的?是程序报错了?还是程序崩了?还是录到了静音?还是录音按钮点不下去?

在线

#7 2020-08-04 19:52:33

panpansuannai
会员
注册时间: 2020-08-04
帖子: 13

Re: [已解决]alsamixer:This sound device does not have any capture controls

依云 说:

描述现象而非结论:你是通过什么判断出来「无法录音」的?是程序报错了?还是程序崩了?还是录到了静音?还是录音按钮点不下去?

录到了静音(第一次发布求助,描述问题确实不够清晰,请见谅)

离线

#8 2020-08-04 20:01:24

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,961
个人网站

Re: [已解决]alsamixer:This sound device does not have any capture controls

给一个 pavucontrol 输入设备界面的截图?

在线

#9 2020-08-04 20:18:05

panpansuannai
会员
注册时间: 2020-08-04
帖子: 13

Re: [已解决]alsamixer:This sound device does not have any capture controls

依云 说:

给一个 pavucontrol 输入设备界面的截图?

a

离线

#10 2020-08-04 20:20:28

panpansuannai
会员
注册时间: 2020-08-04
帖子: 13

Re: [已解决]alsamixer:This sound device does not have any capture controls

panpansuannai 说:
依云 说:

给一个 pavucontrol 输入设备界面的截图?

https://thumbnail0.baidupcs.com/thumbna … 8&ft=image

Port 里面只有这一个选择

离线

#11 2020-08-04 20:46:19

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,961
个人网站

Re: [已解决]alsamixer:This sound device does not have any capture controls

pactl list sources 看看呢

在线

#12 2020-08-04 20:48:22

panpansuannai
会员
注册时间: 2020-08-04
帖子: 13

Re: [已解决]alsamixer:This sound device does not have any capture controls

依云 说:

pactl list sources 看看呢

Source #0
    State: SUSPENDED
    Name: alsa_output.pci-0000_00_1f.3.analog-stereo.monitor
    Description: Monitor of Built-in Audio Analog Stereo
    Driver: module-alsa-card.c
    Sample Specification: s16le 2ch 44100Hz
    Channel Map: front-left,front-right
    Owner Module: 6
    Mute: no
    Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
            balance 0.00
    Base Volume: 65536 / 100% / 0.00 dB
    Monitor of Sink: alsa_output.pci-0000_00_1f.3.analog-stereo
    Latency: 0 usec, configured 0 usec
    Flags: DECIBEL_VOLUME LATENCY
    Properties:
        device.description = "Monitor of Built-in Audio Analog Stereo"
        device.class = "monitor"
        alsa.card = "0"
        alsa.card_name = "HDA Intel PCH"
        alsa.long_card_name = "HDA Intel PCH at 0xa411c000 irq 139"
        alsa.driver_name = "snd_hda_intel"
        device.bus_path = "pci-0000:00:1f.3"
        sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
        device.bus = "pci"
        device.vendor.id = "8086"
        device.vendor.name = "Intel Corporation"
        device.product.id = "9dc8"
        device.product.name = "Cannon Point-LP High Definition Audio Controller"
        device.form_factor = "internal"
        device.string = "0"
        module-udev-detect.discovered = "1"
        device.icon_name = "audio-card-pci"
    Formats:
        pcm

Source #1
    State: SUSPENDED
    Name: alsa_input.pci-0000_00_1f.3.analog-stereo
    Description: Built-in Audio Analog Stereo
    Driver: module-alsa-card.c
    Sample Specification: s16le 2ch 44100Hz
    Channel Map: front-left,front-right
    Owner Module: 6
    Mute: no
    Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
            balance 0.00
    Base Volume: 65536 / 100% / 0.00 dB
    Monitor of Sink: n/a
    Latency: 0 usec, configured 0 usec
    Flags: HARDWARE DECIBEL_VOLUME LATENCY
    Properties:
        alsa.resolution_bits = "16"
        device.api = "alsa"
        device.class = "sound"
        alsa.class = "generic"
        alsa.subclass = "generic-mix"
        alsa.name = "ALC256 Analog"
        alsa.id = "ALC256 Analog"
        alsa.subdevice = "0"
        alsa.subdevice_name = "subdevice #0"
        alsa.device = "0"
        alsa.card = "0"
        alsa.card_name = "HDA Intel PCH"
        alsa.long_card_name = "HDA Intel PCH at 0xa411c000 irq 139"
        alsa.driver_name = "snd_hda_intel"
        device.bus_path = "pci-0000:00:1f.3"
        sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
        device.bus = "pci"
        device.vendor.id = "8086"
        device.vendor.name = "Intel Corporation"
        device.product.id = "9dc8"
        device.product.name = "Cannon Point-LP High Definition Audio Controller"
        device.form_factor = "internal"
        device.string = "front:0"
        device.buffering.buffer_size = "352800"
        device.buffering.fragment_size = "176400"
        device.access_mode = "mmap+timer"
        device.profile.name = "analog-stereo"
        device.profile.description = "Analog Stereo"
        device.description = "Built-in Audio Analog Stereo"
        alsa.mixer_name = "Realtek ALC256"
        alsa.components = "HDA:10ec0256,1d721814,00100002 HDA:8086280b,80860101,00100000"
        module-udev-detect.discovered = "1"
        device.icon_name = "audio-card-pci"
    Ports:
        analog-input: Analog Input (priority: 10000)
    Active Port: analog-input
    Formats:
        pcm

离线

#13 2020-08-04 22:54:43

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,961
个人网站

Re: [已解决]alsamixer:This sound device does not have any capture controls

搜相关名称能搜到不少解决方案,但不确定你应该用哪个。
你的笔记本是什么型号的?

在线

#14 2020-08-04 23:03:50

panpansuannai
会员
注册时间: 2020-08-04
帖子: 13

Re: [已解决]alsamixer:This sound device does not have any capture controls

依云 说:

搜相关名称能搜到不少解决方案,但不确定你应该用哪个。
你的笔记本是什么型号的?

redmibook 14 i5-8265U

离线

#15 2020-08-05 09:36:19

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,961
个人网站

Re: [已解决]alsamixer:This sound device does not have any capture controls

在线

页脚