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 (4 months ago) by wiki
Branches: MAIN
CVS tags: HEAD
web commit by nia

    1: [[!meta title="OpenSoundSystem"]]
    2: 
    3: # Open Sound System for NetBSD
    4: 
    5: This page shows the progress of the porting of OSSv4 to NetBSD.
    6: 
    7: ## Update
    8: 
    9: It's not known if anyone is continuing to work on a native port of OSSv4, but this page is kept for archival purposes.
   10: 
   11: NetBSD 10 should have greater compatibility with OSSv4 via the userspace translation layer [ossaudio(3)](///man.netbsd.org/ossaudio.3), and the native audio system [audio(4)](man.netbsd.org/audio.4) is still preferred.
   12: 
   13: ## Version
   14: 
   15: The current version is v4.2 (hg-889)
   16: 
   17: ## Status
   18: 
   19: * DMA: ported (not complete)
   20: * PCI config access: complete
   21: * PCI mapping: ported to bus_space
   22: * INB/OUTB: incomplete (should use [[!template  id=man name="bus_space" section="9"]])
   23: * module support: WIP
   24: * Locking: ported to [[!template  id=man name="mutex" section="9"]]
   25: * MALLOC: ported to [[!template  id=man name="kmem" section="9"]]
   26: * getid: ported to [[!template  id=man name="kauth" section="9"]]
   27: * pkg: incomplete
   28: * compat_audio: not yet
   29: 
   30: ## FAQ
   31: 
   32: ### What works?
   33: 
   34: Loading osscore.kmod works.
   35: Loading virtal drivers work.
   36: 
   37: No functional testing has been done yet.
   38: 
   39: ### Who is working on it?
   40: 
   41: ahoka@
   42: 
   43: ### Where to get it?
   44: 
   45: You will need devel/mercurial and lang/gawk and devel/gmake to build it.
   46: 
   47: Browse online: <http://bitbucket.org/ahoka/oss4-netbsd/>
   48: 
   49: To get it:
   50: 
   51:     hg clone http://bitbucket.org/ahoka/oss4-netbsd
   52: 
   53: ### How to build it?
   54: 
   55: <http://www.opensound.com/wiki/index.php/Building_OSSv4_from_source>
   56: 
   57: I use this to build modules:
   58: 
   59:     rm -rf /tmp/ossbuild
   60:     mkdir /tmp/ossbuild
   61:     cd /tmp/ossbuild
   62:     
   63:     /home/ahoka/mercurial.opensound.com/configure
   64:     
   65:     gmake build
   66:     
   67:     cd prototype/usr/lib/oss/build/
   68:     sh install.sh
   69: 

CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb