[oss-devel] soundoff /dev/mixer: No such device or address

Clive Wright clive_wright at ntlworld.com
Sat Aug 18 00:41:51 EEST 2007


Reported the following 2 days ago on the OSS developers forum though 
from reading the developers site front page it appears I should have 
posted here.

A problem with the latest GPL test drop: 
oss-v4.0-build1005rc2-src-gpl.tar.bz2

If /usr/lib/oss/etc/userdefs contains:
autosave_mixer yes

running soundoff does not save mixer settings and the following error is 
displayed:
/dev/mixer: No such device or address

This appears to be caused by /usr/sbin/savemixer running after the oss 
kernel modules are removed.

The following patch will provide a quick fix:

--- /usr/src/oss/prototype/usr/sbin/soundoff    2007-07-19 
00:22:24.000000000 +0100
+++ /usr/sbin/soundoff  2007-08-15 22:02:19.000000000 +0100
@@ -48,7 +48,7 @@

  for i in 1 2 3
  do
-  for n in $VIDEODRIVERS `cat $OSSLIBDIR/etc/installed_drivers | sed 
's/ .*//'`
+  for n in $VIDEODRIVERS #`cat $OSSLIBDIR/etc/installed_drivers | sed 
's/ .*//'`
    do
      /sbin/modprobe -r $n > /dev/null 2>&1
    done

_________________
regards
Clive


More information about the oss-devel mailing list