[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#322197: OSS_GETVERSION ioctl (on /dev/mixer) fails with ENXIO



On Fri, Nov 04, 2005 at 03:41:27AM +0100, Pedro F. Giffuni wrote:
> Hi Robert;
> 
> I recently looked at your bug report on Debian, wondering if I could perhaps
> get some help for you guys here.
> Unfortunately the code that you would need to change:
> 
> http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/sound/pcm/
> 
> is actually *not* OSS, according to the manpage the pcm driver was rewritten
> for FreeBSD 5.2! Since it's not OSS I'm not sure it would make sense to add
> that ioctl. Perhaps you could patch the code or suggest the package maintainer
> that when FreeBSD>=5 is detected it assumes or skips the OSS_VERSION?

Hi!

Currently, we're using kFreeBSD 5.4.  We patched it to support OSS_VERSION and
OSS_GETVERSION in order to improve compatibility with OSS.  However, the patch
we used was not totaly correct, so the ioctl is present but not working.

Please note that OSS is both a standard and an application, much like X11.  But
in this case the application is propietary, so when we speak of OSS we're
referring to the standard that both free implementations (like the ones in Linux
or kernels of *BSD) and the propietary implementation (used in propietary Un*x)
follow.

What I'd like is that our OSS is more compatible with the one in Linux, since
this is the actual de-facto standard (i.e. what everyone is using to develop OSS
programs).  If the propietary one has functions that we don't have, this is not
a big deal, but if the Linux one does, that means more packages that break on
GNU/kFreeBSD.

-- 
Robert Millan



Reply to: