-
Notifications
You must be signed in to change notification settings - Fork 222
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
Tiny sound on ASUS Zenbook UM5606 out of the box #467
Comments
While you play something (assuming working 4.0 config workaround), how the mixer controls EDIT: Please, also grab and upload alsa-info output when the playback is active. |
Hi @IShashkin, |
Hello @simontrimmer
|
Hi @IShashkin , |
@simontrimmer : Could you explain, how the volume should be controlled in this case for tweeters/bass speakers at the ALSA control API level? The 4ch workaround seems really wrong. The multichannel setup uses HDA DAC node 0x03 (with volume control) and 0x06 (without volume control). There are 4 mono @IShashkin : Could you stop pipewire ( |
@perexg |
@IShashkin : |
@perexg No luck. I don't hear the bass speakers |
I have the same issue here with Fedora 41. |
For reference, the latest version from the original comment is 1.2.13, and the previous version for which there is a functioning workaround is 1.2.12. On 1.2.12, "AMP2 Speaker" adjusts the level of the right woofer, and "AMP3 speaker" controls the left woofer. Edit: and muting "Bass Speaker" completely mutes audio. |
Analysis from the alsa-info output:
So the driver does not do a right job. @IShashkin: Could you run command Referred info from procfs (part of alsa-info.sh output):
|
I tested it, and the sound seems ok: the bass speakers are playing the music. Beside I could mute the bass speakers in alsamixer. Thank you! Is there a config file we could use to have this with pipewire? |
The driver should set this by default. You may try kernel patch like |
Simple instructions to test this on almost any distributions (Debian/Ubuntu/Fedora...) using the TKG Kernel:
Our CPU is architecture "zen5", choose kernel 6.12. I tested just a few minutes on Fedora 41and it is definitely an improvement. I'll do further tests comparing with Windows. I also had to push everything to the max in alsamixer to get a better balance. Thank you!! |
@Chevek : Could you share output from Also, the goal is that |
alsa-info2.txt |
Looks fine. |
Hiya @perexg,
I agree with you though I'm not in a great position to comment on it as I've not experimented with a system that has the tweeters on the realtek codec and the woofers connected to cs35l56s. The files being loaded into the amplifiers contain the tuning specific to that speaker location and that includes which channel they are picking out of a multichannel audio stream as well as the config of the algorithms on the amp's DSP and each amp exposes a volume control that you've found. I have seen systems that have the cs35l56 amplifiers snuck behind a cs42l43 (ucm2/sof-soundwire/cs35l56-bridge.conf), in these cases the stereo audio is sent over soundwire to the codec to the amplifiers which then split out a stream for the tweeters and send that back to the codec to be outputted. So the relative volumes in this case are part of the sku specific amplifier tuning and the codec is set to a fixed volume and the overall volume is controlled by the renderer/APO (?) I'm assuming that in this SKU the audio splitting is happening in the realtek part? |
'Speaker' control the whole volume. for all speakers. Comparing to windows, the sound is a bit louder on Linux, but it sound better on Windows because on linux some time the volume get higher during a song when medium/treble are in front given the impression the music is not regular. Even at the max volume, either on windows or on Linux there is no saturation. Thank you !! |
@perexg As far as I know, there is 6 speakers in total, is it possible to get control on each of them? |
I confirm, it works. Have you sent it to kml? |
This hardware has ALC294 codec with speaker NID 0x17 and bass speaker NID 0x15. This patch removes DAC NID 0x06 (without volume control) from the connection list for bass speaker NID 0x15. Both speaker PINs are routed to DAC NID 0x03 with this change. Link: alsa-project/alsa-ucm-conf#467 Signed-off-by: Jaroslav Kysela <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
Will be including this into my kernel patchset very soon! Edit: Tested, works, and added! |
Another UM5606 user here - confirmed the patch works (Fedora 41). Thank you! |
These activate different configurations with the tunings to be able to handle device rotation (so the speakers rotate around to match the orientation). I can't say I've seen a production tuning that contains these yet and there would have to be some user-space component that would respond to the (accelerometer?) event and switch the screen and audio rotations. Not sure if the UCM does that yet? |
ASUS Zenbook UM5606 doesn't use subwoofers out of the box. So sound is tiny on the laptop. There is a workaround described here https://wiki.archlinux.org/title/ASUS_Zenbook_UM5606#Audio but it's broken in the last alsa release.
alsa-info.sh --no-upload
alsa-info.txt.zip
Let me know if you need more info.
The text was updated successfully, but these errors were encountered: