On Thu, Feb 29, 2024 at 3:34 PM Takashi Iwai <tiwai@xxxxxxx> wrote: > > On Thu, 29 Feb 2024 04:39:15 +0100, > Jeff Chua wrote: > > > > On Thu, Feb 29, 2024 at 5:06 AM Jeff Chua <jeff.chua.linux@xxxxxxxxx> wrote: > > > > > > On Wed, Feb 28, 2024 at 3:45 PM Ralf Mardorf <ralf.mardorf@xxxxxxxxxxxxx> wrote: > > > > > > > > Hi, > > > > > > > > if Ubuntu supports your computer, they probably offer a patch or > > > > patches. If so and you build a "vanilla" kernel by just using an Ubuntu > > > > config, then you build without any additional patch that might be (or > > > > might not be) offered by Ubuntu. > > > > > > > > IIUC a default install of Ubuntu, Redhat or SuSE might provide a working > > > > audio device, see https://support.lenovo.com/us/en/solutions/ht082374 . > > > > It might not necessarily work, due to different mainboard releases. > > > > > > > > How about testing a live media, e.g. Ubuntu from an USB stick? > > > > > > > > Did you already check > > > > https://support.lenovo.com/us/en/solutions/ht511743-how-to-download-the-linux-image-from-the-e-support-page > > > > ? > > > > > > > > I build my own desktop machines. For my 13th Gen Intel Core based > > > > machine Ubuntu offered a kernel supporting everything I need, already > > > > when the machine was new, while for Arch Linux I build the kernel module > > > > for RTL8125 using dkms. > > > > > > > > To summarise, if you build your own kernel, you may need one or more > > > > patches in addition to the source code from kernel.org, a kernel > > > > configuration will probably not change anything. You don't necessarily > > > > have to rebuild the whole kernel, but only the corresponding module or > > > > modules, simply with dkms. > > > > > > > > Regards, > > > > Ralf > > > > > > > How about testing a live media, e.g. Ubuntu from an USB stick? > > > > > > Ralf, I'll try! > > > > Ok, boot ubuntu from USB stick, and everything works. I've sound (mic > > works too), touchscreen, and microSD all working. > > > > And I took the lsmod list from the Ubuntu USB boot-up, and went back > > my vanilla linux kernel, using the same .confg from ubuntu, recompiled > > the kernel, and loaded the same module names as ubuntu loaded in the > > USB boot up, and this time everything worked! > > > > Vanilla pure linux setup. Just latest Linux kernel from git, Alsa, and > > SOF (sof-bin-2023.12.tar.gz). > > > > The only firmware missng are cirrus/cs35l41-dsp1-spk-prot.bin and > > cirrus/cs35l41-dsp1-spk-prot.wmfw and I took those from Ubuntu USB > > boot up. > > Those firmware files should have been already in the latest > linux-firmware tree. You're right, it's there! My pull and install script ignored the cirrus directory.. Jeff. _______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user