LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices

Reply
 
Search this Thread
Old 07-20-2013, 01:52 PM   #1
andreas-r
Member
 
Registered: Jan 2013
Location: Denmark
Distribution: Ubuntu 12.10 & Slackware 14, 64bit
Posts: 46

Rep: Reputation: 0
Internal pc speakers in VirtualBox


I'm running TempleOS as a VirtualBox guest on a Debian Wheezy host. TempleOS is a very special OS maybe better viewed as an art project than as anything like a regular OS. Anyways it only supports sound from internal pc speakers - how do I get that working in VirtualBox? I've tried both selecting Intel HD Audio, ICH AC97 and Soundblaster 16 all with ALSA in VirtualBox settings.

My computer is a Lenovo Thinkpad edge and I can get system beeps on the host so I think the internal pc speakers are working as they should ...

Thanks!
 
Old 07-21-2013, 03:45 PM   #2
jefro
Guru
 
Registered: Mar 2008
Posts: 11,105

Rep: Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362
Virtualbox is a software version of a real computer. In this instance the client is using a software device of some common sound. In any of those choices you have to be sure the client OS is configured properly to use the choice. I might be tempted to try a live cd like mint and see if the sound works out of the box. That would prove the host can play sound hopefully. Then you'd need to go back to the client and see if there is some issue from driver to volume to alsa mixer or what not.
 
Old 07-21-2013, 04:09 PM   #3
andreas-r
Member
 
Registered: Jan 2013
Location: Denmark
Distribution: Ubuntu 12.10 & Slackware 14, 64bit
Posts: 46

Original Poster
Rep: Reputation: 0
Thanks for replying. Sound is fine on my host OS, other VirtualBox clients and live CD's. This is a specific questions about an OS that only supports pc speaker ... well I guess it might be a hardware problem. Thinkpads have somekind of pc speaker that can only be shut off from the bios and that can beep. Well maybe that isn't compatible with the old school way of doing things in TempleOS ...
 
Old 07-22-2013, 02:48 PM   #4
jefro
Guru
 
Registered: Mar 2008
Posts: 11,105

Rep: Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362
Ok. I get it now.

Pc speaker could be an option in the virtual machine's bios. Usually have to be quick to access it. Use your VM's doc's for virtual bios options to see if it is possible to enable or disable.

The host pc speaker I don't think isn't involved in the client as you seem to suggest. Any sound from a vm would be translated to the host's sound.

Might be just as easy to add in some sound support for this OS.

It may be that some issue also has disabled pc speaker in the OS. Might try some old dos or other simple OS to verify that a VM can use beep.
 
Old 07-22-2013, 03:18 PM   #5
andreas-r
Member
 
Registered: Jan 2013
Location: Denmark
Distribution: Ubuntu 12.10 & Slackware 14, 64bit
Posts: 46

Original Poster
Rep: Reputation: 0
Thanks

I'm not sure about the bios settings.
Code:
VBoxManage modifyvm VMNAM --bioslogodisplaytime 10000
Makes the splash screen stay longer but only option is to press F12 for boot options which doesn't include bios. Some forums say VB bios options doesn't exist. Maybe it's deprecated ...

Anyways good idea to test DOS or something like it to see if internal pc speaker works with that.

Last edited by andreas-r; 07-22-2013 at 03:20 PM.
 
Old 07-22-2013, 09:08 PM   #6
jefro
Guru
 
Registered: Mar 2008
Posts: 11,105

Rep: Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362
By Golly you are correct. I think I did hear about that being changed. I just tried it and can only get to F12 temp boot order menu. Del F1 and F2 don't seem to work. Manual doesn't seem to say any way to vboxmanage pc speaker.

Do you have to use the client's pc speaker?

Last edited by jefro; 07-22-2013 at 09:09 PM.
 
Old 07-23-2013, 02:16 AM   #7
andreas-r
Member
 
Registered: Jan 2013
Location: Denmark
Distribution: Ubuntu 12.10 & Slackware 14, 64bit
Posts: 46

Original Poster
Rep: Reputation: 0
Quote:
Do you have to use the client's pc speaker?
Been looking into it and the only bios settings for sound on the host computer involve enabling or disabling various beep warnings so I've come to believe that all the pc speaker on my computer can do is beep. If that the case, I'm looking for a way to make VirtualBox emulate pc speaker hardware and play the sound via alsa, though I'm afraid that's not doable in any straight-forward way.

I've read somewhere that VMWare used to have that kind of support for pc speaker but doesn't anymore. That's why I tried VirtualBox hoping it could work there ...
 
Old 07-23-2013, 02:21 PM   #8
jefro
Guru
 
Registered: Mar 2008
Posts: 11,105

Rep: Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362
I don't think a client's use of a pc speaker would use the hosts pc speaker ever on any vm.

The question is still, why do you need to use the pc speaker? A common sound card driver should fix your issue.

Might try qemu.

One of the forums for ubuntu had a search hit for something like you wanted but it was down because of being hacked. Maybe it is back up.

Last edited by jefro; 07-23-2013 at 02:23 PM.
 
Old 07-23-2013, 02:40 PM   #9
andreas-r
Member
 
Registered: Jan 2013
Location: Denmark
Distribution: Ubuntu 12.10 & Slackware 14, 64bit
Posts: 46

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jefro View Post
The question is still, why do you need to use the pc speaker? A common sound card driver should fix your issue.
Now I get your question. TempleOS is (somewhat primitively) designed with one default driver for everything. For similar reasons only 640x480 16 color screen resolution is supported.

qemu looks interesting. Checking it out now.
 
Old 07-23-2013, 09:44 PM   #10
jefro
Guru
 
Registered: Mar 2008
Posts: 11,105

Rep: Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362
Heck, I thought templeos was a linux disto. I see now what it is. The web site is so confusing I can't tell what it is. Seems to look like assembly but goes back and forth.

What do you need to use this OS for? Can some other OS like MenuetOS or HaikuOS or freedos or qnx work?

Last edited by jefro; 07-23-2013 at 09:45 PM.
 
Old 07-24-2013, 02:33 AM   #11
andreas-r
Member
 
Registered: Jan 2013
Location: Denmark
Distribution: Ubuntu 12.10 & Slackware 14, 64bit
Posts: 46

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jefro View Post
What do you need to use this OS for?
Well, as I wrote in my first post maybe templeOS is better viewed as an art project than a regular OS. Some guy wrote it pretty much from scratch in his own version of C called Holy C. As indicated by the website and videos he has put on youtube the guy seems to believe that God lives in his OS and indeed it features a game in which God speaks to you (in random generated words) if you find the burning bush on Mount Horeb(!) There is also a program for creating hymns which (as demonstrated on youtube) sound unnervingly weird. I would need sound to play with that.

Regardless of what issues it's creator might have templeOS is a remarkable accomplishment that seems like a parallel universe of OS's. Honestly my interest in it is simply novelty.
 
Old 07-24-2013, 02:30 PM   #12
jefro
Guru
 
Registered: Mar 2008
Posts: 11,105

Rep: Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362
Might try older versions of virtualbox, qemu, vmplayer, bochs or (I forget the other one I wanted to suggest). Pretty sure I had some OS running in bochs under BeOS a long time ago and the pc speaker worked.

I'd still try some other OS's in a current version to see if the pc speaker could work.

I have tried almost all the unique OS's. One guy made SkyOS and it was pretty neat. I think one guy made MenuetOS and it is fantastic.

Last edited by jefro; 07-24-2013 at 02:32 PM.
 
  


Reply

Tags
internal, speakers, virtual box


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] new laptop. Headphones doesnt mute internal speakers. Greet Linux - Software 3 08-01-2011 02:28 PM
[SOLVED] can't get internal speakers to work compuidiot Linux - Hardware 6 03-10-2011 03:46 PM
No audio from internal speakers but headphones work matt1123 Linux - Hardware 5 10-17-2010 02:38 PM
Internal speakers don't mute on FSC Amilo Pro R.Istros Linux - Hardware 3 02-04-2010 02:16 PM
Internal Speakers Don't shut off When Connecting Headphones skipjackrc4 Linux - Laptop and Netbook 17 08-21-2009 07:29 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration