From owner-freebsd-questions Sun Oct 29 13:18:53 2000 Delivered-To: freebsd-questions@freebsd.org Received: from dfw-smtpout1.email.verio.net (dfw-smtpout1.email.verio.net [129.250.36.41]) by hub.freebsd.org (Postfix) with ESMTP id 9254237B680 for ; Sun, 29 Oct 2000 13:18:49 -0800 (PST) Received: from [129.250.38.62] (helo=dfw-mmp2.email.verio.net) by dfw-smtpout1.email.verio.net with esmtp (Exim 3.12 #7) id 13pzqq-0001fy-00; Sun, 29 Oct 2000 21:18:48 +0000 Received: from [204.1.90.43] (helo=power) by dfw-mmp2.email.verio.net with smtp id 13pzqq-00011z-00; Sun, 29 Oct 2000 21:18:48 +0000 From: "Tony Johnson" To: "Ben" , Subject: RE: tosha and a scsi cdrom Date: Sun, 29 Oct 2000 15:18:47 -0600 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <20001029161200.A13577@one.net> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I would have to install it and configure it as I personally haven't used this program before. Sure I can suggest this... -----Original Message----- From: Ben [mailto:neb@one.net] Sent: Sunday, October 29, 2000 3:12 PM To: Tony Johnson; freebsd-questions@freebsd.org Subject: Re: tosha and a scsi cdrom On Sun, Oct 29, 2000 at 11:47:22AM -0500, Tony Johnson wrote: > There are lots of CD rippers out there. This is why Mr. Napster is in > trouble because too many people buy a cd and rip it to disk and then send it > to him. So he takes the hit for everyone else'd piracy... This is not relevant or helpful. If I wanted a conceited view on music piracy I would have asked for one. > But anyway, cd0 is the correct cdrom device for an aha2940. The cdrom > appears to work. The command line arguments appear to be the problem and > not the cdrom or tosha. Could you suggest a different combination of command line arguments? Thank you, Ben. > -----Original Message----- > From: owner-freebsd-questions@FreeBSD.ORG > [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Ben > Sent: Sunday, October 29, 2000 10:08 AM > To: freebsd-questions@FreeBSD.org > Subject: tosha and a scsi cdrom > > > To FreeBSD Guru Question Answerers: > > In order to get digital audio from my cdrom to my hard drive it has been > recommended that I use the program tosha. Unfortunately it fails to work. > Since the error seems like something someone I am writing this to might > know how to address I am writing this. I have already exhausted a number > of other resources quickly. The man page for tosha wasn't helpful, the > domain of author of tosha's email address doesn't resolve and people in > #freebsd on efnet were not helpful. > > I can use my cdrom drive to mount normal data cds without any problems. In > fact tosha -i correctly displays the name of my cdrom and correctly lists > the track information. > > Here is the relevant CDROM information, from Tosha: > Device: /dev/cd0a -- "YAMAHA" "CDR400t" "1.0q" > > I have an Adaptec AHA2940 scsi controller. The only other scsi device is a > hard drive. Here are the important lines from my kernel config file: > > # SCSI Controllers > device ahc # AHA2940 and onboard AIC7xxx devices > > # SCSI peripherals > device scbus # SCSI bus (required) > device da # Direct Access (disks) > device sa # Sequential Access (tape etc) > device cd # CD > device pass # Passthrough device (direct SCSI access) > > This is what tosha does when I run tosha -t n, where n is a valid track. > > zeus# tosha -t 1 > Device: /dev/cd0a -- "YAMAHA" "CDR400t" "1.0q" > > track playing start end raw size mp3 size # of track > number time sector sector in bytes 128 kbps frames type > --------------------------------------------------------------------- > 1 7:27'58 32 33614 78987216 7165208 17142 audio > error sending CD-DA read command: Invalid argument > zeus# > > It creates the file track0n.raw which contains what appears to be only a > audio header. > > This seems to be something obvious. Maybe I just missing a config file or > need to add a line to kernel config? > > When replying please CC me since I am not subscribed to the > freebsd-questions list. > > Thank you, > > Ben. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message