[Sound] Sound Problems with Surface laptop 3

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
deaflinux
Posts: 5
Joined: 2024-12-09 13:15

[Sound] Sound Problems with Surface laptop 3

#1 Post by deaflinux »

Hello, wanted to try out debian on my surface laptop with dual boot but i cant get the sound to work. If i start playing sound i can hear the speaker activating but they only output some whitenoise. Already tried the surface kernel but this did not help either. After i reinstalled debian it was working but after booting into windows it stopped working again. i can see in pavucontrol that pulse audio tries to send the sound to the right device, but i can see that the microphone is not recording anything. Could someone pls help me i have no idea whats the problem?

dmesg | grep 'sof\|snd\|audio\|firmware'

Code: Select all

[    0.000000] DMI: Microsoft Corporation Surface Laptop 3/Surface Laptop 3, BIOS 1.3203.140 08/06/2021
[    0.031105] software IO TLB: area num 8.
[    0.073176] Spectre V2 : Enabling Speculation Barrier for firmware calls
[    0.077041] smpboot: CPU0: AMD Ryzen 5 Microsoft Surface (R) Edition (family: 0x17, model: 0x18, stepping: 0x1)
[    0.158198] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    0.158201] software IO TLB: mapped [mem 0x00000000c641e000-0x00000000ca41e000] (64MB)
[    0.794444] integrity: Loaded X.509 cert 'Microsoft Windows Production PCA 2011: a92902398e16c49778cd90f99e4f9ae17c55af53'
[    0.794480] integrity: Loaded X.509 cert 'Microsoft Corporation UEFI CA 2011: 13adbf4309bd82709c8cd54f316ed522988a1bd4'
[    1.091291] surface_serial_hub serial0-0: SAM firmware version: 16.606.139
[    1.568121] usb 3-1: Manufacturer: Microsoft
[    1.713250] usb 4-1: Manufacturer: Microsoft
[    2.219694] usb 3-1.1: Manufacturer: Microsoft
[    2.333450] usb 4-1.1: Manufacturer: Microsoft
[    2.627423] usb 3-1.5: Manufacturer: Microsoft
[    2.653950] amdgpu 0000:03:00.0: firmware: direct-loading firmware amdgpu/picasso_gpu_info.bin
[    2.654032] amdgpu 0000:03:00.0: firmware: direct-loading firmware amdgpu/picasso_sdma.bin
[    2.654906] amdgpu 0000:03:00.0: firmware: direct-loading firmware amdgpu/picasso_asd.bin
[    2.654936] amdgpu 0000:03:00.0: firmware: direct-loading firmware amdgpu/picasso_ta.bin
[    2.655120] amdgpu 0000:03:00.0: firmware: direct-loading firmware amdgpu/raven_dmcu.bin
[    2.655144] amdgpu 0000:03:00.0: firmware: direct-loading firmware amdgpu/picasso_pfp.bin
[    2.655166] amdgpu 0000:03:00.0: firmware: direct-loading firmware amdgpu/picasso_me.bin
[    2.655190] amdgpu 0000:03:00.0: firmware: direct-loading firmware amdgpu/picasso_ce.bin
[    2.655217] amdgpu 0000:03:00.0: firmware: direct-loading firmware amdgpu/picasso_rlc.bin
[    2.655295] amdgpu 0000:03:00.0: firmware: direct-loading firmware amdgpu/picasso_mec.bin
[    2.655374] amdgpu 0000:03:00.0: firmware: direct-loading firmware amdgpu/picasso_mec2.bin
[    2.656181] amdgpu 0000:03:00.0: firmware: direct-loading firmware amdgpu/picasso_vcn.bin
[    2.656184] [drm] Found VCN firmware Version ENC: 1.13 DEC: 2 VEP: 0 Revision: 4
[    2.656192] amdgpu 0000:03:00.0: amdgpu: Will use PSP to load VCN firmware
[    2.722630] hid-generic 0003:045E:09AC.0001: hiddev0,hidraw0: USB HID v1.11 Device [Microsoft Surface Dock 2] on usb-0000:03:00.4-1.5/input0
[    2.939875] usb 4-1.1.1: Manufacturer: Microsoft
[    3.829510] snd_pci_acp3x 0000:03:00.5: ACP audio mode : 1
[    3.931336] surface_gpe: no compatible Microsoft Surface device found, exiting
[    3.984668] platform regulatory.0: firmware: direct-loading firmware regulatory.db
[    3.984931] platform regulatory.0: firmware: direct-loading firmware regulatory.db.p7s
[    3.993009] hid-generic 0019:045E:0922.0004: hidraw3: <UNKNOWN> HID v1.11 Device [Microsoft Surface 045E:0922] on 01:15:02:05:00
[    3.998579] input: Microsoft Surface 045E:09AE Keyboard as /devices/platform/MSHW0110:00/01:15:02:01:00/0019:045E:09AE.0005/input/input8
[    4.014112] input: Microsoft Surface 045E:09AF Mouse as /devices/platform/MSHW0110:00/01:15:02:03:00/0019:045E:09AF.0006/input/input9
[    4.115126] hid-generic 0019:045E:09AE.0005: input,hidraw4: <UNKNOWN> HID v1.11 Keyboard [Microsoft Surface 045E:09AE] on 01:15:02:01:00
[    4.115428] input: Microsoft Surface 045E:09AF Touchpad as /devices/platform/MSHW0110:00/01:15:02:03:00/0019:045E:09AF.0006/input/input10
[    4.115798] input: Microsoft Surface 045E:09AF as /devices/platform/MSHW0110:00/01:15:02:03:00/0019:045E:09AF.0006/input/input11
[    4.115945] input: Microsoft Surface 045E:09AF as /devices/platform/MSHW0110:00/01:15:02:03:00/0019:045E:09AF.0006/input/input12
[    4.116124] hid-generic 0019:045E:09AF.0006: input,hidraw5: <UNKNOWN> HID v1.11 Mouse [Microsoft Surface 045E:09AF] on 01:15:02:03:00
[    4.154312] snd_hda_intel 0000:03:00.1: bound 0000:03:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])
[    4.176237] snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC274: line_outs=1 (0x1b/0x0/0x0/0x0/0x0) type:speaker
[    4.176245] snd_hda_codec_realtek hdaudioC1D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    4.176249] snd_hda_codec_realtek hdaudioC1D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[    4.176252] snd_hda_codec_realtek hdaudioC1D0:    mono: mono_out=0x0
[    4.176254] snd_hda_codec_realtek hdaudioC1D0:    inputs:
[    4.176257] snd_hda_codec_realtek hdaudioC1D0:      Mic=0x19
[    4.176259] snd_hda_codec_realtek hdaudioC1D0:      Internal Mic=0x12
[    4.390165] input: Microsoft Surface 045E:09AF Mouse as /devices/platform/MSHW0110:00/01:15:02:03:00/0019:045E:09AF.0006/input/input17
[    4.390399] input: Microsoft Surface 045E:09AF Touchpad as /devices/platform/MSHW0110:00/01:15:02:03:00/0019:045E:09AF.0006/input/input18
[    4.390625] input: Microsoft Surface 045E:09AF UNKNOWN as /devices/platform/MSHW0110:00/01:15:02:03:00/0019:045E:09AF.0006/input/input19
[    4.390741] input: Microsoft Surface 045E:09AF UNKNOWN as /devices/platform/MSHW0110:00/01:15:02:03:00/0019:045E:09AF.0006/input/input20
[    4.390857] hid-multitouch 0019:045E:09AF.0006: input,hidraw5: <UNKNOWN> HID v1.11 Mouse [Microsoft Surface 045E:09AF] on 01:15:02:03:00
[    4.581260] ath10k_pci 0000:02:00.0: firmware: failed to load ath10k/pre-cal-pci-0000:02:00.0.bin (-2)
[    4.581297] firmware_class: See https://wiki.debian.org/Firmware for information about missing firmware
[    4.581961] ath10k_pci 0000:02:00.0: firmware: failed to load ath10k/pre-cal-pci-0000:02:00.0.bin (-2)
[    4.582034] ath10k_pci 0000:02:00.0: firmware: failed to load ath10k/cal-pci-0000:02:00.0.bin (-2)
[    4.582083] ath10k_pci 0000:02:00.0: firmware: failed to load ath10k/cal-pci-0000:02:00.0.bin (-2)
[    4.584228] ath10k_pci 0000:02:00.0: firmware: direct-loading firmware ath10k/QCA6174/hw3.0/firmware-6.bin
[    4.584657] ath10k_pci 0000:02:00.0: firmware ver WLAN.RM.4.4.1-00288- api 6 features wowlan,ignore-otp,mfp crc32 bf907c7c
[    4.649867] ath10k_pci 0000:02:00.0: firmware: direct-loading firmware ath10k/QCA6174/hw3.0/board-2.bin
[    6.376893] usbcore: registered new interface driver snd-usb-audio
cat /proc/asound/cards

