Date: Sun, 29 Oct 2000 10:45:42 -0600 From: "Tony Johnson" <gjohnson@gs.verio.net> To: "Ben" <neb@one.net>, <freebsd-questions@FreeBSD.org> Subject: RE: tosha and a scsi cdrom Message-ID: <FOENIGAJAKGPLNGHHADIGEMGDGAA.gjohnson@gs.verio.net> In-Reply-To: <20001029110820.A12437@one.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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... 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. -----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 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?FOENIGAJAKGPLNGHHADIGEMGDGAA.gjohnson>