HDAJackReTask 设备忙

Bhi*_*uti 7 sound microphone alsa

我一直试图将麦克风放入我的组合耳机/麦克风端口,并在 hdajackretask 上看到了一个视频。但是,当我说申请时,设备正忙。我可以安装引导覆盖文件,但我不能申请。

在视频中,他所做的就是关闭 alsa-mixer 并解决了这个问题。我没有启动任何声音设备。

更新:我注意到脉冲音频正在运行,也许这会影响它。但是,当我关闭它时,它似乎又弹回来了。我不知道是什么开始的。我不确定这是否是原因。

在此处输入图片说明

Bhi*_*uti 5

It is pulseaudio. The problem is that it gets autorestarted immediately. So you need to edit the file /etc/pulse/client.conf.

Add these two lines or uncomment them out as needed.. (I added them up top so I can leave everything the same when I want to undo it) The default is commented and left for your editing.

autospawn = no
daemon-binary = /bin/true 
Run Code Online (Sandbox Code Playgroud)

reboot and then you can turn on and off pulseaudio by using

pulseaudio --start
pulseaudio --kill
Run Code Online (Sandbox Code Playgroud)

您需要以手动方式启动pulseaudio,因为在您撤消client.conf 更改之前它不会自动启动。您可以在 hdaJackretask 中进行更改并进行测试。但是您需要打开pulseaudio。如果要进行更多更改,则需要分别切换 -----kill 和 --start。

Pulseaudio 还有一些其他文章,但这个答案是针对这个问题的。一旦您喜欢这些设置,您就可以安装引导脚本,然后撤消所有这些。不幸的是,我无法使引脚以正常工作的方式工作。所以我的努力​​是没有用的。

  • 对我来说,杀死pulseaudio后设备仍然很忙。如何找到使设备保持忙碌的其他进程? (2认同)
  • `systemctl --用户停止pulseaudio.socketpulseaudio.service` (2认同)