Code: Select all

 0 [Generic        ]: HDA-Intel - HD-Audio Generic
                      HD-Audio Generic at 0xfa6c8000 irq 113
 1 [Generic_1      ]: HDA-Intel - HD-Audio Generic
                      HD-Audio Generic at 0xfa6c0000 irq 114
 2 [Audio          ]: USB-Audio - USB Audio
                      Generic USB Audio at usb-0000:03:00.4-1.1.5, high speed
lspci -knn | grep -iA2 audio

Code: Select all

03:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Raven/Raven2/Fenghuang HDMI/DP Audio Controller [1002:15de]
	Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Raven/Raven2/Fenghuang HDMI/DP Audio Controller [1002:15de]
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
--
03:00.5 Multimedia controller [0480]: Advanced Micro Devices, Inc. [AMD] ACP/ACP3X/ACP6x Audio Coprocessor [1022:15e2]
	Subsystem: Advanced Micro Devices, Inc. [AMD] ACP/ACP3X/ACP6x Audio Coprocessor [1022:15e2]
	Kernel driver in use: snd_pci_acp3x
	Kernel modules: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x, snd_pci_acp6x
03:00.6 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller [1022:15e3]
	Subsystem: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller [1022:d001]
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
dmesg | grep snd_hda

Code: Select all

