From owner-freebsd-multimedia@FreeBSD.ORG Sat Aug 21 15:40:31 2010 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8075D1065675 for ; Sat, 21 Aug 2010 15:40:31 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from tower.berklix.org (tower.berklix.org [83.236.223.114]) by mx1.freebsd.org (Postfix) with ESMTP id 0574C8FC08 for ; Sat, 21 Aug 2010 15:40:30 +0000 (UTC) Received: from park.js.berklix.net (p549A76F5.dip.t-dialin.net [84.154.118.245]) (authenticated bits=0) by tower.berklix.org (8.14.2/8.14.2) with ESMTP id o7LFeJtI047911; Sat, 21 Aug 2010 15:40:20 GMT (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by park.js.berklix.net (8.13.8/8.13.8) with ESMTP id o7LFe09k006210; Sat, 21 Aug 2010 17:40:00 +0200 (CEST) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.14.3/8.14.3) with ESMTP id o7LFddLk007526; Sat, 21 Aug 2010 17:39:45 +0200 (CEST) (envelope-from jhs@fire.js.berklix.net) Message-Id: <201008211539.o7LFddLk007526@fire.js.berklix.net> To: Wes Morgan From: "Julian H. Stacey" Organization: http://www.berklix.com BSD Unix Linux Consultancy, Munich Germany User-agent: EXMH on FreeBSD http://www.berklix.com/free/ X-URL: http://www.berklix.com In-reply-to: Your message "Fri, 20 Aug 2010 18:14:31 CDT." Date: Sat, 21 Aug 2010 17:39:39 +0200 Sender: jhs@berklix.com Cc: multimedia@freebsd.org, Gary Jennejohn Subject: Re: 3 devices in /dev/sndstat X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Aug 2010 15:40:31 -0000 Wes Morgan wrote: > On Sat, 21 Aug 2010, Julian H. Stacey wrote: > > > > Did you try to select another default unit as per SOUND(4)? > > > # sysctl hw.snd.default_unit=1 > > > > Thanks Boris :-) I got some sound working after man 4 sound & fixed some > > mistakes > > Modules not matching kernel, > > Wrong driver in loader.conf, > > These still fail: > > xcdplayer # Fails from CDs in DVD drive > > cdcontrol -f /dev/acd0 play 1 # Fails > > But these work: > > ksmp3play file_from_disc.mp3 # Plays OK from hard disc > > vlc /cdrom # Plays OK from DVD > > Anyone got a clue why ? > > cdcontrol plays the audio through the CD player's own audio out port that > must connect to an input of your sound device, while vlc is probably > reading the digital audio directly from the disc and playing that. Thanks Wes, Here's a diff so others dont't get caught. Are errors before I send-pr it ? ------------- http://berklix.com/~jhs/src/bsd/fixes/FreeBSD/src/gen/usr.sbin/cdcontrol/cdcontrol.1.REL=8.1-RELEASE.diff Doc team: Please feel free to change my .rof syntax to your man macro style. *** 8.1-RELEASE/src/usr.sbin/cdcontrol/cdcontrol.1 Sat Aug 21 13:37:53 2010 --- new/src/usr.sbin/cdcontrol/cdcontrol.1 Sat Aug 21 16:38:03 2010 *************** *** 220,222 **** --- 220,257 ---- .An Jean-Marc Zucconi .An Andrey A. Chernov .An Serge V. Vakulenko + .Sh LIMITATION + To deliver audio, + .Nm + needs a screened 3 or 4 wire audio cable from the cdrom drive Audio + Out 4 pin socket, to the sound card or main board, 3 or 4 pin socket, + labelled "CD_IN" + .\" (eg on a Gigabyte EG31MF-S2_ver_2.0 main board). + .br + Some DVD players + .\" (eg HL-DT-STDVD-RAM GH22NP20) + have a 4 pin audio socket, but state in their manual it is not supported. + .br + In such cases: + .in +2 + .ti -2 + - + .Nm + will not produce audio (despite being the first command + reccomended by + http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.html + .\" Which also needs to be patched with a send-pr. + ): + .ti -2 + - /usr/ports/audio/\fBxcdplayer\fR\" & others presumably + will also not produce audio. + .ti -2 + - For digital audio via IDE cable, these work: /usr/ports/multimedia/ + {\fBmplayer, vlc, xine\fR}. + .in -2 + .\" Refs (FYI, strip pre commit): + .\" test host: FreeBSD-8.1-RELEASE amd64, device "snd_hda" + .\" multimedia@@@freebsd.org Aug 2010 + .\" Subject: Re: 3 devices in /dev/sndstat + .\" "Julian H. Stacey" + .\" "Boris Samorodov" + .\" "Wes Morgan" ------------- Cheers, Julian -- Julian Stacey: BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Mail plain text, Not HTML, quoted-printable & base 64 dumped with spam. Avoid top posting, It cripples itemised cumulative responses.