Skip to content

usb-linux do not send unnecessary GET_CONFIGURATION (v2)

Hans de Goede qemu-devel 1 version Applied

Status from this message: Applied all three. Thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3usb-linux: Store devpath into USBHostDevice when usb_fs_type == USB_FS_SYSusb-linux.c+15 -111 reply
2/3usb-linux: introduce a usb_linux_get_configuration functionusb-linux.c+22 -80 replies
3/3usb-linux: Get the active configuration from sysfs rather then asking the devusb-linux.c+19 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/3] usb-linux do not send unnecessary GET_CONFIGURATION (v2)

Hi All,

This is version 2 of this patchset, it changes the first patch in the series to not use the devpath sysfs attribute as that is not available on kernels < 2.6.33

The other 2 patches are unchanged.

For those just tuning in here is the summary of the patchset again:
I've begun looking into the current usb redirection support in qemu.

It failed at the first device I threw at it (a usb keychain picture frame), the problem is that this (el cheapo) device does not seem to grok GET_CONFIGURATION. This patch sets makes this device work (and stops qemu from unnecessary sending a GET_CONFIGURATION ctrl msg in general) by reading this value directly from sysfs.

Regards,

Hans