[    4.154312] snd_hda_intel 0000:03:00.1: bound 0000:03:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])
[    4.176237] snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC274: line_outs=1 (0x1b/0x0/0x0/0x0/0x0) type:speaker
[    4.176245] snd_hda_codec_realtek hdaudioC1D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    4.176249] snd_hda_codec_realtek hdaudioC1D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[    4.176252] snd_hda_codec_realtek hdaudioC1D0:    mono: mono_out=0x0
[    4.176254] snd_hda_codec_realtek hdaudioC1D0:    inputs:
[    4.176257] snd_hda_codec_realtek hdaudioC1D0:      Mic=0x19
[    4.176259] snd_hda_codec_realtek hdaudioC1D0:      Internal Mic=0x12
dmesg | grep snd

Code: Select all

[    3.829510] snd_pci_acp3x 0000:03:00.5: ACP audio mode : 1
[    4.154312] snd_hda_intel 0000:03:00.1: bound 0000:03:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])
[    4.176237] snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC274: line_outs=1 (0x1b/0x0/0x0/0x0/0x0) type:speaker
[    4.176245] snd_hda_codec_realtek hdaudioC1D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    4.176249] snd_hda_codec_realtek hdaudioC1D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[    4.176252] snd_hda_codec_realtek hdaudioC1D0:    mono: mono_out=0x0
[    4.176254] snd_hda_codec_realtek hdaudioC1D0:    inputs:
[    4.176257] snd_hda_codec_realtek hdaudioC1D0:      Mic=0x19
[    4.176259] snd_hda_codec_realtek hdaudioC1D0:      Internal Mic=0x12
[    6.376893] usbcore: registered new interface driver snd-usb-audio
lsmod | grep snd

Code: Select all

