Audio not working on debian 12

I installed the audio script and it works on the login screen but when I log in i see no audio output device i launched a youtube video but still also I installed the kernel please help thanks!

Pipewire card 0 log:
UCM available for card hw:0
UCM _alibpref=_ucm0001.
Set UCM verb to HiFi
Got PlaybackPCM for device Speaker: _ucm0001.hw:sofrt5682,0
Got PlaybackCTL for device Speaker: _ucm0001.hw:sofrt5682
Got PlaybackPriority for device Speaker: 100
Got CaptureCTL for device Speaker: _ucm0001.hw:sofrt5682
UCM file does not specify ‘PlaybackChannels’ for device Speaker, assuming stereo.
No _conflictingdevs for device Speaker
No _supporteddevs for device Speaker
Got PlaybackPCM for device Headphones: _ucm0001.hw:sofrt5682,1
Got PlaybackCTL for device Headphones: _ucm0001.hw:sofrt5682
Got PlaybackMixerElem for device Headphones: DAC1
Got PlaybackPriority for device Headphones: 200
Got CaptureCTL for device Headphones: _ucm0001.hw:sofrt5682
Got JackControl for device Headphones: Headphone Jack
UCM file does not specify ‘PlaybackChannels’ for device Headphones, assuming stereo.
No _conflictingdevs for device Headphones
No _supporteddevs for device Headphones
Got PlaybackPCM for device HDMI3: _ucm0001.hw:sofrt5682,4
Got PlaybackCTL for device HDMI3: _ucm0001.hw:sofrt5682
Got PlaybackPriority for device HDMI3: 400
Got CaptureCTL for device HDMI3: _ucm0001.hw:sofrt5682
Got JackControl for device HDMI3: HDMI/DP,pcm=4 Jack
UCM file does not specify ‘PlaybackChannels’ for device HDMI3, assuming stereo.
No _conflictingdevs for device HDMI3
No _supporteddevs for device HDMI3
Got PlaybackPCM for device HDMI2: _ucm0001.hw:sofrt5682,3
Got PlaybackCTL for device HDMI2: _ucm0001.hw:sofrt5682
Got PlaybackPriority for device HDMI2: 300
Got CaptureCTL for device HDMI2: _ucm0001.hw:sofrt5682
Got JackControl for device HDMI2: HDMI/DP,pcm=3 Jack
UCM file does not specify ‘PlaybackChannels’ for device HDMI2, assuming stereo.
No _conflictingdevs for device HDMI2
No _supporteddevs for device HDMI2
Got PlaybackPCM for device HDMI1: _ucm0001.hw:sofrt5682,2
Got PlaybackCTL for device HDMI1: _ucm0001.hw:sofrt5682
Got PlaybackPriority for device HDMI1: 200
Got CaptureCTL for device HDMI1: _ucm0001.hw:sofrt5682
Got JackControl for device HDMI1: HDMI/DP,pcm=2 Jack
UCM file does not specify ‘PlaybackChannels’ for device HDMI1, assuming stereo.
No _conflictingdevs for device HDMI1
No _supporteddevs for device HDMI1
Got CapturePCM for device Mic: _ucm0001.dmic_stereo_in:sofrt5682,5,0,1
Got PlaybackCTL for device Mic: _ucm0001.hw:sofrt5682
Got CaptureCTL for device Mic: _ucm0001.hw:sofrt5682
Got CaptureChannels for device Mic: 2
No _conflictingdevs for device Mic
No _supporteddevs for device Mic
Found UCM profiles
UCM mapping: HiFi: hw:sofrt5682,0: sink dev Speaker
UCM mapping: HiFi: hw:sofrt5682,1: sink dev Headphones
UCM mapping: HiFi: hw:sofrt5682,4: sink dev HDMI3
UCM mapping: HiFi: hw:sofrt5682,3: sink dev HDMI2
UCM mapping: HiFi: hw:sofrt5682,2: sink dev HDMI1
UCM mapping: HiFi: dmic_stereo_in:sofrt5682,5,0,1: source dev Mic
Profile HiFi (Default), input=null, output=null priority=8000, supported=yes n_input_mappings=1, n_output_mappings=5
Input HiFi: dmic_stereo_in:sofrt5682,5,0,1: source
Output HiFi: hw:sofrt5682,0: sink
Output HiFi: hw:sofrt5682,1: sink
Output HiFi: hw:sofrt5682,4: sink
Output HiFi: hw:sofrt5682,3: sink
Output HiFi: hw:sofrt5682,2: sink
Set ucm verb to HiFi
Trying _ucm0001.hw:sofrt5682,0 with SND_PCM_NO_AUTO_FORMAT …
ALSA device open ‘_ucm0001.hw:sofrt5682,0’ playback: 0x55b45ec7a140
Maximum hw buffer size is 341 ms
Set buffer size first (to 4800 samples), period size second (to 1200 samples).
Trying _ucm0001.hw:sofrt5682,1 with SND_PCM_NO_AUTO_FORMAT …
ALSA device open ‘_ucm0001.hw:sofrt5682,1’ playback: 0x55b45ecae9b0
Maximum hw buffer size is 341 ms
Set buffer size first (to 4800 samples), period size second (to 1200 samples).
Trying _ucm0001.hw:sofrt5682,4 with SND_PCM_NO_AUTO_FORMAT …
ALSA device open ‘_ucm0001.hw:sofrt5682,4’ playback: 0x55b45eca0a10
Maximum hw buffer size is 341 ms
Set buffer size first (to 4800 samples), period size second (to 1200 samples).
Trying _ucm0001.hw:sofrt5682,3 with SND_PCM_NO_AUTO_FORMAT …
ALSA device open ‘_ucm0001.hw:sofrt5682,3’ playback: 0x55b45ec7e5c0
Maximum hw buffer size is 341 ms
Set buffer size first (to 4800 samples), period size second (to 1200 samples).
Trying _ucm0001.hw:sofrt5682,2 with SND_PCM_NO_AUTO_FORMAT …
ALSA device open ‘_ucm0001.hw:sofrt5682,2’ playback: 0x55b45ec78800
Maximum hw buffer size is 341 ms
Set buffer size first (to 4800 samples), period size second (to 1200 samples).
Trying _ucm0001.dmic_stereo_in:sofrt5682,5,0,1 with SND_PCM_NO_AUTO_FORMAT …
ALSA device open ‘_ucm0001.dmic_stereo_in:sofrt5682,5,0,1’ capture: 0x55b45ec7c2d0
snd_pcm_hw_params_set_format(Signed 16 bit Little Endian) failed: Invalid argument
snd_pcm_hw_params_set_format(Signed 16 bit Big Endian) failed: Invalid argument
snd_pcm_hw_params_set_format(Float 32 bit Little Endian) failed: Invalid argument
snd_pcm_hw_params_set_format(Float 32 bit Big Endian) failed: Invalid argument
Maximum hw buffer size is 85 ms
Set buffer size first (to 4800 samples), period size second (to 1200 samples).
Device dmic_stereo_in:sofrt5682,5,0,1 doesn’t support sample format s16le, changed to s32le.
Profile HiFi supported.
Successfully attached to mixer ‘_ucm0001.hw:sofrt5682’
ALSA alias mixers: _ucm0001.hw:0 = _ucm0001.hw:sofrt5682
UCM jack Headphone has_control=1
UCM jack HDMI/DP,pcm=4 has_control=1
UCM jack HDMI/DP,pcm=3 has_control=1
UCM jack HDMI/DP,pcm=2 has_control=1
ALSA device close 0x55b45ec7a140
ALSA device close 0x55b45ecae9b0
ALSA device close 0x55b45eca0a10
ALSA device close 0x55b45ec7e5c0
ALSA device close 0x55b45ec78800
ALSA device close 0x55b45ec7c2d0
Trying hw:0,0 with SND_PCM_NO_AUTO_FORMAT …
ALSA device open ‘hw:0,0’ playback: 0x55b45ecb36c0
Maximum hw buffer size is 170 ms
Set buffer size first (to 65536 samples), period size second (to 1024 samples).
Device hw:0,0 doesn’t support 64 channels, changed to 2.
ALSA device close 0x55b45ecb36c0
Trying hw:0,1 with SND_PCM_NO_AUTO_FORMAT …
ALSA device open ‘hw:0,1’ playback: 0x55b45ecb49d0
Maximum hw buffer size is 170 ms
Set buffer size first (to 65536 samples), period size second (to 1024 samples).
Device hw:0,1 doesn’t support 64 channels, changed to 2.
ALSA device close 0x55b45ecb49d0
Trying hw:0,1 with SND_PCM_NO_AUTO_FORMAT …
ALSA device open ‘hw:0,1’ capture: 0x55b45ecb5dc0
Maximum hw buffer size is 170 ms
Set buffer size first (to 65536 samples), period size second (to 1024 samples).
Device hw:0,1 doesn’t support 64 channels, changed to 2.
ALSA device close 0x55b45ecb5dc0
Trying hw:0,2 with SND_PCM_NO_AUTO_FORMAT …
ALSA device open ‘hw:0,2’ playback: 0x55b45ecb7190
Maximum hw buffer size is 170 ms
Set buffer size first (to 65536 samples), period size second (to 1024 samples).
Device hw:0,2 doesn’t support 64 channels, changed to 2.
ALSA device close 0x55b45ecb7190
Trying hw:0,3 with SND_PCM_NO_AUTO_FORMAT …
ALSA device open ‘hw:0,3’ playback: 0x55b45ecb84b0
Maximum hw buffer size is 170 ms
Set buffer size first (to 65536 samples), period size second (to 1024 samples).
Device hw:0,3 doesn’t support 64 channels, changed to 2.
ALSA device close 0x55b45ecb84b0
Trying hw:0,4 with SND_PCM_NO_AUTO_FORMAT …
ALSA device open ‘hw:0,4’ playback: 0x55b45ecb9810
Maximum hw buffer size is 170 ms
Set buffer size first (to 65536 samples), period size second (to 1024 samples).
Device hw:0,4 doesn’t support 64 channels, changed to 2.
ALSA device close 0x55b45ecb9810
Trying hw:0,5 with SND_PCM_NO_AUTO_FORMAT …
ALSA device open ‘hw:0,5’ capture: 0x55b45ecbabd0
Maximum hw buffer size is 85 ms
Set buffer size first (to 65536 samples), period size second (to 1024 samples).
Device hw:0,5 doesn’t support 64 channels, changed to 4.
ALSA device close 0x55b45ecbabd0
Trying hw:0,6 with SND_PCM_NO_AUTO_FORMAT …
ALSA device open ‘hw:0,6’ capture: 0x55b45ecbb210
Maximum hw buffer size is 10000 ms
SNDRV_PCM_IOCTL_HW_PARAMS failed (-22)
SNDRV_PCM_IOCTL_HW_PARAMS failed (-22)
SNDRV_PCM_IOCTL_HW_PARAMS failed (-22)
SNDRV_PCM_IOCTL_HW_PARAMS failed (-22)
Set neither period nor buffer size.
Device hw:0,6 doesn’t support 48000 Hz, changed to 16000 Hz.
Device hw:0,6 doesn’t support 64 channels, changed to 2.
ALSA device close 0x55b45ecbb210
Check device Speaker conformance with 0 other devices
First device in combination, number 1
Add port [Out] Speaker: Speaker
Port [Out] Speaker direction output, priority 100
Adding profile HiFi to port [Out] Speaker.
Check device Speaker conformance with 0 other devices
First device in combination, number 1
Port [Out] Speaker direction output, priority 100
ALSA device (null) roles: null
Check device Headphones conformance with 0 other devices
First device in combination, number 1
Add port [Out] Headphones: Headphones
Port [Out] Headphones direction output, priority 200
Adding profile HiFi to port [Out] Headphones.
Check device Headphones conformance with 0 other devices
First device in combination, number 1
Port [Out] Headphones direction output, priority 200
Probing path ‘DAC1’
Probe of element ‘DAC1’ succeeded (volume=1, switch=0, enumeration=0, has_dB=1).
Set up h/w volume using ‘DAC1’ for HiFi:[Out] Headphones
ALSA device (null) roles: null
Check device HDMI3 conformance with 0 other devices
First device in combination, number 1
Add port [Out] HDMI3: HDMI / DisplayPort 3 Output
Port [Out] HDMI3 direction output, priority 400
Adding profile HiFi to port [Out] HDMI3.
Check device HDMI3 conformance with 0 other devices
First device in combination, number 1
Port [Out] HDMI3 direction output, priority 400
ALSA device (null) roles: null
Check device HDMI2 conformance with 0 other devices
First device in combination, number 1
Add port [Out] HDMI2: HDMI / DisplayPort 2 Output
Port [Out] HDMI2 direction output, priority 300
Adding profile HiFi to port [Out] HDMI2.
Check device HDMI2 conformance with 0 other devices
First device in combination, number 1
Port [Out] HDMI2 direction output, priority 300
ALSA device (null) roles: null
Check device HDMI1 conformance with 0 other devices
First device in combination, number 1
Add port [Out] HDMI1: HDMI / DisplayPort 1 Output
Port [Out] HDMI1 direction output, priority 200
Adding profile HiFi to port [Out] HDMI1.
Check device HDMI1 conformance with 0 other devices
First device in combination, number 1
Port [Out] HDMI1 direction output, priority 200
ALSA device (null) roles: null
Check device Mic conformance with 0 other devices
First device in combination, number 1
Add port [In] Mic: Internal Microphone
Port [In] Mic direction input, priority 100
Adding profile HiFi to port [In] Mic.
Check device Mic conformance with 0 other devices
First device in combination, number 1
Port [In] Mic direction input, priority 100
ALSA device (null) roles: null
Pruned singleton availability group Headphone from port [Out] Headphones
Pruned singleton availability group HDMI/DP,pcm=4 from port [Out] HDMI3
Pruned singleton availability group HDMI/DP,pcm=3 from port [Out] HDMI2
Pruned singleton availability group HDMI/DP,pcm=2 from port [Out] HDMI1
Found 4 jacks.
Jack ‘HDMI/DP,pcm=2 Jack’ is now unplugged
Profile HiFi available unknown → yes
Profile pro-audio available yes → unknown
Jack ‘HDMI/DP,pcm=3 Jack’ is now unplugged
Jack ‘HDMI/DP,pcm=4 Jack’ is now unplugged
Jack ‘Headphone Jack’ is now unplugged
activate profile: HiFi (1)
Set UCM verb to HiFi
Updating mixer path for HiFi: [Out] Speaker
Updating mixer path for HiFi: [Out] Headphones
Updating mixer path for HiFi: [Out] HDMI3
Updating mixer path for HiFi: [Out] HDMI2
Updating mixer path for HiFi: [Out] HDMI1
Updating mixer path for HiFi: [In] Mic
Check device Speaker conformance with 0 other devices
First device in combination, number 1
Port [Out] Speaker direction output, priority 100
Adding profile HiFi to port [Out] Speaker.
Device: Speaker mapping ‘Speaker’ (HiFi: hw:sofrt5682,0: sink).
Enable ucm device Speaker
Check device Headphones conformance with 0 other devices
First device in combination, number 1
Port [Out] Headphones direction output, priority 200
Adding profile HiFi to port [Out] Headphones.
Device: Headphones mapping ‘Headphones’ (HiFi: hw:sofrt5682,1: sink).
Enable ucm device Headphones
Activating path DAC1
Path DAC1 (null), direction=1, priority=0, probed=yes, supported=yes, has_mute=no, has_volume=yes, has_dB=yes, min_volume=0, max_volume=87, min_dB=-65.25, max_dB=0
Element ‘DAC1’, direction=1, switch=0, volume=1, volume_limit=-1, enumeration=0, required=0, required_any=0, required_absent=0, mask=0x6, n_channels=2, override_map=00
Hardware volume ranges from -65.25 dB to 0.00 dB.
Fixing base volume to 0.00 dB
Using hardware volume control. Hardware dB scale supported.
Driver does not support hardware mute control, falling back to software mute control.
New hardware volume: min:65536 max:65536
0: 65536
1: 65536
Check device HDMI3 conformance with 0 other devices
First device in combination, number 1
Port [Out] HDMI3 direction output, priority 400
Adding profile HiFi to port [Out] HDMI3.
Device: HDMI / DisplayPort 3 Output mapping ‘HDMI / DisplayPort 3 Output’ (HiFi: hw:sofrt5682,4: sink).
Enable ucm device HDMI3
Check device HDMI2 conformance with 0 other devices
First device in combination, number 1
Port [Out] HDMI2 direction output, priority 300
Adding profile HiFi to port [Out] HDMI2.
Device: HDMI / DisplayPort 2 Output mapping ‘HDMI / DisplayPort 2 Output’ (HiFi: hw:sofrt5682,3: sink).
Enable ucm device HDMI2
Check device HDMI1 conformance with 0 other devices
First device in combination, number 1
Port [Out] HDMI1 direction output, priority 200
Adding profile HiFi to port [Out] HDMI1.
Device: HDMI / DisplayPort 1 Output mapping ‘HDMI / DisplayPort 1 Output’ (HiFi: hw:sofrt5682,2: sink).
Enable ucm device HDMI1
Check device Mic conformance with 0 other devices
First device in combination, number 1
Port [In] Mic direction input, priority 100
Adding profile HiFi to port [In] Mic.
Device: Internal Microphone mapping ‘Internal Microphone’ (HiFi: dmic_stereo_in:sofrt5682,5,0,1: source).
Enable ucm device Mic
No ELD device found for port [Out] Speaker (0).
No ELD device found for port [Out] Headphones (1).
ELD info empty (for device=4)
ELD device found for port [Out] HDMI3 (4).
ELD info empty (for device=3)
ELD device found for port [Out] HDMI2 (3).
ELD info empty (for device=2)
ELD device found for port [Out] HDMI1 (2).
No ELD device found for port [In] Mic (5).
card 0: profiles:3 devices:14 ports:6
properties: (8)
use-ucm = “true”
verbose = “true”
alsa.card = “0”
alsa.card_name = “sof-rt5682”
alsa.long_card_name = “HP-Lantis-rev2”
alsa.driver_name = “snd_soc_sof_rt5682”
device.string = “0”
device.description = “sof-rt5682”

might help us if you told us what device you have and what firmware/version you are running

uhh I got it to run with breath on my hp chromebook codename lantis, also I got the audio working but i need to restart the pulseaudio service from the user level each time i reboot

I’m surprised to know there’s and audio script. I flashed this Treeya Chromebook a year and I’ve been using a usb audio card because I have no sound otherwise. When I install Arch or any other distro for that matter, I get some feedback that certain devices have no drivers. I’m also getting the same message on a Lenovo T460 but of course, that one is not a Chromebook and the audio works just fine.