Re: [Qemu-devel] [PATCH 13/16] usb-hid: add hid_has_events()

2011-08-10 Thread TeLeMan
On Wed, Aug 10, 2011 at 23:17, Gerd Hoffmann wrote: >  Hi, > >>> - >>> -    /* Force poll routine to be run and grab input the first time.  */ >>> -    us->changed = 1; >> >> USB tablet does not work on the winxp guest. I think this code can't be >> removed. >> > > Attached patch should fix that.

Re: [Qemu-devel] [PATCH 13/16] usb-hid: add hid_has_events()

2011-08-10 Thread Gerd Hoffmann
Hi, - -/* Force poll routine to be run and grab input the first time. */ -us->changed = 1; USB tablet does not work on the winxp guest. I think this code can't be removed. Attached patch should fix that. cheers, Gerd commit 21635e121ae0f0ab7874152a7c2f96e9d8cd642f Author: Gerd

Re: [Qemu-devel] [PATCH 13/16] usb-hid: add hid_has_events()

2011-08-08 Thread TeLeMan
On Thu, Aug 4, 2011 at 23:10, Gerd Hoffmann wrote: > Add hid_has_events function, use it to figure whenever there are pending > events instead of checking and updating USBHIDState->changed. > > Setting ->changed to 1 on init is removed, that should have absolutely > no effect as the initial state

[Qemu-devel] [PATCH 13/16] usb-hid: add hid_has_events()

2011-08-04 Thread Gerd Hoffmann
Add hid_has_events function, use it to figure whenever there are pending events instead of checking and updating USBHIDState->changed. Setting ->changed to 1 on init is removed, that should have absolutely no effect as the initial state of ->idle is 0 so we report hid state anyway until the guest