snd_usb_audio         376832  2
snd_usbmidi_lib        45056  1 snd_usb_audio
snd_rawmidi            53248  1 snd_usbmidi_lib
snd_seq_device         16384  1 snd_rawmidi
mc                     81920  5 videodev,snd_usb_audio,videobuf2_v4l2,uvcvideo,videobuf2_common
snd_hda_codec_realtek   172032  1
snd_hda_codec_generic    98304  1 snd_hda_codec_realtek
ledtrig_audio          16384  1 snd_hda_codec_generic
snd_hda_codec_hdmi     81920  1
snd_hda_intel          57344  7
snd_intel_dspcfg       36864  1 snd_hda_intel
snd_intel_sdw_acpi     20480  1 snd_intel_dspcfg
snd_hda_codec         184320  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_pci_acp6x          20480  0
snd_hda_core          122880  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_pci_acp5x          20480  0
snd_hwdep              16384  2 snd_usb_audio,snd_hda_codec
snd_rn_pci_acp3x       20480  0
snd_pcm               159744  7 snd_hda_codec_hdmi,snd_pci_acp6x,snd_hda_intel,snd_usb_audio,snd_hda_codec,snd_hda_core
snd_acp_config         16384  2 snd_rn_pci_acp3x,snd_pci_acp5x
snd_timer              49152  2 snd_pcm
snd_soc_acpi           16384  1 snd_acp_config
snd                   126976  28 snd_hda_codec_generic,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_usb_audio,snd_usbmidi_lib,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm,snd_rawmidi
snd_pci_acp3x          20480  0
soundcore              16384  1 snd
usbcore               348160  9 xhci_hcd,usbnet,snd_usb_audio,usbhid,snd_usbmidi_lib,uvcvideo,btusb,xhci_pci,cdc_ether
lsmod | grep snd_hda

Code: Select all

snd_hda_codec_realtek   172032  1
snd_hda_codec_generic    98304  1 snd_hda_codec_realtek
ledtrig_audio          16384  1 snd_hda_codec_generic
snd_hda_codec_hdmi     81920  1
snd_hda_intel          57344  4
snd_intel_dspcfg       36864  1 snd_hda_intel
snd_hda_codec         184320  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_hda_core          122880  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_hwdep              16384  2 snd_usb_audio,snd_hda_codec
snd_pcm               159744  6 snd_hda_codec_hdmi,snd_pci_acp6x,snd_hda_intel,snd_usb_audio,snd_hda_codec,snd_hda_core
snd                   126976  24 snd_hda_codec_generic,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_usb_audio,snd_usbmidi_lib,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm,snd_rawmidi

arzgi
Posts: 1614
Joined: 2008-02-21 17:03
Location: Finland
Has thanked: 1 time
Been thanked: 85 times

Re: [Sound] Sound Problems with Surface laptop 3

#2 Post by arzgi »

Is the problem you can not get any sound, or can not record? Or both.

@FreewheelFrank is the best to answer, but in the mean time check https://wiki.debian.org/Sound

I did a lit reseach, and one user reported reinstalling pulseudio and reboot helped. Searhched linux surface sound

Dai_trying
Posts: 1173
Joined: 2016-01-07 12:25
Has thanked: 13 times
Been thanked: 30 times

Re: [Sound] Sound Problems with Surface laptop 3

#3 Post by Dai_trying »

I have a surface pro 3, slightly different to the laptop, but I have posted here and here and here about using the Linux-surface kernel to allow better operation of the device.

deaflinux
Posts: 5
Joined: 2024-12-09 13:15

Re: [Sound] Sound Problems with Surface laptop 3

#4 Post by deaflinux »

arzgi wrote: 2024-12-09 14:19 Is the problem you can not get any sound, or can not record? Or both.

@FreewheelFrank is the best to answer, but in the mean time check https://wiki.debian.org/Sound

I did a lit reseach, and one user reported reinstalling pulseudio and reboot helped. Searhched linux surface sound
the main problem is the sound. i just noticed that when the sound was working the mic picked up the audio. now the mic does not work anymore and i see pulse audio trying to play audio on the speaker but the only thing i can hear is some whitenoise. when i stop the sound source after a while the whitenoise also disappears.

yes i already tried a lot of the suggesed forum + chat gpt solutions but none of them worked. the only thing that helped was reinstalling debian until windows was booted. so probably some problem with the dual boot config but this is just a wild guess as i have absolutly no clue.

deaflinux
Posts: 5
Joined: 2024-12-09 13:15

Re: [Sound] Sound Problems with Surface laptop 3

#5 Post by deaflinux »

Dai_trying wrote: 2024-12-09 14:57 I have a surface pro 3, slightly different to the laptop, but I have posted here and here and here about using the Linux-surface kernel to allow better operation of the device.
the surface kernel unfortunatly did not help

arzgi
Posts: 1614
Joined: 2008-02-21 17:03
Location: Finland
Has thanked: 1 time
Been thanked: 85 times

Re: [Sound] Sound Problems with Surface laptop 3

#6 Post by arzgi »

Code: Select all

#! /bin/bash

pulseaudio -k
pulseaudio --start
Above script was in my /home/bin, old versions of Debian sometime loosed connection to pulseaudio, then I ran it. Try, if any differnce.

If you save the script, and mean to start it, you first have to change it to exetuble.

deaflinux
Posts: 5
Joined: 2024-12-09 13:15

Re: [Sound] Sound Problems with Surface laptop 3

#7 Post by deaflinux »

well now its working again for some reason. thx for the tip i tried restarting pulseaudio aswell that did not help at all. still curious where the issue lies ill just go ahead and post some stuff maybe someone can explain what is/was happending:

is the order important? sna_hda_intel went up in order
sound working: dmesg | grep 'sof\|snd\|audio\|firmware'

Code: Select all

