The rt5682 sound card can't play audio on my laptop

My laptop has a realtek rt5682 sound card, and it seems the driver was installed. But there is no audio device in the system info, and it can play any audio by the headphone or the loudspeaker.

>lsmod | grep snd
d_hda_codec_hdmi     73728  0
snd_soc_dmic           16384  0
snd_sof_pci_intel_cnl    16384  0
snd_sof_intel_hda_common   106496  1 snd_sof_pci_intel_cnl
soundwire_intel        45056  1 snd_sof_intel_hda_common
snd_sof_intel_hda      20480  1 snd_sof_intel_hda_common
snd_sof_pci            20480  2 snd_sof_intel_hda_common,snd_sof_pci_intel_cnl
snd_sof_xtensa_dsp     16384  1 snd_sof_intel_hda_common
snd_sof               147456  2 snd_sof_pci,snd_sof_intel_hda_common
ledtrig_audio          16384  1 snd_sof
snd_soc_skl           180224  0
snd_soc_hdac_hda       24576  2 snd_sof_intel_hda_common,snd_soc_skl
snd_hda_ext_core       36864  4 snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_skl,snd_sof_intel_hda
snd_soc_max98357a      20480  0
snd_soc_sst_ipc        20480  1 snd_soc_skl
snd_soc_sst_dsp        40960  1 snd_soc_skl
snd_soc_acpi_intel_match    49152  3 snd_sof_intel_hda_common,snd_soc_skl,snd_sof_pci_intel_cnl
snd_soc_rt5682_i2c     16384  0
snd_soc_acpi           16384  3 snd_soc_acpi_intel_match,snd_sof_intel_hda_common,snd_soc_skl
snd_soc_rt5682         90112  1 snd_soc_rt5682_i2c
snd_hda_intel          57344  0
snd_soc_rl6231         20480  1 snd_soc_rt5682
snd_intel_dspcfg       28672  3 snd_hda_intel,snd_sof_intel_hda_common,snd_soc_skl
snd_soc_core          335872  9 snd_soc_rt5682,soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_max98357a,snd_soc_skl,snd_soc_dmic,snd_soc_rt5682_i2c
snd_intel_sdw_acpi     20480  2 snd_sof_intel_hda_common,snd_intel_dspcfg
snd_hda_codec         176128  3 snd_hda_codec_hdmi,snd_hda_intel,snd_soc_hdac_hda
snd_hda_core          110592  8 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_skl,snd_sof_intel_hda
snd_compress           32768  1 snd_soc_core
ac97_bus               16384  1 snd_soc_core
snd_pcm_dmaengine      16384  1 snd_soc_core
snd_hwdep              16384  1 snd_hda_codec
snd_pcm               147456  12 snd_hda_codec_hdmi,snd_hda_intel,snd_soc_rt5682,snd_hda_codec,soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_compress,snd_soc_core,snd_soc_skl,snd_hda_core,snd_pcm_dmaengine
snd_timer              45056  1 snd_pcm
snd                   114688  8 snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_timer,snd_compress,snd_soc_core,snd_pcm
soundcore              16384  1 snd

