[8760] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

Plextor CDROM commandset

daemon@ATHENA.MIT.EDU (cowo)
Tue May 9 16:05:20 2000

Date:	Tue, 9 May 2000 09:28:28 +0200 (CEST)
From: cowo <cowo@libero.it>
To: linux-scsi@vger.rutgers.edu
Message-ID: <Pine.LNX.4.21.0005090927590.517-100000@braveheart.cowo.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

Hello

Sorry if it's not the right place :-)
I'm trying to execute a SCAN command on a Plextor 40TSi. 
CDB is this:
  
  scanBuff[OFF]=SCAN;
  if (direction== (-1))
    scanBuff[OFF+1]=0x10;
  else
    scanBuff[OFF+1]=0;
  scanBuff[OFF+2]=0;
  scanBuff[OFF+3]=startM;
  scanBuff[OFF+4]=startS;
  scanBuff[OFF+5]=startF;
  scanBuff[OFF+6]=0;
  scanBuff[OFF+7]=0;
  scanBuff[OFF+8]=0;
  scanBuff[OFF+9]=0x40;
  scanBuff[OFF+10]=0;
  scanBuff[OFF+11]=0;

Command fails no matter the parameters:

Check Condition 
Host_status=0x00(DID_OK) Driver_status=0x28 (DRIVER_SENSE,SUGGEST_ABORT) 

[valid=0] Info fld=0x0, Current SCSI command sense: sense key: Illegal
Request
Additional sense indicates: Invalid command operation code
Raw sense data (in hex):
  70 00 05 00 00 00 00 0a 00 00 00 00 20 00 00 00

Cmd handling is done by a handle_SCSI_cmd() similar to the one described
in SCSI prog HOWTO and works well. Exactly THE SAME command works on a
Teac CD-R58s. It seems to me that Plextor does not support this command,
but how is it possible? How can I implement a SCAN function?
I hope I've done a mistake somewhere...

--
  Giuseppe "Cowo" Corbelli >> Riding on Linux 2.2.14
------------------------------------------------------
-<= Always Tried My very Best To Find What Lies Within
     Put Myself To The Test, Judge Me Not, It's Not A Sin =>-
                Yngwie J. Malmesteen - Leonardo


--  
To UNSUBSCRIBE, email to cdwrite-request@other.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@other.debian.org


-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu

home help back first fref pref prev next nref lref last post