From owner-freebsd-questions@FreeBSD.ORG Sun Nov 13 10:45:08 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BDD7A1065674 for ; Sun, 13 Nov 2011 10:45:08 +0000 (UTC) (envelope-from conrads@cox.net) Received: from eastrmfepo103.cox.net (eastrmfepo103.cox.net [68.230.241.215]) by mx1.freebsd.org (Postfix) with ESMTP id 4FCC58FC0A for ; Sun, 13 Nov 2011 10:45:08 +0000 (UTC) Received: from eastrmimpo110.cox.net ([68.230.241.223]) by eastrmfepo103.cox.net (InterMail vM.8.01.04.00 201-2260-137-20101110) with ESMTP id <20111113104502.MQPM28068.eastrmfepo103.cox.net@eastrmimpo110.cox.net> for ; Sun, 13 Nov 2011 05:45:02 -0500 Received: from serene.no-ip.org ([98.164.86.236]) by eastrmimpo110.cox.net with bizsmtp id wal11h00F55wwzE02al2aS; Sun, 13 Nov 2011 05:45:02 -0500 X-CT-Class: Clean X-CT-Score: 0.00 X-CT-RefID: str=0001.0A020208.4EBF9FAE.0043,ss=1,re=0.000,fgs=12 X-CT-Spam: 0 X-Authority-Analysis: v=1.1 cv=ZOt2FDQ+mrVVVxgXRKzf5SW5Jh1jLT8p/GDSgGTHel4= c=1 sm=1 a=RWe5u1kQBc0A:10 a=G8Uczd0VNMoA:10 a=kj9zAlcOel0A:10 a=uAbGmPAyUfLL1M3oYAsfuA==:17 a=kviXuzpPAAAA:8 a=rdbVvl8t2-9q8vPmoKAA:9 a=ZxBX8hNBQkvqEv6WBewA:7 a=CjuIK1q_8ugA:10 a=4vB-4DCPJfMA:10 a=uAbGmPAyUfLL1M3oYAsfuA==:117 X-CM-Score: 0.00 Authentication-Results: cox.net; none Received: from cox.net (localhost [127.0.0.1]) by serene.no-ip.org (8.14.5/8.14.5) with ESMTP id pADAj1ka094411 for ; Sun, 13 Nov 2011 04:45:01 -0600 (CST) (envelope-from conrads@cox.net) Date: Sun, 13 Nov 2011 04:44:56 -0600 From: "Conrad J. Sabatier" To: freebsd-questions@freebsd.org Message-ID: <20111113044456.431cb4b2@cox.net> In-Reply-To: <20111023192515.5c3da303@cox.net> References: <4E924B4D.4050801@centurytel.net> <20111010063740.GA23603@orange.esperance-linux.co.uk> <4E92BF3C.8080807@centurytel.net> <20111010104450.GA28895@orange.esperance-linux.co.uk> <4E9616FD.5080404@centurytel.net> <447h49yed0.fsf@lowell-desk.lan> <4E9627A6.8000907@centurytel.net> <44vcrtohej.fsf@lowell-desk.lan> <20111013162524.GA75476@freebsd.org> <44wrc8iz09.fsf@be-well.ilk.org> <20111018195712.GA18773@freebsd.org> <4E9F7899.6070401@centurytel.net> <20111020051902.1d120865.freebsd@edvax.de> <20111023153829.216f1a49@cox.net> <20111023192515.5c3da303@cox.net> X-Mailer: Claws Mail 3.7.10 (GTK+ 2.24.6; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Can't access a music CD (or any other media now) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Nov 2011 10:45:08 -0000 On Sun, 23 Oct 2011 19:25:15 -0500 "Conrad J. Sabatier" wrote: > On Sun, 23 Oct 2011 15:38:29 -0500 > "Conrad J. Sabatier" wrote: > > > > No, it seems that there's a severe level of "brokenness" that has > > been introduced into the source tree with regards to CD devices. > > I've been exploring this issue on my own system the last couple of > > days, and am no closer to arriving at a solution than when I first > > started. > > > > None of the CD-related apps I have installed are working. cdcontrol > > will read an audio CD OK, it seems, but playback is useless, since, > > like most newer machines, I have no direct connection between the CD > > drive and the audio device. > > > > Apps such as kscd, xmcd, etc. report no disc or no device found. > > grip (using cdparanoia) will detect an audio disc and even fetch the > > correct cddb info, but ripping fails completely. xmms reports "no > > appropriate ioctl for device". > > > > This is progress? > > OK, I've made a little headway here. At least, I've managed to get > cdrtools to work once again, after rebuilding/installing the port and > setting the default device to the SCSI address (1,0,0) of cd0 instead > of the device name. Grip is now working with cdda2wav. > Hallelujah! :-) > > Still can't seem to get plain old audio CD playback working with > anything, though. :-( > Ah-ha! After plowing through a ton of ports and docs tonight, I finally had a "Eureka!" moment. It seems that it's quite possible to fashion a "poor man's" CD player app (script) out of the following cdda2wav command options (got this example from the man page): cdda2wav -q -e -t4 -d0 -N In this case, "-t4" means to play track 4. Using "-B" instead, would play the whole disc. The command simply sends the data to the soundcard (/dev/dsp) as it's being ripped. In combination with a few other cdda2wav options to obtain the CDDB info for the disc, one could fairly easily whip up a little CD player script. I'm a man on a mission now! :-) I *will* be "rolling up my sleeves" and hacking together some shell code in the days to come. May even wind up submitting the finished product as a new port for the benefit of other folks out there still struggling to play their CDs since the CD infrastructure changed not too long ago. Light! I see light at the end of the tunnel! :-) -- Conrad J. Sabatier conrads@cox.net