From owner-freebsd-current Mon Apr 27 14:18:56 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA09977 for freebsd-current-outgoing; Mon, 27 Apr 1998 14:18:56 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from ns1.yes.no (ns1.yes.no [195.119.24.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA09941 for ; Mon, 27 Apr 1998 14:18:49 -0700 (PDT) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [194.198.43.36]) by ns1.yes.no (8.8.7/8.8.7) with ESMTP id VAA07229; Mon, 27 Apr 1998 21:18:41 GMT Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id XAA04116; Mon, 27 Apr 1998 23:18:40 +0200 (MET DST) Message-ID: <19980427231840.60289@follo.net> Date: Mon, 27 Apr 1998 23:18:40 +0200 From: Eivind Eklund To: Doug Ambrisko , freebsd-current@FreeBSD.ORG Subject: Re: DEVFS & sound drivers question References: <199804272030.NAA00121@whistle.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89.1i In-Reply-To: <199804272030.NAA00121@whistle.com>; from Doug Ambrisko on Mon, Apr 27, 1998 at 01:30:11PM -0700 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Apr 27, 1998 at 01:30:11PM -0700, Doug Ambrisko wrote: > I've been playing with DEVFS and the SLICE code. I ran into a problem > with running RealAudio 5.0 (Linux) which was that it likes to look > at the sound devices without a unit number at the end (ie. /dev/sndstat > instead of /dev/sndstat0). The DEVFS entries are only made with the > unit number appended. I modified the snd & pcm drivers such that > if the unit is "0" then also make the DEVFS entries for this device without > the unit number appended. This and ownership changes of the devices lets > me run RealAudio with DEVFS. > > Should DEVFS make these devices (MAKEDEV did)? Yes. I remembered that there was _some_ change I'd forgotten to do before I committed that (it's been lying around in my tree for ages), but I couldn't for the life of me remember what it was. Do you have suitable diffs? (I don't have a soundcard, so I couldn't really test the code - I just thought that something would be better than nothing...) > Should these be made as a sym-link and can DEVFS make a sym-link? DEVFS can't make symlinks, AFAIK. The easiest way for you to find out is probably to ask Julian ;-) Eivind. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message