Fork me on GitHub

声卡停用再启用

aplay -l 列出自己使用的声卡,然后去PCI驱动里找到它,比如0000:00:1f.3

或者 lspci -nvv,找到他,然后去/sys/bus/pci/drivers 找到它

 

systemctl stop --user pipewire.service pipewire-pulse.service pipewire-pulse.socket
su #进入root用户
echo '0000:00:1f.3' > /sys/bus/pci/drivers/snd_hda_intel/unbind
echo '0000:00:1f.3' > /sys/bus/pci/drivers/snd_hda_intel/bind
exit #推出root用户
systemctl start --user pipewire-pulse.service

posted @ 2023-01-16 16:35  kean0048  阅读(43)  评论(0编辑  收藏  举报