I cannot access audio CDs or DVDs and I am not sure why. I'm using 9.0-RC1 amd64. I have added atapicam to loader.conf and the device is detected on boot:
I can successfully mount and read a data cd:
but I cannot seem to access it with an audio CD in the drive (or a DVD either). I've tried direct access:
or, rather desperately:
I've also tried a range of CD players including VLC, Rhythmbox, xcd, bebocd, etc., but only get a variety of device error messages. It is not a sound problem, I can listen to mp3 files, and I do not think it has anything to do with whether or not there is a cable attaching the drive to the sound card.
Code:
Nov 16 10:23:41 BSD kernel: cd0 at ata0 bus 0 scbus4 target 0 lun 0
Nov 16 10:23:41 BSD kernel: cd0: <HL-DT-ST DVDRAM GSA-4167B DL11> Removable CD-ROM SCSI-0 device
Nov 16 10:23:41 BSD kernel: cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes)
Nov 16 10:23:41 BSD kernel: cd0: cd present [52685 x 2048 byte records]
# camcontrol devlist
appears to give expected output:
Code:
# camcontrol devlist
<ST3500418AS CC38> at scbus0 target 0 lun 0 (ada0,pass0)
<Hitachi HDS721032CLA362 JPFOA39C> at scbus3 target 0 lun 0 (ada1,pass1)
<HL-DT-ST DVDRAM GSA-4167B DL11> at scbus4 target 0 lun 0 (cd0,pass2)
Code:
# mount -t cd9660 /dev/cd0 /mnt
# ls /mnt
.cshrc HARDWARE.TXT boot.catalog media stand
...
Code:
# cdda2wav -D /dev/cd0 -t 1
cdrom device (/dev/cd0) is not of type generic SCSI. Setting interface to cooked_ioctl.
307200 bytes buffer memory requested, transfer size 129024 bytes, 4 buffers, 27 sectors
#Cdda2wav version 3.00_freebsd_9.0-current_amd64_amd64, real time sched., soundcard, libparanoia support
Segmentation fault (core dumped)
Code:
# cdda2wav -scanbus
cdda2wav: Inappropriate ioctl for device. CAMIOCOMMAND ioctl failed. Cannot open or use SCSI driver.