This small page explains what I had to do in order to be able to use HP7200e device (external parallel port CD Writer) with Linux. All the information here is just a recompilation of information available already (see the list of links at the end of the page).
# insmod paride
paride: version 1.02 installed
# insmod epat
paride: epat registered as protocol 0
try to use it as cd-rom device:
# insmod pcd
pcd: pcd version 1.03s, major 46, nice 0
pcd0: epat 1.01, Shuttle EPAT chip c6 at 0x378, mode 5 (EPP-32), delay 1
pcd0: Slave: CD-Writer+ 7200
# mkdir /mnt/hp
# mount -r /dev/pcd0 /mnt/hp
# ls /mnt/hp
.... ok, now prepare it for cdwrite:
# umount /mnt/hp
# rmmod pcd
# insmod pg
pg: pg version 1.01s, major 97
pg0: epat 1.01, Shuttle EPAT chip c6 at 0x378, mode 5 (EPP-32), delay 1
pg0: HP CD-Writer+ 7200, slave
# tar zxvf cdrecord-1.6.tar.gz
# cd cdrecord-1.6/cdrecord/
# cp /home/svet/cdw/scsi-linux-pg.c .
# vi scsihack.c
[now replace the reference to "scsi-linux-sg.c"
with "scsi-linix-pg.c" (this is at line 39).]
# mkisofs -r -v -o /data/svet/image.raw /data/svet/cdrom
# mount /data/svet/image.raw -r -t iso9660 -o loop /mnt/loop
# umount /mnt/loop
# cdrecord -v speed=1 dev=0,0 /data/svet/image.raw
# cd /data/svet/cdrom
# mkdir boot
# cp .....images/boot.img boot/boot.img
# mkisofs -a -r -v -b boot/boot.img -c boot/boot.catalog -o /data/svet/rh-boot.raw .
(Did you saw the point at the end of the last line? Ok.)
mkisofs ...
cdrecord ... -multi ...
mkisofs ... -C ccc -M oldimage -o newimage ...
cdrecord ... newimage
where:
ccc -- the result from "cdrecord -msinfo dev=0,0"
URL of this page: http://lcdx00.wm.lc.ehu.es/~svet/hp7200.html