Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S272393AbTHIPBk (ORCPT ); Sat, 9 Aug 2003 11:01:40 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S272395AbTHIPBk (ORCPT ); Sat, 9 Aug 2003 11:01:40 -0400 Received: from kweetal.tue.nl ([131.155.3.6]:15113 "EHLO kweetal.tue.nl") by vger.kernel.org with ESMTP id S272393AbTHIPBh (ORCPT ); Sat, 9 Aug 2003 11:01:37 -0400 Date: Sat, 9 Aug 2003 17:01:32 +0200 From: Andries Brouwer To: Phoenix Cc: linux-usb-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org Subject: Re: [linux-usb-devel] usb-storage: WIN_SECURITY_UNLOCK Message-ID: <20030809170132.A8883@pclin040.win.tue.nl> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from phoenix@comms.engg.susx.ac.uk on Sat, Aug 09, 2003 at 02:00:06PM +0100 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1256 Lines: 31 On Sat, Aug 09, 2003 at 02:00:06PM +0100, Phoenix wrote: > Is it possible to send ATAPI commands to usb-storage hard-disks, like > WIN_SECURITY_UNLOCK, through the scsi inteface? > > I have an ALI5621 chipset that supports SCSI transparent command set > only and I didn't find anything in SCSI-2 that is related to the ATAPI > security features. I think the general answer will be No. A similar question is whether ide-floppy is superfluous and one can do everything via ide-scsi. Again I think the answer will be No. Indeed, ide-scsi uses the Packet command A0 of ATAPI to send SCSI command packets to the ATAPI device. But there is no reason to expect that all ATAPI commands are covered this way. The first example is already A1: IDENTIFY PACKET DEVICE. SCSI has INQUIRY, but that is not the same. I have some ancient patches to ide-floppy.c that allow one to switch an Iomega ZIP drive between large floppy and removable disk. I do not know of a way to send these same commands via ide-scsi. Andries - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/