Centos
如何解決 CentOS 6.4 帶 USB 耳機無聲音的問題?
擁有一台全新安裝 CentOS 6.4 的新戴爾機器。
我有一個通過 USB 連接的耳機,但沒有聲音。
我不確定 CentOS 是否能夠辨識我的音效卡——或者它可能無法辨識 USB 耳機?
卡和耳機在 /proc/asound/cards 中列出:
[root@Azaz07 asound]# cat cards 0 [Intel ]: HDA-Intel - HDA Intel HDA Intel at 0xf7d10000 irq 30 1 [USB ]: USB-Audio - Plantronics .Audio 478 USB Plantronics Plantronics .Audio 478 USB at usb-0000:00:1a.0-1.3, full speed
我成功地按照此處的步驟安裝了 kmod-alsa,但似乎沒有什麼不同。
我還嘗試將“聲音和影片”安裝為組包,詳見此處,但出現錯誤:
[root@Azaz07 ~]# yum groupinstall "Sound and Video" Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfile * base: mirrors.sonic.net * elrepo: elrepo.org * extras: centos.mirror.freedomvoice.com * rpmforge: mirror.hmc.edu * updates: mirror.pac-12.org Setting up Group Process Checking for new repos for mirrors Warning: Group Sound and Video does not exist. No packages in any requested group available to install or update
我應該從這裡檢查/排除故障以使我的 USB 耳機正常工作?
lsusb
首先要嘗試的是確保設備在插入時顯示出來。
例子
我有一個羅技耳機。
$ lsusb Bus 002 Device 006: ID 046d:0a01 Logitech, Inc. USB Headset Bus 002 Device 005: ID 046d:c521 Logitech, Inc. Cordless Mouse Receiver Bus 002 Device 004: ID 17ef:1003 Lenovo Integrated Smart Card Reader Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
您可以通過啟用
-v
開關來了解更多資訊lsusb
。例子
$ lsusb -v | less Bus 002 Device 006: ID 046d:0a01 Logitech, Inc. USB Headset Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x046d Logitech, Inc. idProduct 0x0a01 USB Headset bcdDevice 10.13 iManufacturer 1 iProduct 2 iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 318 bNumInterfaces 3 bConfigurationValue 1 iConfiguration 0 ...
dmesg
接下來檢查硬體是否顯示為通過
dmesg
輸出正確檢測到。$ dmesg ... [237717.191322] usb 2-1.1: USB disconnect, address 3 [237717.387495] usb 2-1.1: new low speed USB device using ehci_hcd and address 5 [237717.482484] usb 2-1.1: New USB device found, idVendor=046d, idProduct=c521 [237717.482487] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [237717.482489] usb 2-1.1: Product: USB Receiver [237717.482491] usb 2-1.1: Manufacturer: Logitech [237717.488818] input: Logitech USB Receiver as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1:1.0/input/input10 [237717.488955] generic-usb 0003:046D:C521.0003: input,hidraw0: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-0000:00:1d.0-1.1/input0 [237717.495771] input: Logitech USB Receiver as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1:1.1/input/input11 [237717.495984] generic-usb 0003:046D:C521.0004: input,hiddev96,hidraw1: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:1d.0-1.1/input1 [240126.944155] usb 2-1.2: new full speed USB device using ehci_hcd and address 6 [240127.034731] usb 2-1.2: New USB device found, idVendor=046d, idProduct=0a01 [240127.034735] usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [240127.034738] usb 2-1.2: Product: Logitech USB Headset [240127.034740] usb 2-1.2: Manufacturer: Logitech [240127.232622] usbcore: registered new interface driver snd-usb-audio
聲音偏好
在 GNOME 的揚聲器小程序下,您可以訪問系統的聲音首選項。確保選擇揚聲器作為有源輸出設備。