我刚刚买了一个带有 USB 和 P2 连接器的新耳机,我想在我的笔记本电脑上使用它来玩。我将 Archlinux 与 gnome 一起使用,当我通过 USB 插入它时,它没有被检测到。但是,如果我通过 P2 连接器插入它,我会正常获得音频输出。我已按照 USB 开启时的使用说明进行操作archlinux 维基但仍然不起作用。谁能帮我配置一下吗?我需要通过 USB 使用它,因为我的笔记本电脑没有用于麦克风的 P2 入口,仅用于扬声器。提前致谢
输出lsmod | grep '^snd' | column -t
snd_hda_codec_hdmi 57344 1
snd_hda_codec_realtek 106496 1
snd_hda_codec_generic 86016 1 snd_hda_codec_realtek
snd_hda_intel 45056 8
snd_hda_codec 151552 4 snd_hda_intel,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
snd_hda_core 94208 5 snd_hda_intel,snd_hda_codec,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
snd_hwdep 20480 1 snd_hda_codec
snd_pcm 135168 4 snd_hda_intel,snd_hda_codec,snd_hda_core,snd_hda_codec_hdmi
snd_timer 36864 1 snd_pcm
snd 98304 24 snd_hda_intel,snd_hwdep,snd_hda_codec,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek,snd_pcm
输出ls -l /dev/snd
drwxr-xr-x 2 root root 80 Feb 10 15:41 by-path
crw-rw----+ 1 root audio 116, 6 Feb 10 15:41 controlC0
crw-rw----+ 1 root audio 116, 2 Feb 10 15:41 controlC1
crw-rw----+ 1 root audio 116, 12 Feb 10 15:41 hwC0D0
crw-rw----+ 1 root audio 116, 5 Feb 10 15:41 hwC1D0
crw-rw----+ 1 root audio 116, 11 Feb 10 15:42 pcmC0D10p
crw-rw----+ 1 root audio 116, 7 Feb 10 15:42 pcmC0D3p
crw-rw----+ 1 root audio 116, 8 Feb 10 15:42 pcmC0D7p
crw-rw----+ 1 root audio 116, 9 Feb 10 15:42 pcmC0D8p
crw-rw----+ 1 root audio 116, 10 Feb 10 15:42 pcmC0D9p
crw-rw----+ 1 root audio 116, 4 Feb 10 15:42 pcmC1D0c
crw-rw----+ 1 root audio 116, 3 Feb 10 15:44 pcmC1D0p
crw-rw----+ 1 root audio 116, 1 Feb 10 15:41 seq
crw-rw----+ 1 root audio 116, 33 Feb 10 15:41 timer
正如评论中所建议的:
lsusb:
Bus 001 Device 002: ID 8087:8001 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 006: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 002 Device 007: ID 0cf3:e005 Qualcomm Atheros Communications
Bus 002 Device 004: ID 1bcf:2b90 Sunplus Innovation Technology Inc.
Bus 002 Device 003: ID 10c4:8105 Cygnal Integrated Products, Inc.
Bus 002 Device 002: ID 045e:0750 Microsoft Corp. Wired Keyboard 600
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
sudo pactl list short sinks:
No protocol specified
xcb_connection_has_error() returned true
Connection failure: Connection refused
pa_context_connect() failed: Connection refused
cat /proc/asound/pcm
00-03: HDMI 0 : HDMI 0 : playback 1
00-07: HDMI 1 : HDMI 1 : playback 1
00-08: HDMI 2 : HDMI 2 : playback 1
00-09: HDMI 3 : HDMI 3 : playback 1
00-10: HDMI 4 : HDMI 4 : playback 1
01-00: ALC3234 Analog : ALC3234 Analog : playback 1 : capture 1
dmesg 中没有额外输出,在插入 USB 之前和之后检查了它