From owner-freebsd-questions Fri Jun 28 2:56:26 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0C79137B400 for ; Fri, 28 Jun 2002 02:56:21 -0700 (PDT) Received: from nef.ens.fr (nef.ens.fr [129.199.96.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id 06A5743E06 for ; Fri, 28 Jun 2002 02:56:18 -0700 (PDT) (envelope-from Rahul.Siddharthan@lpt.ens.fr) Received: from corto.lpt.ens.fr (corto.lpt.ens.fr [129.199.122.2]) by nef.ens.fr (8.10.1/1.01.28121999) with ESMTP id g5S9uGo10105 ; Fri, 28 Jun 2002 11:56:16 +0200 (CEST) Received: from (rsidd@localhost) by corto.lpt.ens.fr (8.9.3/jtpda-5.3.1) id LAA70661 ; Fri, 28 Jun 2002 11:56:16 +0200 (CEST) Date: Fri, 28 Jun 2002 11:56:16 +0200 From: Rahul Siddharthan To: Darren Pilgrim Cc: freebsd-questions@FreeBSD.ORG Subject: Re: A working command-line ATAPI-capable audio CD player? Message-ID: <20020628115616.D61039@lpt.ens.fr> Mail-Followup-To: Darren Pilgrim , freebsd-questions@FreeBSD.ORG References: <3D1B95AE.6B3FFFD0@pantherdragon.org> <20020627155238.A11205@Odin.AC.HMC.Edu> <3D1B99A7.6FA13565@pantherdragon.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3D1B99A7.6FA13565@pantherdragon.org>; from dmp@pantherdragon.org on Thu, Jun 27, 2002 at 04:03:03PM -0700 X-Operating-System: FreeBSD 3.4-STABLE i386 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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