codepayne / linux-sound-huawei

linux kernel for Huawei matebook AMD sound support
Other
88 stars 3 forks source link

Model BOM-WXX9 - help a newbie out #38

Open raizor154 opened 6 months ago

raizor154 commented 6 months ago

I don't even know if this is the right place to ask for help, but hours and hours of failed fixes brought me here.

I installed Ubuntu 24.04 on a Huawei Matebook D15, model BOM-WXX9, and of course audio is not working. Where do I start? How do I apply the kernel patch? I'm really sorry if I'm a bother, but I'm relatively new to Linux :(

I've already tried this https://github.com/thesofproject/linux/issues/3249#issuecomment-1378025039 but it didn't work.

andreaconsole commented 6 months ago

Here you will find the long story for your system: https://github.com/codepayne/linux-sound-huawei/issues/28 The solution is not perfect yet, at least with my kernel version, but totally workable. I can make my kernel (kindly compiled by codepayne, as I am not able to) available for you (even if downloading a kernel from a stranger is not advisable, I promise I am harmless, at least with coding), and then you can just follow the instructions on that page to make it work. I am no expert, so I cannot provide more support than this. I just thank @codepayne from the bottom of my heart every time I turn my laptop on.

raizor154 commented 6 months ago

That would actually be a life-saver. I really want to get into Linux but that is certainly pretty hard without audio. Any way I can contact you privately?

andreaconsole commented 6 months ago

This is the link to download it: kernel 6.7.4 it is the 6.7.4. It is not the one I have installed, but a following upgrade that should be easier to use. Check #28 and https://github.com/codepayne/linux-sound-huawei/issues/30 for more details.

raizor154 commented 6 months ago

Which one of these packages should I install? image

Also, is there a specific reply I should follow in those issues you linked?

andreaconsole commented 6 months ago
  1. Both.
  2. Not sure, I already forgot most of it... If you have troubles, look for the answer there. Read the comment below first, but I am not sure if any of those instructions are applicable in your case. You do not need to apply the "workaround" (the issue with auto-suspend) because this kernel should already include a dedicated patch.
raizor154 commented 6 months ago

I did everything in that comment, rebooted my laptop at the end, but still no audio. This is how my alsamixer looks image

andreaconsole commented 6 months ago

I am sorry. I was trying to be helpful but I have very little understanding of this topic. Let's wait for a real expert to step in. As the last resort, I can offer you the kernel I am currently using: [link removed - use link above] . It is older, but personally tested by me.

Stupid question, did you select the right kernel on boot?

raizor154 commented 6 months ago

Stupid question, did you select the right kernel on boot?

I'm almost sure I didn't cuz I'm a noob. How do you do that?

andreaconsole commented 6 months ago

https://askubuntu.com/questions/16042/how-to-get-to-the-grub-menu-at-boot-time

raizor154 commented 6 months ago

Oh wow. This actually works. I'm about to cry. Weird popping noises every now and then (not really annoying) but it is what it is. Do I have to manually select the kernel every time?

andreaconsole commented 6 months ago

No, it should remember your last choice. Happy to have been helpful!

raizor154 commented 6 months ago

Rebooted my laptop and audio stopped working. Rebooted selecting the right kernel manually again and it works. I just need to figure out how to make it select the right kernel automatically.

andreaconsole commented 6 months ago

weird but ok. google is your friend :)

raizor154 commented 6 months ago

Done, now it boots with the patched kernel. I don't know what to say. I spent like the past 48hrs trying to get this fixed. Thank you for your help @andreaconsole and @codepayne! I'll keep you posted if there are any more issues.

zcroll commented 6 months ago

i have the same problem guys on my laptop im using fedora 40 with latest version of kernel any help

selmanparlak commented 6 months ago

This is the link to download it: https://drive.google.com/file/d/1MLIvEGaGxfPwmHyAz39JzVp_Vb9PFBiy/view?usp=sharing it is the 6.7.4. It is not the one I have installed, but a following upgrade that should be easier to use. Check #28 and #30 for more details.

Can I have access for a drive link. I am newbie too . I didn't understand very well but I want to try it .

andreaconsole commented 6 months ago

Link updated. Good luck!

selmanparlak commented 6 months ago

It worked. the sound comes now but the alsamixer setting resets on every restart. i googled it but i couldn't solve it. it worked on ubuntu but i couldn't do it on linux mint. thank you very much.

j24u commented 6 months ago

Hello @andreaconsole, can I also have access to the link.

andreaconsole commented 6 months ago

You'll find the file here: kernel 6.7.4

j24u commented 6 months ago

Thank you lots @andreaconsole

Uldarenciy commented 5 months ago

You'll find the file here: kernel 6.7.4

Could you please give link on these files after Google Drive, for example? File transfer needs a sub.

Uldarenciy commented 5 months ago

Screenshot from 2024-06-22 00-51-05

Uldarenciy commented 5 months ago

And also 1 question. Will ti work on Huawei Matebook d 14 amd ryzen 5500u with Everest sound card, Ubuntu 22.04. There are many negative comments even in Huawei official site about this situation. And in the first references in a browser there is no useful links about fixing dummy output error.

Uldarenciy commented 5 months ago

To find this page you need have enough patience)

andreaconsole commented 5 months ago

@Uldarenciy link updated

Uldarenciy commented 5 months ago

@Uldarenciy link updated

the same 9$ or both you have subscriptions?

andreaconsole commented 5 months ago

It's free. It is on my personal web space. Use the link in my comment

Uldarenciy commented 5 months ago

ok, thank you

Uldarenciy commented 5 months ago

need me make back up before installation?

Uldarenciy commented 5 months ago

@andreaconsole how to set up them?

Uldarenciy commented 5 months ago

not worked for me, set up kernel, chose it in grub

Uldarenciy commented 5 months ago

Thanks anyway

LeBlumen commented 5 months ago

Did you solve the problem? If not- have you tried openSuse Tumbleweed or EndeavourOS for example? Since 6.9.4, audio works perfectly because of the implementation of the patch to the main kernel.

Uldarenciy commented 5 months ago

it did not solve problem. you think so, then i will try these distros. You have the same laptop? @LeBlumen

Uldarenciy commented 5 months ago

here is only 6.8.7 image

UPD: no sound here

Uldarenciy commented 5 months ago

are there any differences between 6.8.7 and 6.9.4 in terms of sound?

LeBlumen commented 5 months ago

My model is HVY-WXX9 But the problem was that after 6.8.0 update I had sound only for few weeks- few updates later I had no sound again. When I install Ubuntu, I have no sound too. After I installed and updated EndeavourOS to 6.9.4 kernel, my sound came back. There was a topic on bugzilla related to this bug- there was something wrong with acp-pci.c file

Have you tried the newest kernels on both of these distros? You can update EndeavourOS to the newest kernel with "sudo pacman -Syu" command.

Uldarenciy commented 5 months ago

tried 6.9.3 (no more available stable versions) on ubuntu, still no sound, no sound card in alsamixer. I don't like EndeavourOS since past meeting it). Thanks anyway for your attention

LeBlumen commented 4 months ago

Well, for now I'd like to see if your problem appears on other distros too (meaning- newer kernels, >6.9.4). From my experience, I can tell you that I didn't have sound (and still don't have it) on Ubuntu. I don't know why. Even if the kernel is updated, no proper output appears in sound settings. I'm not sure if there could be any differences between the kernels from different distributions but I tested Arch-based distros and tumbleweed with the newest kernels (starting from 6.9.4 for since then a patch was uploaded to the mainline kernel) and my sound works. Officialy the first patch was added to 6.8.0 and it did work for few weeks but it stopped. EndeavourOS was just an example of rolling distros with the newest kernel. You can try different ones. Thing is that you should try something starting from 6.9.4. If it doesn't work, you should wait for codepayne to help.

Uldarenciy commented 4 months ago

@codepayne, yet released 6.9.9, still the same problem

Uldarenciy commented 4 months ago

Anybody knows, if this problem exists, can i connect my headphones (in settings -> sound nothing changes, still dummy output)?

zcroll commented 4 months ago

@Uldarenciy same problen the only thing you can do is use bluethoth and forget you have speakers hahaha

Uldarenciy commented 4 months ago

bluetooth works bad, usually you need reswitch bluetooth headphones several times

zcroll commented 4 months ago

@Uldarenciy use bluetooth manager and change the profie to Screenshot_16-Jul_17-23-55_blueman-manager it work fine with noise cancelation and reduction test out

Skiestrixx commented 1 month ago

@LeBlumen How is your audio doing on arch based distros? I tried fedora last summer but the audio doesn't work out of the box.

Edit: any distros you guys can recommend that the audio works out of the box I want to slowly get away from windows. Thanks

LeBlumen commented 1 month ago

@Skiestrixx Currently I have a new PC, so this problem is no longer my concern but the last distro I had was EndeavourOS. Audio used to work out of the box. I think it did also work on openSUSE Tumbleweed.