WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Modify extension alsa-modules-5.10.77-piCore-v8.tcz  (Read 1926 times)

Offline cosminbro

  • Jr. Member
  • **
  • Posts: 68
Modify extension alsa-modules-5.10.77-piCore-v8.tcz
« 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

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11694
Re: Modify extension alsa-modules-5.10.77-piCore-v8.tcz
« Reply #1 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.

Offline cosminbro

  • Jr. Member
  • **
  • Posts: 68
Re: Modify extension alsa-modules-5.10.77-piCore-v8.tcz
« Reply #2 on: June 13, 2023, 09:08:46 AM »
It worked, thanks a lot!

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11694
Re: Modify extension alsa-modules-5.10.77-piCore-v8.tcz
« Reply #3 on: June 13, 2023, 11:43:39 AM »
Hi cosminbro
You are welcome. Thank you for confirming it worked.

Offline cosminbro

  • Jr. Member
  • **
  • Posts: 68
Re: Modify extension alsa-modules-5.10.77-piCore-v8.tcz
« Reply #4 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?

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1264
Re: Modify extension alsa-modules-5.10.77-piCore-v8.tcz
« Reply #5 on: June 15, 2023, 09:33:40 PM »
THere is not an automated way to upgrade

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14847
Re: Modify extension alsa-modules-5.10.77-piCore-v8.tcz
« Reply #6 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.