Hi there, I m running Slitaz 5.0 on Virtual Box. It is exactly the linux distro I was looking for and it works like a charm. But sadly there is no sound. No active audio output is what reports programs like minitube. And the same when I try to play a soundfile. I've tried all possible options on ALSA MIXER. f2 does not work for me but F6 allows me to switch between "default", "HDA Intel" and "enter device name", I tried with all options. As well I tried both with CoreAudio + ICH AC97, Audio HD Intel and SoundBlaster on Settings/Sound from Virtual Box making sure audio was enabled on Virtual Box too. I see a volume bar on the top right where I can launch ALSA Mixer. Would like to ask to the forum if there's any way of having sound on Virtual Box with Slitaz. Kind Regards!.

Running Slitaz 5.0 as guest on Virtual Box: No Sound. Please Help.
(8 posts) (5 voices)-
Posted 9 years ago #
-
Hi!
You can try this at a terminal:
# alsactl init
Set up your sound preferences and type:
# alsactl store
Maybe this could work to you.
Have a nice day!Posted 9 years ago # -
Virtualbox running on arch linux host.
Slitaz-5.0 guest audio works on boot with this configuration on virtualbox.
Settings/Audio/Host Audio Driver: ALSA Audio Driver
Settings/Audio/Audio Controller: ICH AC97Posted 9 years ago # -
I tried these commands: no success but I report screen in case this would be helpful for Slitaz forum.
I tried selecting all possible options on ALSA mixer by pressing F6"default", "Intel82801AA-ICH" and "enter device name"
I cannot set Host Audio Driver to ALSA Audio Driver from my Virtual Box, the only available thing is "CoreAudio", maybe that's why. I m not working on Arch anyway.
Thanks a lot for the answers, anyway.
Posted 9 years ago # -
Hi Captcha,
which host system are you runnning? I'm running Virtualbox on a linux host and it offers me PulseAudio, OSS and ALSA. I'm able to play sound with PulseAudio and ICH AC97. However, as Mojo mentioned, I had to run "alsactl init" once in order to have the sound card recognized by slitaz.
Regards, TimPosted 9 years ago # -
Running Slitaz 5 VB in Ubuntu 14.04 host and managed to get sound going after running alsactl init without any issues -
Posted 9 years ago # -
Ok, I tried to recapture how I made my sound work in Virtualbox. Doing so, I noticed something interesting/strange in the behaviour of Virtualbox (I'm running Virtualbox 5.0 on Linux).
When I created the Slitaz VM with the standard audio settings, it gave me "Host Driver: PulseAudio" and "Controller: ICH AC97". Booting Slitaz Live resulted in no sound, no matter if I run "alsactl init" or not. The "alsactl init" command shows an AD1980 as sound card.
Next thing I did was to shut down the VM, change the audio controller to "Intel HD Audio", start Slitaz again and there is again no sound, "alsactl init" doesn't have an effect.
Then I shut down the VM again, switched the audio controller back to "ICH AC97", started Slitaz, ran the "alsactl init" command et voilĂ there is sound and MP3 are playing nicely. Only this time alsactl showed a different soundcard "Sigmatel"
This brought to me having a closer look at the .vbox config file of the machine.
In the VM with sound there is a line "<AudioAdapter controller="AC97" driver="Pulse" enabled="true"/>" while in the newly created VM the line goes like "<AudioAdapter controller="AC97" codec="AD1980" driver="Pulse" enabled="true"/>"
The absence of the codec parameter seems to make the difference.
To verify, I created a fresh machine, removed the codec statement before starting the VM, after having booted Slitaz, I ran "alsactl init" right away and the sound immediately worked.That's all.
Good luck.
Posted 9 years ago # -
Can confirm Tim's findings above - my .vbox file also shows
<AudioAdapter controller="AC97" driver="Pulse" enabled="true"/>
Posted 9 years ago #
Reply
You must log in to post.