Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: aus9 on December 24, 2025, 04:54:42 PM

Title: [Solved] x86_64 16x alsa-modules-KERNEL.tcz.dep query
Post by: aus9 on December 24, 2025, 04:54:42 PM
Hi

in searching for what depends on input-joystick-KERNEL, as I was starting to build a game that might use a gamepad,
I get a hit for TCE=alsa-modules-KERNEL on TC64 16x
I sent a pm to current maintainer and have permission to ask on the forum as he built the modules but not the dep file.

Can we remove this dep file?
http://tinycorelinux.net/16.x/x86_64/tcz/alsa-modules-6.12.11-tinycore64.tcz.dep

Its not a bug and obviously I am too lazy to run a modinfo <modulename> | grep depends to see which module in alsa needs the joystick modules
thanks for reading
Title: Re: x86_64 16x alsa-modules-KERNEL.tcz.dep query
Post by: Rich on December 24, 2025, 05:42:38 PM
Hi aus9
... Its not a bug and obviously I am too lazy to run a modinfo <modulename> | grep depends to see which module in alsa needs the joystick modules

gameport.ko appears to be one of the culprits.

I ran this on TC14 x86_64:
Code: [Select]
tc@box:~$ for F in $(find /tmp/tcloop/alsa-modules-6.1.2-tinycore64/); do modinfo $F 2> /dev/null | grep "depends" | grep "gameport" && echo $F; done
depends:        gameport,snd,snd-pcm,snd-ac97-codec,snd-mpu401-uart
/tmp/tcloop/alsa-modules-6.1.2-tinycore64/usr/local/lib/modules/6.1.2-tinycore64/kernel/sound/pci/au88x0/snd-au8810.ko.gz
depends:        gameport,snd,snd-pcm,snd-ac97-codec,snd-mpu401-uart
/tmp/tcloop/alsa-modules-6.1.2-tinycore64/usr/local/lib/modules/6.1.2-tinycore64/kernel/sound/pci/au88x0/snd-au8820.ko.gz
depends:        gameport,snd,snd-pcm,snd-ac97-codec,snd-mpu401-uart
/tmp/tcloop/alsa-modules-6.1.2-tinycore64/usr/local/lib/modules/6.1.2-tinycore64/kernel/sound/pci/au88x0/snd-au8830.ko.gz
depends:        gameport,snd-rawmidi,snd-pcm,snd-ac97-codec,snd
/tmp/tcloop/alsa-modules-6.1.2-tinycore64/usr/local/lib/modules/6.1.2-tinycore64/kernel/sound/pci/cs46xx/snd-cs46xx.ko.gz
depends:        snd-pcm,snd-ac97-codec,snd,snd-opl3-lib,gameport,snd-mpu401-uart
/tmp/tcloop/alsa-modules-6.1.2-tinycore64/usr/local/lib/modules/6.1.2-tinycore64/kernel/sound/pci/riptide/snd-riptide.ko.gz
depends:        snd-sb-common,gameport,snd-pcm,snd,snd-opl3-lib,snd-mpu401-uart
/tmp/tcloop/alsa-modules-6.1.2-tinycore64/usr/local/lib/modules/6.1.2-tinycore64/kernel/sound/pci/snd-als4000.ko.gz
depends:        gameport,snd-ac97-codec,snd-pcm,snd,snd-timer,snd-opl3-lib,snd-mpu401-uart
/tmp/tcloop/alsa-modules-6.1.2-tinycore64/usr/local/lib/modules/6.1.2-tinycore64/kernel/sound/pci/snd-azt3328.ko.gz
depends:        gameport,snd,snd-pcm,snd-opl3-lib,snd-mpu401-uart
/tmp/tcloop/alsa-modules-6.1.2-tinycore64/usr/local/lib/modules/6.1.2-tinycore64/kernel/sound/pci/snd-cmipci.ko.gz
depends:        gameport,snd-rawmidi,snd,snd-ac97-codec,snd-pcm,snd-opl3-lib
/tmp/tcloop/alsa-modules-6.1.2-tinycore64/usr/local/lib/modules/6.1.2-tinycore64/kernel/sound/pci/snd-cs4281.ko.gz
depends:        gameport,snd-rawmidi,snd,snd-pcm
/tmp/tcloop/alsa-modules-6.1.2-tinycore64/usr/local/lib/modules/6.1.2-tinycore64/kernel/sound/pci/snd-ens1370.ko.gz
depends:        gameport,snd-rawmidi,snd,snd-ac97-codec,snd-pcm
/tmp/tcloop/alsa-modules-6.1.2-tinycore64/usr/local/lib/modules/6.1.2-tinycore64/kernel/sound/pci/snd-ens1371.ko.gz
depends:        gameport,snd,snd-pcm,snd-opl3-lib,snd-mpu401-uart
/tmp/tcloop/alsa-modules-6.1.2-tinycore64/usr/local/lib/modules/6.1.2-tinycore64/kernel/sound/pci/snd-es1938.ko.gz
depends:        gameport,snd-ac97-codec,snd-pcm,snd,tea575x,snd-mpu401-uart
/tmp/tcloop/alsa-modules-6.1.2-tinycore64/usr/local/lib/modules/6.1.2-tinycore64/kernel/sound/pci/snd-es1968.ko.gz
depends:        gameport,snd,snd-pcm,snd-opl3-lib,snd-mpu401-uart
/tmp/tcloop/alsa-modules-6.1.2-tinycore64/usr/local/lib/modules/6.1.2-tinycore64/kernel/sound/pci/snd-sonicvibes.ko.gz
depends:        gameport,snd-pcm,snd,snd-ac97-codec,snd-mpu401-uart
/tmp/tcloop/alsa-modules-6.1.2-tinycore64/usr/local/lib/modules/6.1.2-tinycore64/kernel/sound/pci/snd-via82xx.ko.gz
depends:        gameport,snd,snd-ac97-codec,snd-pcm,snd-util-mem,snd-mpu401-uart
/tmp/tcloop/alsa-modules-6.1.2-tinycore64/usr/local/lib/modules/6.1.2-tinycore64/kernel/sound/pci/trident/snd-trident.ko.gz
depends:        gameport,snd-pcm,snd,snd-ac97-codec,snd-timer,snd-opl3-lib,snd-mpu401-uart
/tmp/tcloop/alsa-modules-6.1.2-tinycore64/usr/local/lib/modules/6.1.2-tinycore64/kernel/sound/pci/ymfpci/snd-ymfpci.ko.gz

First the dependencies are listed.
Then the module is listed.
Title: Re: x86_64 16x alsa-modules-KERNEL.tcz.dep query
Post by: aus9 on December 25, 2025, 04:47:21 AM
Rich
fair enough 
if you think its better, mark as solved but I am now glad what the answer is thanks
Title: Re: [Solved] x86_64 16x alsa-modules-KERNEL.tcz.dep query
Post by: Rich on December 25, 2025, 08:22:34 AM
Hi aus9
Since the dependency is real, removing the dependency file does not make sense.

You can safely remove this dependency on your system if your sound driver is not
affected by it.

Topic marked as solved.