chromebook-linux-audio icon indicating copy to clipboard operation
chromebook-linux-audio copied to clipboard

Jasper Lake/Sasuke/Manjaro: No headphone output

Open datagore opened this issue 9 months ago • 10 comments

I've set up Manjaro on a Samsung Galaxy Chromebook Go (SASUKE board). After running the script, internal speakers work just fine, but I'm getting nothing out of the 3.5 mm headphone jack. It goes silent when plugging headphones in, and resumes when unplugging. So it's detecting the headphones, which show up as "Jasper Lake HD Audio Headphones" in pavucontrol, and I can see the VU meter bobbing up and down, but total silence. The infuriating thing is, I had headphones working on this same setup before, but after reinstalling Manjaro the headphones don't work.

Here's my output from ./setup_audio:

Detected Intel Jasperlake
Installing UCM configuration
Cloning into '/tmp/alsa-ucm-conf-cros'...
remote: Enumerating objects: 6560, done.
remote: Counting objects: 100% (2453/2453), done.
remote: Compressing objects: 100% (400/400), done.
remote: Total 6560 (delta 2169), reused 2063 (delta 2051), pack-reused 4107 (from 3)
Receiving objects: 100% (6560/6560), 829.80 KiB | 1.22 MiB/s, done.
Resolving deltas: 100% (4130/4130), done.
Checking kernel config for 6.12.17-1-MANJARO
Detecting codecs
Found max98360a
Found da7219
Kernel config check passed
Increasing alsa headroom (fixes instability)
Audio setup finished! Reboot to complete setup.
If you still have any issues post-reboot, report them to https://github.com/WeirdTreeThing/chromebook-linux-audio
If this script has been helpful for you and you would like to support the work I do, consider donating to https://paypal.me/weirdtreething

And here's some logs: debug-logs-Sasuke-2025-03-17_12h11m.tar.gz

datagore avatar Mar 17 '25 10:03 datagore

Try amixer set 'Headphone Volume' 57

WeirdTreeThing avatar Mar 17 '25 11:03 WeirdTreeThing

Thank you for the prompt response!

amixer: Unable to find simple control 'Headphone Volume',0

Not quite sure what's going on... alsamixer shows just a single control for PulseAudio. I can select "sof-da7219max98360a" A.K.A. "Intel Jasperlake HDMI", which shows a whole array of controls, none of which give me any audible output whatsover.

Once again, pavucontrol shows bouncing meters for "Jasper Lake HD Audio Headphones," which is the default device, but nada.

