Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jun 2002 11:56:16 +0200
From:      Rahul Siddharthan <rsidd@online.fr>
To:        Darren Pilgrim <dmp@pantherdragon.org>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: A working command-line ATAPI-capable audio CD player?
Message-ID:  <20020628115616.D61039@lpt.ens.fr>
In-Reply-To: <3D1B99A7.6FA13565@pantherdragon.org>; from dmp@pantherdragon.org on Thu, Jun 27, 2002 at 04:03:03PM -0700
References:  <3D1B95AE.6B3FFFD0@pantherdragon.org> <20020627155238.A11205@Odin.AC.HMC.Edu> <3D1B99A7.6FA13565@pantherdragon.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Darren Pilgrim said on Jun 27, 2002 at 16:03:03:
> [Redirecting to -questions as this is now a matter of a
> troubleshooting.]

Maybe you should also be asking on -multimedia.
 
> > > Does anyone know of any command-line, ATAPI-compatible CD players for
> > > FreeBSD?
> > 
> > If all you want to do is press play/stop, cdcontrol works.
> 
> cdcontrol doesn't seem to work either:
[snip] 
> 15:59:22 root@spark# cdcontrol -v -f /dev/acd0c play 1 13
> 16:01:04 root@spark# 
> 
> Meanwhile, in /var/log/messages:
> 
> Jun 27 15:59:12 spark su: dmp to root on /dev/ttyp0
> Jun 27 16:01:04 spark /kernel: acd0: PLAY_BIG - ILLEGAL REQUEST asc=20 ascq=00 error=01

Maybe there's some hardware problem?  Do you get this with every CD
you try?

One other thing you could try is, rip the CD track by track with dd
(possible on freebsd 4.3 and higher) or with some other ripping
program, and pipe it through an audioplayer (the raw pcm data can be
played by pcmplay, part of the audio/tosha port, or can be further
piped through sox and converted into wav or some other format).

Something like this should work:
  dd if=/dev/acd0tX bs=2352 | pcmplay
where X is your track number.  

I actually do this because my machine's internal sound card is bust,
so playing audio CDs the "standard" way doesn't work: I need to send
the output to another sound device.

- Rahul

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020628115616.D61039>