Radix cross Linux

The main Radix cross Linux repository contains the build scripts of packages, which have the most complete and common functionality for desktop machines

452 Commits   2 Branches   1 Tag
     5         kx #!/bin/sh
     5         kx # Load the ALSA OSS kernel modules to support OSS applications.
     5         kx # To use this, set this script as executable (chmod 755 rc.alsa-oss)
     5         kx # and it will be run from the main rc.alsa script.  Unless you know
     5         kx # that something requires OSS support, it is better to leave this
     5         kx # script disabled.  Some applications will try OSS first even though
     5         kx # they also support ALSA, and will block other applications from
     5         kx # using audio I/O.
     5         kx #
     5         kx # Many programs that use OSS can be run using the aoss wrapper and
     5         kx # will then use ALSA in a non-blocking way (and will not require
     5         kx # loading these kernel modules).  Consider trying that before enabling
     5         kx # these modules.  (See "man aoss")
     5         kx 
     5         kx if modprobe -c | tr _ - | grep -wq snd-pcm-oss ; then
     5         kx   if ! cat /proc/modules | tr _ - | grep -wq snd-pcm-oss ; then
     5         kx     echo "Loading OSS compatibility modules for ALSA."
     5         kx     # Use -b to enable blacklisting these modules:
     5         kx     modprobe -q -b snd-pcm-oss
     5         kx     modprobe -q -b snd-seq-oss
     5         kx     modprobe -q -b snd-mixer-oss
     5         kx   fi
     5         kx fi