Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: bushyiii on August 12, 2018, 05:12:29 PM
-
I installed alsa and alsaguimixer to load on boot. The mixer icon is displayed. When it is clicked I get the following message:alsamixer: function snd_ctl_open failed for default: No such file or directory.
lspci output: Intel Corp atom/celeron/pentium processor x5-e8000/J3xxx/N3 series high definition audio controller (rev 35)
dmesg doesn't show anything about audio.
I'm guessing the kernal isn't loading the audio driver. Any suggestions on how to proceed?
[EDIT]: Marked as solved. Rich
-
Hi bushyiii
Last time I needed to set up ALSA I used the following procedure:
1. Install alsa-config.tcz
2. Install alsa.tcz
3. Install alsamixergui.tcz (optional)
4. Set the volume control on the front of the speaker about 1/3 of the way up
5. Run:
alsactl init
This produced a slight thump as the card was found and initialized. That command
also unmuted the speakers and set the mixer volumes at sane levels.
6. Run:
speaker-test [-Ddefault:1] -c2 -t wav -l1
If all went well, you should hear the phrases "Front Left" and "Front Right" from
your left and right speakers respectively.
7. Run:
sudo alsactl store
8. Run:
echo alsactl restore >> /opt/bootlocal.sh
9. Run:
echo usr/local/etc/alsa/asound.state >> /opt/.filetool.lst
10. Run a backup to save your setup.
-
Hi Rich,
Best tuto on alsa ! If it not in the wiki, it will be a good idea to include it !
... Nearly every newbee , find difficulty in setting sound ! :)
-
After installing Alsa.tcz I consider it most important to check that Alsa service has started;
ControlPanel > Services > Alsa = green
then run;
alsamixer
to check the correct Card and Chip has been detected, or select it if not " F6 "
then check alsamixer controls making sure none are Muted
My latest HDA intel PCH Card uses a Realtek chip and requires alsa-config.tcz to be loaded first for auto detection
-
alsa is not running.
-
alsa is not running.
what is the responce from these commands?
tce-load -i alsa-config alsa
sudo /usr/local/etc/init.d/alsasound start
alsamixer
-
The next issue with Alsa is the Master volume control by default is MM (muted)
Except if alsa-config is loaded before alsa then the Master volume is 00 (Not muted)
Have never seen that before..
The most reliable method to ensure the Master volume is not muted is to run
amixer set "Master" 80 unmute
Better yet, create a file in .X.d to run at every boot
echo "amixer set "Master" 80 unmute" > ~/.X.d/alsa
then add "/home/tc/.X.d/alsa" to the backup
-
Lastly, there is the issue of Firefox which now requires "pulseaudio"
so try
tce-load -i alsa-config alsa pulseaudio
amixer set "Master" 80 unmute
-
alsa is not running.
what is the responce from these commands?
tce-load -i alsa-config alsa
Response=OK
sudo /usr/local/etc/init.d/alsasound start
Line 7: Can't create /opt/alsa/.alsadriver: non existent directory
alsamixer
sh: alsa: not found
-
I extracted all the suggestions from within this post and tried organizing them in a coherent list. After doing that I was able to get audio working. Maybe this ordered list can be done better and made into a sticky to help other noobies like me.
Ultimately what made it work was modifying the file order in my onboot.lst file:
alsa-config.tcz
alsa.tcz
alsamixergui.tczalsa-modules-4.14.10-tinycore64.tcz
1. Install alsa-config.tcz
2. Install alsa.tcz -- check that Alsa service has started; ControlPanel > Services > Alsa = green
3. Install alsamixergui.tcz (optional) == check alsamixer controls making sure none are Muted
4. Set the volume control on the front of the speaker about 1/3 of the way up -
5. Run: alsamixer
6. tce-load -i alsa-config alsa pulseaudio
7. amixer set "Master" 80 unmute
8. Run: alsactl init- This produced a slight thump as the card was found and initialized. That command also unmuted the speakers and set the mixer volumes at sane levels.
9. Then to check the correct Card and Chip has been detected, or select it if not " F6 "
10. then check alsamixer controls making sure none are Muted
11. Run: speaker-test [-Ddefault:1] -c2 -t wav -l1 - If all went well, you should hear the phrases "Front Left" and "Front Right" from your left and right speakers respectively.
12. Run: sudo alsactl store
13. Run: echo alsactl restore >> /opt/bootlocal.sh
14. Run: echo usr/local/etc/alsa/asound.state >> /opt/.filetool.lst.
15. Run a backup to save your setup.
-
Hi bushyiii, nice work for future refetence to other new members, who may face sound config thru "alsa" !
Thanks !
:)
-
Update: Alsa only works after a reboot when I do Alsa init. It doesn't go on standartly so I probably miss some "open on boot" function. Can you tell me how to do that?
-
Hi Adutchman
After performing steps 7, 8, and 9 in reply #1, did you remember to perform step 10 which was to run a backup?