File:  [NetBSD Developer Wiki] / wikisrc / opensoundsystem.mdwn
Revision 1.7: download - view: text, annotated - select for diffs
Wed Mar 31 06:30:53 2021 UTC (20 months ago) by wiki
Branches: MAIN
CVS tags: HEAD
web commit by nia

[[!meta title="OpenSoundSystem"]]

# Open Sound System for NetBSD

This page shows the progress of the porting of OSSv4 to NetBSD.

## Update

It's not known if anyone is continuing to work on a native port of OSSv4, but this page is kept for archival purposes.

NetBSD 10 should have greater compatibility with OSSv4 via the userspace translation layer [ossaudio(3)](///, and the native audio system [audio(4)]( is still preferred.

## Version

The current version is v4.2 (hg-889)

## Status

* DMA: ported (not complete)
* PCI config access: complete
* PCI mapping: ported to bus_space
* INB/OUTB: incomplete (should use [[!template  id=man name="bus_space" section="9"]])
* module support: WIP
* Locking: ported to [[!template  id=man name="mutex" section="9"]]
* MALLOC: ported to [[!template  id=man name="kmem" section="9"]]
* getid: ported to [[!template  id=man name="kauth" section="9"]]
* pkg: incomplete
* compat_audio: not yet

## FAQ

### What works?

Loading osscore.kmod works.
Loading virtal drivers work.

No functional testing has been done yet.

### Who is working on it?


### Where to get it?

You will need devel/mercurial and lang/gawk and devel/gmake to build it.

Browse online: <>

To get it:

    hg clone

### How to build it?


I use this to build modules:

    rm -rf /tmp/ossbuild
    mkdir /tmp/ossbuild
    cd /tmp/ossbuild
    gmake build
    cd prototype/usr/lib/oss/build/

CVSweb for NetBSD wikisrc <> software: FreeBSD-CVSweb