Can't access a music CD (or any other media now)

Conrad J. Sabatier conrads at
Thu Nov 17 00:18:07 UTC 2011

On Sun, 13 Nov 2011 07:41:27 -0500
Jerry <jerry at> wrote:
> On Sun, 13 Nov 2011 04:44:56 -0600
> Conrad J. Sabatier articulated:
> > 
> > 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 totally agree.  I'm the same when it comes to enjoying a good
challenge.  Call me masochistic if you will :-), but I do enjoy
programming very much.  Sometimes just to see if can actually do it.
Learning new stuff, that sort of thing.

> 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, totally agree.  I really miss the /dev/acd0t${n} method of
accessing audio tracks.  That was truly a handy feature.

> 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.

Well, if I had the skills, I'd try and fix the current problems
associated with audio CD access.  But I'm afraid that's just a bit
beyond my abilities.  I've looked at some source code, but wouldn't
have the first clue where to begin.

Now, as for curing cancer...I'll leave that to the experts as well.  :-)

Above all else, though (on a more serious note), I *will* resist the
temptation I've sometimes given into in the past, and will *not* resort
to taking up residence in the land of the penguin.  Would much prefer
to stick around here and see how things develop.

Conrad J. Sabatier
conrads at

More information about the freebsd-questions mailing list