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

Can't get it to work even after all succeeding. #11

Open
rcardoso20 opened this issue Aug 9, 2023 · 1 comment
Open

Can't get it to work even after all succeeding. #11

rcardoso20 opened this issue Aug 9, 2023 · 1 comment

Comments

@rcardoso20
Copy link

Hello,

My laptop is a HP Envy 15-ew0xxx.
I'm on Ubuntu 22.04 with the Kernel 6.4.6 (6.4.6-060406-generic).

I've done all the steps, had some problems:

  • With the KERNEL_VERSION since it couldn't find the "linux-image..." on dpkg (it's under "linux-image-unsigned..."), so I just declared the variable as "6.4.6-060406-generic".
  • Had to change dkms-patchmodule.sh to kernel-module_patch.sh in 2 places on the file dkms-module_create.sh.
  • Changed the patch line numbers to match the ones on the original file on the kernel version I mention above. (This change was not required I think).

So, this is what I've got at the moment:

dkms status
snd-hda-codec-realtek/0.1, 6.4.6-060406-generic, x86_64: installed
snd-hda-scodec-cs35l41/0.1, 6.4.6-060406-generic, x86_64: installed
sudo dmesg | grep cs35l41-hda
[    3.599673] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.0: Cirrus Logic CS35L41 (35a40), Revision: B2
[    3.600313] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.1: Reset line busy, assuming shared reset
[    3.661162] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.1: Cirrus Logic CS35L41 (35a40), Revision: B2
[    4.945533] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.0: Falling back to default firmware.
[    4.946539] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.0: DSP1: Firmware version: 3
[    4.946552] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.0: DSP1: cirrus/cs35l41-dsp1-spk-prot.wmfw: Fri 24 Jun 2022 14:55:56 GMT Daylight Time
[    5.804510] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.0: DSP1: Firmware: 400a4 vendor: 0x2 v0.58.0, 2 algorithms
[    5.806617] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.0: DSP1: 0: ID cd v29.78.0 XM@94 YM@e
[    5.806623] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.0: DSP1: 1: ID f20b v0.1.0 XM@17c YM@0
[    5.806627] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.0: DSP1: spk-prot: e:\workspace\workspace\tibranch_release_playback_6.76_2\ormis\staging\default_tunings\internal\CS35L53\Fixed_Attenuation_Mono_48000_29.78.0\full\Fixed_Attenuation_Mono_48000_29.78.0_full.bin
[    5.854701] snd_hda_codec_realtek ehdaudio0D0: bound i2c-CSC3551:00-cs35l41-hda.0 (ops cs35l41_hda_comp_ops [snd_hda_scodec_cs35l41])
[    5.855096] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.1: Falling back to default firmware.
[    5.855231] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.1: DSP1: Firmware version: 3
[    5.855232] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.1: DSP1: cirrus/cs35l41-dsp1-spk-prot.wmfw: Fri 24 Jun 2022 14:55:56 GMT Daylight Time
[    6.713651] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.1: DSP1: Firmware: 400a4 vendor: 0x2 v0.58.0, 2 algorithms
[    6.715880] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.1: DSP1: 0: ID cd v29.78.0 XM@94 YM@e
[    6.715901] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.1: DSP1: 1: ID f20b v0.1.0 XM@17c YM@0
[    6.715913] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.1: DSP1: spk-prot: e:\workspace\workspace\tibranch_release_playback_6.76_2\ormis\staging\default_tunings\internal\CS35L53\Fixed_Attenuation_Mono_48000_29.78.0\full\Fixed_Attenuation_Mono_48000_29.78.0_full.bin
[    6.768148] snd_hda_codec_realtek ehdaudio0D0: bound i2c-CSC3551:00-cs35l41-hda.1 (ops cs35l41_hda_comp_ops [snd_hda_scodec_cs35l41])

After installing the 2 modules, now when I turn on the computer I hear a crackling noise that I never heard before, but, the sound is still not working.

Any suggestions what I could be missing? If there is any info needed just ask me please.
I've been walking around with this laptop for a year and I can't reproduce sound from it, only via Bluetooth :(

@xoocoon
Copy link
Owner

xoocoon commented Aug 26, 2023

Hi @rcardoso20, when the speaker outputs a crackling sound I would stop using the script immediately to prevent potential hardware damage. I suppose the sound has to do with the Cirrus logic patch that might not work for your hardware setup.
That said, the "wrong filename" issue should be fixed with the newest commits thanks to @Osc100.

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

2 participants