Here's my output for amixer scontents if it helps:

  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 65536
  Mono:
  Front Left: Playback 50089 [76%] [on]
  Front Right: Playback 50089 [76%] [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch cswitch-joined
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 65536
  Front Left: Capture 65536 [100%] [on]
  Front Right: Capture 65536 [100%] [on]

datagore avatar Mar 17 '25 11:03 datagore

Oh right it selects the audio server virtual card as default. amixer -c 0 set 'Headphone Volume' 57

WeirdTreeThing avatar Mar 17 '25 12:03 WeirdTreeThing

Still getting amixer: Unable to find simple control 'Headphone Volume',0. Sorry if I can't be of more help, I'm sort of clueless about audio stuff.

datagore avatar Mar 17 '25 12:03 datagore

It may just be Headphone instead of Headphone Volume

WeirdTreeThing avatar Mar 17 '25 12:03 WeirdTreeThing

Yeah, I appear to have it turned up though. Here's an exerpt of amixer -c 0:

Simple mixer control 'Headphone',0
  Capabilities: volume pswitch
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 63
  Front Left: 56 [89%] [-1.00dB] Playback [on]
  Front Right: 56 [89%] [-1.00dB] Playback [on]
Simple mixer control 'Headphone Gain Ramp',0
  Capabilities: pswitch
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [on]
  Front Right: Playback [on]
Simple mixer control 'Headphone Jack',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Headphone ZC Gain',0
  Capabilities: pswitch
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [off]
  Front Right: Playback [off]

Full output here: out.txt

I've been sitting here trying to change these values in alsamixer while playing music in the background, but I can't find any combination of settings that produces any results.

Okay, I noticed that when I toggle "Mixer Out FilterL DACL" or "Mixer Out FilterR DACL", I start hearing some faint static in my headphones, like it's actually outputting something (just no music or anything).

Here's something from journalctl -b that looked related maybe.

Mar 17 16:42:54 axel-sasuke kernel: sof-audio-pci-intel-icl 0000:00:1f.3: ipc tx error for 0x60010000 (msg/reply size: 108/20): -22
Mar 17 16:42:54 axel-sasuke kernel: sof-audio-pci-intel-icl 0000:00:1f.3: HW params ipc failed for stream 1
Mar 17 16:42:54 axel-sasuke kernel: sof-audio-pci-intel-icl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22
Mar 17 16:42:54 axel-sasuke kernel:  DMIC16kHz: ASoC: error at __soc_pcm_hw_params on DMIC16kHz: -22
Mar 17 16:42:54 axel-sasuke kernel:  DMIC16kHz: ASoC: error at dpcm_fe_dai_hw_params on DMIC16kHz: -22
Mar 17 16:42:54 axel-sasuke kernel: sof-audio-pci-intel-icl 0000:00:1f.3: ipc tx error for 0x60010000 (msg/reply size: 108/20): -22
Mar 17 16:42:54 axel-sasuke kernel: sof-audio-pci-intel-icl 0000:00:1f.3: HW params ipc failed for stream 1
Mar 17 16:42:54 axel-sasuke kernel: sof-audio-pci-intel-icl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22
Mar 17 16:42:54 axel-sasuke kernel:  DMIC16kHz: ASoC: error at __soc_pcm_hw_params on DMIC16kHz: -22
Mar 17 16:42:54 axel-sasuke kernel:  DMIC16kHz: ASoC: error at dpcm_fe_dai_hw_params on DMIC16kHz: -22
Mar 17 16:42:54 axel-sasuke kernel: sof-audio-pci-intel-icl 0000:00:1f.3: ipc tx error for 0x60010000 (msg/reply size: 108/20): -22
Mar 17 16:42:54 axel-sasuke kernel: sof-audio-pci-intel-icl 0000:00:1f.3: HW params ipc failed for stream 1
Mar 17 16:42:54 axel-sasuke kernel: sof-audio-pci-intel-icl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22
Mar 17 16:42:54 axel-sasuke kernel:  DMIC16kHz: ASoC: error at __soc_pcm_hw_params on DMIC16kHz: -22
Mar 17 16:42:54 axel-sasuke kernel:  DMIC16kHz: ASoC: error at dpcm_fe_dai_hw_params on DMIC16kHz: -22
Mar 17 16:42:54 axel-sasuke kernel: sof-audio-pci-intel-icl 0000:00:1f.3: ipc tx error for 0x60010000 (msg/reply size: 108/20): -22
Mar 17 16:42:54 axel-sasuke kernel: sof-audio-pci-intel-icl 0000:00:1f.3: HW params ipc failed for stream 1
Mar 17 16:42:54 axel-sasuke kernel: sof-audio-pci-intel-icl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22
Mar 17 16:42:54 axel-sasuke kernel:  DMIC16kHz: ASoC: error at __soc_pcm_hw_params on DMIC16kHz: -22
Mar 17 16:42:54 axel-sasuke kernel:  DMIC16kHz: ASoC: error at dpcm_fe_dai_hw_params on DMIC16kHz: -22
Mar 17 16:42:54 axel-sasuke systemd[801]: Started Virtual filesystem service - GNOME Online Accounts monitor.
Mar 17 16:42:54 axel-sasuke wireplumber[975]: spa.alsa: Path Headset Mic is not a volume or mute control

Full log: journalctl.txt

datagore avatar Mar 17 '25 12:03 datagore

Those kernel errors mean nothing. I'll have a look at the mixer state later.

WeirdTreeThing avatar Mar 17 '25 17:03 WeirdTreeThing

Still no fix for this? Suffering from this issue since the first time I installed custom os on this chromebook.

The infuriating thing is, I had headphones working on this same setup before, but after reinstalling Manjaro the headphones don't work.

Did you fixed audio on a previous installation with this script or manually? Also, which distro you was using?

TheVorkMan avatar Apr 23 '25 10:04 TheVorkMan

Yeah, I'd love a follow-up on this as well.

Did you fixed audio on a previous installation with this script or manually? Also, which distro you was using?

From what I remember, I ran the script normally and it Just Worked™, no manual intervention necessary. That was on the same distro (Manjaro), so I'm not sure what happened exactly.

datagore avatar Apr 23 '25 11:04 datagore

Trying to fix an issue like this is hard because the problem is not obvious, so it requires poking around. But I don't have any jasperlake devices to do that with.

WeirdTreeThing avatar Apr 23 '25 12:04 WeirdTreeThing