-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No Sound on Lenovo Yoga Tablet 2-851F (Intel bay-trail) with WM510205 - ArchLinux Kernel 6.2.13 #4420
Comments
I only have a vague memory that @jwrdegoede and I fork-lifted the Android code and adapted it for upstream. This was 2 years ago, I have zero bandwidth to revisit this, sorry. |
Those repeated messages means that the driver asking for those regulators keep trying to bind to the device only to fail later on with -EPROBE_DEFER which leads to the binding being repeated later. As @plbossart mentioned I did add support for sound on the Yoga Tablet 2-851F / Tablet 2-1051L a while ago, so this should work and I think that the problem is that the arch kernel simply does not have one of the required modules enabled in its kernel configuration. The following options all need to be enabled:
I just checked on my own Yoga Tablet 2-851F with Fedora installed with kernel 6.3.0-rc7 and sound does work there. Here is the lsmod under Fedora:
You can use this to see if you are missing any kernel modules. Note some modules may be built-in in Arch while they are a module in Fedora or the other way around. |
You can also write Fedora workstation x86_64 live to a USB, boot from that and check that sound does work there. |
Thank you, I have no experience with that, but I will try it. Is that arch wiki entry a good start? https://wiki.archlinux.org/title/Kernel_module I don't know if the fedora image will boot right away because of that quirk of the bay-trail architecture (32 bit EFI bootloader, 64 bit architecture). Most 64-bit linux images won't have the necessary 32-bit bootloader. I only got that manjaro image to boot by putting it through a script from the linuxium project, that script was only designed for ubuntu derivates and some others but it still worked with manjaro by excluding the compatibility check with an option. Before that I tried to follow a guide which asked to install any 32-bit linux distribution first and then adding the 64-bit manjaro image as a new menu entry to boot it from there. But it seems that my particular tablet won't see the USB media when I try this. |
That seems to mostly be about building out of tree kernel modules. The problem here is about some kernel modules which are in tree (part of the standard kernel) not being enabled. Please ask for help with this on the Arch forums.
Fedora 64 bit livecds include 32 bit EFI shim and grub binaries so they should boot without issues on x86_64 machines with a 32 bit UEFI. |
I just tried it, getting Dummy Output there as well. Out of curiosity I tried to install the "sof-firmware" package, but the terminal ran out of memory without installing it (or showing me if it is already installed). And currently my arch installation is bricked, I ran a "pacman -Syu" command and rebooted, Now, I get the emergency shell where I can't use my keyboard, the main error message says
I tried to fix it but no luck. My
(which I tried when I booted an Arch installation medium, mounted my filesystems and arch-chrooted into my root partition - as it was suggested to make the system boot again) gives maybe another clue ... about my issue with the WM510205, since one line reads:
Which I didn't do, because I just discovered that line in the photo I've taken, after I had turned the tablet off already (since I was curious if my non-booting issue had been solved). Edit Jun-16-23: I've got ArchLinux running again now, I mounted my partitions in the wrong order (first the boot, then the root partition, it has to be the other way around), that's why my repair attempt wasn't successful. I saved the output of "journalctl -b" to a text file which I will analyze later. The output seems to be infiniely long tho, since those messages
also appear there again and again. |
I compared your @jwrdegoede lsmod with mine and put 31 modules my lsmod was missing into
I rebooted and most of them showed up, but
didn't show up. I also have some modules loaded which aren't in your lsmod. Maybe I have to unload / blacklist some if they're conflicting, but I want to get all modules loaded first, maybe it will work then already. I asked on ArchLinux forums how to edit the kernel configuration to enable the options you listed above. |
Sorry for triple-post, but it works now. I had to additionally load gpio-crystalcove as told here: https://bbs.archlinux.org/viewtopic.php?pid=2105645#p2105645 |
Quadruple-post, sorry for that, but I spoke too soon since I'm only able to get sound from the speakers (the headphone jack doesn't work). Here's the strange behavior I observed: I plugged in a headset first (with a 4-pole plug). PulseAudio ignores that headphones are present (keeps speakers active, headphones can be chosen manually but that output has "unplugged" written behind it, changing to that gives me no sound). Some faint, weird noises come from the headphones as well. But the internal microphone from the headset is recognized, PulseAudio automatically switches to that input. I still can manually revert back to the internal mic, and the input also changes the wording "plugged in" and "unplugged" corresponding to my physical actions. I plugged a 3-pole-plug in just now, it isn't recognized as well. I had the slight hope that microphone detection might claim the full awareness, rendering the "rest" unseen ... Do you have a quick clue why that is, and what I can do, @jwrdegoede ? I got into a bit more detail about what I already tried on ArchLinux forums: |
Sorry for being very slow with replying to this (I've been buried in other work). Lets continue this in #4491 . |
I'm referring to #2485
Running Linux, I never got sound working on this tablet, I tried with Lubuntu in late 2020 and mid 2021, then I didn't try it for a while.
Since April I tried to install ArchLinux after I found the above mentioned issue. Not that easy since I had no prior experience with it, but after multiple attempts it finally worked and I got a boot-able installation.
One thing I observed is that the tablet won't turn off or restart right away when I tell it to. It occurs on ArchLinux live installation media, my installed ArchLinux and the live media of Manjaro (which I tried to install in between after I had no luck with Arch, but their graphical installer is too bloated for that little tablet).
[ 1027.211215] arizona spi-WM510205:00: supply DBVDD1 not found, using dummy regulator
[ 1027.216215] arizona spi-WM510205:00: supply AVDD not found, using dummy regulator
Those two messages repeat each other indefinitely after all the system processes have been terminated, the numbers in front of them are increasing with each repeat. I have to hold down the power button for several seconds to turn the tablet off.
I have the feeling that I can't get sound to work if these messages are there.
I installed from the archlinux-2023.05.03-x86_64.iso which contains the Kernel version 6.2.13. I installed all recommended packages I read about in similar threads (where a sole dummy output was the issue) as well as the lxqt desktop and some other things like sudo.
I asked about my problem on the ArchLinux forums as well, but I think that here there more likely will be someone who could help me.
https://bbs.archlinux.org/viewtopic.php?id=286271
The text was updated successfully, but these errors were encountered: