From owner-freebsd-multimedia@FreeBSD.ORG Fri Jun 27 16:16:44 2003 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8729437B401 for ; Fri, 27 Jun 2003 16:16:44 -0700 (PDT) Received: from digpala.axelero.hu (fe02.axelero.hu [195.228.240.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB58043FE0 for ; Fri, 27 Jun 2003 16:16:42 -0700 (PDT) (envelope-from gabor@zahemszky.hu) Received: from localhost (localhost-02 [127.0.2.1]) by digpala.axelero.hu (8.12.9/8.12.9) with SMTP id h5RNGfRL038545; Sat, 28 Jun 2003 01:16:41 +0200 (CEST) Received: from fe02.axelero.hu [127.0.2.1] via SMTP gateway by digpala [195.228.240.90]; id A096894BAFD at Sat Jun 28 01:16:41 2003 Received: from Picasso.Zahemszky.HU (107.40-182-adsl-pool.axelero.hu [81.182.40.107]) by fe02.axelero.hu (8.12.9/8.12.9) with ESMTP id h5RNGeTi038519; Sat, 28 Jun 2003 01:16:40 +0200 (CEST) Received: from Picasso.Zahemszky.HU (localhost.Zahemszky.HU [127.0.0.1]) by Picasso.Zahemszky.HU (8.12.9/8.12.9) with ESMTP id h5RNGcYh081816; Sat, 28 Jun 2003 01:16:38 +0200 (CEST) (envelope-from zgabor@Picasso.Zahemszky.HU) Received: (from zgabor@localhost) by Picasso.Zahemszky.HU (8.12.9/8.12.9/Submit) id h5RNGccc081815; Sat, 28 Jun 2003 01:16:38 +0200 (CEST) Date: Sat, 28 Jun 2003 01:16:38 +0200 From: Zahemszky =?iso-8859-2?Q?G=E1bor?= To: freebsd-multimedia@freebsd.org Message-ID: <20030627231638.GA32074@Picasso.Zahemszky.HU> References: <20030622134007.GA53822@Picasso.Zahemszky.HU> <3EF70A63.1030909@mitre.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline In-Reply-To: <3EF70A63.1030909@mitre.org> X-Operating-System: FreeBSD 4.8-STABLE User-Agent: Mutt/1.5.4i Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by fe02.axelero.hu id h5RNGeTi038519 Subject: Re: cdparanoia port and SCSI CD X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Gabor@zahemszky.hu List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2003 23:16:44 -0000 On Mon, Jun 23, 2003 at 10:10:43AM -0400, Jason Andresen wrote: > Zahemszky G=E1bor wrote: >=20 > >Hi! > > > >Are there anybody out there, who can use the cdparanoia port with a SC= SI > >CD-ROM? I've got a Toshiba, and a Yamaha CD-ROM on an Adaptec control= ler, > >but neither the Toshiba, nor the Yamaha works with cdparanoia. (I can= grab > >with tosha/cdda2wav.) > > > >Eg: on the Yamaha, I get: > > > >/home/zgabor $ cdparanoia -vsQ > >cdparanoia III release 9.8 (March 23, 2001) > >(C) 2001 Monty and Xiphophorus > >FreeBSD porting (c) 2003 > > Simon 'corecode' Schubert > >=20 > >Report bugs to paranoia@xiph.org > >http://www.xiph.org/paranoia/ > >=20 > >Checking /dev/cd0c for cdrom... > >=20 > >CDROM model sensed: YAMAHA CRW8824S 1.00 > >=20 > >Checking for ATAPICAM... > > Drive is SCSI > >=20 > >Checking for MMC style command set... > > Drive is MMC style > >004: Unable to read table of contents header > >=20 > >Unable to open disc. Is there an audio CD in the drive? > >/home/zgabor $ > > > >Of course, there _is_ an audio CD in the drive. >=20 > Do you maybe have to run cdparanoia as root? Ahhh! Thats it! (I don't understand it, neither tosha, nor cdda2wav=20 need it, but it works.) Thanks! Why? /dev/cd?c and /dev/xpt* are root:wheel 660, and I'm in the correct group. Zahy --=20 #!/bin/ksh Z=3D'21N16I25C25E30, 40M30E33E25T15U!' ;IFS=3D' ABCDEFGHIJKLMNOPQRSTUVWXY= Z ';set $Z ;for i { [[ $i =3D ? ]]&&print $i&&break;[[ $i =3D ??? ]]&&j=3D= $i&&i=3D${i%?};typeset -i40 i=3D8#$i;print -n ${i#???};[[ "$j" =3D ??? ]]= &&print -n "${j#??} "&&j=3D;typeset +i i;};IFS=3D' 0123456789 ';set $Z;fo= r i { [[ $i =3D , ]]&&i=3D2;[[ $i =3D ?? ]]||typeset -l i;j=3D"$j $i";typ= eset +l i;};print "$j"