Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: stu232 on September 10, 2016, 04:23:12 PM

Title: No sound after reboot!?
Post by: stu232 on September 10, 2016, 04:23:12 PM
I've played around with Linux in the past but I still consider myself as a n00b.

I dug out an old AMD Athlon machine purely to run DOSBox on, it's running on TC which is installed on the machines internal HDD. Every time I get it running as I want it to, after I reboot my audio has gone!

Not only has the sound vanished from DOSBox but everything is silent, web browsers, MP3 players etc....all silent.

I know this is user error but I don't know where to start, I've actually reinstalled TC and all the apps I need a few times and they work fine then after a reboot everything falls silent.

please help!
Title: Re: No sound after reboot!?
Post by: Juanito on September 11, 2016, 12:46:50 AM
What version and architecture of tinycore are you using?

Are you using alsa, oss or pulseaudio for sound?

Are you using backup to preserve settings across reboots?
Title: Re: No sound after reboot!?
Post by: Misalf on September 11, 2016, 06:25:14 AM
I'd guess the "default" way is current TC 7.x x86 + ALSA.
In that case, add  alsa-config.tcz  (instead of alsa.tcz) to  onboot.lst .
After boot, make changes via  alsamixer  (unmuting channels etc.).
Then, in a terminal, run
Code: [Select]
sudo alsactl store
filetool.sh -b
to save the changes you made.
If this still doesn't give you sound after reboot, you might need to add the following to  /opt/bootlocal.sh
Code: [Select]
/usr/local/sbin/alsactl restore
Title: Re: No sound after reboot!?
Post by: Juanito on September 11, 2016, 06:33:04 AM
alsa was removed as a dep of alsa-config a while ago because, if you need alsa-config for sound to work, it needs to be loaded before alsa is loaded.
Title: Re: No sound after reboot!?
Post by: stu232 on September 12, 2016, 11:17:58 AM
I'd guess the "default" way is current TC 7.x x86 + ALSA.
In that case, add  alsa-config.tcz  (instead of alsa.tcz) to  onboot.lst .
After boot, make changes via  alsamixer  (unmuting channels etc.).
Then, in a terminal, run
Code: [Select]
sudo alsactl store
filetool.sh -b
to save the changes you made.
If this still doesn't give you sound after reboot, you might need to add the following to  /opt/bootlocal.sh
Code: [Select]
/usr/local/sbin/alsactl restore

This worked, thanks :)
Title: Re: No sound after reboot!?
Post by: Misalf on September 12, 2016, 03:11:16 PM
Plus what Juanito said, of course.
Title: Re: No sound after reboot!?
Post by: coreplayer2 on September 12, 2016, 03:48:30 PM
This worked, thanks :)
LOL  I was wondering what part of the guide was being referred too by "This worked"   ??