Tiny Core Extensions > TCE Q&A Forum
Alsa sound not working (Newbie)
Adutchman:
Disclaimer: I am very new to TinyCore Linux and configuring ALSA so it could be very well some very simple issue but I have already been working on this for 2 hours so I thought: might as well ask the forums.
I am having issues with ALSA. If I open the ALSAmixergui it shows my sound device (HDA Intel) and nothing looks wrong. If I type in the commands: lsmod | grep snd and aplay -l it returns results very similar to the "setting up sound wiki": http://wiki.tinycorelinux.net/wiki:setting_up_sound. Despite all of these good signs, vlc still doesn't detect any sounddevices. I did get them to work at some point, but back then I litterally installed all things popping up in the Apps program at ALSA, OSS and pulseaudio because I hadn't read the wiki, so I can't say what worked. Also, at that point, VLC worked but Firefox didn't (Firefox_getLatest)
Rich:
Hi Adutchman
--- Quote --- ... I litterally installed all things popping up in the Apps program at ALSA, OSS and pulseaudio ...
--- End quote ---
Remove them all and start over.
Here's a step by step that got ALSA working for me:
http://forum.tinycorelinux.net/index.php/topic,22145.msg138620.html#msg138620
aus9:
Hi
Rich beat me to it but heres my 2 cent worth
Since you mention firefox, I believe you will need to have pulseaudio set up in addition to alsa.
so if you bookmark
https://imgur.com/
you can open a terminal and take a screenshot of you terminal command for alsamixer....which I find better than alsamixergui.....just my opinion.....so we can see if your mixer is unmuted for outputs and levels high enough
2) the command to run to take a screenie is
--- Code: ---screenshot.sh
--- End code ---
then upload it to ingur and copy and paste the link in your reply please.
3) now in the terminal run this command
--- Code: ---speaker-test
--- End code ---
and you will need the alsa-config package loaded to run that command
Can you report.....Do you hear sound?
4) Now lets look at Pulseaudio
We assume above is good....but continue even if you do not hear sound please
Please re-read the Apps info for pulseaudio.....Hint you need dbus running
later on.....we might suggest how you can automate that......but for now confirm dbus is running
--- Code: ---/usr/local/etc/init.d/dbus status
dbus is running
--- End code ---
if above shows its not running we start it with root powers like this
--- Code: ---sudo /usr/local/etc/init.d/dbus start
--- End code ---
5) now repeat
--- Code: ---pulseaudio -vvv
--- End code ---
do you see any errors
6) assuming none now load pauvcontrol and click the icon in wbar
go to the extreme right hand tab and set it up for your device
I have onboard sound speaker lead to desktop powered speaker or headphones so I need
analog stereo duplex.....while you may have a surround sound so need 5.1 etc
Let us know what you have please?
now play something and report
aus9:
and in addition to above.....as per Rich suggestion on init please show the output to
--- Code: ---alsactl init
--- End code ---
Adutchman:
I followed the guide from Rich first to make sure ALSA worked, that made it work flawlessly. After that I installed Pulseaudio with the guide from aus9 and everything works flawlessly. I think ALSA didn't work because I didn't initialise the speakers, they don't mention it on the wiki page. Is this because the wiki page is outdated or something similar or am I missing something?
Also, how can I automate all of this because I do have to start dbus again after rebooting and this step in Rich's tutorialecho alsactl restore >> /opt/bootlocal.sh didn't work. Even when using sudo, it returns: can't create ...: Permission denied. Can you help me with this?
PS: a big thank you to all of you! The response is so quick and it reminds me how kind and friendly the linux community is, it surprises me every time! :)
Navigation
[0] Message Index
[#] Next page
Go to full version