I use TEAC Model: CD-W552E Rev: 1.05
in my Linux box. Kernel 2.4.20 with latest
packet-2.4.20-2.patch.bz2
and udftools 1.0.0b2-2
The IDE-SCSI emulation is used to allow writing with
cdrecord as well.
When I try to mount the CD-R/W disc I get the following
error:
# mount /dev/pktcdvd0 /cdrom -t udf -o rw,noatime
udf: registering filesystem
pktcdvd: inserted media is CD-RW
pktcdvd: Fixed packets, 32
blocks, Mode-2 disc
pktcdvd: Max. media speed: 10
pktcdvd: speed (R/W) 15/10
sr1:
CDROM (ioctl) reports ILLEGAL REQUEST.
pktcdvd: 54 01 00 00 00 00 00 00 00
00 00 00 - sense 05.30.05 (Illegal request)
pktcdvd: pktcdvd0 Optimum Power
Calibration failed mount:
/dev/pktcdvd0: can't read superblock
The disc is correctly prepared with:
cdrwtool -d /dev/scd1 -q
pktsetup /dev/pktcd0 /dev/scd1
Logged In: NO
Oooops, I forgot to add my e-mail:
there it is: wzab@ise.pw.edu.pl
Wojciech Zabolotny
Logged In: NO
Well, I was able to hide the problem by commenting out the
following section of pktccdvd.c file:
/* Removed by WZab for my TEAC Writer
if ((ret =
pkt_perform_opc(pd))) {
DPRINTK("pktcdvd: %s Optimum
Power Calibration failed\n", pd->name);
return -EIO;
}
*/
but I think that the better solution would be to add the
module parameter
to block calling the OPC procedure...
Additionally it could be good to limit the writing speed.
I've found that
sometimes the CD-RW marked as suitable for high speed
recording (12x or so) get not readable in the older CD
drives. However when recorded at lower speed, they work
perfectly, so another module parameter could be useful -
recording_speed_limit.
Wojciech Zabolotny
wzab@ise.pw.edu.pl