Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Jul 1999 16:49:28 +0200
From:      Marcel Moolenaar <marcel@scc.nl>
To:        emulation@FreeBSD.ORG
Subject:   Re: RealPlayer G2 for Linux (6.0-0.99051701)
Message-ID:  <3780C5F8.2270E128@scc.nl>
References:  <19990702182620.A9199@ipass.net>, <19990705081318.A1558@ipass.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Randall Hopper wrote:

> I don't know.  The only emulation-related error I get is:
> 
> LINUX: 'ioctl' fd=11, typ=0x44d(M), num=0x76 not implemented
> 
> I don't know what this is.

[cc'd to Luigi Rizzo]

Browsing through the Linux kernel code:

Soundcard.h:
 * Use ioctl(fd, OSS_GETVERSION, &int) to get the version number of
 * the currently active driver.

soundcard.h:#define OSS_GETVERSION                      _SIOR ('M', 118,
int)

So, what to return on FreeBSD systems when I want to implement it:

0	because the version doesn't say anything?
301	because that's what's defined in /usr/include/machine/soundcard.h
	on FreeBSD?
030600	because that's the lowest version with the new numbering?
030802	because that's the most current version on Linux?

My vote is 030600. Comments?

--
Marcel Moolenaar                                  mailto:marcel@scc.nl
SCC Internetworking & Databases                     http://www.scc.nl/
Amsterdam, The Netherlands                         tel: +31 20 4200655


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-emulation" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3780C5F8.2270E128>