Subject: Re: changing SCSI device type?
To: None <hubert.feyrer@informatik.fh-regensburg.de>
From: Charles M. Hannum <root@ihack.net>
List: tech-kern
Date: 11/23/1999 17:19:12
Hubert Feyrer <feyrer@rfhs8012.fh-regensburg.de> writes:

> On 22 Nov 1999, Charles M. Hannum wrote:
> > > cd1 at scsibus0 targ 4 lun 0: <MATSHITA, PD-2 LF-D100, A113> SCSI2 5/cdrom removable
> > Which is arguably correct.  *Why* do you want to change this?
> 
> Because
> 1) The writer is not supported by cdrecord and according to Joerg
>    Schilling will never be. Reason here seems to be that this is a
>    "PD" drive, whatever that is.

That's a moot point.  CD-ROM drives aren't supported by cdrecord
either, and they still use the `cd' driver.

> 2) A patch located at
>    http://www.panasonic.com/industrial_oem/computer/storage/dvd-ram/images/drivers/panasonic-dvd.diff.gz
>    (note that the drive is sold by Panasonic) 
>    suggests that treating the device like a disk (sd) works, which seems
>    to be ~true. Right now I can write up to 2048 bytes and read them back,
>    anything more will experience some corruption. 

That's great.  But if you do that, you lose audio playback and DVD-ROM
capabilities.  Plus you have to hack up `sd' to make it work.  That's
a lose.

TRT in this case is to add write support to `cd'.