Bug 2257789 - ThinkBook 16p Gen4 low sound volume - cs35l41 not working properly
Summary: ThinkBook 16p Gen4 low sound volume - cs35l41 not working properly
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 39
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-01-11 01:24 UTC by Wenqi Huang
Modified: 2024-11-27 22:37 UTC (History)
16 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-11-27 22:37:36 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Wenqi Huang 2024-01-11 01:24:43 UTC
1. Please describe the problem:
ThinkBook 16p has very low volume on Fedora 39 with kernel 6.6.9-200.fc39.x86_64 (64-bit). Probably related to the amplifier cs35l41. 

``dmesg | grep CSC`` shows:
```[    6.163429] Serial bus multi instantiate pseudo device driver CSC3551:00: Instantiated 2 I2C devices.
[    6.338232] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.0: Failed property cirrus,dev-index: -22
[    6.338238] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.0: error -EINVAL: Platform not supported
[    6.338268] cs35l41-hda: probe of i2c-CSC3551:00-cs35l41-hda.0 failed with error -22
[    6.339753] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.1: Failed property cirrus,dev-index: -22
[    6.339760] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.1: error -EINVAL: Platform not supported
[    6.339795] cs35l41-hda: probe of i2c-CSC3551:00-cs35l41-hda.1 failed with error -22
```
My alsa-info: http://alsa-project.org/db/?f=c05588dd078fc7d26339d6a2228cfa30450fa5fe

I'm not familiar with kernel debugging, but I'm very glad to follow up providing more info and test patches :)


2. What is the Version-Release number of the kernel:
6.6.9-200.fc39.x86_64 (64-bit)

3. Did it work previously in Fedora? If so, what kernel version did the issue
   *first* appear?  Old kernels are available for download at
   https://koji.fedoraproject.org/koji/packageinfo?packageID=8 :
Tried 6.6.0 and 6.6.8, both have the same issue.

4. Can you reproduce this issue? If so, please provide the steps to reproduce
   the issue below:
1. Fresh-install fedora on ThinkBook 16p Gen4 IRH
2. Boot with the default kernel
3. Only the high-frequency speakers are working and the rest 4 speakers not working, which makes the sound volume very low.


5. Does this problem occur with the latest Rawhide kernel? To install the
   Rawhide kernel, run ``sudo dnf install fedora-repos-rawhide`` followed by
   ``sudo dnf update --enablerepo=rawhide kernel``:
Unfortunately I counldn't boot properly with rawhide kernel (stuck at splash screen)

6. Are you running any modules that not shipped with directly Fedora's kernel?:
No

7. Please attach the kernel logs. You can get the complete kernel log
   for a boot with ``journalctl --no-hostname -k > dmesg.txt``. If the
   issue occurred on a previous boot, use the journalctl ``-b`` flag.
https://gist.github.com/wenqihuang/d6b0058feaecde934cca536fc2caabb1#file-gistfile1-txt

Reproducible: Always

Comment 1 Wenqi Huang 2024-01-11 03:50:00 UTC
I've found some workaround here: https://gist.github.com/levihuayuzhang/6137ae4ae46301a355fd37c63e0d876a?permalink_comment_id=4825952#gistcomment-4825952
Just add a few lines in cs35l41_hda_property.c and patch_realtek.c. 
But the volume control is not working any more and the sound quality is still not as good as it on Windows.

Comment 2 Aoife Moloney 2024-11-13 10:26:45 UTC
This message is a reminder that Fedora Linux 39 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 39 on 2024-11-26.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '39'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 39 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 3 Aoife Moloney 2024-11-27 22:37:36 UTC
Fedora Linux 39 entered end-of-life (EOL) status on 2024-11-26.

Fedora Linux 39 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.