From owner-freebsd-questions@FreeBSD.ORG Sun Nov 13 12:41:33 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 202371065673 for ; Sun, 13 Nov 2011 12:41:33 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id BD6798FC08 for ; Sun, 13 Nov 2011 12:41:32 +0000 (UTC) Received: by ggnk3 with SMTP id k3so7677264ggn.13 for ; Sun, 13 Nov 2011 04:41:32 -0800 (PST) Received: by 10.236.175.4 with SMTP id y4mr7890415yhl.128.1321188091000; Sun, 13 Nov 2011 04:41:31 -0800 (PST) Received: from scorpio.seibercom.net (cpe-076-182-104-150.nc.res.rr.com. [76.182.104.150]) by mx.google.com with ESMTPS id f14sm25971169ani.8.2011.11.13.04.41.29 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 13 Nov 2011 04:41:30 -0800 (PST) Received: from scorpio (localhost [127.0.0.1]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jerry@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 3ShF3D1ggQz2CG4m for ; Sun, 13 Nov 2011 07:41:28 -0500 (EST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.97.3 at scorpio.seibercom.net Date: Sun, 13 Nov 2011 07:41:27 -0500 From: Jerry To: FreeBSD Message-ID: <20111113074127.6a21b784@scorpio> In-Reply-To: <20111113044456.431cb4b2@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> <20111113044456.431cb4b2@cox.net> Organization: seibercom.net X-Mailer: Claws Mail 3.7.10 (GTK+ 2.24.6; amd64-portbld-freebsd8.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEUAAABYRlwJCw4FAgAIBwKprDkBAQFQLR0BAgCir7VRttp8AAACAUlEQVQ4jZWUTYvbMBCGTVl8V2hX6Gg5G5FbWQdBj0lEfE7BhN4cyzi5Wt1E5L70roWy6N92xok/skkP+5IYrMcz78xIduDWpNM3vFzuA/jX5EY1AI6KHFwW/CzFuQAwqUBbV12p+CzIh6Awq7sg33pn5D64SQXAexffeuQlA/L35RrkaB551OjGfP/cAO8mCNaDcgvfky5ijoD0pAXlCQCnljiAjsJD9Ax05Ko5sZxbnLQcmM+dZg5IjREfZrWIHK0JuwU68pAGwHvfRxBundRzTxxz3r9dNUikPsEihjz2Dc4kjp1hKsJGuot4EDxaxzMoC7XqhxhOSfZrTS6gSX1JVdjp+o1PvWfekXgw3WL0g70nDEwA0H0HQsEZc8sTmFMTkWUfYWC/vdR1zQy3xLQgLwzu90QnlnFLjeiGWBjwhb4Sa42IqOg2qqS4O1/zhKokFUb1Q8Rj4Eb69WVflXEehJ35DgChVTE5n50eaGyMLOfH8AOodoSM4PVYAQgQdBulOa+knklYks3vAuQ+uX492lTl+A+e8qBV2AKoXalVKFfyuUp0pUp1ARaUHh82lv9MN+Ig7CZtgE6FNYvjlywT2VP2dMgOG46gTIWcqdfvuwyXNz0oMJNd/N5lh1YNiJt19ADTUo3VuFSNeQwVqRSrGjSCp53fk2g+Mvfk/gfoPxHeUS8MH9vRAAAAAElFTkSuQmCC Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reply-To: FreeBSD List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Nov 2011 12:41:33 -0000 On Sun, 13 Nov 2011 04:44:56 -0600 Conrad J. Sabatier articulated: > 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! :-) I applaud your enthusiasm. I actually tend to try and reinvent the wheel from time to time myself. Not so much because I feel the wheel has an inherent flaw but rather because I just like a good challenge. While such endeavors might prove useful from strictly a theoretical research point of view, in practice they can seriously reduce productivity. I often wonder what happened to the premise that computers should make man's life easier, not harder. Why should users be force to go to these extremes to just play an audio CD when other OSs all ready have that capability sans ruminating for such a simple task. Again, good luck. I won't be partaking of your research since I have other PCs near me that are fully capable of preforming the relatively simple task of playing an audio CD. However, if you do get some free time perhaps you could invest it in some really socially advantageous work such as find a cure for cancer. Now that would be something that all could appreciate. -- Jerry ✌ jerry+fbsd@seibercom.net Disclaimer: off-list followups get on-list replies or ignored. Do not CC this poster. Please do not ignore the "Reply-To" header. http://www.catb.org/~esr/faqs/smart-questions.html