Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 02-09-2014, 10:04 AM   #1
LQ Newbie
Registered: Jan 2014
Posts: 8

Rep: Reputation: 0
Question How to configure audio in VirtualBox guest?

I'm having some trouble getting alsa to work in Slackware64-14.1 in a VirtualBox VM. I'm running Slackware without X (though I do have the X series installed).

First, I made sure rc.alsa was executable. Then, after logging in as root, I ran alsamixer to unmute the channels. I tested the sound by running cat /dev/sda > /dev/dsp, but there was no sound.

I searched for some guides to set up sound in Slackware, but I'm not sure which guide to use. Are there official instructions I could use?

Here is the output of lsmod | grep snd (sorry the indentation didn't work correctly):

snd_intel8x0		28308	0
snd_ac97_codec		112023	1	snd_intel8x0
snd_pcm				76009	2	snd_ac97_codec,snd_intel8x0
snd_page_alloc		7098	2	snd_intel8x0,snd_pcm
snd_timer			18614	1	snd_pcm
snd					58630	4	snd_ac97_codec,snd_intel8x0,snd_timer,snd_pcm
soundcore			5354	1	snd
ac97_bus			1198	1	snd_ac97_codec
I have installed the A, AP, D, F, K, L, N, TCL, and X series. Perhaps I'm missing a dependency? Should I just go with a default full install next time?
Old 02-09-2014, 11:32 AM   #2
LQ Newbie
Registered: Jan 2014
Posts: 8

Original Poster
Rep: Reputation: 0
Got it working! I read this part of the ArchWiki and set the channel volumes so dB gain = 0. Then, I ran the command speaker-test. It worked! For some reason the command cat /dev/sda > /dev/dsp doesn't work (which is what I used to use to test the sound), but that's probably not a big deal.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] how to check version of virtualbox guest additions currently installed in guest syste masuch Linux - Virtualization and Cloud 3 09-03-2012 01:05 AM
Host Fedora14, Windows 7 is running as Virtualbox guest- Mic is not working on Guest mwaheed Linux - Virtualization and Cloud 1 10-20-2011 12:51 PM
Problem installing guest additions on virtualbox Centos 5.5 64bit guest eljay313 Linux - Virtualization and Cloud 1 09-03-2010 08:22 AM
LXer: Install Guest additions and run fullscreen mode on VirtualBox Guest OS | Linux LXer Syndicated Linux News 0 01-17-2010 05:30 PM
Configure USB in Windows XP guest at virtualbox nos1833 Debian 1 03-07-2008 11:51 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:54 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration