Skip to content
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

Legion 16irx8h Speaker Issue #1039

Open
MAkcanca opened this issue Jul 14, 2024 · 6 comments
Open

Legion 16irx8h Speaker Issue #1039

MAkcanca opened this issue Jul 14, 2024 · 6 comments

Comments

@MAkcanca
Copy link

MAkcanca commented Jul 14, 2024

Using the nixos-hardware/lenovo/legion/16irx8h with latest (6.9.8) linux kernel. Speaker seem to work for a few minutes after boot, then get disabled/shutdown. I could not find any related logs in journalctl -b.
I tried the default kernel 6.6 as well, same result. There is a firmware specified in https://forums.lenovo.com/t5/Ubuntu/Ubuntu-and-legion-pro-7-16IRX8H-audio-issues/m-p/5210709?page=22#6155866 firmware-TAS-2781... However this requires copying to /lib/firmware normally. I'm not very familiar with NixOS architecture just yet, any help is appreciated to make the 16irx8h work perfectly.

Another related discussion here clearlinux/distribution#2992

@MAkcanca
Copy link
Author

MAkcanca commented Aug 27, 2024

Running this script https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/6/8306.2pa_2D00_byps.sh as root via ./8306.2pa_2D00_byps.sh 13 works after enabling i2c via hardware.i2c.enable = true; on configuration.nix however sound feels a bit janky, almost like it does not enable bass speakers or not enough amps, and when there is no sound for a while, it turns off the speakers again so we have to run the command again.

@MAkcanca
Copy link
Author

Another related discussion including several hacks https://forums.lenovo.com/t5/Ubuntu/Ubuntu-and-legion-pro-7-16IRX8H-audio-issues/m-p/5210709?page=32

@felipelalli
Copy link
Contributor

felipelalli commented Sep 23, 2024

Same issue here with my Lenovo Legion Pro 7 16IRX9H. Maybe related: https://discourse.nixos.org/t/sound-speaker-problem-after-connect-bluetooth-device/52443 (no solution).

@nixos-discourse
Copy link

This issue has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/sound-speaker-problem-after-connect-bluetooth-device/52443/1

@felipelalli
Copy link
Contributor

felipelalli commented Nov 6, 2024

I found a (temporary?) solution at:

New Lenovo Legion 7 Pro (2023) no sound from speakers in Linux (Reddit)

It worked to me.

I added it to my configuration file:

{ config, lib, pkgs, modulesPath, ... }:

{

  boot.extraModprobeConfig = ''
    options snd-hda-intel model=auto
  '';

  boot.blacklistedKernelModules = [ "snd_soc_avs" ];
}

PR: #1227

felipelalli added a commit to noksys/nixos-hardware that referenced this issue Nov 6, 2024
@nixos-discourse
Copy link

This issue has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/sound-speaker-problem-after-connect-bluetooth-device/52443/2

Mic92 pushed a commit that referenced this issue Nov 6, 2024
mergify bot pushed a commit that referenced this issue Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants