From owner-freebsd-hackers Mon Dec 3 16: 9:56 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by hub.freebsd.org (Postfix) with ESMTP id 5DAC837B417; Mon, 3 Dec 2001 16:09:51 -0800 (PST) Received: (from uucp@localhost) by srv1.cosmo-project.de (8.11.0/8.11.0) with UUCP id fB409ls13164; Tue, 4 Dec 2001 01:09:47 +0100 (CET) Received: from mail.cicely.de (cicely20.cicely.de [10.1.1.22]) by cicely5.cicely.de (8.12.1/8.12.1) with ESMTP id fB409oAD031389; Tue, 4 Dec 2001 01:09:50 +0100 (CET)?g (envelope-from ticso@cicely8.cicely.de) Received: from cicely8.cicely.de (cicely8.cicely.de [10.1.2.10]) by mail.cicely.de (8.11.0/8.11.0) with ESMTP id fB409nL04364; Tue, 4 Dec 2001 01:09:49 +0100 (CET) Received: (from ticso@localhost) by cicely8.cicely.de (8.11.4/8.11.4) id fB409mh66240; Tue, 4 Dec 2001 01:09:48 +0100 (CET) (envelope-from ticso) Date: Tue, 4 Dec 2001 01:09:45 +0100 From: Bernd Walter To: Lars Eggert Cc: n_hibma@FreeBSD.ORG, hackers@FreeBSD.ORG Subject: Re: Success! [with patch] (was Re: umass & ATAPI) Message-ID: <20011204010945.J63943@cicely8.cicely.de> References: <3C0BC364.9080904@isi.edu> <20011203213300.H63943@cicely8.cicely.de> <3C0BE3E7.4010003@isi.edu> <20011203220224.I63943@cicely8.cicely.de> <3C0C0867.6090209@isi.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3C0C0867.6090209@isi.edu> User-Agent: Mutt/1.3.23i X-Operating-System: FreeBSD cicely8.cicely.de 5.0-CURRENT i386 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Dec 03, 2001 at 03:19:03PM -0800, Lars Eggert wrote: > Bernd Walter wrote: > > >But from memory it sounds like a new device for the quirk table. > > Yes, adding quirks to scsi_da.c and enabling ATAPI in umass.c made the > camera attach and mount correctly. Copying also works fine. Patches > attached, if someone would like to commit them. > > Thanks for the help! That was quite painless... Are you shure you need to change the #if 0? Especialy the first should only have an effect on different devices. Can you please try with both to default and if that failed with the first on default. -- These quirk entries in scsi_da are a mess because all non-scsi proto umass devices need this. And unfortunatley some ide/usb converters put the ide identification on the bus, which increases the possible quirk list to every ide disk out there. Does anyone know if it is possible to put a da quirk for cam from within umass.c? umass_cam_action() or umass_*_trans/case INQUIRY comes into mind. Otherwise I will try to write some umass_*_transform routines conerting R/W_6 into _10 calls. -- B.Walter COSMO-Project http://www.cosmo-project.de ticso@cicely.de Usergroup info@cosmo-project.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message