[    0.000000] DMI: Microsoft Corporation Surface Laptop 3/Surface Laptop 3, BIOS 1.3203.140 08/06/2021
[    0.030960] software IO TLB: area num 8.
[    0.073325] Spectre V2 : Enabling Speculation Barrier for firmware calls
[    0.077189] smpboot: CPU0: AMD Ryzen 5 Microsoft Surface (R) Edition (family: 0x17, model: 0x18, stepping: 0x1)
[    0.158456] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    0.158458] software IO TLB: mapped [mem 0x00000000c641f000-0x00000000ca41f000] (64MB)
[    0.790277] integrity: Loaded X.509 cert 'Microsoft Windows Production PCA 2011: a92902398e16c49778cd90f99e4f9ae17c55af53'
[    0.790305] integrity: Loaded X.509 cert 'Microsoft Corporation UEFI CA 2011: 13adbf4309bd82709c8cd54f316ed522988a1bd4'
[    1.076549] surface_serial_hub serial0-0: SAM firmware version: 16.606.139
[    1.560077] usb 3-1: Manufacturer: Microsoft
[    1.705267] usb 4-1: Manufacturer: Microsoft
[    2.215691] usb 3-1.1: Manufacturer: Microsoft
[    2.333500] usb 4-1.1: Manufacturer: Microsoft
[    2.583516] usb 3-1.5: Manufacturer: Microsoft
[    2.649099] amdgpu 0000:03:00.0: firmware: direct-loading firmware amdgpu/picasso_gpu_info.bin
[    2.649153] amdgpu 0000:03:00.0: firmware: direct-loading firmware amdgpu/picasso_sdma.bin
[    2.649991] amdgpu 0000:03:00.0: firmware: direct-loading firmware amdgpu/picasso_asd.bin
[    2.650030] amdgpu 0000:03:00.0: firmware: direct-loading firmware amdgpu/picasso_ta.bin
[    2.650205] amdgpu 0000:03:00.0: firmware: direct-loading firmware amdgpu/raven_dmcu.bin
[    2.650231] amdgpu 0000:03:00.0: firmware: direct-loading firmware amdgpu/picasso_pfp.bin
[    2.650253] amdgpu 0000:03:00.0: firmware: direct-loading firmware amdgpu/picasso_me.bin
[    2.650273] amdgpu 0000:03:00.0: firmware: direct-loading firmware amdgpu/picasso_ce.bin
[    2.650300] amdgpu 0000:03:00.0: firmware: direct-loading firmware amdgpu/picasso_rlc.bin
[    2.650379] amdgpu 0000:03:00.0: firmware: direct-loading firmware amdgpu/picasso_mec.bin
[    2.650452] amdgpu 0000:03:00.0: firmware: direct-loading firmware amdgpu/picasso_mec2.bin
[    2.651214] amdgpu 0000:03:00.0: firmware: direct-loading firmware amdgpu/picasso_vcn.bin
[    2.651217] [drm] Found VCN firmware Version ENC: 1.13 DEC: 2 VEP: 0 Revision: 4
[    2.651226] amdgpu 0000:03:00.0: amdgpu: Will use PSP to load VCN firmware
[    2.690333] hid-generic 0003:045E:09AC.0001: hiddev0,hidraw0: USB HID v1.11 Device [Microsoft Surface Dock 2] on usb-0000:03:00.4-1.5/input0
[    2.895104] usb 4-1.1.1: Manufacturer: Microsoft
[    3.770700] snd_pci_acp3x 0000:03:00.5: ACP audio mode : 1
[    3.895134] surface_gpe: no compatible Microsoft Surface device found, exiting
[    3.899640] platform regulatory.0: firmware: direct-loading firmware regulatory.db
[    3.900599] platform regulatory.0: firmware: direct-loading firmware regulatory.db.p7s
[    3.936982] hid-generic 0019:045E:0922.0004: hidraw3: <UNKNOWN> HID v1.11 Device [Microsoft Surface 045E:0922] on 01:15:02:05:00
[    3.941312] input: Microsoft Surface 045E:09AE Keyboard as /devices/platform/MSHW0110:00/01:15:02:01:00/0019:045E:09AE.0005/input/input8
[    3.955686] input: Microsoft Surface 045E:09AF Mouse as /devices/platform/MSHW0110:00/01:15:02:03:00/0019:045E:09AF.0006/input/input9
[    4.020958] snd_hda_intel 0000:03:00.1: bound 0000:03:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])
[    4.054902] hid-generic 0019:045E:09AE.0005: input,hidraw4: <UNKNOWN> HID v1.11 Keyboard [Microsoft Surface 045E:09AE] on 01:15:02:01:00
[    4.055108] input: Microsoft Surface 045E:09AF Touchpad as /devices/platform/MSHW0110:00/01:15:02:03:00/0019:045E:09AF.0006/input/input10
[    4.055336] input: Microsoft Surface 045E:09AF as /devices/platform/MSHW0110:00/01:15:02:03:00/0019:045E:09AF.0006/input/input11
[    4.055492] input: Microsoft Surface 045E:09AF as /devices/platform/MSHW0110:00/01:15:02:03:00/0019:045E:09AF.0006/input/input12
[    4.055679] hid-generic 0019:045E:09AF.0006: input,hidraw5: <UNKNOWN> HID v1.11 Mouse [Microsoft Surface 045E:09AF] on 01:15:02:03:00
[    4.074751] snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC274: line_outs=1 (0x1b/0x0/0x0/0x0/0x0) type:speaker
[    4.074758] snd_hda_codec_realtek hdaudioC1D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    4.074762] snd_hda_codec_realtek hdaudioC1D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[    4.074766] snd_hda_codec_realtek hdaudioC1D0:    mono: mono_out=0x0
[    4.074768] snd_hda_codec_realtek hdaudioC1D0:    inputs:
[    4.074771] snd_hda_codec_realtek hdaudioC1D0:      Mic=0x19
[    4.074773] snd_hda_codec_realtek hdaudioC1D0:      Internal Mic=0x12
[    4.293636] input: Microsoft Surface 045E:09AF Mouse as /devices/platform/MSHW0110:00/01:15:02:03:00/0019:045E:09AF.0006/input/input17
[    4.293800] input: Microsoft Surface 045E:09AF Touchpad as /devices/platform/MSHW0110:00/01:15:02:03:00/0019:045E:09AF.0006/input/input18
[    4.293926] input: Microsoft Surface 045E:09AF UNKNOWN as /devices/platform/MSHW0110:00/01:15:02:03:00/0019:045E:09AF.0006/input/input19
[    4.294041] input: Microsoft Surface 045E:09AF UNKNOWN as /devices/platform/MSHW0110:00/01:15:02:03:00/0019:045E:09AF.0006/input/input20
[    4.294144] hid-multitouch 0019:045E:09AF.0006: input,hidraw5: <UNKNOWN> HID v1.11 Mouse [Microsoft Surface 045E:09AF] on 01:15:02:03:00
[    4.401245] ath10k_pci 0000:02:00.0: firmware: failed to load ath10k/pre-cal-pci-0000:02:00.0.bin (-2)
[    4.401283] firmware_class: See https://wiki.debian.org/Firmware for information about missing firmware
[    4.402013] ath10k_pci 0000:02:00.0: firmware: failed to load ath10k/pre-cal-pci-0000:02:00.0.bin (-2)
[    4.402057] ath10k_pci 0000:02:00.0: firmware: failed to load ath10k/cal-pci-0000:02:00.0.bin (-2)
[    4.402094] ath10k_pci 0000:02:00.0: firmware: failed to load ath10k/cal-pci-0000:02:00.0.bin (-2)
[    4.404016] ath10k_pci 0000:02:00.0: firmware: direct-loading firmware ath10k/QCA6174/hw3.0/firmware-6.bin
[    4.404385] ath10k_pci 0000:02:00.0: firmware ver WLAN.RM.4.4.1-00288- api 6 features wowlan,ignore-otp,mfp crc32 bf907c7c
[    4.469663] ath10k_pci 0000:02:00.0: firmware: direct-loading firmware ath10k/QCA6174/hw3.0/board-2.bin
[    6.345937] usbcore: registered new interface driver snd-usb-audio
sound working lsmod |grep snd_hda: some changes: snd_hda_intel changed from 4 to 7, snd_pcm from 6 to 7 and snd from 24 to 28

