Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jul 2008 00:52:58 -0400 (EDT)
From:      Omar Siddique <omar@heedme.com>
To:        freebsd-questions@freebsd.org
Subject:   USB audio CDs?
Message-ID:  <Pine.BSF.4.64.0807220019360.14575@obstinate.heedme.com>

next in thread | raw e-mail | index | archive | help
I have a USB DVD-RW drive that I'd like to use to rip music under 
6.3-RELEASE, but I don't have a /dev/acd0 (and can't get "grip" to work 
from /dev/cd0).  /dev/cd0 shows up fine, but audio CDs log errors and 
"grip" (from ports) can't do much with /dev/cd0.  grip is able to see the 
disc table of contents for the CD, but attempting to rip only generates 
errors:
006: Could not read any data from drive
(repeats per track)

Repeatable for different CDs.  I was able to mount a cd9660 disc from this 
drive without a problem.

I've previously done this (using grip) with ATA/SATA optical drives of 
various sorts, as well as used various USB mass-storage devices without 
any problems, but this is my first shot under *BSD at getting audio off a 
USB optical drive.

I read through the USB related man pages, FB handbook, and googled without 
finding any answers...  Would appreciate any advice!

I have all of these in my running kernel:
device          uhci            # UHCI PCI->USB interface
device          ohci            # OHCI PCI->USB interface
device          ehci            # EHCI PCI->USB interface (USB 2.0)
device          usb             # USB Bus (required)
device          ugen            # Generic
device          umass           # Disks/Mass storage - Requires scbus and da
device          scbus           # SCSI bus (required for SCSI)
device          da              # Direct Access (disks)
device          pass            # Passthrough device (direct SCSI access)
device          cd              # scsi cd for cd-r/burner on USB
device		atapicam

I tried it both w/ and w/o atapicam.

Attaching device with audio CD loaded logs the following:
Jul 20 01:28:20 mine kernel: umass0: Sony DRX-500UL, rev 2.00/1.04, addr 2
Jul 20 01:28:30 mine kernel: cd0 at umass-sim0 bus 0 target 0 lun 0
Jul 20 01:28:30 mine kernel: cd0: <SONY DVD RW DRU-500A 2.0h> Removable CD-ROM SCSI-0 device
Jul 20 01:28:30 mine kernel: cd0: 40.000MB/s transfers
Jul 20 01:28:30 mine kernel: cd0: cd present [198012 x 2048 byte records]
Jul 20 01:28:30 mine kernel: (cd0:umass-sim0:0:0:0): READ(10). CDB: 28 0 0 0 0 0 0 0 2 0
Jul 20 01:28:30 mine kernel: (cd0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
Jul 20 01:28:30 mine kernel: (cd0:umass-sim0:0:0:0): SCSI Status: Check Condition
Jul 20 01:28:30 mine kernel: (cd0:umass-sim0:0:0:0): ILLEGAL REQUEST asc:64,0
Jul 20 01:28:30 mine kernel: (cd0:umass-sim0:0:0:0): Illegal mode for this track
Jul 20 01:28:30 mine kernel: (cd0:umass-sim0:0:0:0): Unretryable error
Jul 20 01:28:30 mine kernel: (cd0:umass-sim0:0:0:0): cddone: got error 0x6 back
Jul 20 01:28:30 mine kernel: (cd0:umass-sim0:0:0:0): READ(10). CDB: 28 0 0 3 5 7b 0 0 1 0
Jul 20 01:28:30 mine kernel: (cd0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
Jul 20 01:28:30 mine kernel: (cd0:umass-sim0:0:0:0): SCSI Status: Check Condition
(etc...)

Thanks!
-omar



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