From: David Brownell <david-b@pacbell.net>
To: linux-hotplug@vger.kernel.org
Subject: Re: Forward: hotplugging usb-storage: bcdDevice at fault?
Date: Thu, 17 Jan 2002 20:22:39 +0000 [thread overview]
Message-ID: <marc-linux-hotplug-101129962516316@msgid-missing> (raw)
In-Reply-To: <marc-linux-hotplug-101128461527545@msgid-missing>
The match algorithm in userland is supposed to be exactly
the same as that in the kernel. If it doesn't do the same thing,
then fix the userland version ...
There was some uncertainty about the documentation for
that kernel algorithm too, though: it may not have matched
the code with respect to this stuff.
- Dave
----- Original Message -----
From: "Fumitoshi UKAI" <ukai@debian.or.jp>
To: <linux-hotplug-devel@lists.sourceforge.net>
Sent: Thursday, January 17, 2002 8:22 AM
Subject: Forward: hotplugging usb-storage: bcdDevice at fault?
> Hi,
>
> I received the attached mail from a user. As he said, some entries have
> bcdDevice_lo = bcdDevice_hi with match_flag & 0x0C = 0x0C, which means
> matches for both device_lo and device_hi. For examples, in
> drivers/usb/storage/unusual_devs.h:
>
> UNUSUAL_DEV( 0x03f0, 0x0207, 0x0001, 0x0001,
> "HP",
> "CD-Writer+ 8200e",
> US_SC_8070, US_PR_SCM_ATAPI, init_8200e, 0),
>
> But usb.agent code to match device_lo and device_hi is
> bcdDevice_lo <= bcdDevice < bcdDevice_hi, so it is always fails
> because bcdDevice_lo = bcdDevice_hi.
>
> So, why usb.agent doesn't match bcdDevice_lo <= bcdDevice <¼dDevice_hi?
> Is it bugs of usb_device_id entries?
>
> Thanks,
> Fumitoshi UKAI
>
>
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
next prev parent reply other threads:[~2002-01-17 20:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-17 16:22 Forward: hotplugging usb-storage: bcdDevice at fault? Fumitoshi UKAI
2002-01-17 20:22 ` David Brownell [this message]
2002-01-18 3:10 ` Fumitoshi UKAI
2002-01-18 8:03 ` Matthew Dharm
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=marc-linux-hotplug-101129962516316@msgid-missing \
--to=david-b@pacbell.net \
--cc=linux-hotplug@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;
as well as URLs for NNTP newsgroup(s).