Ubuntu 24.10 Concept ♥️ Snapdragon X Elite

Hi @finegan and @glathe ,

thanks a lot for the help. I verified the presence of the symlink in /usr/share/alsa/ucm2/conf.d/x1e80100 and I modified x1e80100.conf in /usr/share/alsa/ucm2/Qualcomm/x1e80100 to be:

If.HPOMNIBOOKX14 {
	Condition {
		Type RegexMatch
		String "${sys:devices/virtual/dmi/id/board_vendor}-${sys:devices/virtual/dmi/id/product_family}"
		Regex "HP.*EliteBook.*Ultra.*"
	}
	True.Include.x14.File "/Qualcomm/x1e80100/HP-Omnibook-x14.conf"
}

but still no luck regarding the sound. I’ll give it another go tomorrow but if you have any ideas in the meantime I would appreciate it.
Thanks
J

Hey @glathe, I finally managed to get this to work.

What is missing in these instructions is that - for Ubuntu 24.10 at least - there is other files missing in /usr/share/alsa/ucm2, namely codecs/wsa884x directory and at least codecs/qcom-lpass/wsa-macro/init.conf (I know this one is mentioned re default volume). I just copied the whole codecs/wsa884x and codecs/qcom-lpass from 1.2.13 release of alsa-ucm-conf.

