From owner-freebsd-current Sat Feb 3 0:35:53 2001 Delivered-To: freebsd-current@freebsd.org Received: from pascal.math.yokohama-cu.ac.jp (unknown [163.212.93.141]) by hub.freebsd.org (Postfix) with ESMTP id 8980F37B401; Sat, 3 Feb 2001 00:35:35 -0800 (PST) Received: from localhost (pluto [163.212.97.157]) by pascal.math.yokohama-cu.ac.jp (8.9.3/3.7W) with ESMTP id RAA03626; Sat, 3 Feb 2001 17:37:11 +0900 (JST) To: jhb@FreeBSD.org, kapr@acm.org, brian@Awfulhak.org Cc: Yoshihiro.Koya@math.yokohama-cu.ac.jp, freebsd-current@FreeBSD.org Subject: RE: pcm driver and DEVFS From: Yoshihiro Koya In-Reply-To: References: <20010202161129Z.ipfw@ya3.so-net.ne.jp> <20010202152909.A1608@kapran.bitmcnit.bryansk.su> X-Mailer: Mew version 1.94.1 on Emacs 19.34 / Mule 2.3 (SUETSUMUHANA) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20010203174049B.koya@math.yokohama-cu.ac.jp> Date: Sat, 03 Feb 2001 17:40:49 +0900 X-Dispatcher: imput version 990905(IM130) Lines: 41 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, Thank you for advices. Now I obtain same environment as of pre-devfs days. From: Alex Kapranoff Date: Fri, 2 Feb 2001 15:29:09 +0300 > Yep. I have these in my /etc/rc.devfs: > ================= > ln -fs /dev/audio1.0 /dev/audio > ln -fs /dev/dsp1.0 /dev/dsp > ln -fs /dev/mixer1 /dev/mixer > ================= > > This produces almost exactly same environment both with DEVFS and without. I tried this solusion. Everything around sound drivers works. But, the another solution From: John Baldwin Date: Fri, 02 Feb 2001 11:33:34 -0800 (PST) > Add 'hw.snd.unit=1' to /boot/loader.conf. also works fine. The links suggested by the above also created automatically. In order to examin this, I commented out the lines looks like: > ln -fs /dev/audio1.0 /dev/audio > ln -fs /dev/dsp1.0 /dev/dsp > ln -fs /dev/mixer1 /dev/mixer and reboot the system, I found actually /dev/dsp, /dev/audio and so on. Finally, please let me point out that there are no description about hw.snd.unit MIB in sysctl(8) manpage yet. Thanks!! koya To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message