All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gerd Hoffmann <kraxel@redhat.com>
To: Roy Tam <roytam@gmail.com>
Cc: qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH] usb: change VID/PID for usb-hub and usb-msd to	prevent conflict
Date: Thu, 15 Sep 2011 18:06:17 +0200	[thread overview]
Message-ID: <4E722279.2030007@redhat.com> (raw)
In-Reply-To: <CAA=zYJauYBODqRDwZ4nXoopmcOUqRNUr-b9MZeEtV-UxvLT_6A@mail.gmail.com>

On 09/15/11 05:25, Roy Tam wrote:
> Some USB drivers, for example USBASPI.SYS, will skip different type of
> device which has same VID/PID. The following patch helps preventing
> usb-msd being skipped by the driver.

How and why did you pick those IDs?

>   static const USBDesc desc_hub = {
>       .id = {
> -        .idVendor          = 0,
> -        .idProduct         = 0,
> +        .idVendor          = 0x0409,
> +        .idProduct         = 0x55aa,

lsusb says: Bus 004 Device 002: ID 0409:55aa NEC Corp. Hub

Looks sensible.  Is that actually a USB 1.1 Hub?

>   static const USBDesc desc = {
>       .id = {
> -        .idVendor          = 0,
> -        .idProduct         = 0,
> +        .idVendor          = 0x46f4,
> +        .idProduct         = 0x0001,

lsusb doesn't find those IDs in the database.

cheers,
   Gerd

  reply	other threads:[~2011-09-15 16:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-15  3:25 [Qemu-devel] [PATCH] usb: change VID/PID for usb-hub and usb-msd to prevent conflict Roy Tam
2011-09-15 16:06 ` Gerd Hoffmann [this message]
2011-09-16  0:14   ` Roy Tam
2011-09-16  9:46     ` Gerd Hoffmann

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=4E722279.2030007@redhat.com \
    --to=kraxel@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=roytam@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.