site  contact  subhomenews

Audio hardware profiling fix

July 01, 2026 — BarryK

When EasyOS is booted on a USB drive on different computers, it is supposed to remember the hardware setup for each one; this is called "hardware profiling".

A special string is generated, that identifies the audio hardware on the computer, but it wasn't working on my Zenbook laptop. It is /etc/init.d/10alsa that generates the audio hardware string.

I found that this "lspci -d ::0403 -n" had no output. "0403" is the class ID for audio devices. I discovered that there is another number, "0401" which is also a class ID for audio devices, see here:

https://admin.pci-ids.ucw.cz/read/PD/04

So, have modified 10alsa script, at line 228:

   AUDIO_IDS="$(lspci -d ::0403 -n | cut -f 1,3 -d ' ' | tr ' ' '|' | tr '\n' ' ')"
#...ex: 00:1b.0|8086:1c20
#20260701 zenbook laptop, audio device has class 0401 ref: https://admin.pci-ids.ucw.cz/read/PD/04
if [ -z "$AUDIO_IDS" ];then
AUDIO_IDS="$(lspci -d ::0401 -n | cut -f 1,3 -d ' ' | tr ' ' '|' | tr '\n' ' ')"
fi

There is still some audio hardware profiling to do, as it was previously based on running MSCW (Multiple Sound Card Wizard) that is now deprecated.    

Tags: easy