From owner-freebsd-current@FreeBSD.ORG Tue Sep 14 11:39:17 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 5E91516A4CE for ; Tue, 14 Sep 2004 11:39:17 +0000 (GMT) Received: from jc.ngo.org.uk (jc.ngo.org.uk [69.55.225.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 43BB643D41 for ; Tue, 14 Sep 2004 11:39:16 +0000 (GMT) (envelope-from nik@crf-consulting.co.uk) Received: from crf-consulting.co.uk (82-44-220-218.cable.ubr10.haye.blueyonder.co.uk [82.44.220.218]) by jc.ngo.org.uk (8.12.11/8.13.1) with ESMTP id i8EBdEp9010809 for ; Tue, 14 Sep 2004 04:39:15 -0700 (PDT) (envelope-from nik@crf-consulting.co.uk) Received: from clan.nothing-going-on.org (clan.nothing-going-on.org [192.168.1.20])i8EBdD44076073 for ; Tue, 14 Sep 2004 12:39:13 +0100 (BST) (envelope-from nik@catkin) Received: from clan.nothing-going-on.org (localhost [127.0.0.1]) i8EAgNDL053286 for ; Tue, 14 Sep 2004 11:42:23 +0100 (BST) (envelope-from nik@clan.nothing-going-on.org) Received: (from nik@localhost) by clan.nothing-going-on.org (8.13.1/8.13.1/Submit) id i8EAgNUJ053285 for current@freebsd.org; Tue, 14 Sep 2004 11:42:23 +0100 (BST) (envelope-from nik) Date: Tue, 14 Sep 2004 11:42:23 +0100 From: Nik Clayton To: current@freebsd.org Message-ID: <20040914104222.GA18968@clan.nothing-going-on.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="GvXjxJ+pjyke8COw" Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Organization: FreeBSD Project Subject: Oddity with sound handling with recent -current 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: Tue, 14 Sep 2004 11:39:17 -0000 --GvXjxJ+pjyke8COw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi all, Yesterday I updated my main FreeBSD desktop from -current built 2004.04.27= =20 to -current built yesterday. This included migrating from XFree86 to X.org, updating the nvidia binary drivers, and going from KDE 3.2 to 3.3. Almost everything went with no real effort on my part. So kudos to everyone involved. The only slight oddity was to do with sound handling. I've got snd_mss_load=3D"YES" in /boot/loader.conf, and that continues to work. However, with the older current, this gave me /dev/dsp, /dev/pcm, and so on, and the sound devices were recognised as pcm0 in the probes at boot time. Here's a=20 sample log entry from the 8th (pre-update) pcm0: at port 0x220-0x22f,0x388-0x38b,0x53 4-0x537 irq 5 drq 3,1 o= n isa0 pcm0: [GIANT-LOCKED] Now, after the update, they're recognised as pcm15: pcm15: at port 0x220-0x22f,0x388-0x38b,0x534-0x537 irq 5 drq 3,1 o= n isa 0 pcm15: [GIANT-LOCKED] and the devices in /dev all have a trailing '15' or similar: /dev/audio15.0 /dev/audio15.1 ... /dev/dsp15.0 /dev/dsp15.1 ... /dev/dspW15.0 /dev/dspW15.1 ... and there's no plain /dev/dsp or /dev/audio devices. I had to change /etc/sysctl.conf to now specify: hw.snd.pcm15.vchans=3D4 instead of '...pcm0...', and in KDE's control center, I had to explicitly specify /dev/dsp15, instead of having it autodetect /dev/dsp. After doing that, playback worked fine. Is this the expected behaviour? If so, the sound section (7.2) in the Handbook will need updating. I've just seen (in snd(4)) the mention of=20 hw.snd.unit. Perhaps if only one sound device is detected this should automatically be set to the appropriate number (i.e., 15 in my case),=20 instead of defaulting to 0? N --=20 FreeBSD: The Power to Serve http://www.freebsd.org/ (__) FreeBSD Documentation Project http://www.freebsd.org/docproj/ \\\'',) \/ \= ^ --- 15B8 3FFC DDB4 34B0 AA5F 94B7 93A8 0764 2C37 E375 --- .\._/= _) --GvXjxJ+pjyke8COw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBRssNk6gHZCw343URAmgxAJ9gt/S8EBmgMgl/agvpjctqvbUNQwCfc/yh x44vtjgW3CLfsFzuHfEMcPc= =sP0+ -----END PGP SIGNATURE----- --GvXjxJ+pjyke8COw--