ubuntu:sound:troubleshooting
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
ubuntu:sound:troubleshooting [2020/12/12 00:07] – created peter | ubuntu:sound:troubleshooting [2020/12/12 00:37] (current) – peter | ||
---|---|---|---|
Line 26: | Line 26: | ||
**NOTE: | **NOTE: | ||
</ | </ | ||
- | |||
+ | ---- | ||
+ | |||
+ | ====== Get info from dmesg ====== | ||
+ | |||
+ | <code bash> | ||
+ | dmesg | grep " | ||
+ | </ | ||
+ | |||
+ | returns: | ||
+ | |||
+ | <code bash> | ||
+ | [ 7.673796] snd_hda_intel 0000: | ||
+ | [ 7.673802] snd_hda_intel 0000: | ||
+ | [ 7.673864] snd_hda_intel 0000: | ||
+ | [ 7.689821] snd_hda_codec_realtek hdaudioC2D0: | ||
+ | [ 7.689823] snd_hda_codec_realtek hdaudioC2D0: | ||
+ | [ 7.689824] snd_hda_codec_realtek hdaudioC2D0: | ||
+ | [ 7.689825] snd_hda_codec_realtek hdaudioC2D0: | ||
+ | [ 7.689825] snd_hda_codec_realtek hdaudioC2D0: | ||
+ | [ 7.689826] snd_hda_codec_realtek hdaudioC2D0: | ||
+ | [ 7.689827] snd_hda_codec_realtek hdaudioC2D0: | ||
+ | [ 7.689828] snd_hda_codec_realtek hdaudioC2D0: | ||
+ | [ 7.689829] snd_hda_codec_realtek hdaudioC2D0: | ||
+ | [ 7.701710] input: HD-Audio Generic Front Mic as / | ||
+ | [ 7.701824] input: HD-Audio Generic Rear Mic as / | ||
+ | [ 7.701942] input: HD-Audio Generic Line as / | ||
+ | [ 7.702061] input: HD-Audio Generic Line Out Front as / | ||
+ | [ 7.702188] input: HD-Audio Generic Line Out Surround as / | ||
+ | [ 7.702317] input: HD-Audio Generic Line Out CLFE as / | ||
+ | [ 7.702514] input: HD-Audio Generic Front Headphone as / | ||
+ | [ 7.948602] usbcore: registered new interface driver snd-usb-audio | ||
+ | [ 9.392299] input: HDA NVidia HDMI/ | ||
+ | [ 9.392341] input: HDA NVidia HDMI/ | ||
+ | [ 9.392431] input: HDA NVidia HDMI/ | ||
+ | [ 9.392471] input: HDA NVidia HDMI/ | ||
+ | [ 9.392507] input: HDA NVidia HDMI/ | ||
+ | [ 9.392553] input: HDA NVidia HDMI/ | ||
+ | [ | ||
+ | </ | ||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE:** This indicates **card0** and **card2**. | ||
+ | </ | ||
---- | ---- | ||
+ | |||
+ | ====== Identify the card module ====== | ||
+ | |||
+ | <code bash> | ||
+ | lspci -k | grep Audio -A4 | ||
+ | </ | ||
+ | |||
+ | returns: | ||
+ | |||
+ | <code bash> | ||
+ | 09:00.1 Audio device: NVIDIA Corporation GP107GL High Definition Audio Controller (rev a1) | ||
+ | Subsystem: Micro-Star International Co., Ltd. [MSI] GP107GL High Definition Audio Controller | ||
+ | Kernel driver in use: snd_hda_intel | ||
+ | Kernel modules: snd_hda_intel | ||
+ | 0a:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/ | ||
+ | Subsystem: Advanced Micro Devices, Inc. [AMD] Starship/ | ||
+ | -- | ||
+ | 0b:00.4 Audio device: Advanced Micro Devices, Inc. [AMD] Starship/ | ||
+ | Subsystem: Gigabyte Technology Co., Ltd Starship/ | ||
+ | Kernel driver in use: snd_hda_intel | ||
+ | Kernel modules: snd_hda_intel | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE: | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== Identify the cards ====== | ||
+ | |||
+ | <code bash> | ||
+ | cat / | ||
+ | </ | ||
+ | |||
+ | returns: | ||
+ | |||
+ | <code bash> | ||
+ | 0 [NVidia | ||
+ | HDA NVidia at 0xfb080000 irq 124 | ||
+ | 2 [Generic | ||
+ | HD-Audio Generic at 0xfc200000 irq 126 | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE:** This indicates **0** and **2**. | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | |||
+ | ====== Identify the card codec ====== | ||
+ | |||
+ | <code bash> | ||
+ | head -1 / | ||
+ | </ | ||
+ | |||
+ | returns: | ||
+ | |||
+ | <code bash> | ||
+ | ==> / | ||
+ | Codec: Nvidia GPU 80 HDMI/DP | ||
+ | |||
+ | ==> / | ||
+ | Codec: Realtek ALC1220 | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE:** This indicates **card0** and **card2**. | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | |||
+ | ====== Get info from aplay ====== | ||
+ | |||
+ | <code bash> | ||
+ | aplay -l | ||
+ | </ | ||
+ | |||
+ | returns: | ||
+ | |||
+ | <code bash> | ||
+ | **** List of PLAYBACK Hardware Devices **** | ||
+ | card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0] | ||
+ | Subdevices: 1/1 | ||
+ | Subdevice #0: subdevice #0 | ||
+ | card 0: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1] | ||
+ | Subdevices: 1/1 | ||
+ | Subdevice #0: subdevice #0 | ||
+ | card 0: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2] | ||
+ | Subdevices: 1/1 | ||
+ | Subdevice #0: subdevice #0 | ||
+ | card 0: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3] | ||
+ | Subdevices: 1/1 | ||
+ | Subdevice #0: subdevice #0 | ||
+ | card 0: NVidia [HDA NVidia], device 10: HDMI 4 [HDMI 4] | ||
+ | Subdevices: 1/1 | ||
+ | Subdevice #0: subdevice #0 | ||
+ | card 0: NVidia [HDA NVidia], device 11: HDMI 5 [HDMI 5] | ||
+ | Subdevices: 1/1 | ||
+ | Subdevice #0: subdevice #0 | ||
+ | card 2: Generic [HD-Audio Generic], device 0: ALC1220 Analog [ALC1220 Analog] | ||
+ | Subdevices: 0/1 | ||
+ | Subdevice #0: subdevice #0 | ||
+ | card 2: Generic [HD-Audio Generic], device 1: ALC1220 Digital [ALC1220 Digital] | ||
+ | Subdevices: 1/1 | ||
+ | Subdevice #0: subdevice #0 | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE:** This indicates **card 0** and **card 2**. | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | |||
===== References ===== | ===== References ===== |
ubuntu/sound/troubleshooting.1607731634.txt.gz · Last modified: 2020/12/12 00:07 by peter