SliTaz SliTaz Forum

You are not logged in.

#1 2016-02-02 14:29:05

captcha
Member
Registered: 2016-02-02
Posts: 2

Running Slitaz 5.0 as guest on Virtual Box: No Sound. Please Help.

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!.

[attachment=41563,2228]

Offline

#2 2016-02-02 15:54:24

Genesis
Member
Registered: 2014-07-03
Posts: 109

Re: Running Slitaz 5.0 as guest on Virtual Box: No Sound. Please Help.

Hi!

You can try this at a terminal:

[c]# alsactl init[/c]

Set up your sound preferences and type:

[c]# alsactl store[/c]

Maybe this could work to you.

Have a nice day!

Offline

#3 2016-02-02 17:26:17

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Running Slitaz 5.0 as guest on Virtual Box: No Sound. Please Help.

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 AC97

Offline

#4 2016-02-03 10:15:52

captcha
Member
Registered: 2016-02-02
Posts: 2

Re: Running Slitaz 5.0 as guest on Virtual Box: No Sound. Please Help.

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.

[attachment=41580,2229]

Offline

#5 2016-02-13 18:29:27

Tim
Member
Registered: 2016-02-13
Posts: 11

Re: Running Slitaz 5.0 as guest on Virtual Box: No Sound. Please Help.

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, Tim

Offline

#6 2016-02-13 23:00:03

gdesilva
Member
Registered: 2011-04-07
Posts: 419

Re: Running Slitaz 5.0 as guest on Virtual Box: No Sound. Please Help.

Running Slitaz 5 VB in Ubuntu 14.04 host and managed to get sound going after running alsactl init without any issues -

Offline

#7 2016-02-14 08:58:52

Tim
Member
Registered: 2016-02-13
Posts: 11

Re: Running Slitaz 5.0 as guest on Virtual Box: No Sound. Please Help.

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.

Offline

#8 2016-02-15 00:24:58

gdesilva
Member
Registered: 2011-04-07
Posts: 419

Re: Running Slitaz 5.0 as guest on Virtual Box: No Sound. Please Help.

Can confirm Tim's findings above - my .vbox file also shows

      <AudioAdapter controller="AC97" driver="Pulse" enabled="true"/>

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.015 seconds, 7 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]