On Wed, Sep 02, 2020 at 03:31:46PM +0100, Alex Bennée wrote:
>
> Gerd Hoffmann writes:
>
> >> > +#include
> >
> >> > +int rc = ioctl(hostfd, USBDEVFS_GET_SPEED, NULL);
> >>
> >> This (further) breaks a bunch of the Travis jobs - I assume because libusb
> >> doesn't
> >> always have th
Gerd Hoffmann writes:
>> > +#include
>
>> > +int rc = ioctl(hostfd, USBDEVFS_GET_SPEED, NULL);
>>
>> This (further) breaks a bunch of the Travis jobs - I assume because libusb
>> doesn't
>> always have this symbol:
>>
>> ../hw/usb/host-libusb.c:954:32: error: ‘USBDEVFS_GET_SPEED’
> > +#include
> > +int rc = ioctl(hostfd, USBDEVFS_GET_SPEED, NULL);
>
> This (further) breaks a bunch of the Travis jobs - I assume because libusb
> doesn't
> always have this symbol:
>
> ../hw/usb/host-libusb.c:954:32: error: ‘USBDEVFS_GET_SPEED’ undeclared
> (first use in this fu
Gerd Hoffmann writes:
> libusb_get_device_speed() does not work for
> libusb_wrap_sys_device() devices in v1.0.23.
>
> Buglink: https://bugzilla.redhat.com/show_bug.cgi?id=1871090
> Signed-off-by: Gerd Hoffmann
> ---
> hw/usb/host-libusb.c | 37 -
> 1 file
libusb_get_device_speed() does not work for
libusb_wrap_sys_device() devices in v1.0.23.
Buglink: https://bugzilla.redhat.com/show_bug.cgi?id=1871090
Signed-off-by: Gerd Hoffmann
---
hw/usb/host-libusb.c | 37 -
1 file changed, 36 insertions(+), 1 deletion(-)
On Fri, 29 May 2020, Gerd Hoffmann wrote:
libusb seems to no allways call the completion callback for requests
Typo: not always call.
Regards,
BALATON Zoltan
canceled (which it is supposed to do according to the docs). So add
a limit to avoid qemu waiting forever.
Tested-by: BALATON Zoltan
libusb seems to no allways call the completion callback for requests
canceled (which it is supposed to do according to the docs). So add
a limit to avoid qemu waiting forever.
Tested-by: BALATON Zoltan
Signed-off-by: Gerd Hoffmann
---
hw/usb/host-libusb.c | 14 ++
1 file changed, 1