It does not exactly removes old bugfix.
First version of the code did check for bus.addr only and for example, ignored change of vid/pid without change of bus.addr (AFAIK this is what programmable devices like Cypress do).
Previous commit removed check for bus.addr and replaced it with check for vid and pid, effectively causing the bug we are fixing now.
Now we check all of them and ignore the update event only if there is no change in USB tree.
I'll mention the old commit in new commit message.
I'll also ask the author of previous commit for comment.
On Mon, Jul 3, 2017 at 6:31 PM, Christophe Fergeau <cfergeau@xxxxxxxxxx> wrote:
To be honest, I don't know what WinUSB is.. ;) But since this patch isOn Mon, Jul 03, 2017 at 02:27:29PM +0300, Yuri Benditovich wrote:
> On Mon, Jul 3, 2017 at 10:16 AM, Christophe Fergeau <cfergeau@xxxxxxxxxx>
> wrote:
>
> > On Mon, Jul 03, 2017 at 07:48:31AM +0300, Yuri Benditovich wrote:
> > > https://bugzilla.redhat.com/show_bug.cgi?id=1425961
> > > If attached new device when one device with the same vid
> > > and pid already present, the notification is ignored and
> > > attached device is not redirected (if auto share set) and
> > > not displayed in USB devices widget
> >
> > There apparently were some issues in the past with bus/addr changing
> > when it should not
> > https://cgit.freedesktop.org/spice/spice-gtk/commit/?id= f9631cd6f8
> >
> > Any idea whether this is no longer needed?
> >
>
> There is no additional information about case when the same device comes
> with different bus.addr
> 1. From my point of view this should not be a problem - if new device with
> different bus.addr comes in, the previous one with
> old bus.addr should disappear and be removed anywhere ; new device shall be
> redirected automatically if required.
> If such flow will be identified/reported with UsbDk, we will be able to
> investigate it and solve.
> 2. Whether the configuration with WinUSB is still used by spice-gtk on
> Windows? According to instructions
> on https://www.spice-space.org/spice-user-manual.html , UsbDk should be
> used and WinUSB is not mentioned.
removing an (old) bugfix, I'd explain in the commit log why it's no
longer necessary to have it.
Christophe
_______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel