From: Bill Adair <adair@gotadsl.co.uk>
To: linux-scsi@vger.kernel.org
Subject: Re: Forcing use of sd driver on Suse 10.3 (2.6.22)
Date: Thu, 17 Jan 2008 10:53:11 +0000 [thread overview]
Message-ID: <1200567191.5778.6.camel@desk.ty-rhos-barn> (raw)
In-Reply-To: <478BAA8E.7020703@s5r6.in-berlin.de>
On Mon, 2008-01-14 at 19:31 +0100, Stefan Richter wrote:
> Bill Adair wrote:
> > Is there any way under Linux of forcing use of the sd driver for a
> > device on the bus instead of sg?
>
> The INQUIRY data which the SCSI core gets from the device have to
> indicate that the device implements SBC or RBC (is of peripheral device
> type 00h or 0Eh).
I have altered the sd.c file by patching sd_probe to check for the
particular unit I have and accepting pdt 03h (Processor) as a valid
return and the unit works fine.
I suspect the sd file is considered very important though (and I don't
know how many of these card readers exist) so I assume a patch is not
required ;-). Would there be another approach to creating a "driver" for
my Spyrus RD300 in it's guise as a card reader?
Bill
next prev parent reply other threads:[~2008-01-17 10:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-14 11:01 Forcing use of sd driver on Suse 10.3 (2.6.22) Bill Adair
2008-01-14 18:31 ` Stefan Richter
2008-01-17 10:53 ` Bill Adair [this message]
2008-01-17 15:40 ` James Bottomley
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=1200567191.5778.6.camel@desk.ty-rhos-barn \
--to=adair@gotadsl.co.uk \
--cc=linux-scsi@vger.kernel.org \
/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