codepayne / linux-sound-huawei

linux kernel for Huawei matebook AMD sound support

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sound card not detected on arch linux 6.8.7. Is the driver in upstream? (KLVL-WXXW M1010)

jacekjarosz55 opened this issue · comments

Please correct me if I'm wrong, but from what i undestand, the driver has been upstreamed and everything should work on the latest kernel, right?
I can get https://github.com/codepayne/pop-os-linux/ to work correctly but the kernel version is really old and missing the drivers for my usb wifi adapter

I'm on KLVL-WXXW M1010 (Matebook 14 2021)

Please tell me whether I can do something to get it to work on the latest kernel, having audio on this laptop is the last thing that's really still missing for everything to work correctly

Post your dmesg. This should always be posted for any kernel issue.

for now i managed to install the 6.4 kernel with huawei patches from AUR (which has the wifi drivers), will upload the dmesg in a second though

I have 3 kernels currently installed:

  1. Stock archlinux kernel - inxi detects the device, but driver is N/A, no audio
    dmesg-stock.txt
    inxi-stock.txt
  2. 6.8.7 compiled by myself with the necessary config flags
    dmesg-custom.txt
    inxi-custom.txt
    custom-config.txt
  3. https://aur.archlinux.org/packages/linux-huawei-amd-audio
    dmesg-huawei-amd-audio.txt
    inxi-huawei-amd-audio.txt

Noticed that my custom kernel is missing the snd_pci_acp3x_es8336_mach module:
modprobe: FATAL: Module snd_pci_acp3x_es8336_mach not found in directory /lib/modules/6.8.7scare

I'll try compiling it again, since i might have the comment in the config wrong
UPDATE: the module is still missing, although snd_soc_acp_es8336_mach exists. either way, the speaker doesn't get detected by it at all

Found this error in dmesg (on the compiled 6.8.7)
[ 8.543545] snd_acp_pci 0000:03:00.5: enabling device (0000 -> 0002)
[ 8.543925] snd_acp_pci 0000:03:00.5: Runtime PM usage count underflow!
[ 8.543929] snd_acp_pci: probe of 0000:03:00.5 failed with error -22

Which makes me believe this is a duplicate of #35 . this issue can probably be closed

This problem is a regression done by AMD dev, specifically this commit:
torvalds/linux@4af565d

It was also fixed by that AMD dev later on:
torvalds/linux@09068d6

The fix should reach stable linux 6.8.9