Tiny Core Extensions > TCE Bugs
[SOLVED] alsa.tcz: possible bug
AmatCoder:
Is there any reason to tce.installed script from alsa.tcz does not use depmod?
Right now, if we load alsa.tcz and run /usr/local/etc/init.d/alsasound start modules are not loaded and 'no such file' error raises.
Jason W:
depmod is run any time that kernel module extensions are loaded. And depmod.tcz gets loaded as it is needed by alsa-modules-`uname -r`-tinycore.tcz. It works fine here.
Did you use the appbrowser or t"ce-load -iw alsa.tcz", or did you download alsa.tcz manually?
AmatCoder:
Thanks for reply. Consider the following sequence:
--- Code: ---tc@box:~$ tce-load -i alsa
depmod.tcz: OK
alsa-config.tcz: OK
ncurses-common.tcz: OK
ncurses.tcz: OK
libpci.tcz: OK
pci-utils.tcz: OK
libasound.tcz: OK
i2c-3.0.3-tinycore.tcz: OK
v4l-dvb-3.0.3-tinycore.tcz: OK
input-joystick-3.0.3-tinycore.tcz: OK
alsa-modules-3.0.3-tinycore.tcz: OK
alsa.tcz: OK
tc@box:~$ sudo /usr/local/etc/init.d/alsasound start
amixer: Mixer attach default error: No such file or directory
Something went wrong, sound was not set up.
tc@box:~$ sudo depmod -a
tc@box:~$ sudo /usr/local/etc/init.d/alsasound start
Starting sound driver: snd-intel8x0
tc@box:~$
--- End code ---
1) I load alsa with tce-load -i alsa
2) I try alsasound script. Failed:
amixer: Mixer attach default error: No such file or directory
Something went wrong, sound was not set up.
3) I made depmod -a manually.
4) I repeat alsasound script. Now it is working:
Starting sound driver: snd-intel8x0
Jason W:
Ok, I will add depmod to the /usr/local/tce.installed/alsa startup script, apparently the current setup works for some or most and not for others.
curaga:
I wonder if the module detection's broken? AmatCoder, could you try instead of depmod and the startup script to run "modprobe snd-intel8x0" after loading alsa?
Navigation
[0] Message Index
[#] Next page
Go to full version