Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: paskali on August 09, 2013, 05:35:27 AM
-
Hi all, as in the title, i load at the boot the OSS extension to enable the sound on my notebook; however it has a "crazy" behaviour: at the cold boot it crashes and the sound does not work but if i reboot the sound works so well.
Why?
P.S.
I do not really want to use ALSA, i would want to try to resolve with OSS.
-
P.S.
I do not really want to use ALSA, i would want to try to resolve with OSS.
Why?
-
Why?
Because i found it more hard to configure, i do not have so time to waste, and because on this notebook i do not have enough resources.
-
What happens if you remove OSS4 from onboot.lst and then load it after cold boot?
-
What happens if you remove OSS4 from onboot.lst and then load it after cold boot?
If i do not load OSS on cold boot but after, ondemand, it seems to work well.
-
Dear friends, thanks for your help but i have solved by myself.
I use a persistent home directory in which there is the .profile startup script.
I have edit this file and below the definition of the ONDEMAND enviroment variable:
ONDEMAND=/etc/sysconfig/tcedir/ondemand
[ -d "$ONDEMAND" ] && export PATH=$PATH:"$ONDEMAND"
i wrote:
# Load and enable sound
sleep 3
ondemand -e OSS.tcz &&
sudo soundoff &&
sudo soundon
This solution makes the startup boot process a bit more slow but works fine in the cold boot as well as in warm boot.
I hope this tip can to be usefull.
-
I think you will find ondemand is already in your path.