Re: [PARPORT] HP 7100+ recognize as a Removable CD-ROM and unable to write
Thu, 27 Aug 1998 09:35:34 -0400 (EDT)

> I got a HP7100+ on parallel port. I usr the pg driver with epat
> protocol, scsi emulation, at boot time, I got this:

You do _NOT_ need SCSI emulation if you are using pg - it's built in.
(But you might want it for some other reason).

> paride: epat registered as protocol 0
> pg: pg version 1.01s, major 97
> pg0: epat 1.01, Shuttle EPAT chip c6 at 0x378, mode 1 (5/3), delay 1
> pg0: HP CD-Writer+ 7100, slave

Change your CMOS settings for the parallel port - you want to use EPP
mode, but not ECP mode. If you cannot get EPP mode, try for "bidirectional"
mode. You will also need to force the port delay (that delay 1 above) to
zero if you have to burn in a non-EPP mode. (Read the comments in pg.c
for details.)

> When I try cdrecord -scanbus, I got:
> >cdrecord -scanbus
> Cdrecord release 1.6 Copyright (C) 1995-1998 Jörg Schilling
> scsibus0:
> 0) 'HP ' 'CD-Writer+ 7100 ' '1.00' Removable
> As it is recognize as a Removable CD-ROM, I can't write on it !

No, you are misconstruing the message. "Removable CD-ROM" is just a
report of the drive's SCSI attributes.

> An other test:
> >cdrecord -checkdrive dev=1,0,0
> Cdrecord release 1.6 Copyright (C) 1995-1998 Jörg Schilling
> scsidev: '1,0,0'
> scsibus: 1 target: 0 lun: 0
> Device type : Removable CD-ROM
> Version : 0
> Response Format: 1
> Vendor_info : 'HP '
> Identifikation : 'CD-Writer+ 7100 '
> Revision : '1.00'
> Device seems to be: Generic mmc CD-RW.

There you see that it is in fact a CD-RW device.

> Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
> Driver flags : SWABAUDIO
> -------------------------------
> If I try to write something, I get:
> >cdrecord -v -speed=2 dev=0,0,0 binary-i386.raw
> Cdrecord release 1.6 Copyright (C) 1995-1998 Jörg Schilling
> TOC Type: 1 = CD-ROM
> cdrecord: Function not implemented. shmget failed

shmget has nothing to do with PARIDE, pg, your port or your drive. It
is a function to get shared memory from your kernel. Either you are out
of address space (unlikely) or you don't have SysV IPC in your kernel (more
likely). Mind you, I was not aware that cdrecord needed SysV IPC, so I've
learned something today :-)

Grant R. Guenther

-- To unsubscribe, send mail to: --
-- 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:08 EST