From owner-freebsd-current@FreeBSD.ORG Wed Sep 1 20:24:39 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B14ED16A4CE; Wed, 1 Sep 2004 20:24:39 +0000 (GMT) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 74B9443D53; Wed, 1 Sep 2004 20:24:38 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id i81KOWPK040215 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 1 Sep 2004 23:24:33 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.1/8.13.1) id i81KOWvs000535; Wed, 1 Sep 2004 23:24:32 +0300 (EEST) (envelope-from ru) Date: Wed, 1 Sep 2004 23:24:32 +0300 From: Ruslan Ermilov To: cg Message-ID: <20040901202432.GB416@ip.net.ua> References: <20040828142503.GA52613@ip.net.ua> <20040829190833.GA9796@cnd.mcgill.ca> <20040829205942.GC39813@ip.net.ua> <20040831133654.GF31981@ip.net.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="L6iaP+gRLNZHKoI4" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new cc: Seigo Tanimura cc: Cameron Grant cc: "Simon L. Nielsen" cc: multimedia@freebsd.org cc: Mathew Kanner cc: current@freebsd.org Subject: Re: [PATCH] sound(4) related manpages 5.3 TODO item X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Sep 2004 20:24:39 -0000 --L6iaP+gRLNZHKoI4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 01, 2004 at 08:16:33PM +0100, cg wrote: [...] > the /dev entries are /dev/dsp* and /dev/audio*, /dev/sndstat, /dev/mixer*= , =20 > plus the midi ones: /dev/midi* and /dev/sequencer. all of these names ar= e =20 > mandated by the oss spec. >=20 Oh, of course I meant /dev/dsp* when I wrote /dev/pcm*. ;) > i'm not sure about midi device numbering; i believe some cards can =20 > implement multiple midi devices, eg an fm synth, io port and a wavetable = =20 > synth simultaneously. >=20 > pcm won't be a separate device as such; it won't appear in dmesg. this = =20 > probably applies to midi too. >=20 OK. > >So, to summarize, I'd have liked to see the following happen: > > > >- "snd" is the generic sound device (module snd.ko) > >- "snd_foo" is the sound driver for foo (module snd_foo.ko) > >- "pcm" devclass renamed to "snd" > >- "pcm", "mixer", and "midi" devices are created as children of "snd" >=20 > no. pcm and midi will effectively be part of snd. making them separate = =20 > newbus drivers would be tricky and require every driver to be modified. >=20 OK, sounds very good. But what about PCM-related sysctls then? How will hw.snd.pcm0.vchans be represented, for example? hw.snd.0.vchans maybe? > >- repo-copy (and tweak as necessary) all bridge drivers manpages, > > as shown in my patch; > > > >- do *not* repo-copy pcm(4) to sound(4) yet, just link it, possibly > > mentioning in the manpage that the generic driver will soon be > > renamed from "sound" to "snd", > > > >- fix hints in NOTES (as in my patch) to match reality. >=20 > this sounds ok to me. >=20 OK, I will it then. > >When "sound" -> "snd" conversion is actually done, repo-copy > >pcm(4) to sound(4), tweak as necessary, documenting what the > >"sound" device really is, mentioning "pcm", "mixer", and "midi" > >sub-devices, link sound(4) to pcm(4), mixer(4), and midi(4). > > > >Please let me know how to proceed... >=20 > i don't think i can cope with the pressure of getting it into 5.3, so it'= d =20 > be better to postpone it until 5.4 i think. >=20 Sure, that's fine. ;) Can you please send me some plain text paragraph for the pcm(4) manpage that will be linked to the sound(4) manpage, documenting future plans like renaming "sound" to "snd", so people stay tuned? Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --L6iaP+gRLNZHKoI4 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (FreeBSD) iD8DBQFBNjAAqRfpzJluFF4RAonZAJwLgPFwLuUVr8NKDNdmbRqij/fDdgCgk7Sj 2O3Po8WlV2Aj45TPXMO67aE= =YKeJ -----END PGP SIGNATURE----- --L6iaP+gRLNZHKoI4--