Tiny Core Linux

Tiny Core Extensions => TCE Bugs => Topic started by: meo on December 01, 2014, 05:19:13 PM

Title: ALSA Sound problems.
Post by: meo on December 01, 2014, 05:19:13 PM
Hi guys!

I've downloaded alsa but it can't be started according to the instructions in the info file. I have sound using Firefox though (latest version 34.0.5). So something isn't right with the alsa.tcz as far as I can understand.

Kind greetings,
meo
Title: Re: ALSA Sound problems.
Post by: gerald_clark on December 01, 2014, 05:32:23 PM
alsaconf is in the alsa-config package.
If you get sound in firefox, it is obviously working.
I have no idea why you think something is wrong with alsa.tcz.
Title: Re: ALSA Sound problems.
Post by: Juanito on December 01, 2014, 11:18:21 PM
If you're using recent hardware with tc-5.x or tc-6.x, the alsa extension should "just work" without the need to use the init.d script.
Title: Re: ALSA Sound problems.
Post by: core-user on December 02, 2014, 04:53:32 AM
Try opening alsamixer (in a terminal) & check that it is not muted.
Title: Re: ALSA Sound problems.
Post by: meo on December 02, 2014, 06:56:59 AM
Hi guys!

It's a mystery to me also. I've already checked that it's not muted. If I try to run alsaconf I get an error message that tells me that the command doesn't exist. In XMMS a message comes up telling me to check if the sound card is configured properly. Weird, isn't it? This is in TC 6 beta 1 so it might be something else that causes this problem. Thanks all for your input!

Have fun,
meo
Title: Re: ALSA Sound problems.
Post by: Misalf on December 02, 2014, 07:33:26 AM
alsaconf missing here too in 6.x. I aslo wasn't able to setup sound.
Title: Re: ALSA Sound problems.
Post by: Juanito on December 02, 2014, 08:43:20 AM
I could not test alsaconf in the tc-6.x extensions because as soon as I load alsa, sound "just works".

alsaconf needs editing for it to work with tc and with sound already working, I was not able to do this.

If alsa does not "just work" for you and the init.d script does not work for you, then either I can edit alsaconf by guesswork, or I can make it available for somebody to test/edit - volunteers gratefully received  :)
Title: Re: ALSA Sound problems.
Post by: Misalf on December 02, 2014, 08:49:00 AM
Volunteering!
Title: Re: ALSA Sound problems.
Post by: Juanito on December 02, 2014, 09:21:49 AM
thanks - see http://www.tinycorelinux.net/6.x/x86_64/tcz/src/alsa/

Note that this is unedited from the alsa source
Title: Re: ALSA Sound problems.
Post by: meo on December 02, 2014, 10:39:07 AM
Seems good. Good luck with your mission Misalf!

Have fun guys,
meo
Title: Re: ALSA Sound problems.
Post by: Misalf on December 02, 2014, 10:51:22 AM
I've just noticed  alsaconf  is not provided by  alsa-config.tcz  but  alsaconf.tcz  on 5.x.
alsaconf.tcz  is not available on 6.x repo.

--

meo. q:
Title: Re: ALSA Sound problems.
Post by: Juanito on December 02, 2014, 11:16:46 AM
Agreed, I said as much above  :)
Title: Re: ALSA Sound problems.
Post by: core-user on December 02, 2014, 12:54:20 PM
Hi guys!

It's a mystery to me also. I've already checked that it's not muted. If I try to run alsaconf I get an error message that tells me that the command doesn't exist. In XMMS a message comes up telling me to check if the sound card is configured properly. Weird, isn't it? This is in TC 6 beta 1 so it might be something else that causes this problem. Thanks all for your input!

Have fun,
meo
With XMMS, menu>preferences, output plugin>configure, audio device> try changing the device, sometimes it doesn't find the right one first time around.
Title: Re: ALSA Sound problems.
Post by: meo on December 02, 2014, 04:40:48 PM
Hi guys!

Thanks core-user!!! I can hear again (XMMS is back)!!!

Have fun guys,
meo
Title: Re: ALSA Sound problems.
Post by: Misalf on December 03, 2014, 07:51:41 AM
Turned out I don't need alsaconf either. First off, I had no luck with it. Neither the Core 5.x version nor the unmodified 1.0.28 version of the script could find / initialize my sound card.

However,  alsa.tcz  OnBoot is not enough in my case and loading  alsa-config.tcz  post boot and issueing  sudo /usr/local/etc/init.d/alsasound start  doesn't work here. I need to load  alsa.tcz  plus  alsa-config.tcz  OnBoot in order for the sound to automagically work. I don't even have to issue  /usr/local/etc/init.d/alsasound start  in  /opt/bootlocal.sh .
So, all good with ALSA.

Maybe I'll try to edit the new alsaconf script like the 5.x version is and see if it can still be useful.