View previous topic :: View next topic |
Author |
Message |
Latrina n00b
Joined: 13 Aug 2017 Posts: 67 Location: Cambridge, UK
|
Posted: Sat Feb 19, 2022 11:29 pm Post subject: Hp chromebook c1030 no sound |
|
|
Hello folks,
tdr from IRC and myself have been trying to get this sound card to work. We tried SoC and ultimately we disabled it, but made no difference whatsover.
Some quick logs:
Code: | scum@c1030 ~ $ dmesg |grep -i snd_
[ 11.222675] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[ 11.285859] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
scum@c1030 ~ $
scum@c1030 ~ $ sudo lspci -vk |grep audio -A7
00:1f.3 Multimedia audio controller: Intel Corporation Comet Lake PCH-LP cAVS
DeviceName: Multimedia audio controller
Subsystem: Intel Corporation Comet Lake PCH-LP cAVS
Flags: bus master, fast devsel, latency 64, IRQ 148, IOMMU group 13
Memory at 9fa14000 (64-bit, non-prefetchable) [size=16K]
Memory at 9f900000 (64-bit, non-prefetchable) [size=1M]
Capabilities: [50] Power Management version 3
Capabilities: [80] Vendor Specific Information: Len=14 <?>
Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
scum@c1030 ~ $
scum@c1030 ~ $ lsmod |grep -i snd
snd_hda_codec_hdmi 65536 1
snd_hda_intel 45056 0
snd_intel_dspcfg 16384 1 snd_hda_intel
snd_hda_codec 135168 2 snd_hda_codec_hdmi,snd_hda_intel
snd_hwdep 16384 1 snd_hda_codec
snd_hda_core 86016 3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
scum@c1030 ~ $ |
dmesg, lspci -vk, kern config, i2cdetect -l.
The strange and confusing thing is that with SoC enabled the soundcard is somewhat seen as rt5682-I2C, however lspci says it is a 00:1f.3 Multimedia audio controller: Intel Corporation Comet Lake PCH-LP cAVS.
Like always, any help will be much appreciated.
Thanks _________________ Enslaved by Systemd and all the linuxisms that come with it. |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5370 Location: Bavaria
|
Posted: Sun Feb 20, 2022 3:37 am Post subject: Re: Hp chromebook c1030 no sound |
|
|
Latrina wrote: | [...] the soundcard is somewhat seen as rt5682-I2C, [...] |
This could be tricky ... I googled a little bit the chipsets of your HP (and searched in kernel source-code) and MAYBE this could be needed (= not tested because I dont have such a notebook):
The first option must be set first to get later RT5682 Codec; without it doesnt appear in section CODEC drivers.
Code: | Device Drivers --->
<M> SoundWire support --->
<M> Intel SoundWire Master driver
Sound card support --->
[*] Advanced Linux Sound Architecture --->
[*] ALSA for SoC audio support --->
[*] Intel ASoC SST drivers
<M> CometLake-H Platforms
<M> CometLake-LP Platforms
[*] HDAudio codec support
...
CODEC drivers --->
<M> Realtek RT5682 Codec - SDWc |
|
|
Back to top |
|
|
Latrina n00b
Joined: 13 Aug 2017 Posts: 67 Location: Cambridge, UK
|
Posted: Sun Feb 20, 2022 10:39 am Post subject: |
|
|
Unfortunately sound is still not working despite having added those modules.
Latest dmesg, and kernel config.
tdr from IRC mentioned that SOC might not work at all. I do however not have the knowledge to dispute either option.
Thanks _________________ Enslaved by Systemd and all the linuxisms that come with it. |
|
Back to top |
|
|
viperlin Veteran
Joined: 15 Apr 2003 Posts: 1319 Location: UK
|
Posted: Sun Feb 20, 2022 12:10 pm Post subject: |
|
|
Disclaimer: i have not tried this - and it depends on code from random sources but worth a shot?
source: https://www.reddit.com/r/chrultrabook/comments/f0n63h/audio_drivers_on_hp_chromebook_11_g4/
Quote: | I managed to figure it out. To anyone here who may follow these steps, keep in mind this only supports KIP and has only been tested on an HP Chromebook 11 G4 running openSUSE (although steps seem to be similar for quite a few other devices/distros).
First, you'll need to disable PulseAudio's autospawning on boot. This can be achieved by doing the following (obtained from this page):
First, make a backup of your PulseAudio config by running sudo cp /etc/pulse/client.conf /etc/pulse/client.confbackup in your terminal.
Next, you'll want to edit your PulseAudio config. Any text editor works, but for example, using nano, run sudo nano /etc/pulse/client.conf. Scroll down to the line that says ; autospawn = yes, remove the comment and set the value to 'no' such that the line is exactly autospawn = no.
Save the file (in nano's case it's 'ctrl-o') and exit ('ctrl-x').
Once this has been done, reboot the machine to ensure PulseAudio is no longer running. After the machine has restarted, you'll want to ensure you have ALSA installed. This can be done by running sudo zypper install alsa alsa-utils alsa-firmware. Reboot the system once again.
Next, you'll need to load the UCM file corresponding to the machine you're running (in this case, the file corresponding to the chtmax98090):
Clone the https://github.com/plbossart/UCM.git repo and cd into it.
Run cp -r chtmax98090/ /usr/share/alsa/ucm/ so ALSA can access the necessary files.
Finally, run alsactl store, and reboot one final time.
After all this has been done, the audio should now work properly.
all Baytrail Chromebooks use the exact same Maxim 98090 codec in the same config, so this method will work for all of them |
|
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5370 Location: Bavaria
|
Posted: Sun Feb 20, 2022 2:17 pm Post subject: |
|
|
Latrina,
Please disable snd_hda_intel and try again.
If it doesnt work I would need the output of "lspci -knv" |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5370 Location: Bavaria
|
Posted: Sun Feb 20, 2022 4:42 pm Post subject: |
|
|
I searched a little bit more ... and found this: https://chromeos.guide/osdev/overlays/overlay-hatch
This doesnt look very promising. Try as much as possible within:
Code: | Device drivers -> Sound card support -> Advanced Linux Sound Architecture ->
[*] ALSA for SoC audio support --->
[*] Sound Open Firmware Support |
If this doesnt help, then I think we dont have a sound kernel module for this Chromebook in our standard linux kernel ... |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|