-
Notifications
You must be signed in to change notification settings - Fork 2
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
Patch not working on Lenovo Yoga 7 Gen 7 AMD (14ARB7) #8
Comments
My würgaround... /root/bass-speaker-on.sh /etc/systemd/system/customboot.service /etc/tlp.conf |
Wow, it works 🤯 Many thanks 😄 Here's a script, for anybody who wanted to just copy/paste. It assumes that tlp is installed and enabled. # to run as root
apt install -y i2c-tools
cat > /etc/tlp.d/99_fix_yoga_speakers.conf << 'CONF'
SOUND_POWER_SAVE_ON_AC=0
SOUND_POWER_SAVE_ON_BAT=0
SOUND_POWER_SAVE_CONTROLLER=N
CONF
systemctl restart tlp
cat > /root/bass-speaker-on.sh << 'SH'
#!/usr/bin/env bash
/usr/sbin/i2cset -y 3 0x48 0x2 0
SH
chmod 755 /root/bass-speaker-on.sh
cat > /etc/systemd/system/customboot.service << 'UNIT'
[Unit]
Description=Custom Bootup Script
After=tlp.service
[Service]
ExecStart=/root/bass-speaker-on.sh
[Install]
WantedBy=default.target
UNIT
systemctl daemon-reload
systemctl enable --now customboot |
Do you still run it with the |
I've just run it successfully, and I think this workaround works in isolation; I don't think I've previously applied other related changes - I've rolled back the I was, rather, surprised that |
This workaround needs a refinement - the cat > /lib/systemd/system-sleep/fix_yoga_speakers << 'SH'
#!/bin/bash
if [[ $1 == "post" ]]; then
/root/bass-speaker-on.sh
fi
SH
chmod +x /lib/systemd/system-sleep/fix_yoga_speakers |
So, I didn't set any modprobes. Still important! /root/bass-speaker-on.sh |
disable sound-powermanagement without tlp.service /etc/modprobe.d/alsa-base.conf |
This works; note that the |
disable sound-powermanagement sudo su /etc/systemd/system/yoga7-bass-speaker-on.service /etc/modprobe.d/alsa-base.conf systemctl daemon-reload |
The mentioned https://github.com/tomsom/yoga-linux/ repo is probably a better place to discuss problems relating to AMD Yogas. Closing this as I'm not able to fix for a device I don't own. |
Current audio issues with the 14ARB7 is tracked in this issue for ease of access: tomsom/yoga-linux#3 |
I'm opening this issue just for reference (in case somebody with the same device is looking for a solution).
I've tried to force the bass speaker fix on my device (Yoga 7 Gen 7 AMD (14ARB7)), but it didn't yield any effect:
This has been tested on a v6.0-rc7 kernel, without any patch (actually, I've applied the mic fix, which I think should not be in conflict), since I've seen that the patches in this repository have been upstreamed.
The text was updated successfully, but these errors were encountered: