TEAC CD-R55S not recognized as worm, hacked a bit, but still doesn't work

From: Andreas Klemm <andreas(at)klemm.gtn.com>
Date: Sun, 11 Oct 1998 15:09:29 +0200

Hi !

Finally I bought a TEAC CD burner. Had not much time to look,
if it's good supported under FreeBSD, and since it was a gift
from a company, I hoped that it rocks well...

But, of course, it doesn't ;-)

It's only recognized as cdrom under FreeBSD 2.2.7-STABLE.

I started hacking two files:

--- scsi/scsiconf.c.old Sun Oct 11 14:37:25 1998
+++ scsi/scsiconf.c Sun Oct 11 14:37:56 1998
@@ -431,6 +431,10 @@
                "worm", SC_ONE_LU
        },
        {
+ T_READONLY, T_WORM, T_REMOV, "TEAC", "CD-R55S", "*",
+ "worm", SC_ONE_LU
+ },
+ {
                /* That's the Philips drive, in case anybody wonders... */
                T_READONLY, T_WORM, T_REMOV, "IMS", "CDD2000*", "*",
                "worm", SC_ONE_LU

--- scsi/worm.c.old Sun Oct 11 14:34:20 1998
+++ scsi/worm.c Sun Oct 11 14:35:20 1998
@@ -206,6 +206,11 @@
                hp4020i_prepare_disk, hp4020i_prepare_track,
                hp4020i_finalize_track, hp4020i_finalize_disk
        },
+ {
+ "TEAC", "CD-R55S",
+ hp4020i_prepare_disk, hp4020i_prepare_track,
+ hp4020i_finalize_track, hp4020i_finalize_disk
+ },
        {0}
 };

Now it's recognized as

(ahc0:6:0): "TEAC CD-R55S 1.0K" type 5 removable SCSI 2
worm0(ahc0:6:0): Write-Once

But it doesn't seem to work right as a "HP" device ;-))

Using the example burn script I get these results...

root{170} ~andreas sh /usr/share/examples/worm/burncd.sh root.iso dummy
Place CD in the worm drive now and press return:
wormcontrol: ioctl(WORMIOCPREPDISK): Device not configured
wormcontrol: ioctl(WORMIOCPREPTRACK): Device not configured
1894 kilobytes, 1 seconds
dd: /dev/rworm0: Device not configured
team: guy pid 6879: error on upstream receive
team: stop remaining 1 guys
team: guy had error
wormcontrol: ioctl(WORMIOFIXATION): Device not configured

What to do next ? Call TEAC and ask for manuals ???
How can I help ?

        Andreas ///

-- 
Andreas Klemm                                http://www.FreeBSD.ORG/~andreas
     What gives you 90% more speed, for example, in kernel compilation ?
          http://www.FreeBSD.ORG/~fsmp/SMP/akgraph-a/graph1.html
             "NT = Not Today" (Maggie Biggs)      ``powered by FreeBSD SMP''
Received on Sun 11 Oct 1998 - 15:35:28 CEST

search this site