From: Andries Brouwer <aebr@win.tue.nl>
To: Marek Michalkiewicz <marekm@amelek.gda.pl>
Cc: Martin Wilck <mwilck@freenet.de>, Greg KH <greg@kroah.com>,
marcelo@conectiva.com.br, mdharm-usb@one-eyed-alien.net,
linux-kernel@vger.kernel.org
Subject: Re: [patch] USB storage: Datafab KECF-USB, Sagatek DCS-CF
Date: Mon, 2 Sep 2002 10:27:50 +0200 [thread overview]
Message-ID: <20020902082750.GA9255@win.tue.nl> (raw)
In-Reply-To: <E17lktd-0001R2-00@alf.amelek.gda.pl>
On Mon, Sep 02, 2002 at 08:41:13AM +0200, Marek Michalkiewicz wrote:
> > Am Don, 2002-08-29 um 15.57 schrieb Marek Michalkiewicz:
> > > > > UNUSUAL_DEV( 0x07c4, 0xa400, 0x0000, 0xffff,
> > > > > "Datafab",
> > > > > "KECF-USB",
> > > > > US_SC_SCSI, US_PR_BULK, NULL,
> > > > > US_FL_FIX_INQUIRY ),
> >
> > This works fine with 2.4.20 - congratulations!!
> > I wonder what happened to the SCSI inquiry - was it limited to 36 bytes?
>
> My understanding is that US_FL_FIX_INQUIRY flag fakes a response
> without sending the SCSI inquiry to the device at all.
>
> What revision number does your device have, so we can limit the range
> (mine is 0113)? How about US_FL_MODE_XLATE and US_FL_START_STOP -
> how to test if these flags are necessary?
I wrote in my unusual_devices.h source:
/* Marek Michalkiewicz - needed at least for revisions 0015 and 0113 */
UNUSUAL_DEV( 0x07c4, 0xa400, 0x0000, 0xffff,
"Datafab",
"KECF-USB",
US_SC_SCSI, US_PR_BULK, NULL,
US_FL_FIX_INQUIRY ),
and
/* aeb - needed at least for revision 0100 */
UNUSUAL_DEV( 0x090c, 0x1132, 0x0000, 0xffff,
"Feiya",
"5-in-1 Card Reader",
US_SC_SCSI, US_PR_BULK, NULL,
US_FL_FIX_CAPACITY ),
If some revision has a certain property then most likely a later revision
has the same property. We maximize the chances that someone's device
will work out of the box by making the range as large as possible.
But document in the source what precisely is needed, so that if we
find a later revision without the quirk, the limits can be adapted.
Andries
prev parent reply other threads:[~2002-09-02 8:23 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-25 21:44 [patch] USB storage: Datafab KECF-USB, Sagatek DCS-CF Marek Michalkiewicz
2002-06-26 14:57 ` Greg KH
2002-06-26 15:14 ` Marek Michalkiewicz
2002-06-26 15:22 ` Greg KH
2002-06-26 16:03 ` Marek Michalkiewicz
2002-08-04 13:22 ` Marek Michalkiewicz
2002-08-05 15:56 ` Greg KH
2002-08-29 13:57 ` Marek Michalkiewicz
2002-09-01 20:19 ` Martin Wilck
2002-09-02 6:41 ` Marek Michalkiewicz
2002-09-02 8:27 ` Andries Brouwer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020902082750.GA9255@win.tue.nl \
--to=aebr@win.tue.nl \
--cc=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=marcelo@conectiva.com.br \
--cc=marekm@amelek.gda.pl \
--cc=mdharm-usb@one-eyed-alien.net \
--cc=mwilck@freenet.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox