Hannu Savolainen wrote:
Hi all,

We had to rename all the drivers and many other files to have unique names. For example the sblive driver is now called oss_sblive. In addition many files under kernel/framework have been renamed to have oss_ prefix. The work is still in progress because we have not decided how to name some of the drivers. However the renamed version is now in the hg server. make sure you pull the latest changes if you are making modifications to the drivers.

This change will have some unwanted side effects. For example the device file (directory) names under /dev/oss/ will change which may cause some compatibility problems. In addition the names of the driver modules will change. For this reason it's necessary to uninstall previous version of OSS before installing the latest version (otherwise the old driver modules will be left in the system). At least it's necessary to run soundoff, ossdetect, soundon and ossdevlinks -r after installing the new version.


I note that following these changes ossdetect does not add vmix (now oss_vmix) to /usr/lib/oss/etc/installed_drivers (irrespective of the -V option).

The attached patch corrects this for Linux 2.6 builds.
I haven't tested other architectures.

regards,
Clive
diff -uar /usr/src/oss/os_cmd/Linux/ossdetect/ossdetect.c /usr/src/ost/os_cmd/Linux/ossdetect/ossdetect.c
--- /usr/src/oss/os_cmd/Linux/ossdetect/ossdetect.c	2008-02-05 02:38:43.000000000 +0000
+++ /usr/src/oss/os_cmd/Linux/ossdetect/ossdetect.c	2008-04-18 13:08:37.000000000 +0100
@@ -20,7 +20,7 @@
 
 /* static char *osslibdir = "/usr/lib/oss"; */
 
-static char *vmix = "SOFTOSS";
+static char *vmix = "VMIX";
 static int install_vmix = 1;
 
 static int usb_ok = 0;
_______________________________________________
oss-devel mailing list
oss-devel@mailman.opensound.com
http://mailman.opensound.com/mailman/listinfo/oss-devel

Reply via email to