I had no idea what was wrong (no errors in dmesg at least…), but I got a little inquisitive (had no idea what UCM actually is, so I read up a little :slight_smile: and I run the alsaucm command which reported the missing files. Since I saw these were also included from previously added conf files, I had my culprit(s).

Hey @johannes-scheller

See my last post for what I had to do - check that all files included from HP-Omnibook-x14.conf exist. You can try running the alsaucm command - it will spit out if any files are missing.

In my case the kernel detected the sound card and actually told what the problem is (but I’m only seeing this now - see last line :slight_smile:

[    9.765332] qcom-soundwire 6ad0000.soundwire: Qualcomm Soundwire controller v2.0.0 Registered
[    9.874585] qcom-soundwire 6b10000.soundwire: Qualcomm Soundwire controller v2.0.0 Registered
[    9.876288] wcd938x_codec audio-codec: bound sdw:2:0:0217:010d:00:4 (ops wcd938x_sdw_component_ops [snd_soc_wcd938x_sdw])
[    9.876301] wcd938x_codec audio-codec: bound sdw:3:0:0217:010d:00:3 (ops wcd938x_sdw_component_ops [snd_soc_wcd938x_sdw])
[    9.879344] qcom-soundwire 6d30000.soundwire: Qualcomm Soundwire controller v2.0.0 Registered
[    9.903030] snd-x1e80100 sound: ASoC: Parent card not yet available, widget card binding deferred
[    9.907532] ALSA: Control name 'stream0.vol_ctrl0 MultiMedia1 Playback Volume' truncated to 'stream0.vol_ctrl0 MultiMedia1 Playback Volu'
[    9.907556] ALSA: Control name 'stream1.vol_ctrl1 MultiMedia2 Playback Volume' truncated to 'stream1.vol_ctrl1 MultiMedia2 Playback Volu'
[    9.911132] input: X1E80100-LENOVO-Thinkpad-T14s Headset Jack as /devices/platform/sound/sound/card0/input10
[    9.961723]  MultiMedia1 Playback: ASoC: no backend DAIs enabled for MultiMedia1 Playback, possibly missing ALSA mixer-based routing or UCM profile

@bepok amazing that did the trick for me as well. Sound works. I still have a dmesg error but now with regards to MultiMedia2.

[    9.968658]  MultiMedia2 Playback: ASoC: no backend DAIs enabled for MultiMedia2 Playback, possibly missing ALSA mixer-based routing or UCM profile

@glathe the step that was missing was indeed the absence of codecs/wsa884x and codecs/qcom-lpass in addition to the extra condition in x1e80100.conf

If.HPELITEBOOK {
	Condition {
		Type RegexMatch
		String "${sys:devices/virtual/dmi/id/board_vendor}-${sys:devices/virtual/dmi/id/product_family}"
		Regex "HP.*EliteBook.*Ultra.*"
	}
	True.Include.x14.File "/Qualcomm/x1e80100/HP-Omnibook-x14.conf"
}

thanks a lot everyone.

1 Like

The sound is tinny though… I suppose Qualcomm does some psychoacoustic magic in it’s windows drivers.

I tried wired headphones now and there is a lot of static even when nothing is playing… the headphones I tried are lousy but I just tried them out on a Mac and they work, the issue is this computer.

Hey guys, just installed this on my Lenovo Yoga Slim 7x and have the common problems, no sound, no camera detection, no battery detection, and no GPU is detected either. However, I have some other things to say, When I connect my headphones, they work properly. I’m sure Bluetooth headphones will work as well. External camera works as well, but there’s something interesting, you see when I recorded a video, there was sound in the video, I think this indicates that microphone works only when there’s some external device is connected. Also I want to say that video encoding/decoding is very bad, I guess it’s because first, the computers don’t have good encoders/decoders, second, it’s because almost every application on this UbuntuOs is emulated. I’m saying this because when I played a video, be it any resolution, it wasn’t playing as smoothly as it would on the Windows Os. Do any of you guys have any solution to these problems, if so please tell me, I want to use Linux because I am cybersecurity student, and as you may know we do a lot of stuff in Linux. Lmao :joy:

I turned off my hard disk encryption to be able to install this Ubuntu, if I turn it on back, will this do any harm to the Linux Os. I’m asking if it’s even safe to use Windows with bit locker off.

Thanks :hugs:

Hi @aizen007,
Did you do: sudo apt install qcom-firmware-extract and sudo qcom-firmware-extract for the battery state detection? As for the sound you can follow this excellent tutorial Enabling sound on the HP Omnibook X14 · jglathe/linux_ms_dev_kit Wiki · GitHub.

Hope that helps

Update on Bluetooth-audio: removing and re-adding the Airpods worked. Should have tried that before.

Update on Wifi: my previous message was a false positive; I just seem to have had unlucky boots. I am running 6.14.0-32 now with similar (in)stability of the network as before.

Since native audio is discussed so much now: is there any progress on this for the T14s?

1 Like

re audio - see my post above (I have a T14s). Use the instructions by @glathe - those are for a HP machine but it’s the same just replace the filenames where needed.

2 Likes

Hey, thanks man, the battery indicator works fine now.
As for the sound, I’m not too familiar with Linux and the stuff that are in that GitHub link you sent, I’m also worried I’ll damage the OS or my computer. If there’s an easier way of fixing the audio, please let me know!

Just a short feedback:
Update from vmlinuz-6.12.0-30-qcom-x1e to 6.14.0-32-qcom-x1e worked on my HP Omnibook X 14. Great! Thank you.
(external USB-C hub incl. Ethernet, ext. Monitor, Mouse and Keyboard ok)

@johannes-scheller in my case I had to copy more ucm- files than glathe described in his instruction, including but not limited to some files under “ucm2/codecs/wsa884x”. I think glathe wrote his instruction assuming you are running Ubuntu 25.04 “Plucky” (available only as a prerelease at the time of writing). The newer version of alsa-ucm-conf in 25.04 has the missing ucm files fore Omnibook X14 which 24.10 didn’t have.

1 Like

Hi, I have ASUS Zenbook 14 with Snapdragon X Elite - are you working on posibility to install Ubuntu on this machine? I tried to install current version, but system don’t boot from created usb flash.

There is a fairly recent patch series on the kernel mailing list. Is there already a bug opened for this model?

1 Like

I have submitted the same series for Asus Zenbook A14 to Ubuntu’s kernel, as well as required components for automatic device detection (seems I cannot put more than two links. all links are available in the bug report), thanks to @tobhe for pointing them out.

Depending on amount of reviews needed and availability of Tobias , I hope we will be getting it shortly.

So far I have tested this on my X1 Zenbook, looking forward for results on X1E! @tomas-otruba could you please share a picture of landing page of the BIOS settings? Mostly interested in the BIOS version and how exactly is the platform/model name displayed.

glathe thats a good point, I just submitted bug report with the summary.

2 Likes

hi, I’m using snapdragon X pro, and have a problem with booting. After pressing “Try ot Install Ubuntu” the computer rebooted after a while, so I edited the quiet from edit and booted. the prompts were:

:booting Linux Kernel
:loaded initrd from LINUX_EFI_INITRD_MEDIA_GUID device path
:Measured initrd data from PCR 9
:Generating empty DTB
:Exiting boot services

I have no idea what to do after hours of searching. Please help

I’m wondering what is planned with the 24.10 Concept looking at the upcoming 25.04 Ubuntu release? Will there be a 25.04 Concept with more recent patches than in the “official” 25.04?

Running on 25.04 here. I did a clean install from ISO on the HP Omnibook X14, worked mostly well. Also running it on the Thinkbook 16 (X1P42100), where the install from ISO is probably not yet possible. Aside from some beta teething issues, it runs nicely.

Hi there,

would be good to know what laptop model you’re using.

On the subject I would just like to say that I also have made the switch from 24.10 concept to 25.04 plucky - installed from a ubuntu-daily iso on a Lenovo Yoga slim 7.
I experience the same issues I had with 24.10 concept - switching wifi makes the screen go black and reboot, but with the Glathe kernel-pack it works as it should (using 6.15rc1 at the moment)

I still haven’t seen the ubuntu splash screen on any boot before the login screen, the only time i have seen it on this computer is on a 6.12 ubuntu generic kernel.

1 Like