LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-09-2014, 11:04 AM   #1
lionoceros
LQ Newbie
 
Registered: Jan 2014
Posts: 14

Rep: Reputation: 8
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):

Code:
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, 12:32 PM   #2
lionoceros
LQ Newbie
 
Registered: Jan 2014
Posts: 14

Original Poster
Rep: Reputation: 8
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.
 
  


Reply


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 02: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 01:51 PM
Problem installing guest additions on virtualbox Centos 5.5 64bit guest eljay313 Linux - Virtualization and Cloud 1 09-03-2010 09:22 AM
LXer: Install Guest additions and run fullscreen mode on VirtualBox Guest OS | Linux LXer Syndicated Linux News 0 01-17-2010 06:30 PM
Configure USB in Windows XP guest at virtualbox nos1833 Debian 1 03-08-2008 12:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:26 AM.

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