Code: Select all

snd_hda_codec_realtek   172032  1
snd_hda_codec_generic    98304  1 snd_hda_codec_realtek
ledtrig_audio          16384  1 snd_hda_codec_generic
snd_hda_codec_hdmi     81920  1
snd_hda_intel          57344  7
snd_intel_dspcfg       36864  1 snd_hda_intel
snd_hda_codec         184320  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_hda_core          122880  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_hwdep              16384  2 snd_usb_audio,snd_hda_codec
snd_pcm               159744  7 snd_hda_codec_hdmi,snd_pci_acp6x,snd_hda_intel,snd_usb_audio,snd_hda_codec,snd_hda_core
snd                   126976  28 snd_hda_codec_generic,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_usb_audio,snd_usbmidi_lib,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm,snd_rawmidi
and here is sound working pactl list sinks

Code: Select all

Sink #0
	State: SUSPENDED
	Name: alsa_output.usb-Generic_USB_Audio-00.iec958-stereo
	Description: USB Audio Digital Stereo (IEC958)
	Driver: module-alsa-card.c
	Sample Specification: s16le 2ch 44100Hz
	Channel Map: front-left,front-right
	Owner Module: 7
	Mute: no
	Volume: front-left: 55705 /  85% / -4.24 dB,   front-right: 55705 /  85% / -4.24 dB
	        balance 0.00
	Base Volume: 65536 / 100% / 0.00 dB
	Monitor Source: alsa_output.usb-Generic_USB_Audio-00.iec958-stereo.monitor
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE DECIBEL_VOLUME LATENCY SET_FORMATS 
	Properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "USB Audio"
		alsa.id = "USB Audio"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "2"
		alsa.card_name = "USB Audio"
		alsa.long_card_name = "Generic USB Audio at usb-0000:03:00.4-1.1.5, high speed"
		alsa.driver_name = "snd_usb_audio"
		device.bus_path = "pci-0000:03:00.4-usb-0:1.1.5:1.0"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:03:00.4/usb3/3-1/3-1.1/3-1.1.5/3-1.1.5:1.0/sound/card2"
		udev.id = "usb-Generic_USB_Audio-00"
		device.bus = "usb"
		device.vendor.id = "045e"
		device.vendor.name = "Microsoft Corp."
		device.product.id = "09a8"
		device.product.name = "USB Audio"
		device.serial = "Generic_USB_Audio"
		device.string = "iec958:2"
		device.buffering.buffer_size = "17632"
		device.buffering.fragment_size = "4408"
		device.access_mode = "mmap"
		device.profile.name = "iec958-stereo"
		device.profile.description = "Digital Stereo (IEC958)"
		device.description = "USB Audio Digital Stereo (IEC958)"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-usb"
	Ports:
		iec958-stereo-output: Digital Output (S/PDIF) (type: SPDIF, priority: 0, availability unknown)
	Active Port: iec958-stereo-output
	Formats:
		pcm

Sink #1
	State: RUNNING
	Name: alsa_output.pci-0000_03_00.6.analog-stereo
	Description: Family 17h/19h HD Audio Controller Analog Stereo
	Driver: module-alsa-card.c
	Sample Specification: s16le 2ch 48000Hz
	Channel Map: front-left,front-right
	Owner Module: 8
	Mute: no
	Volume: front-left: 17021 /  26% / -35.13 dB,   front-right: 17021 /  26% / -35.13 dB
	        balance 0.00
	Base Volume: 65536 / 100% / 0.00 dB
	Monitor Source: alsa_output.pci-0000_03_00.6.analog-stereo.monitor
	Latency: 92623 usec, configured 100136 usec
	Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
	Properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "ALC274 Analog"
		alsa.id = "ALC274 Analog"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "1"
		alsa.card_name = "HD-Audio Generic"
		alsa.long_card_name = "HD-Audio Generic at 0xfa6c0000 irq 114"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:03:00.6"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:03:00.6/sound/card1"
		device.bus = "pci"
		device.vendor.id = "1022"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
		device.product.id = "15e3"
		device.product.name = "Family 17h/19h HD Audio Controller"
		device.string = "front:1"
		device.buffering.buffer_size = "17664"
		device.buffering.fragment_size = "2944"
		device.access_mode = "mmap"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analog Stereo"
		device.description = "Family 17h/19h HD Audio Controller Analog Stereo"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	Ports:
		analog-output-speaker: Speakers (type: Speaker, priority: 10000, availability unknown)
		analog-output-headphones: Headphones (type: Headphones, priority: 9900, not available)
	Active Port: analog-output-speaker
	Formats:
		pcm

User avatar
sunrat
Site admin
Site admin
Posts: 7451
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 134 times
Been thanked: 665 times

Re: [Sound] Sound Problems with Surface laptop 3

#8 Post by sunrat »

Does it stop working after you reboot from Windows? Disable Windows Fast Startup. It's a hybrid sleep mode that keeps hardware drivers loaded and prevents them working in Linux. It is also useless; it may save 2 seconds at boot but take 10 extra seconds to shut down.
https://www.xda-developers.com/disable- ... indows-11/
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

User avatar
FreewheelinFrank
Global Moderator
Global Moderator
Posts: 2412
Joined: 2010-06-07 16:59
Has thanked: 45 times
Been thanked: 266 times

Re: [Sound] Sound Problems with Surface laptop 3

#9 Post by FreewheelinFrank »

If what sunrat suggests doesn't work, try turning sound off and on again in UEFI settings.

viewtopic.php?p=794331#p794331

deaflinux
Posts: 5
Joined: 2024-12-09 13:15

Re: [Sound] Sound Problems with Surface laptop 3

#10 Post by deaflinux »

thanks guys for all the help i have a "fix". well kind of.
anyway fast startup was already disabled and turning the sound on and off in the uefi did not change anything

what helped was: if there is no sound in debian, instead of shutting down with a click i press the power button until the laptop restarts and i see the windows logo. than i will have sound until i boot into windows again.

User avatar
FreewheelinFrank
Global Moderator
Global Moderator
Posts: 2412
Joined: 2010-06-07 16:59
Has thanked: 45 times
Been thanked: 266 times

Re: [Sound] Sound Problems with Surface laptop 3

#11 Post by FreewheelinFrank »

I think I remember reading somewhere that changing a setting in the Windows driver ( in Windows, obviously) can leave the sound card available in Linux. I will try and find the page later on if I can.

Addendum: Can find where I read this, but maybe look at sound device settings in Device Manager. Windows may be putting the device in an idle state to save power, and this state may be retained after booting into Linux.

https://learn.microsoft.com/en-us/windo ... -platforms

The following is not for a sound device, but the screenshot does show how to view option available for a device.

https://answers.microsoft.com/en-us/win ... 841c19ba37

Post Reply