codepayne / linux-sound-huawei

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

Model BOM-WXX9 - help a newbie out #38

Open raizor154 opened 1 month ago

raizor154 commented 1 month 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 1 month 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 1 month 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 1 month 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 1 month 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 1 month 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 1 month 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 1 month 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 1 month 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 1 month ago

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

raizor154 commented 1 month 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 1 month ago

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

raizor154 commented 1 month 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 1 month ago

weird but ok. google is your friend :)

raizor154 commented 1 month 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 1 month ago

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

selmanparlak commented 1 month 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 1 month ago

Link updated. Good luck!

selmanparlak commented 1 month 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 1 month ago

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

andreaconsole commented 1 month ago

You'll find the file here: kernel 6.7.4

j24u commented 1 month ago

Thank you lots @andreaconsole

Uldarenciy commented 2 weeks 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 2 weeks ago

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

Uldarenciy commented 2 weeks 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 2 weeks ago

To find this page you need have enough patience)

andreaconsole commented 2 weeks ago

@Uldarenciy link updated

Uldarenciy commented 2 weeks ago

@Uldarenciy link updated

the same 9$ or both you have subscriptions?

andreaconsole commented 2 weeks ago

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

Uldarenciy commented 2 weeks ago

ok, thank you

Uldarenciy commented 2 weeks ago

need me make back up before installation?

Uldarenciy commented 2 weeks ago

@andreaconsole how to set up them?

Uldarenciy commented 2 weeks ago

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

Uldarenciy commented 2 weeks ago

Thanks anyway

LeBlumen commented 1 week 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 1 week ago

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

Uldarenciy commented 1 week ago

here is only 6.8.7 image

UPD: no sound here

Uldarenciy commented 1 week ago

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

LeBlumen commented 1 week 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 6 days 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 6 days 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.