Skip to content

Conversation

i-am-logger
Copy link
Contributor

@i-am-logger i-am-logger commented Oct 2, 2025

Summary

Adds complete hardware configuration for Lenovo Legion Pro 7 16IRX8H, enabling audio that was previously non-functional.

Changes

Audio Configuration:

  • Add Realtek ALC287 + TAS2781 I2C codec support with proper kernel parameters
  • Set snd_hda_intel.model=legion-y7000 for correct speaker routing
  • Enable snd_soc_tas2781.reset_calib=1 to handle corrupted factory calibration (known Legion issue)
  • Configure modprobe options for Legion-specific audio model

Bluetooth:

  • Enable Bluetooth LE Audio support via BlueZ experimental features
  • Set powerOnBoot = false to save battery
  • Configure dual mode and fast connectable for optimal performance

Thermal Management:

  • Enable thermald for active cooling management
  • Add ACPI workarounds for Legion BIOS issues (acpi.debug_layer, processor.ignore_ppc)
  • Add tsc=reliable to fix TSC ADJUST firmware bugs

Other:

  • Add audio group permissions
  • Enable redistributable firmware for audio codecs

Testing

Tested on Legion Pro 7 16IRX8H (Raptor Lake):

  • ✅ Audio working (internal speakers, headphones)
  • ✅ TAS2781 codec binds correctly
  • ✅ Bluetooth functional with LE Audio
  • ✅ Thermal zones reporting correctly (12 zones active)
  • ✅ No boot errors or warnings

Notes

The snd_hda_intel.model=legion-y7000 parameter is temporary until proper kernel quirks are upstreamed to the ALSA HDA driver.

@i-am-logger i-am-logger marked this pull request as draft October 3, 2025 01:25
@i-am-logger
Copy link
Contributor Author

i got the speakers working but doing some more fixes so will improve this PR in the coming days

@i-am-logger i-am-logger force-pushed the lenovo-legion-16irx8h-audio-fix branch from df55ad1 to 161f691 Compare October 3, 2025 04:55
@i-am-logger i-am-logger changed the title lenovo/legion/16irx8h: fix audio for Realtek ALC287 codec lenovo/legion/16irx8h: fix audio and clean up kernel parameters Oct 3, 2025
@i-am-logger i-am-logger marked this pull request as ready for review October 3, 2025 04:56
@i-am-logger i-am-logger force-pushed the lenovo-legion-16irx8h-audio-fix branch from 161f691 to 4972097 Compare October 3, 2025 05:04
@i-am-logger i-am-logger changed the title lenovo/legion/16irx8h: fix audio and clean up kernel parameters lenovo/legion/16irx8h: add comprehensive audio and hardware support Oct 3, 2025
@i-am-logger i-am-logger force-pushed the lenovo-legion-16irx8h-audio-fix branch from 4972097 to a1afc79 Compare October 3, 2025 05:07
@i-am-logger
Copy link
Contributor Author

PR is ready

@i-am-logger i-am-logger force-pushed the lenovo-legion-16irx8h-audio-fix branch from a1afc79 to ed56a01 Compare October 4, 2025 20:08
@i-am-logger
Copy link
Contributor Author

wierd, sound just stopped working, putting back to draft

@i-am-logger i-am-logger marked this pull request as draft October 4, 2025 20:12
Add full hardware configuration for Legion Pro 7 16IRX8H including:
- Realtek ALC287 + TAS2781 audio with proper kernel params
- Bluetooth LE Audio support via BlueZ settings
- Thermal management (thermald + ACPI fixes)
- Audio group permissions

Fixes audio issues where speakers wouldn't work due to missing
TAS2781 calibration reset and incorrect HDA model detection.
@i-am-logger i-am-logger force-pushed the lenovo-legion-16irx8h-audio-fix branch from ed56a01 to 4771157 Compare October 4, 2025 21:57
@i-am-logger i-am-logger marked this pull request as ready for review October 4, 2025 22:23
@i-am-logger
Copy link
Contributor Author

had a few restarts and seems stable now

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

Successfully merging this pull request may close these issues.

1 participant