From owner-freebsd-current Fri Feb 2 14:11:39 2001 Delivered-To: freebsd-current@freebsd.org Received: from Awfulhak.org (awfulhak.demon.co.uk [194.222.196.252]) by hub.freebsd.org (Postfix) with ESMTP id 3BCEA37B491 for ; Fri, 2 Feb 2001 14:11:13 -0800 (PST) Received: from hak.lan.Awfulhak.org (root@hak.lan.Awfulhak.org [172.16.0.12]) by Awfulhak.org (8.11.1/8.11.1) with ESMTP id f12MBOv22552; Fri, 2 Feb 2001 22:11:25 GMT (envelope-from brian@lan.Awfulhak.org) Received: from hak.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.11.2/8.11.1) with ESMTP id f12MCp606056; Fri, 2 Feb 2001 22:12:51 GMT (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <200102022212.f12MCp606056@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.3.1 01/18/2001 with nmh-1.0.4 To: Alex Kapranoff Cc: Yoshihiro Koya , freebsd-current@FreeBSD.ORG, brian@Awfulhak.org Subject: Re: pcm driver and DEVFS In-Reply-To: Message from Alex Kapranoff of "Fri, 02 Feb 2001 15:29:09 +0300." <20010202152909.A1608@kapran.bitmcnit.bryansk.su> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Date: Fri, 02 Feb 2001 22:12:50 +0000 From: Brian Somers Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > On Fri, Feb 02, 2001 at 04:11:29PM +0900, 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 > [skip] > > 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? > = > Yep. I have these in my /etc/rc.devfs: > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > ln -fs /dev/audio1.0 /dev/audio > ln -fs /dev/dsp1.0 /dev/dsp > ln -fs /dev/mixer1 /dev/mixer > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > = > This produces almost exactly same environment both with DEVFS and witho= ut. Strange. I have a stock rc.devfs and get the above links too :-) $ cd /sys/dev/sounds/pcm $ fgrep make_dev_alias *.c sound.c: dsp =3D make_dev_alias(pdev, "dsp"); sound.c: dspW =3D make_dev_alias(pdev, "dspW"); sound.c: audio =3D make_dev_alias(pdev, "audio"); sound.c: mixer =3D make_dev_alias(pdev, "mixer"); > -- = > Alex Kapranoff, Voice: +7(0832)791845 > We've lived 32 days in the brand new millenium... -- = Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message