Page 1 of 1

OSS problem

Posted: 15. Jan 2009, 21:28
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?

Posted: 15. Jan 2009, 22:35
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.

Posted: 15. Jan 2009, 23:12
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!
:?:

Posted: 15. Jan 2009, 23:32
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)

Posted: 16. Jan 2009, 17:20
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?

Posted: 18. Jan 2009, 17:34
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.