cdcontrol gives I/O errors while trying to play audio CD's
Jos Backus
jos at catnook.com
Sat Sep 9 13:23:24 PDT 2006
On Sat, Sep 09, 2006 at 04:37:51PM +0200, Alexander Leidinger wrote:
> Quoting Jos Backus <jos at catnook.com> (Sat, 9 Sep 2006 00:34:32 -0700):
>
> > lizzy:~% uname -a
> > FreeBSD lizzy.catnook.local 7.0-CURRENT FreeBSD 7.0-CURRENT #35: Mon Aug 28 04:08:30 PDT 2006 root at lizzy.catnook.local:/usr/obj/usr/src/sys/LIZZY i386
> > lizzy:~% sudo atacontrol list
> > ATA channel 0:
> > Master: ad0 <ST3200822A/3.01> ATA/ATAPI revision 6
> > Slave: ad1 <IC35L040AVER07-0/ER4OA44A> ATA/ATAPI revision 5
> > ATA channel 1:
> > Master: acd0 <YAMAHA CRW3200E/1.0d> ATA/ATAPI revision 0
> > Slave: no device present
> > # Put audio CD in drive
> > lizzy:~% cdcontrol -f /dev/acd0 info
> > cdcontrol: getting toc header: Input/output error
> > lizzy:~%
> >
> > Also, the `cdcontrol play' command (and kscd, for that matter) does not work.
> > Any idea as to what the problem could be?
>
> Load atapicam and try to use cdcontrol on /dev/cd0 instead.
Thanks for the reply, Alexander. But the same result ensues:
lizzy:~% sudo zsh
lizzy:~# kldload atapicam.ko
lizzy:~# exit
lizzy:~% ls -l /dev/cd0*
crw-r----- 1 root operator 0, 159 Aug 29 10:31 /dev/cd0
lizzy:~%
lizzy:~% cdcontrol -f /dev/cd0 info
cdcontrol: getting toc header: Device not configured
lizzy:~% kldstat -v|grep atapi
10 1 0xcad5e000 4000 atapicam.ko
149 ata/atapicam
lizzy:~% truss cdcontrol -f /dev/cd0 info
...
open("/dev/cd0",O_RDONLY,01001134122) = 3 (0x3)
ioctl(3,CHIOGPICKER,0xbfbfe388) ERR#6 'Device not configured'
cdcontrol: write(2,"cdcontrol: ",11) = 11 (0xb)
getting toc headerwrite(2,"getting toc header",18) = 18 (0x12)
: write(2,": ",2) = 2 (0x2)
Device not configured
write(2,"Device not configured\n",22) = 22 (0x16)
exit(0xffffffff)
process exit, rval = 65280
lizzy:~%
--
Jos Backus
jos at catnook.com
More information about the freebsd-multimedia
mailing list