From owner-freebsd-current Mon Apr 27 13:37:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA01592 for freebsd-current-outgoing; Mon, 27 Apr 1998 13:37:14 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA01579 for ; Mon, 27 Apr 1998 13:37:12 -0700 (PDT) (envelope-from ambrisko@whistle.com) Received: (from daemon@localhost) by alpo.whistle.com (8.8.5/8.8.5) id NAA14971 for ; Mon, 27 Apr 1998 13:35:11 -0700 (PDT) Received: from crab.whistle.com(207.76.205.112), claiming to be "whistle.com" via SMTP by alpo.whistle.com, id smtpd014960; Mon Apr 27 20:35:01 1998 Received: (from ambrisko@localhost) by whistle.com (8.8.8/8.8.7) id NAA00121 for freebsd-current@FreeBSD.ORG; Mon, 27 Apr 1998 13:30:12 -0700 (PDT) (envelope-from ambrisko) From: Doug Ambrisko Message-Id: <199804272030.NAA00121@whistle.com> Subject: DEVFS & sound drivers question To: freebsd-current@FreeBSD.ORG Date: Mon, 27 Apr 1998 13:30:11 -0700 (PDT) X-Mailer: ELM [version 2.4ME+ PL29 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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)? Should these be made as a sym-link and can DEVFS make a sym-link? BTW, I haven't got to the vn device, but should soon. Doug A. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message