Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: cosminbro on June 13, 2023, 07:09:59 AM

Title: Modify extension alsa-modules-5.10.77-piCore-v8.tcz
Post by: cosminbro on June 13, 2023, 07:09:59 AM
Hello,

I need to use a different alsa-modules-5.10.77-piCore-v8.tcz.

I recompile snd-usb-audio.ko, because I have to specify some parameters for my audio DAC.

How can I include the new snd-usb-audio.ko in  alsa-modules-5.10.77-piCore-v8.tcz, instead of current one?

Thanks
Title: Re: Modify extension alsa-modules-5.10.77-piCore-v8.tcz
Post by: Rich on June 13, 2023, 07:31:55 AM
Hi cosminbro
Install  squashfs-tools.tcz

Unsquash the extension:
Code: [Select]
unsquashfs -d pkg alsa-modules-5.10.77-piCore-v8.tcz
Copy your new  snd-usb-audio.ko  to:
Code: [Select]
pkg/usr/local/lib/modules/5.10.77-piCore-v8/kernel/sound/usb/
Squash it into a new extension:
Code: [Select]
mksquashfs pkg alsa-modules-5.10.77-piCore-v8.tcz -noappend
Copy it to your  tce  directory.

Delete  alsa-modules-5.10.77-piCore-v8.tcz.md5.txt  so updates don't
replace your new modules file.
Title: Re: Modify extension alsa-modules-5.10.77-piCore-v8.tcz
Post by: cosminbro on June 13, 2023, 09:08:46 AM
It worked, thanks a lot!
Title: Re: Modify extension alsa-modules-5.10.77-piCore-v8.tcz
Post by: Rich on June 13, 2023, 11:43:39 AM
Hi cosminbro
You are welcome. Thank you for confirming it worked.
Title: Re: Modify extension alsa-modules-5.10.77-piCore-v8.tcz
Post by: cosminbro on June 15, 2023, 03:41:39 PM
Hi cosminbro
You are welcome. Thank you for confirming it worked.

I'm on piCore 6v v13.1
I want to update alsa to the last version. How can I proceed?
Title: Re: Modify extension alsa-modules-5.10.77-piCore-v8.tcz
Post by: Paul_123 on June 15, 2023, 09:33:40 PM
THere is not an automated way to upgrade
Title: Re: Modify extension alsa-modules-5.10.77-piCore-v8.tcz
Post by: Juanito on June 16, 2023, 04:22:18 AM
I'm on piCore 6v v13.1
I want to update alsa to the last version. How can I proceed?

If you upgrade from piCore64 13.x to 14.x, the alsa extensions are updated from 1.2.3.2 -> 1.2.9 and the alsa kernel modules from 5.10.77 -> 6.1.25.