to change?
Sam
On 14/06/17 09:40, Samuel Brian wrote:
Some USB devices have sparse interface numbering which is not able to be
passthroughed.
For example, the Sierra Wireless MC7455/MC7430:
# lsusb -D /dev/bus/usb/003/003 | egrep
'1199|9071|bNumInterfaces|bInterfaceNumber'
De
Done. Had to V3 it to pass the formatting check. Sorry about that.
Sam
On 13/06/17 20:22, Gerd Hoffmann wrote:
On Tue, 2017-06-13 at 14:17 +1000, Samuel Brian wrote:
This change allows sparse USB interface numbering.
Instead of only claiming the interfaces in the range reported by the
USB
n v1 patch formatting.
v3 to fix indentation.
Signed-off-by: Samuel Brian
---
hw/usb/host-libusb.c | 24 ++--
1 file changed, 14 insertions(+), 10 deletions(-)
diff --git a/hw/usb/host-libusb.c b/hw/usb/host-libusb.c
index f9c8eafe06..1b0be071cc 100644
--- a/hw/usb/host-libusb.c
++
n v1 patch formatting.
Signed-off-by: Samuel Brian
---
hw/usb/host-libusb.c | 24 ++--
1 file changed, 14 insertions(+), 10 deletions(-)
diff --git a/hw/usb/host-libusb.c b/hw/usb/host-libusb.c
index f9c8eafe06..2e3a752ef6 100644
--- a/hw/usb/host-libusb.c
+++ b/hw/usb/hos
bers are 0, 2, 3, 8, 10 and not the
0, 1, 2, 3, 4 that QEMU tries to claim.
This change allows sparse USB interface numbering.
Instead of only claiming the interfaces in the range reported by the USB
device through bNumInterfaces, QEMU attempts to claim all possible
interfaces.
Signed-off-by: Sa