From owner-freebsd-doc@FreeBSD.ORG Sun Aug 7 06:50:21 2005 Return-Path: X-Original-To: freebsd-doc@hub.freebsd.org Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DAB9B16A41F for ; Sun, 7 Aug 2005 06:50:20 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5DF4943D6B for ; Sun, 7 Aug 2005 06:50:20 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j776oKKq081697 for ; Sun, 7 Aug 2005 06:50:20 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j776oKMW081696; Sun, 7 Aug 2005 06:50:20 GMT (envelope-from gnats) Resent-Date: Sun, 7 Aug 2005 06:50:20 GMT Resent-Message-Id: <200508070650.j776oKMW081696@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Sam Lawrance Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2F7EA16A421 for ; Sun, 7 Aug 2005 06:49:20 +0000 (GMT) (envelope-from lawrance@FreeBSD.org) Received: from bloodwood.hunterlink.net.au (smtp-local.hunterlink.net.au [203.12.144.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id A05CB441BE for ; Sun, 7 Aug 2005 06:18:38 +0000 (GMT) (envelope-from lawrance@FreeBSD.org) Received: from localhost (ppp2E7B.dyn.pacific.net.au [61.8.46.123]) by bloodwood.hunterlink.net.au (8.12.8/8.12.8) with ESMTP id j776Havb014853 for ; Sun, 7 Aug 2005 16:17:36 +1000 Received: by localhost (Postfix, from userid 1001) id AB2558571; Sun, 7 Aug 2005 16:18:27 +1000 (EST) Message-Id: <20050807061827.AB2558571@localhost> Date: Sun, 7 Aug 2005 16:18:27 +1000 (EST) From: Sam Lawrance To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: docs/84639: pcm.4, handbook - note that vchan settings can't be changed while device in use X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Sam Lawrance List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Aug 2005 06:50:21 -0000 >Number: 84639 >Category: docs >Synopsis: pcm.4, handbook - note that vchan settings can't be changed while device in use >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Sun Aug 07 06:50:19 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Sam Lawrance >Release: FreeBSD 5.4-STABLE i386 >Organization: >Environment: System: FreeBSD dirk.no.domain 5.4-STABLE FreeBSD 5.4-STABLE #0: Sat Jun 11 21:44:19 EST 2005 sam@dirk.no.domain:/usr/obj/usr/src/sys/DIRK i386 >Description: I was following the handbook in setting up virtual sound channels. When the hw.snd.pcm0.vchans sysctl did not appear in my list, I checked into it a little. It seems that that this sysctl is not available when the sound device is in use. I think a note should be made of this, particularly for new users who are setting up and playing around with sound devices. >How-To-Repeat: 1. Run xmms and play "Groove Armada - Lovebox" :-) 2. Run sysctl hw.snd.pcm0.vchans >Fix: Patch for pcm manpage: Index: pcm.4 =================================================================== RCS file: /home/ncvs/src/share/man/man4/pcm.4,v retrieving revision 1.39 diff -u -r1.39 pcm.4 --- pcm.4 22 May 2005 15:25:14 -0000 1.39 +++ pcm.4 7 Aug 2005 06:03:22 -0000 @@ -236,7 +236,8 @@ .Dq 0 will disable .Tn VCHANs -for this device. +for this device. This setting is not available while the specified +device is in use. .El .Ss Recording Channels On devices that have more than one recording source (ie: mic and line), Patch for handbook multimedia section: Index: chapter.sgml =================================================================== RCS file: /home/ncvs/FreeBSD/doc/en_US.ISO8859-1/books/handbook/multimedia/chapter.sgml,v retrieving revision 1.107 diff -u -r1.107 chapter.sgml --- chapter.sgml 6 Jun 2005 10:04:50 -0000 1.107 +++ chapter.sgml 7 Aug 2005 05:53:44 -0000 @@ -436,6 +436,12 @@ virtual channels any devices which are attached later will be given. + + You cannot change the number of virtual channels for a + device while it is in use. First close any programs using the + device, such as music players or sound daemons. + + If you are not using &man.devfs.5;, you will have to point your applications at /dev/dsp0.x, where x is 0 to 3 if hw.snd.pcm.0.vchans is set >Release-Note: >Audit-Trail: >Unformatted: