Re: [PARPORT] HP 7110e cd writing.


Eloy A. Paris (eparis@ven.ra.rockwell.com)
Thu, 23 Jul 1998 07:01:14 -0400 (VET)


Hi,

you are almost there...

> ok, i downloaded the new cdrecord, and compiled with with the
> scsi-linux-pg.c (it took quite a bit of makefile hacking to actually get
> this to compile with no errors). I also set EPP support in my CMOS
> (EPP1.9) and some things have changed and cdrecord wont recognize my
> cd-rw.

Uhhmmm, cdrecord compiled for me with no problems at all on a libc6
system (Debian 2.0). I only had tyo change the reference to
scsi-linux-pg.c. Why you had to hack the Makefile?

Well, I used the prepackaged version of cdrecord for Debian Linux.
Probably the Makefile was already hacked by the Debian maintainer...

> here is the new output:
> pg: pg version 1.01s, major 97
> pg0: epat 1.01, Shuttle EPAT chip c6 at 0x378, mode 5 (EPP-32), delay 0
> pg0: HP CD-Writer+ 7100, slave

This is great. With my old computer I can only get mode 1. Youy won't
have any problems burning at 2x in mode 5, I guess.

> and when i try to do some -dummy tests, i get this....
> scsidev: '0,0'
> scsibus: 0 target: 0 lun: 0
> cdrecord: No such device. Cannot open '/dev/pg0'.

Oh, this one should be fairly easy to fix. Run the script at the
bottom to create /dev/pg0 (and the other device files).

> the command I use is:
> cdrecord -dummy -eject speed=2 -data /home/djsmoke/test.iso dev=0,0

The command looks fine.

Good luck!

Eloy.-

#!/bin/bash
#
# mkd -- a script to create the device special files for the PARIDE subsystem
#
function mkdev {
  mknod $1 $2 $3 $4 ; chmod 0660 $1 ; chown root:disk $1
}
#
function pd {
  D=$( printf \\$( printf "x%03x" $[ $1 + 97 ] ) )
  mkdev pd$D b 45 $[ $1 * 16 ]
  for P in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
  do mkdev pd$D$P b 45 $[ $1 * 16 + $P ]
  done
}
#
cd /dev
#
for u in 0 1 2 3; do pd $u ; done
for u in 0 1 2 3; do mkdev pcd$u b 46 $u ; done
for u in 0 1 2 3; do mkdev pf$u b 47 $u ; done
for u in 0 1 2 3; do mkdev pt$u c 96 $u ; done
for u in 0 1 2 3; do mkdev npt$u c 96 $[ $u + 128 ] ; done
for u in 0 1 2 3; do mkdev pg$u c 97 $u ; done
#
# end of mkd

-- 

Eloy A. Paris Information Technology Department Rockwell Automation Venezuela Telephone: +58-2-9432311 Fax: +58-2-9431645

-- To unsubscribe, send mail to: linux-parport-request@torque.net -- -- with the single word "unsubscribe" in the body of the message. --



This archive was generated by hypermail 2.0b3 on Wed 30 Dec 1998 - 10:18:03 EST