Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: janes@signal.dra.hmg.gb (Tim W. Janes)
Subject: Re: adding toshiba 3401B CDROM HELP !
Date: 16 Jun 1994 23:43:55 +0100	[thread overview]
Message-ID: <2tqkjb$jkq@liszt.dra.hmg.gb> (raw)
In-Reply-To: vmattCrG9vJ.94s@netcom.com

In article <vmattCrG9vJ.94s@netcom.com>,
Matthew S. Reeves <vmatt@netcom.com> wrote:
>
>Hi,
>
>Wonder if anyone has used a Toshiba 3401B CDROM drive to a DECstation ?
>
>If so, would really appreciate any help.
>
>Matt
>

Our toshiba 3301 CDROM drives stopped working when we went to Ultrix
4.3a (Forcing up to use CAM). The problem is that PC CD-ROM drives use
a block size of 2048 bytes but Ultrix and OSF/1 need 512 byte block
size.

By looking at the cam_data.c file I found that there is an example
SONY cd-rom entry that issues a set up command to set the CD-Rom to
512 bytes/block when the device is opened. I copied this to create an
entry for a Toshiba cd-rom.

I have tested this on Ultrix 4.3a (Decsystem 5100) with a 3301 and
OSF/1 (Decstation 3000/400) with 3301 and 3401 ( I have been unable to
get an NEX 3Xi to work) .

Here is my /sys/data/cam_data.c entry. You will need to rebuild the
kernel after editing this file.

I am not sure if all the fields are correct for the Toshiba drive but
i have not had any problems to date.

/* Toshiba Cd-Rom */
{"TOSHIBA CD-ROM", 14, DEV_RRD42, (ALL_DTYPE_RODIRECT << DTYPE_SHFT) , 
  (struct pt_info *)ccmn_rrd40_sizes, 512, DEC_MAX_REC, NO_DENS_TAB,
  &sony_mode_sel, SZ_NO_FLAGS,
  SZ_PREV_ALLOW, SZ_READY_DEF, SZ_NO_QUE, DD_REQSNS_VAL | DD_INQ_VAL,
  36, 64
},

Tim.

-- 
Tim Janes                   | e-mail : janes@hermes.mod.uk
Defence Research Agency     |        : janes@signal.dra.hmg.gb
Malvern  Worcs              |    tel : +44 684 894100   fax : +44 684 894384
Gt Britain                  |   #include <std/disclaim.h>


      reply	other threads:[~1994-06-16 22:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-06-15 17:57 adding toshiba 3401B CDROM HELP ! Matthew S. Reeves
1994-06-16 22:43 ` Tim W. Janes [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox