Hi,

   The attached patch updates the ossdetect utility for all platforms except 
Solaris. It has only been tested on Linux, though. Changes:

   A) Remove reference to Solaris from manpage of non-Solaris versions. Add 
SYNOPSIS, SEE ALSO.
   B) Don't load license unless explicitly requested with '-l' (soundon calls 
'ossdetect -l' anyway if there's one).
   C) Print when USB is detected (otherwise, some users ask why it "detected" a 
usb card when they don't have one).
   D) Sync the various versions as much as possible:
     1) Add "-a", "-u", to systems which didn't have it. "-u" is NOP on FreeBSD 
(no oss_userdev?)
     2) Use "oss_imux" driver name.
     3) Use mknod(2) rather than call mknod via system().
     4) Sync manpages.
   E) Use "getopt" on all platforms.
   F) Read /etc/oss.conf to get OSSLIBDIR, rather than use hardcoded 
"/usr/lib/oss". Add "-L" option to override.
   G) Various misc. changes. Also change get_mapname in savemixer a bit.

Yours,
        Yair K.

Attachment: ossdetect.diff.gz
Description: GNU Zip compressed data

_______________________________________________
oss-devel mailing list
oss-devel@mailman.opensound.com
http://mailman.opensound.com/mailman/listinfo/oss-devel

Reply via email to