Pulseaudio

藍牙耳機 PulseAudio 沒有聲音

  • June 8, 2021

編輯:我後來自己找到了答案,它發佈在下面

我目前正在嘗試在裝有 Manjaro Linux 的 PC 上使用藍牙耳機。我連接耳機沒有問題,但是一旦連接,就沒有聲音了。

我想我已經追踪到 PulseAudio 的錯誤,當我連接耳機時會顯示此錯誤:

pa_pid_file_create() failed.

但是,我不知道下一步該做什麼。任何幫助將不勝感激。

系統資訊:

cpu:
                      Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz, 3442 MHz
                      Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz, 3496 MHz
                      Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz, 3484 MHz
                      Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz, 3480 MHz
                      Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz, 3457 MHz
                      Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz, 3500 MHz
                      Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz, 3471 MHz
                      Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz, 3446 MHz
keyboard:
 /dev/input/event5    AT Translated Set 2 keyboard
 /dev/input/event22   Mi Bluetooth Neckband Earphones (AVRCP)
mouse:
 /dev/input/mice      Wacom CTL-6100 [Intuos (M)]
 /dev/input/mice      Pixart Imaging Optical Mouse
 /dev/input/mice      SynPS/2 Synaptics TouchPad
graphics card:
                      nVidia GP104BM [GeForce GTX 1070 Mobile]
sound:
                      Intel CM238 HD Audio Controller
                      nVidia GP104 High Definition Audio Controller
storage:
                      Intel HM170/QM170 Chipset SATA Controller [AHCI Mode]
                      Toshiba NVMe Controller
network:
 wlp2s0               Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter
 enp4s0               Qualcomm Atheros Killer E2500 Gigabit Ethernet Controller
network interface:
 enp4s0               Ethernet network interface
 lo                   Loopback network interface
 wlp2s0               Ethernet network interface
disk:
 /dev/nvme0n1         Toshiba NVMe Controller
 /dev/sda             HGST HTS721010A9
partition:
 /dev/nvme0n1p1       Partition
 /dev/sda1            Partition
usb controller:
                      ASMedia ASM1142 USB 3.1 Host Controller
                      Intel 100 Series/C230 Series Chipset Family USB 3.0 xHCI Controller
bios:
                      BIOS
bridge:
                      Intel 100 Series/C230 Series Chipset Family PCI Express Root Port #1
                      Intel HM175 Chipset LPC/eSPI Controller
                      Intel Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16)
                      Intel 100 Series/C230 Series Chipset Family PCI Express Root Port #4
                      Intel Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers
                      Intel 100 Series/C230 Series Chipset Family PCI Express Root Port #9
                      Intel 100 Series/C230 Series Chipset Family PCI Express Root Port #7
                      Intel 100 Series/C230 Series Chipset Family PCI Express Root Port #3
hub:
                      Linux Foundation 2.0 root hub
                      Linux Foundation 3.0 root hub
                      Linux Foundation 2.0 root hub
                      Linux Foundation 3.0 root hub
memory:
                      Main Memory
bluetooth:
                      Qualcomm Atheros Bluetooth Device
unknown:
                      FPU
                      DMA controller
                      PIC
                      Keyboard controller
                      Realtek RTS5250 PCI Express Card Reader
                      Intel 100 Series/C230 Series Chipset Family Power Management Controller
                      Intel 100 Series/C230 Series Chipset Family MEI Controller #1
                      Intel 100 Series/C230 Series Chipset Family Thermal Subsystem
                      Intel 100 Series/C230 Series Chipset Family SMBus
 /dev/input/event21   Acer BisonCam, NB Pro
                      MSI EPF USB

我通過重新啟動 GNOME(Alt F2然後輸入r)解決了我的問題。任何未來有此問題的使用者都應嘗試此操作或重新設置。我不確定為什麼,但這應該可以解決問題。

引用自:https://unix.stackexchange.com/questions/613174