I do not use Gnome so not sure what you mean by system info

  1. How about showing a code snippet of

    lspci -v
    

    (as you may have more than one audio group)

  2. Alternatively, an inxi --admin --verbosity=7 --filter --no-host --width would be the minimum required information for us to be able to help you. (Personally Identifiable Information like serial numbers and MAC addresses will be filtered out by the above command)
    Also, please copy-paste that output in-between 3 backticks ``` at the beginning and end of the code/text.

  3. what does the following command show, please?

    aplay -l
2 Likes

Thanks for your reply and help.
And the folow text is the output of my device that you need.

-> lspci -v
00:00.0 Host bridge: Intel Corporation Comet Lake-U v1 4c Host Bridge/DRAM Controller (rev 0c)
	Subsystem: Intel Corporation Comet Lake-U v1 4c Host Bridge/DRAM Controller
	Flags: bus master, fast devsel, latency 0
	Capabilities: <access denied>
	Kernel driver in use: skl_uncore

00:02.0 VGA compatible controller: Intel Corporation CometLake-U GT2 [UHD Graphics] (rev 02) (prog-if 00 [VGA controller])
	DeviceName: VGA compatible controller
	Subsystem: Intel Corporation CometLake-U GT2 [UHD Graphics]
	Flags: bus master, fast devsel, latency 0, IRQ 148
	Memory at b0000000 (64-bit, non-prefetchable) [size=16M]
	Memory at a0000000 (64-bit, prefetchable) [size=256M]
	I/O ports at 1000 [size=64]
	Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: i915
	Kernel modules: i915

00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 0c)
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Memory at 25e800000 (64-bit, non-prefetchable) [size=32K]
	Capabilities: <access denied>
	Kernel driver in use: proc_thermal
	Kernel modules: processor_thermal_device

00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
	Flags: bus master, fast devsel, latency 0, IRQ 255
	Memory at 9fa1c000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>

00:12.0 Signal processing controller: Intel Corporation Comet Lake Thermal Subsytem
	Subsystem: Intel Corporation Comet Lake Thermal Subsytem
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Memory at 9fa1d000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: intel_pch_thermal
	Kernel modules: intel_pch_thermal

00:14.0 USB controller: Intel Corporation Comet Lake PCH-LP USB 3.1 xHCI Host Controller (prog-if 30 [XHCI])
	Subsystem: Intel Corporation Device 7270
	Flags: bus master, medium devsel, latency 0, IRQ 133
	Memory at 9fa00000 (64-bit, non-prefetchable) [size=64K]
	Capabilities: <access denied>
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci

00:14.2 RAM memory: Intel Corporation Comet Lake PCH-LP Shared SRAM
	Flags: bus master, fast devsel, latency 0
	Memory at 9fa18000 (64-bit, non-prefetchable) [size=8K]
	Memory at 9fa1e000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>

00:14.3 Network controller: Intel Corporation Comet Lake PCH-LP CNVi WiFi
	Subsystem: Intel Corporation Wi-Fi 6 AX201 160MHz
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Memory at 9fa10000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: iwlwifi
	Kernel modules: iwlwifi

00:14.5 SD Host controller: Intel Corporation Comet Lake PCH-LP SCS3 (prog-if 01)
	Subsystem: Intel Corporation Comet Lake PCH-LP SCS3
	Flags: bus master, fast devsel, latency 0, IRQ 19
	Memory at 9fa1f000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: sdhci-pci
	Kernel modules: sdhci_pci

00:15.0 Serial bus controller [0c80]: Intel Corporation Serial IO I2C Host Controller
	Subsystem: Intel Corporation Serial IO I2C Host Controller
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Memory at 9fa20000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: intel-lpss
	Kernel modules: intel_lpss_pci

00:15.1 Serial bus controller [0c80]: Intel Corporation Comet Lake Serial IO I2C Host Controller
	Subsystem: Intel Corporation Comet Lake Serial IO I2C Host Controller
	Flags: bus master, fast devsel, latency 0, IRQ 17
	Memory at 9fa21000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: intel-lpss
	Kernel modules: intel_lpss_pci

00:17.0 SATA controller: Intel Corporation Comet Lake SATA AHCI Controller (prog-if 01 [AHCI 1.0])
	DeviceName: SATA controller
	Subsystem: Intel Corporation Comet Lake SATA AHCI Controller
	Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 123
	Memory at 9fa1a000 (32-bit, non-prefetchable) [size=8K]
	Memory at 9fa27000 (32-bit, non-prefetchable) [size=256]
	I/O ports at 1060 [size=8]
	I/O ports at 1068 [size=4]
	I/O ports at 1040 [size=32]
	Memory at 9fa26000 (32-bit, non-prefetchable) [size=2K]
	Capabilities: <access denied>
	Kernel driver in use: ahci

00:19.0 Serial bus controller [0c80]: Intel Corporation Comet Lake Serial IO I2C Host Controller
	Subsystem: Intel Corporation Comet Lake Serial IO I2C Host Controller
	Flags: bus master, fast devsel, latency 0, IRQ 32
	Memory at 9fa22000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: intel-lpss
	Kernel modules: intel_lpss_pci

00:1d.0 PCI bridge: Intel Corporation Comet Lake PCI Express Root Port #9 (rev f0) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 122
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
	I/O behind bridge: [disabled]
	Memory behind bridge: 9f800000-9f8fffff [size=1M]
	Prefetchable memory behind bridge: [disabled]
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:1e.0 Communication controller: Intel Corporation Device 02a8
	Subsystem: Intel Corporation Device 02a8
	Flags: bus master, fast devsel, latency 0, IRQ 20
	Memory at fe032000 (64-bit, non-prefetchable) [size=4K]
	Memory at 9fa23000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: intel-lpss
	Kernel modules: intel_lpss_pci

00:1e.2 Serial bus controller [0c80]: Intel Corporation Device 02aa
	Subsystem: Intel Corporation Device 02aa
	Flags: bus master, fast devsel, latency 0, IRQ 22
	Memory at 9fa24000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: intel-lpss
	Kernel modules: intel_lpss_pci

00:1f.0 ISA bridge: Intel Corporation Comet Lake PCH-LP LPC Premium Controller/eSPI Controller
	Subsystem: Intel Corporation Comet Lake PCH-LP LPC Premium Controller/eSPI Controller
	Flags: bus master, fast devsel, latency 0

00:1f.3 Multimedia audio controller: Intel Corporation Comet Lake PCH-LP cAVS
	DeviceName: Multimedia audio controller
	Subsystem: Intel Corporation Device 7270
	Flags: bus master, fast devsel, latency 64, IRQ 16
	Memory at 9fa14000 (64-bit, non-prefetchable) [size=16K]
	Memory at 9f900000 (64-bit, non-prefetchable) [size=1M]
	Capabilities: <access denied>
	Kernel driver in use: sof-audio-pci-intel-cnl
	Kernel modules: snd_hda_intel, snd_soc_skl, snd_sof_pci_intel_cnl

00:1f.4 SMBus: Intel Corporation Comet Lake PCH-LP SMBus Host Controller
	Subsystem: Intel Corporation Comet Lake PCH-LP SMBus Host Controller
	Flags: medium devsel, IRQ 16
	Memory at 9fa28000 (64-bit, non-prefetchable) [size=256]
	I/O ports at efa0 [size=32]
	Kernel driver in use: i801_smbus
	Kernel modules: i2c_i801

00:1f.5 Serial bus controller [0c80]: Intel Corporation Comet Lake SPI (flash) Controller
	Subsystem: Intel Corporation Comet Lake SPI (flash) Controller
	Flags: fast devsel
	Memory at fe010000 (32-bit, non-prefetchable) [size=4K]
	Kernel driver in use: intel-spi
	Kernel modules: intel_spi_pci

01:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd Device a809 (prog-if 02 [NVM Express])
	Subsystem: Samsung Electronics Co Ltd Device a801
	Flags: bus master, fast devsel, latency 0, IRQ 16, NUMA node 0
	Memory at 9f800000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: nvme

->inxi --admin --verbosity=7 --filter --no-host --width
System:
  Kernel: 5.13.13-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.13-x86_64 
  root=UUID=6dcbdc24-48f6-41f8-b9b8-432fa825d788 rw quiet 
  resume=UUID=ee952072-18e2-4d78-aa5b-131f2311a3b6 udev.log_priority=3 
  Desktop: GNOME 40.4 tk: GTK 3.24.30 wm: gnome-shell dm: GDM 40.1 
  Distro: Manjaro Linux base: Arch Linux 
Machine:
  Type: Laptop System: Google product: Akemi v: rev1 serial: <filter> Chassis: 
  type: 9 serial: <filter> 
  Mobo: Google model: Akemi v: rev1 serial: <filter> UEFI: coreboot 
  v: MrChromebox-4.14 date: 07/25/2021 
Battery:
  ID-1: BAT0 charge: 12.1 Wh (24.4%) condition: 49.5/51.0 Wh (97.0%) 
  volts: 8.0 min: 7.7 model: LGC LNV-5B1 type: Li-ion serial: <filter> 
  status: Charging cycles: 21 
Memory:
  RAM: total: 7.64 GiB used: 1.51 GiB (19.7%) 
  RAM Report: permissions: Unable to run dmidecode. Root privileges required. 
CPU:
  Info: Quad Core model: Intel Core i5-10210U bits: 64 type: MT MCP 
  arch: Kaby Lake note: check family: 6 model-id: 8E (142) stepping: C (12) 
  microcode: EA cache: L2: 6 MiB bogomips: 33615 
  Speed: 1000 MHz min/max: 400/4200 MHz Core speeds (MHz): 1: 1000 2: 1000 
  3: 1000 4: 1000 5: 1000 6: 1000 7: 1000 8: 1000 
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat arch_capabilities 
  arch_perfmon art avx avx2 bmi1 bmi2 bts clflush clflushopt cmov constant_tsc 
  cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64 dtherm dts ept ept_ad erms est 
  f16c flexpriority flush_l1d fma fpu fsgsbase fxsr ht hwp hwp_act_window 
  hwp_epp hwp_notify ibpb ibrs ibrs_enhanced ida intel_pt invpcid 
  invpcid_single lahf_lm lm mca mce md_clear mmx monitor movbe mpx msr mtrr 
  nonstop_tsc nopl nx pae pat pbe pcid pclmulqdq pdcm pdpe1gb pebs pge pln pni 
  popcnt pse pse36 pts rdrand rdseed rdtscp rep_good sdbg sep smap smep ss 
  ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp syscall tm tm2 tpr_shadow tsc 
  tsc_adjust tsc_deadline_timer vme vmx vnmi vpid x2apic xgetbv1 xsave xsavec 
  xsaveopt xsaves xtopology xtpr 
  Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
  Type: l1tf status: Not affected 
  Type: mds status: Not affected 
  Type: meltdown status: Not affected 
  Type: spec_store_bypass 
  mitigation: Speculative Store Bypass disabled via prctl and seccomp 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 mitigation: Enhanced IBRS, IBPB: conditional, RSB filling 
  Type: srbds mitigation: TSX disabled 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: Intel CometLake-U GT2 [UHD Graphics] driver: i915 v: kernel 
  bus-ID: 00:02.0 chip-ID: 8086:9b41 class-ID: 0300 
  Device-2: Chicony Integrated Camera type: USB driver: uvcvideo bus-ID: 1-7:2 
  chip-ID: 04f2:b6d8 class-ID: 0e02 serial: <filter> 
  Display: wayland server: X.org 1.20.13 compositor: gnome-shell driver: 
  loaded: i915 note: n/a (using device driver) - try sudo/root display-ID: 0 
  resolution: <missing: xdpyinfo> 
  OpenGL: renderer: Mesa Intel UHD Graphics (CML GT2) v: 4.6 Mesa 21.2.1 
  direct render: Yes 
Audio:
  Device-1: Intel Comet Lake PCH-LP cAVS driver: sof-audio-pci-intel-cnl 
  alternate: snd_hda_intel,snd_soc_skl,snd_sof_pci_intel_cnl bus-ID: 00:1f.3 
  chip-ID: 8086:02c8 class-ID: 0401 
  Sound Server-1: ALSA v: k5.13.13-1-MANJARO running: yes 
  Sound Server-2: JACK v: 1.9.19 running: no 
  Sound Server-3: PulseAudio v: 15.0 running: yes 
  Sound Server-4: PipeWire v: 0.3.34 running: no 
Network:
  Device-1: Intel Comet Lake PCH-LP CNVi WiFi driver: iwlwifi v: kernel 
  port: 1000 bus-ID: 00:14.3 chip-ID: 8086:02f0 class-ID: 0280 
  IF: wlp0s20f3 state: up mac: <filter> 
  IP v4: <filter> type: dynamic noprefixroute scope: global 
  broadcast: <filter> 
  IP v6: <filter> type: noprefixroute scope: link 
  WAN IP: <filter> 
Bluetooth:
  Device-1: Intel AX201 Bluetooth type: USB driver: btusb v: 0.8 
  bus-ID: 1-10:3 chip-ID: 8087:0026 class-ID: e001 
  Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends 
Logical:
  Message: No logical block device data found. 
RAID:
  Message: No RAID data found. 
Drives:
  Local Storage: total: 119.24 GiB used: 9.98 GiB (8.4%) 
  SMART Message: Required tool smartctl not installed. Check --recommends 
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: MZALQ128HBHQ-000L2 
  size: 119.24 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s 
  lanes: 4 type: SSD serial: <filter> rev: 3L1QFXV7 temp: 23.9 C scheme: GPT 
  Message: No optical or floppy data found. 
Partition:
  ID-1: / raw-size: 110.15 GiB size: 107.86 GiB (97.92%) used: 9.98 GiB (9.3%) 
  fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:2 label: N/A 
  uuid: 6dcbdc24-48f6-41f8-b9b8-432fa825d788 
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) 
  used: 288 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1 
  label: NO_LABEL uuid: 52AB-4ED5 
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default) 
  ID-1: swap-1 type: partition size: 8.8 GiB used: 0 KiB (0.0%) priority: -2 
  dev: /dev/nvme0n1p3 maj-min: 259:3 label: swap 
  uuid: ee952072-18e2-4d78-aa5b-131f2311a3b6 
Unmounted:
  Message: No unmounted partitions found. 
USB:
  Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 12 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Device-1: 1-7:2 info: Chicony Integrated Camera type: Video driver: uvcvideo 
  interfaces: 2 rev: 2.0 speed: 480 Mb/s power: 500mA chip-ID: 04f2:b6d8 
  class-ID: 0e02 serial: <filter> 
  Device-2: 1-10:3 info: Intel AX201 Bluetooth type: Bluetooth driver: btusb 
  interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 100mA chip-ID: 8087:0026 
  class-ID: e001 
  Hub-2: 2-0:1 info: Full speed (or root) Hub ports: 6 rev: 3.1 speed: 10 Gb/s 
  chip-ID: 1d6b:0003 class-ID: 0900 
Sensors:
  System Temperatures: cpu: 38.0 C mobo: N/A 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 275 Uptime: 9m wakeups: 5300 Init: systemd v: 248 tool: systemctl 
  Compilers: gcc: 11.1.0 Packages: pacman: 1030 lib: 281 Shell: Zsh v: 5.8 
  running-in: gnome-terminal inxi: 3.3.06 
->aplay -l
aplay: device_list:274: no soundcards found...