- People looking for
cdwrite 2.0
(uuencoded)
or
patches
to run under AIX 4.1.4 can find them here.
- Also of interest is
mkisofs 1.05
(uuencoded)
to create ISO 9660 filesystems. And some
patches
to make it compile cleanly under xlc.
- This software currently only works with a Yamaha CDR100 CD-writer
(since it is the only drive I have), but it should be possible to modify
it to work with other drives. The routine "cdr100_open" should be changed
to recognize product id's other than "CDR100" and the routine "cdr100_ioctl"
should be changed to generate the appropriate scsi mode select commands.
If anyone does make these changes, please forward your changes to me and
I will try to incorporate them here. NOTE THAT THE DEVICE DRIVER IS NOT
PUBLIC DOMAIN. You may modify it for your own personal use, but you cannot
distribute the modified code in any form (executable or source code) and
it may not be used as part of any commercial product.
It is supplied "as is" without warranty of any kind.
- I'm trying to do several things here.
- First, I don't want someone making a buck off of my work, it's free to
whoever wants to use it.
- Second, there's no warranty, if it writes defective CDs or makes your
system crash, it's not my problem (but it seems to work OK).
- Third, if you make a change, you can't pass that on to a third party.
You can send the change to me and if it makes sense I'll add it to my
distribution. This helps on the first point because you would want to
modify it if you were to sell it, and I expressly forbid distributing
modified code; and on the second point because I know my code works
(for the most part) and I don't want code that I haven't seen being
distributed with my name on it.
- So use it all you want, but if you make a significant change others
might find useful, then let me know; and if you tell someone about the
driver and other programs, point them to my web page rather than
giving them your copy of my code.
- Build the device driver using these files:
- Makefile
- cdr100.h
- cdr100_dd.h
- cdr100_trace.h
- cdr100_t.c
- cdr100_t.exp
- cdr100_b.c
- cdr100_b.exp
- make -f
Makefile install
- Build the configure method using these files:
- makefile
- debug.h
- cdr100.h
- cfgcdr100.c
- cdr100.msg
- cdr100.add
- make -f
makefile install
- odmadd
cdr100.add
- Here is a
tar file
containing these files as well as the patches.
- You should now be able to use SMIT to configure the Yamaha CDR100.
- Then get
cdwrite-2.0.tar.gz
and uncompress/untar it (requires GNU zcat):
- zcat
cdwrite-2.0.tar.gz
| tar xvof -
- Then apply the patches (requires the patch utility):
- cd cdwrite-2.0
- patch -s <
cdwrite-aix.patch
- make
- You will need to change DEFAULT_DEV in the Makefile for your drive.
- Precompiled binaries of
cdwrite,
isosize and
mkisofs for AIX 4.1.4 are available.
- Try "cdwrite -v -e" (this will eject a disk from the drive) as a first
test.
- (cdwrite must be suid root or you must change the protection of DEFAULT_DEV to 666).