Welcome to samsung-galaxy-book4-linux-fixes Discussions! #4
Replies: 3 comments 5 replies
-
|
Hi! First of all, thanks for the project. I got the speaker fix working fine, but after using it for a bit I wanted a more practical way to manage it depending on whether I actually needed the internal speakers or not. The main reason was battery life. I wanted a way to save that extra battery usage from the workaround without having to fully uninstall and reinstall the fix every time, so I ended up making 3 small helper scripts for my setup: They just manage the same pieces your fix already sets up: the MAX98390 modules, the So the idea is basically to keep the fix installed, turn it on when I want laptop speakers, turn it off when I don’t need them. On my machine it’s working well so far. I only tested this on a Samsung Galaxy Book4 Pro running Fedora, so I’m not saying this is universal or ready to be merged as-is, but I thought it might still be useful to share in case someone else wants the same behavior. If there’s interest, I can post the scripts here or clean them up a bit and open a small PR for docs. |
Beta Was this translation helpful? Give feedback.
-
|
Hey @MatiDegli — thanks for sharing this, and glad the speaker fix is working for you! Good news: the current version of the driver actually handles this automatically. The amps are powered down when nothing is playing and only enabled during active audio playback, via the HDA playback hook in the driver:
When the MAX98390 amps are in this disabled state, they draw ~10μA per chip — effectively zero battery impact. So having the fix installed and "on" but not actively playing audio shouldn't cost you any meaningful battery life compared to having the modules unloaded entirely. That said, your scripts are a clean approach if you want an explicit on/off toggle for peace of mind, or if you're using an external speaker/headphones and want to guarantee the modules aren't loaded at all. Note: The README previously had outdated info saying the amps consumed 0.3–0.5W when idle — that was from an older version of the driver before playback hooks were implemented. Just updated it to reflect the current behavior. |
Beta Was this translation helpful? Give feedback.
-
|
Wow, I think the community has mastered all hardware related functions to work perfectly. I'm using F44 on my 4 pro and all functions are working normal. It's just like windows. Thank you guys all! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
👋 Welcome!
We’re using Discussions as a place to connect with other members of our community. We hope that you:
build together 💪.
To get started, comment below with an introduction of yourself and tell us about what you do with this community.
Beta Was this translation helpful? Give feedback.
All reactions