From owner-freebsd-current Fri Feb 2 11:34: 8 2001 Delivered-To: freebsd-current@freebsd.org Received: from meow.osd.bsdi.com (meow.osd.bsdi.com [204.216.28.88]) by hub.freebsd.org (Postfix) with ESMTP id 51CCD37B491 for ; Fri, 2 Feb 2001 11:33:51 -0800 (PST) Received: from laptop.baldwin.cx (john@jhb-laptop.osd.bsdi.com [204.216.28.241]) by meow.osd.bsdi.com (8.11.1/8.9.3) with ESMTP id f12JXT389922; Fri, 2 Feb 2001 11:33:29 -0800 (PST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20010202161129Z.ipfw@ya3.so-net.ne.jp> Date: Fri, 02 Feb 2001 11:33:34 -0800 (PST) From: John Baldwin To: Yoshihiro Koya Subject: RE: pcm driver and DEVFS Cc: freebsd-current@FreeBSD.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 02-Feb-01 Yoshihiro Koya wrote: > Hello, > > I did make world a couple days ago. The system was built from cvsup'd > source on Jan 30: >>-------------------------------------------------------------- >>>>> elf make world started on Tue Jan 30 06:23:38 JST 2001 >>-------------------------------------------------------------- > > The system uses DEVFS. But I have some issue around sound drivers. > I usually use mpg123(Version 0.59r (1999/Jun/15)) > or x11amp(version 0.8). Before using DEVFS, I was able to adjust > sound volume in the sophisticated manner. > But, after installing DEVFS, I wasnt adjust sound volume. > It might be difficult to run x11amp with DEVFS. > On the other hand, mpg123 works. But, its sound is too loud. > > Added to this, before install DEVFS, I found /dev/dsp1 or /dev/dsp0 > in /dev. But I only found the different kind of files: > > % ls /dev > acd0a cuala0 ptyp0 ttyv3 > acd0c dsp1.0 ptyp1 ttyv4 > ad0 dsp1.1 random ttyv5 > ad0s1g dspW1.0 sndstat ttyv6 > ad0s2a dspW1.1 stderr@ ttyv7 > ad0s2b fd/ stdin@ ttyv8 > ad0s2e fd0 stdout@ ttyv9 > ad0s2f io sysmouse ttyva > apm kbd0 tty ttyvb > apmctl klog ttyd0 ttyvc > audio1.0 kmem ttyid0 ttyvd > audio1.1 log@ ttyld0 ttyve > bpsm0 mem ttyp0 ttyvf > console mixer1 ttyp1 tun0 > consolectl null ttyv0 urandom > cuaa0 pci ttyv1 vga@ > cuaia0 psm0 ttyv2 zero > > The files /dev/dsp1.0 and /dev/dsp1.1 are new to me. Of course, > I tried to do > % x11amp -e /dev/dsp1.0 > % x11amp -e /dev/dsp1.1 > % x11amp -e /dev/dspW1.0 > % x11amp -e /dev/dspW1.1 > But in vain. > > Does some have solution or suggestion? Add 'hw.snd.unit=1' to /boot/loader.conf. -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message