From owner-freebsd-doc@FreeBSD.ORG Mon May 23 14:00:25 2011 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E3FFB106566C for ; Mon, 23 May 2011 14:00:25 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id CAD488FC15 for ; Mon, 23 May 2011 14:00:25 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p4NE0PBb012981 for ; Mon, 23 May 2011 14:00:25 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p4NE0PGZ012980; Mon, 23 May 2011 14:00:25 GMT (envelope-from gnats) Date: Mon, 23 May 2011 14:00:25 GMT Message-Id: <201105231400.p4NE0PGZ012980@freefall.freebsd.org> To: freebsd-doc@FreeBSD.org From: Niclas Zeising Cc: Subject: Re: docs/155264: [handbook] Extend "7.2.2.1 Common Problems" with hw.snd.default_unit=n X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Niclas Zeising List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 May 2011 14:00:26 -0000 The following reply was made to PR docs/155264; it has been noted by GNATS. From: Niclas Zeising To: bug-followup@FreeBSD.org, martin.ziegler@ziegi.ch Cc: Subject: Re: docs/155264: [handbook] Extend "7.2.2.1 Common Problems" with hw.snd.default_unit=n Date: Mon, 23 May 2011 15:58:18 +0200 This is a multi-part message in MIME format. --------------010301040701020801080000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi! Here is a patch to add a section about this to 7.2.2.1. Regards! -- Niclas --------------010301040701020801080000 Content-Type: text/plain; name="multimedia.chapter.sgml.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="multimedia.chapter.sgml.diff" Index: chapter.sgml =================================================================== RCS file: /home/ncvs/doc/en_US.ISO8859-1/books/handbook/multimedia/chapter.sgml,v retrieving revision 1.141 diff -u -d -r1.141 chapter.sgml --- chapter.sgml 3 Mar 2011 16:21:59 -0000 1.141 +++ chapter.sgml 23 May 2011 13:29:32 -0000 @@ -353,6 +353,38 @@ + Another issue is that modern graphics cards often comes with their + own sound driver, for use with HDMI and similar. This + sound device will sometimes be enumerated before the actual soundcard + and the soundcard will subsequently not be used as the default playback + device. To check if this is the case, run + dmesg and look for pcm. + The output looks something like this: + ... +hdac0: HDA Driver Revision: 20100226_0142 +hdac1: HDA Driver Revision: 20100226_0142 +hdac0: HDA Codec #0: NVidia (Unknown) +hdac0: HDA Codec #1: NVidia (Unknown) +hdac0: HDA Codec #2: NVidia (Unknown) +hdac0: HDA Codec #3: NVidia (Unknown) +pcm0: <HDA NVidia (Unknown) PCM #0 DisplayPort> at cad 0 nid 1 on hdac0 +pcm1: <HDA NVidia (Unknown) PCM #0 DisplayPort> at cad 1 nid 1 on hdac0 +pcm2: <HDA NVidia (Unknown) PCM #0 DisplayPort> at cad 2 nid 1 on hdac0 +pcm3: <HDA NVidia (Unknown) PCM #0 DisplayPort> at cad 3 nid 1 on hdac0 +hdac1: HDA Codec #2: Realtek ALC889 +pcm4: <HDA Realtek ALC889 PCM #0 Analog> at cad 2 nid 1 on hdac1 +pcm5: <HDA Realtek ALC889 PCM #1 Analog> at cad 2 nid 1 on hdac1 +pcm6: <HDA Realtek ALC889 PCM #2 Digital> at cad 2 nid 1 on hdac1 +pcm7: <HDA Realtek ALC889 PCM #3 Digital> at cad 2 nid 1 on hdac1 +... + Here the graphics card (NVidia) has been + enumerated before the sound card (Realtek ALC889). + To use the sound card as default playback device, change + hw.snd.default_unit to the unit that should be used + for playback, using + &prompt.root; sysctl hw.snd.default_unit=n + where n is the number of the sound device to use, in + this example 4. --------------010301040701020801080000--