Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Speakers on Zenbook Oled S 13
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Yvanoff
n00b
n00b


Joined: 11 Jan 2016
Posts: 13

PostPosted: Thu Sep 07, 2023 9:29 am    Post subject: Speakers on Zenbook Oled S 13 Reply with quote

Hello all,

as you may know my main computer is a Zenbook Oled S 13 UM5302T 5Ryzen 7 6800U, 16GB LPDRR5-6400) - I had to ask for help here: https://forums.gentoo.org/viewtopic-t-1157644-highlight-zenbook.html because I had some issues bringing up the touchpad and touchscreen (everything is fine now though - thank you again pietinger !)

Now my new struggle is with the sound. I have no speaker output though the jack works fine (so for this reason it is not a critical issue but still annoying). At the beginning I accepted it because it seems nobody managed to get the audio to work on Linux on this laptop - something about the BIOS not exposing values necessary to configure the speakers.
However a BIOS update appears to have fixed it. And indeed nowadays if I boot a Ubuntu LiveCD on my laptop the speakers work. But I can't get them to work on Gentoo. I have enabled every audio option related to AMD SoCs and to the cirrus codecs (because this SoC is supposed to use the CS35L41 codec). To no avail.

Anyone with this laptop having a kernel config to share ? I'll link mine (as well as a dmesg, even if I couldn't really see anything relevant in it):
config: https://pastebin.com/807RRygC
dmesg: https://pastebin.com/CQT45hB0
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5233
Location: Bavaria

PostPosted: Thu Sep 07, 2023 10:14 am    Post subject: Reply with quote

Yvanoff,

I think you are missing only this one:
Code:
# CONFIG_SND_HDA_CODEC_HDMI is not set


If your output though the jack works fine then I dont think you will need this:
Code:
#CONFIG_SOUNDWIRE is not set

... BUT ...

If this does not help, then you are in a good position: You have a working Linux system == UbuntuLiveCD. Here you can ask which modules are loaded ("lsmod") and can compare it (completely; not only sound modules) with your non-working "lsmod". You can also compare both system-logs with "dmesg".
Back to top
View user's profile Send private message
Yvanoff
n00b
n00b


Joined: 11 Jan 2016
Posts: 13

PostPosted: Tue Oct 29, 2024 6:40 pm    Post subject: Reply with quote

I am probably bordering necromancy here, it's already been more than a year :oops:
But I did get the speakers to work not so long ago (and yes that means I went without speakers for 2 years after buying the laptop.... was not that much of a problem but still a minor annoyance)

As you suspected pietinger a module was loaded by Ubuntu to make the sound work and I had not enabled the kernel option in gentoo.... it was something i2c related, see here: https://wiki.gentoo.org/wiki/HP_Elitebook_845_G10#Speaker_no_sound

Thanks a lot for the help pietinger and whoever authored that article on the HP laptop !
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5233
Location: Bavaria

PostPosted: Tue Oct 29, 2024 8:19 pm    Post subject: Reply with quote

Yvanoff wrote:
Thanks a lot for the help pietinger and whoever authored that article on the HP laptop !

You are very Welcome! :D

Great you give me/us a feedback - I really appreciate that.

I guess you had also a missing CONFIG_SERIAL_MULTI_INSTANTIATE.

In 2024-05 we had this thread: https://forums.gentoo.org/viewtopic-p-8826751.html where @btalcox0715 found this missing option for his problem. I then immediately added it to my wiki article:

(https://wiki.gentoo.org/wiki/User:Pietinger/Experimental/Manual_Configuring_Current_Kernel#Serial_Bus_Multi_Instantiate
https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Manual_Configuring_Kernel_Version_6.6#Part_4_-_My_recommendations )

... and completely overlooked this thread ... :oops:
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
Yvanoff
n00b
n00b


Joined: 11 Jan 2016
Posts: 13

PostPosted: Thu Oct 31, 2024 8:33 pm    Post subject: Reply with quote

You guessed right, yes, it was that serial option I was missing.... It did show up in the lsmod of the ubuntu install, I checked afterwards, but darn bugger was not obvious to spot
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum