apport information

** Tags added: apport-collected resolute wayland-session

** Description changed:

  His is the hardware:
  
  Laptop: Lenovo Legion 7 16IAX7
  Audio codec: Realtek ALC287
  Codec subsystem ID: 0x17aa3874
  Smart amp ACPI HID: CSC3551 / CS35L41
  
  Known Working/Related Quirk:
  
  Nearby supported Lenovo board appears to be 17AA386F.
  Using snd-hda-intel model alias makes Realtek pick that quirk:
  `options snd-hda-intel model=17aa:386f`. 
  
  Installed Mint / Ubuntu OEM Kernel
  
  ```
  Kernel: 6.17.0-1025-oem
  
  /proc/asound/card0/codec#0:
  Codec: Realtek ALC287
  Subsystem Id: 0x17aa3874
  ```
  
  I tried setting the realtek alias like this:
  After setting /etc/modprobe.d/legion-audio.conf to:
  options snd-hda-intel model=17aa:386f
  
  dmesg shows:
  snd_hda_codec_alc269 hdaudioC0D0: ALC287: picked fixup for alias SSID 
17aa:386f
  
  But CS35L41 Amp Still Fails:
  
  dmesg:
  cs35l41-hda i2c-CSC3551:00-cs35l41-hda.0: Failed property cirrus,dev-index: 
-22
  cs35l41-hda i2c-CSC3551:00-cs35l41-hda.0: error -EINVAL: Platform not 
supported
  cs35l41-hda i2c-CSC3551:00-cs35l41-hda.0: probe with driver cs35l41-hda 
failed with error -22
  cs35l41-hda i2c-CSC3551:00-cs35l41-hda.1: Failed property cirrus,dev-index: 
-22
  cs35l41-hda i2c-CSC3551:00-cs35l41-hda.1: error -EINVAL: Platform not 
supported
  cs35l41-hda i2c-CSC3551:00-cs35l41-hda.1: probe with driver cs35l41-hda 
failed with error -22
  
  
  I tried to find anything related to DSDs for CS35L41 and couldn't find 
anything.
  
  Command:
  `sudo dmesg | grep -i 'Adding DSD'`
  
  Result:
  `No output`
  
  I also tried this with a bunch of other distros (albeit on live USB
  sticks).
  
  Linux Mint installed system:
  - Kernel: 6.17.0-1025-oem
  - Built-in speakers fail
  - Same CS35L41 errors
  
  Linux Mint live USB:
  - Kernel: 6.14.0-037-generic
  - Built-in speakers fail
  - Same CS35L41 errors
  
  Ubuntu live USB:
  - Built-in speakers fail
  - Same CS35L41 errors
  
  Fedora live USB:
  - Kernel: 6.19.10-300.fc44.x86_64
  - Built-in speakers fail
  - Same CS35L41 errors
  
  I tried with Bluetooth audio and headphones and they work, so userspace audio 
routing/codecs are functional.
  I am constantly seeing the amp probe fail with missing 
cirrus,dev-index/platform data.
  
  The real board SSID is 17AA3874, while a nearby Legion board 17AA386F
  appears to have existing support.
  
  Last but not the least, i was searching for this online and i could see
  this:
  
  
https://codebrowser.dev/linux/linux/sound/hda/codecs/realtek/alc269.c.html#7242
  (this is probably why the realek alias was picked up.
  
  It may also need a Realtek ALC287 quirk entry 
  SND_PCI_QUIRK(0x17aa, 0x3874, "Legion 7 16IAX7", ALC287_FIXUP_CS35L41_I2C_2)
  
  and in 
  
https://codebrowser.dev/linux/linux/sound/hda/codecs/side-codecs/cs35l41_hda_property.c.html#125
 (adjacent to this i think?)
  
  Please bear with me as this is my first bug report and I am happy to
  provide any other information as well.
  
- I have also created a bug ticket in the kernel.org bugzilla:
- https://bugzilla.kernel.org/show_bug.cgi?id=221663
+ I have also created a bug ticket in the kernel.org bugzilla: 
https://bugzilla.kernel.org/show_bug.cgi?id=221663
+ --- 
+ ProblemType: Bug
+ ApportVersion: 2.34.0-0ubuntu2
+ Architecture: amd64
+ AudioDevicesInUse:
+  USER        PID ACCESS COMMAND
+  /dev/snd/controlC1:  kamlesh    2856 F.... wireplumber
+  /dev/snd/controlC0:  kamlesh    2856 F.... wireplumber
+  /dev/snd/seq:        kamlesh    2835 F.... pipewire
+ CasperMD5CheckResult: pass
+ CurrentDesktop: ubuntu:GNOME
+ DistroRelease: Ubuntu 26.04
+ InstallationDate: Installed on 2026-06-16 (1 days ago)
+ InstallationMedia: Ubuntu 26.04 "Resolute Raccoon" - Release amd64 
(20260423.1)
+ MachineType: LENOVO 82TD
+ Package: alsa-driver (not installed)
+ ProcEnviron:
+  LANG=en_US.UTF-8
+  PATH=(custom, no user)
+  SHELL=/bin/bash
+  TERM=xterm-256color
+  XDG_RUNTIME_DIR=<set>
+ ProcVersionSignature: Ubuntu 7.0.0-22.22-generic 7.0.0
+ Tags: resolute wayland-session
+ Uname: Linux 7.0.0-22-generic x86_64
+ UpgradeStatus: No upgrade log present (probably fresh install)
+ UserGroups: adm cdrom dip lpadmin lxd plugdev sudo users
+ _MarkForUpload: True
+ dmi.bios.date: 07/10/2024
+ dmi.bios.release: 1.48
+ dmi.bios.vendor: LENOVO
+ dmi.bios.version: K1CN48WW
+ dmi.board.asset.tag: NO Asset Tag
+ dmi.board.name: LNVNB161216
+ dmi.board.vendor: LENOVO
+ dmi.board.version: SDK0T76461 WIN
+ dmi.chassis.asset.tag: NO Asset Tag
+ dmi.chassis.type: 10
+ dmi.chassis.vendor: LENOVO
+ dmi.chassis.version: Legion 7 16IAX7
+ dmi.ec.firmware.release: 1.36
+ dmi.modalias: 
dmi:bvnLENOVO:bvrK1CN48WW:bd07/10/2024:br1.48:efr1.36:svnLENOVO:pn82TD:pvrLegion716IAX7:rvnLENOVO:rnLNVNB161216:rvrSDK0T76461WIN:cvnLENOVO:ct10:cvrLegion716IAX7:skuLENOVO_MT_82TD_BU_idea_FM_Legion716IAX7:pfaLegion716IAX7:
+ dmi.product.family: Legion 7 16IAX7
+ dmi.product.name: 82TD
+ dmi.product.sku: LENOVO_MT_82TD_BU_idea_FM_Legion 7 16IAX7
+ dmi.product.version: Legion 7 16IAX7
+ dmi.sys.vendor: LENOVO

** Attachment added: "AlsaInfo.txt"
   
https://bugs.launchpad.net/bugs/2157060/+attachment/5977947/+files/AlsaInfo.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2157060

Title:
  Lenovo Legion 7 16IAX7 17AA3874: CS35L41 amps fail with missing
  cirrus,dev-index

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/2157060/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to