Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* adding toshiba 3401B CDROM HELP !
@ 1994-06-15 17:57 Matthew S. Reeves
  1994-06-16 22:43 ` Tim W. Janes
  0 siblings, 1 reply; 2+ messages in thread
From: Matthew S. Reeves @ 1994-06-15 17:57 UTC (permalink / raw)



Hi,

Wonder if anyone has used a Toshiba 3401B CDROM drive to a DECstation ?

If so, would really appreciate any help.

Matt



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: adding toshiba 3401B CDROM HELP !
  1994-06-15 17:57 adding toshiba 3401B CDROM HELP ! Matthew S. Reeves
@ 1994-06-16 22:43 ` Tim W. Janes
  0 siblings, 0 replies; 2+ messages in thread
From: Tim W. Janes @ 1994-06-16 22:43 UTC (permalink / raw)


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>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1994-06-16 22:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-06-15 17:57 adding toshiba 3401B CDROM HELP ! Matthew S. Reeves
1994-06-16 22:43 ` Tim W. Janes

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