From chris@zeus.bayofrum.net  Sun Feb 27 18:04:39 2011
Return-Path: <chris@zeus.bayofrum.net>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 87B0B106566B
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 27 Feb 2011 18:04:39 +0000 (UTC)
	(envelope-from chris@zeus.bayofrum.net)
Received: from relay.ptn-ipout02.plus.net (relay.ptn-ipout02.plus.net [212.159.7.36])
	by mx1.freebsd.org (Postfix) with ESMTP id DA2588FC08
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 27 Feb 2011 18:04:38 +0000 (UTC)
Received: from outmx03.plus.net ([84.93.230.244])
  by relay.ptn-ipout02.plus.net with ESMTP; 27 Feb 2011 17:35:48 +0000
Received: from [91.125.147.237] (helo=zeus.bayofrum.net)
	 by outmx03.plus.net with esmtp (Exim) id 1PtkX5-00045f-Sv
	for FreeBSD-gnats-submit@freebsd.org; Sun, 27 Feb 2011 17:35:48 +0000
Received: from zeus.bayofrum.net (crees@localhost [127.0.0.1])
	by zeus.bayofrum.net (8.14.4/8.14.4) with ESMTP id p1RHZNoc086048
	(version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO)
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 27 Feb 2011 17:35:23 GMT
	(envelope-from chris@zeus.bayofrum.net)
Received: (from crees@localhost)
	by zeus.bayofrum.net (8.14.4/8.14.4/Submit) id p1RHZMu4086047;
	Sun, 27 Feb 2011 17:35:22 GMT
	(envelope-from chris)
Message-Id: <201102271735.p1RHZMu4086047@zeus.bayofrum.net>
Date: Sun, 27 Feb 2011 17:35:22 GMT
From: Chris Rees <utisoft@gmail.com>
Reply-To: Chris Rees <utisoft@gmail.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [PATCH] Multimedia chapter should mention dsp no longer created
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         155095
>Category:       docs
>Synopsis:       [PATCH] Multimedia chapter should mention dsp no longer created
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gjb
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 27 18:10:10 UTC 2011
>Closed-Date:    Thu Mar 03 14:56:21 UTC 2011
>Last-Modified:  Thu Mar  3 15:00:24 UTC 2011
>Originator:     Chris Rees
>Release:        FreeBSD 8.1-RELEASE-p2 i386
>Organization:
>Environment:
System: FreeBSD zeus.bayofrum.net 8.1-RELEASE-p2 FreeBSD 8.1-RELEASE-p2 #0: Wed Feb 23 16:10:57 UTC 2011 root@zeus.bayofrum.net:/usr/obj/usr/src/sys/ZEUS i386


>Description:
	The /dev/dsp* files are no longer created when sound drivers are loaded, causing me to chase problems for ages on correct drivers... This could help others in the same boat
>How-To-Repeat:
	zeus# kldload sound && kldload snd_driver
	zeus# ls /dev/dsp*
	zeus# echo wtf has happened to my dsp files\?\?\?\?
>Fix:

	- Document the nature of /dev/dsp* -- not created until accessed

	Submitted by: Chris Rees (utisoft_at_gmail.com)

--- doc-handbook-sound.patch begins here ---
Index: books/handbook/multimedia/chapter.sgml
===================================================================
RCS file: /exports/cvsroot-freebsd/doc/en_US.ISO8859-1/books/handbook/multimedia/chapter.sgml,v
retrieving revision 1.139
diff -u -r1.139 chapter.sgml
--- books/handbook/multimedia/chapter.sgml	3 Dec 2010 09:38:53 -0000	1.139
+++ books/handbook/multimedia/chapter.sgml	27 Feb 2011 17:27:48 -0000
@@ -297,6 +297,11 @@
       This command line should produce some noise, confirming the
       sound card is actually working.</para>
 
+    <note>
+      <para>The files <filename>/dev/dsp*</filename> are only made when
+      touched/created; they will not appear under &man.ls.1; before then.</para>
+    </note>
+
     <para>Sound card mixer levels can be changed via the &man.mixer.8;
       command.  More details can be found in the &man.mixer.8; manual
       page.</para>
--- doc-handbook-sound.patch ends here ---




>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-doc->gjb 
Responsible-Changed-By: gjb 
Responsible-Changed-When: Sun Feb 27 18:45:57 UTC 2011 
Responsible-Changed-Why:  
I'll take this. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=155095 

From: Chris Rees <utisoft@gmail.com>
To: bug-followup@freebsd.org
Cc:  
Subject: Re: docs/155095: [PATCH] Multimedia chapter should mention dsp no
 longer created
Date: Sun, 27 Feb 2011 19:02:03 +0000

 OK, from some feedback on irc:
 
 touched/created replaced with used
 
 http://www.bayofrum.net/~crees/patches/doc-handbook-sound.patch
 
 Chris
State-Changed-From-To: open->closed 
State-Changed-By: gjb 
State-Changed-When: Thu Mar 3 14:55:56 UTC 2011 
State-Changed-Why:  
Committed with some rewording.  Thanks! 


http://www.freebsd.org/cgi/query-pr.cgi?pr=155095 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/155095: commit references a PR
Date: Thu,  3 Mar 2011 14:55:49 +0000 (UTC)

 gjb         2011-03-03 14:55:41 UTC
 
   FreeBSD doc repository
 
   Modified files:
     en_US.ISO8859-1/books/handbook/multimedia chapter.sgml 
   Log:
   Note that /dev/dsp* files do not exist when they are not in use.
   
   PR:             155095
   Submitted by:   Chris Rees (utisoft of gmail com)
   Approved by:    jkois (mentor)
   
   Revision  Changes    Path
   1.140     +7 -0      doc/en_US.ISO8859-1/books/handbook/multimedia/chapter.sgml
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
