OSS problem

Discussions related to using VirtualBox on Linux hosts.
Post Reply
sevy
Posts: 4
Joined: 15. Jan 2009, 21:14

OSS problem

Post by sevy »

Hi there
Im completely new to virtual box and even Linux so bear with me.
To get my m-audio2496 soundcard to function properly in Hardy I have to use OSS with no other sound architecture installed.
In virtual box I have selected OSS but crashes my whole system.
Only Null audio driver allows me to boot my windows XP virtual OS but there's no sound.
I get the following errors in my virtualbox logs-

00:00:03.997 Audio: Trying driver 'oss'.
00:00:03.997 Audio: set_record_source ars=0 als=0 (not implemented)
00:00:03.997 OSS: Failed to open /dev/dsp for ADC (Permission denied)
00:00:03.998 OSS: Failed to open /dev/dsp for ADC (Permission denied)
00:00:04.009 OSS: Successfully opened /dev/dsp for DAC
00:00:04.009 OSS: Failed to open /dev/dsp for ADC (Permission denied)
00:00:04.009 OSS: Failed to open /dev/dsp for ADC (Permission denied)
00:00:04.009 AC97: WARNING: Unable to open PCM IN!
00:00:04.009 AC97: WARNING: Unable to open PCM MC!
00:00:04.009 Console: VM runtime error: fatal=false, errorID=HostAudioNotResponding message="Some audio devices (PCM_in, PCM_mic) could not be opened. Guest applications generating audio output or depending on audio input may hang. Make sure your host audio device is working properly. Check the logfile for error messages of the audio subsystem"

I get the following for null

00:00:02.182 Audio: Trying driver 'null'.
00:00:02.182 Audio: set_record_source ars=0 als=0 (not implemented)

How can I fix this?
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

It seems that you don't have the proper privileges to access /dev/dsp. Check if you are in the proper user groups to use OSS this way. You can always try a chmod 666 /dev/dsp as a work around and see how that goes.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
sevy
Posts: 4
Joined: 15. Jan 2009, 21:14

Post by sevy »

Thanks for the reply Sasquatch
I can now boot into xp with VB's audio set as OSS and Soundblaster 16 :D
The only trouble now is that xp tells me I have no audio device.There is usually a tab that allows me to update driver but its not there.
My xp is not a genuine copy so cant recieve updates.Have also tried to install m-audio drivers but no success.
I feel Im almost there!
:?:
sevy
Posts: 4
Joined: 15. Jan 2009, 21:14

Post by sevy »

:D :D OK all fixed now.I did add hardware and installed driver "soundblaster 16" and now have sound from my m-audio
Cheers
8)
sevy
Posts: 4
Joined: 15. Jan 2009, 21:14

Post by sevy »

It seems that you don't have the proper privileges to access /dev/dsp. Check if you are in the proper user groups to use OSS this way.
How would I do this?
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

sevy wrote:
It seems that you don't have the proper privileges to access /dev/dsp. Check if you are in the proper user groups to use OSS this way.
How would I do this?
Go to your system settings of the Users and Groups. There you can see if you are in the OSS and Audio group. Read the OSS documentation for more info.

As for the audio in the Guest, XP has the AC'97 driver build in, so you should use that. SB16 is only added to support legacy Guests like Win 98 and DOS with audio.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Post Reply