Bug 213159
Summary: | No sound from speakers using Realtek ALC3306 | ||
---|---|---|---|
Product: | Drivers | Reporter: | Vincent Morel (dantahoua) |
Component: | Sound(ALSA) | Assignee: | Jaroslav Kysela (perex) |
Status: | NEW --- | ||
Severity: | normal | CC: | caleb.i.m.vincent, hujq, kernel, kernel_org.20.elbenfreund, Michael.Kellen, mysubstmp, niclas, pablitar, pkx616, vince.tavernier, waterproof93 |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 5.11.5 | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
Vincent Morel
2021-05-20 13:43:53 UTC
Have you tried the pinning? It looks like that is the way to go... Not OP here, I have the same issue on the same laptop. I tried to do the pinning. Installed the topology from here : git clone -b stable-v1.6 https://github.com/thesofproject/sof-bin.git and executed those four commands: sudo hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DIR 0x01 sudo hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_MASK 0x01 sudo hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DATA 0x01 sudo hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DATA 0x00 Still no sound. I do have a device named: /dev/snd/hwC0D0 I'm using latest Manjaro Gnome (easier to switch kernel if required) (In reply to waterproof93 from comment #2) > Not OP here, I have the same issue on the same laptop. > > I tried to do the pinning. > Installed the topology from here : > git clone -b stable-v1.6 https://github.com/thesofproject/sof-bin.git > > and executed those four commands: > > sudo hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DIR 0x01 > sudo hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_MASK 0x01 > sudo hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DATA 0x01 > sudo hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DATA 0x00 > > Still no sound. > > I do have a device named: /dev/snd/hwC0D0 > I'm using latest Manjaro Gnome (easier to switch kernel if required) Also tried that as you did with no luck... At the same time do we enter the address value (0x01)? Good idea to have a distro with easy kernel change, will do the same on another partition with garuda. If only we could have some information from Realtek or if we could analyse the windows driver... :/ I have also tried setting the pins but it did not work. Here is my alsa-info (http://alsa-project.org/db/?f=99bdfb38a179a377b2a9d0b6a767d3fc2a83fea9) Hello! Same issue here. Would it be of any use to contact Realtek requesting a datasheet or something like that? I actually don't really know what is needed and don't know if they'll likely respond, but they do have contact email for technical support: pctech@realtek.com (In reply to Pablitar from comment #5) > Hello! > > Same issue here. > > Would it be of any use to contact Realtek requesting a datasheet or > something like that? > > I actually don't really know what is needed and don't know if they'll likely > respond, but they do have contact email for technical support: > pctech@realtek.com Yes, exactly what I was thinking, I tried almost everything and now there is nothing more I can do. Lenovo do not care in my case, Alsa seems to be dead... I have no more idea. So contacting them seems the only solution. I cannot beleive this problem will not arise in a greater level, there will be more and more Laptop using ALC3306 (but still not so much people using Linux... ). I read on another thread (for an ideapad I think) that soft rebooting from windows when dual booting makes the speaker start working. I tried this approach but not only was the speaker not working but also the earphones weren't working. However, there was an acute sound coming off the earphones. This happened with sof-firmware and with intel hdi. I found that interesting so I'm posting this here in case someone makes sense of that. Do we know if someone have tried to contact the manufacturer? (In reply to Niclas from comment #8) > Do we know if someone have tried to contact the manufacturer? I do not know. I openened a bug report on Alsa github, would be great if other people add there case to this bu report... https://github.com/alsa-project/alsa-lib/issues/139 This looks very promising https://github.com/ryanprescott/realtek-verb-tools/wiki/How-to-sniff-verbs-from-a-Windows-sound-driver . Not sure when, but I will try this as soon as I can. I've got this from a post (https://bugzilla.kernel.org/show_bug.cgi?id=208555#c204) in the ALC297 thread. The sound is working for me (not sure if it is in both speakers)! I am running Ubuntu 20.04 Legion 7i 15IMH05 kernel 5.8.0-55. Follow the instructions here: https://bugzilla.kernel.org/show_bug.cgi?id=208555#c208 After spending some time and getting help from Cameron on this thread https://bugzilla.kernel.org/show_bug.cgi?id=208555 I manage to get the good Verbs for the Lenovo 13s gen2 ITL and now it's working. :) I'll trime down the verb as soon as I have a little more time. Check the other thread to get the kernel patch and the verb file. (In reply to Vincent Morel from comment #12) > After spending some time and getting help from Cameron on this thread > https://bugzilla.kernel.org/show_bug.cgi?id=208555 > I manage to get the good Verbs for the Lenovo 13s gen2 ITL and now it's > working. :) > I'll trime down the verb as soon as I have a little more time. Check the > other thread to get the kernel patch and the verb file. Any luck with this one? Looks like I'm also affected. I have a Legion 7 16ACHg6 which I'm testing under Ubuntu 20.04.3 LTS LiveUSB, and the biggest issue so far is that there is no sound out of the built-in speakers. Headphones are working fine though. 05:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) HD Audio Controller |