From: Pat LaVarre <p.lavarre@ieee.org>
To: Pete Zaitcev <zaitcev@redhat.com>
Cc: usb-storage@lists.one-eyed-alien.net,
linux-kernel@vger.kernel.org, jgarzik@redhat.com
Subject: Re: [usb-storage] drivers/block/ub.c #6
Date: 27 Aug 2004 16:32:39 -0600 [thread overview]
Message-ID: <1093645959.8006.219.camel@patlinux.iomegacorp.com> (raw)
In-Reply-To: <1093640531.8006.68.camel@patlinux.iomegacorp.com>
Pete Z:
> > Date: 30 Jul 2004 04:51:20 -0600
> > ...
> > I wish this could be somehow limited to flash keys,
How committed are we to the "Low Performance" part of the "Low
Performance USB Block driver" title for "config BLK_DEV_UB" found in
drivers/block/Kconfig?
Do we instead hope for ub.ko to simplify all "generic USB Mass Storage",
leaving only the vendor-specific work to usb-storage.ko?
I ask because I haven't yet learned how to reconcile two source files:
--- drivers/usb/storage/usb.c
...
static struct usb_device_id storage_usb_ids [] = {
...
#if !defined(CONFIG_BLK_DEV_UB) && !defined(CONFIG_BLK_DEV_UB_MODULE)
{ USB_INTERFACE_INFO(USB_CLASS_MASS_STORAGE, US_SC_SCSI, US_PR_BULK) },
#endif
...
--- C:/Windows/inf/usbstor.inf:
...
[Generic]
%GenericBulkOnly.DeviceDesc%=USBSTOR_BULK, USB\Class_08&SubClass_02&Prot_50
%GenericBulkOnly.DeviceDesc%=USBSTOR_BULK, USB\Class_08&SubClass_05&Prot_50
%GenericBulkOnly.DeviceDesc%=USBSTOR_BULK, USB\Class_08&SubClass_06&Prot_50
...
---
Looks to me like we have ub.ko taking over just x 08 06 50, rather than
all of the x 08 (06|05|02) 50 = bInterfaceClass ...SubClass ...Protocol
considered generic by MSFT?
http://www.microsoft.com/whdc/device/storage/usbfaq.mspx
agrees Flash should be x 08 06 50 but gives no clear guidance to the
rest of us.
I remember we invented x 08 06 50 to be the one tuple to rule them all,
to move the determination of PDT (peripheral device type) etc. back into
op x12 "INQUIRY" where it belongs, ...
Of course the world may yet contain advocates of connecting HDD/FDD as
bInterfaceSubClass = x05 "SFF 8070" = Compaq LS-120 or connecting DVD/CD
as x02 "SFF 8020" = read-only CD.
Pat LaVarre
http://linux-pel.blog-city.com/read/790489.htm
next prev parent reply other threads:[~2004-08-27 22:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-30 10:51 Pete Zaitcev
2004-08-27 21:02 ` [usb-storage] " Pat LaVarre
2004-08-27 22:32 ` Pat LaVarre [this message]
2004-08-28 3:57 ` Pete Zaitcev
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=1093645959.8006.219.camel@patlinux.iomegacorp.com \
--to=p.lavarre@ieee.org \
--cc=jgarzik@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=usb-storage@lists.one-eyed-alien.net \
--cc=zaitcev@redhat.com \
/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
Powered by JetHome