From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,52607a74aaf7d498 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1994-06-16 15:45:42 PST Path: nntp.gmd.de!xlink.net!howland.reston.ans.net!pipex!uknet!signal.dra.hmg.gb!liszt.dra.hmg.gb!not-for-mail From: janes@signal.dra.hmg.gb (Tim W. Janes) Newsgroups: comp.sys.dec Subject: Re: adding toshiba 3401B CDROM HELP ! Date: 16 Jun 1994 23:43:55 +0100 Organization: Defence Research Agency, UK Message-ID: <2tqkjb$jkq@liszt.dra.hmg.gb> References: NNTP-Posting-Host: liszt.dra.hmg.gb In article , Matthew S. Reeves 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