User:Xslr/oss4

Summary
This is a guide that helps with installing Open Sound System, version 4 under Gentoo.

Overlay setup
Sync layman's overlay list:

Add the OSSv4 layman overlay:


 * For layman versions prior to 1.2.0 use:


 * For layman versions 1.2.0 and later use:

Install

 * stable branch:
 * unstable branch:

The ebuilds have blockers for each other branch to force you to uninstall it first if you want to switch, so you may have only one of oss and oss-devel installed at a time, not both of them.

Make sure you have disabled the sound support from the kernel before starting oss. With the new kernel just run ossdetect and soundon as root. Now you're good to go, don't forget to add soundon to a default runlevel.

Optional stuff
If you are using the unstable branch but you don't feel like being on the edge, you can mask the mercurial (VCS) ebuild:

Keep your overlay up-to-date, by running from time to time

then re-emerge OSS.

The USE flag will emerge libflashsupport (neccesary for Flash sound support). GStreamer has an OSS4 plugin (required for Gnome volume control), but there's no official ebuild yet. The overlay contains a gst-plugins-oss4 ebuild which can be used to build it. See also bug.

Links

 * OSS site
 * OSS Wiki
 * OSS Overlay
 * Arch/ Linux wiki OSS page
 * Arch/ Linux wiki OSS page
 * Arch/ Linux wiki OSS page