Re: How to support multiple devices(with same vid & pid)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, 
  When is it going to be done?

2014-11-27 17:53 GMT+08:00 Christophe Fergeau <cfergeau@xxxxxxxxxx>:
Hey,

On Tue, Nov 25, 2014 at 07:24:32PM +0800, xuyongjian wrote:
> Hi elmarco:
>
> I met a problem with usbclerk.
> First, I plugged in two same usb device. Then I used usbclerk to change the
> driver to winusb.
> I sent only one message which caused both the drivers changed.
> After that, I use usbclerk to remove the winusb driver. The first device
> driver could be restored properly, but the second one was not so lucky:
>     if (!SetupDiBuildDriverInfoList(devs, dev_info, SPDIT_CLASSDRIVER)) {
>         vd_printf("Cannot build driver info list: %ld", GetLastError());
>         return false;
>     }
> SetupDiBuildDriverInfoList returned 2 and the driver didn't change.
>
> Another scenario:
> I plugged in one device, and changed the driver to winusb. Then the second
> one plugged in. The usbclerk did not work well. Since it found there was
> already a device with the same vid&pid installed with winusb.
>
> Do you have any solutions?

I think this is a known limitation of USBClerk, a new USB filter driver
is in the work which should address this limitation.

Christophe



--
Best Regards!
----------
许永健   湖北省智能互联网中心
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]