Pen-Yuan Hsing wrote: > Hello, > I have OpenSolaris 2009.06 running on VirtualBox 3.0.8 with Mac OS X 10.5.8 > host. I've tried for a week with no success to get sound to work in this > system. I've followed the instructions to remove the original audiohd drivers > and replace it with OSS from this blog entry: > > http://blogs.sun.com/constantin/entry/how_to_get_audio_to > > After installing OSS, ossdetect and osstest both works well, but there is > still a big red slash across the sound volume icon. When I click it it still > says "The volume control did not find any elements and/or devices to control. > This means either that you don't have the right GStreamer plugins installed, > or that you don't have a sound card configured." > > Someone suggest it might be a permissions issue with /dev/audio and > /dev/audioctl, so I tried to do this: > > pfexec chmod 0666 /dev/audio* > > After logging off and back on, the red slash disappeared and I was able to > adjust volume, etc. But I still got no sound! (no system sounds, music > players no sounds, etc.) > > I tried rebooting and now the slash is back! > > Any help would be appreciated! > > P.S. As a newbie to OpenSolaris, what's the difference between Boomer and > OSS? Should I try to replace OSS with Boomer? >
I doubt you'll get good results with VirtualBox without Boomer. Boomer is derived from OSS, but also other sources, and represents a major rewrite of Solaris audio. OSS is a 3rd party package from 4Front, and the two are incompatible with each other. Boomer lacks a few features from OSS (most notably it supports fewer devices than OSS, although far more than Solaris originally supported, and the set of supported devices is expanding still! and it also lacks support for AC3 pass-through.) But Boomer also is far more tightly integrated with Solaris, and should give far better performance and reliability than OSS. It also has better support for features such as suspend/resume and fast-reboot, which OSS lacks. Boomer is not integrated into 2009.06, but will be in the next version. If you download a development release from genunix.org (say build 124), then you'll have Boomer by default. -- Garrett