* [Qemu-devel] [PULL 1/3] usb-host: add wakeup call for iso xfers
2015-10-20 7:25 [Qemu-devel] [PULL 0/3] usb patch queue Gerd Hoffmann
@ 2015-10-20 7:25 ` Gerd Hoffmann
2015-10-20 7:25 ` [Qemu-devel] [PULL 2/3] usb: print device id in "info usb" monitor command Gerd Hoffmann
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Gerd Hoffmann @ 2015-10-20 7:25 UTC (permalink / raw)
To: qemu-devel; +Cc: Gerd Hoffmann
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
hw/usb/host-libusb.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/usb/host-libusb.c b/hw/usb/host-libusb.c
index 5e492fd..7695a97 100644
--- a/hw/usb/host-libusb.c
+++ b/hw/usb/host-libusb.c
@@ -451,6 +451,7 @@ static void usb_host_req_complete_iso(struct libusb_transfer *transfer)
}
if (xfer->ring->ep->pid == USB_TOKEN_IN) {
QTAILQ_INSERT_TAIL(&xfer->ring->copy, xfer, next);
+ usb_wakeup(xfer->ring->ep, 0);
} else {
QTAILQ_INSERT_TAIL(&xfer->ring->unused, xfer, next);
}
--
1.8.3.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Qemu-devel] [PULL 2/3] usb: print device id in "info usb" monitor command
2015-10-20 7:25 [Qemu-devel] [PULL 0/3] usb patch queue Gerd Hoffmann
2015-10-20 7:25 ` [Qemu-devel] [PULL 1/3] usb-host: add wakeup call for iso xfers Gerd Hoffmann
@ 2015-10-20 7:25 ` Gerd Hoffmann
2015-10-20 7:25 ` [Qemu-devel] [PULL 3/3] usb-audio: increate default buffer size Gerd Hoffmann
2015-10-20 10:45 ` [Qemu-devel] [PULL 0/3] usb patch queue Peter Maydell
3 siblings, 0 replies; 5+ messages in thread
From: Gerd Hoffmann @ 2015-10-20 7:25 UTC (permalink / raw)
To: qemu-devel; +Cc: Gerd Hoffmann
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
hw/usb/bus.c | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/hw/usb/bus.c b/hw/usb/bus.c
index 5f39e1e..ee6b43a 100644
--- a/hw/usb/bus.c
+++ b/hw/usb/bus.c
@@ -655,9 +655,12 @@ void hmp_info_usb(Monitor *mon, const QDict *qdict)
dev = port->dev;
if (!dev)
continue;
- monitor_printf(mon, " Device %d.%d, Port %s, Speed %s Mb/s, Product %s\n",
- bus->busnr, dev->addr, port->path, usb_speed(dev->speed),
- dev->product_desc);
+ monitor_printf(mon, " Device %d.%d, Port %s, Speed %s Mb/s, "
+ "Product %s%s%s\n",
+ bus->busnr, dev->addr, port->path,
+ usb_speed(dev->speed), dev->product_desc,
+ dev->qdev.id ? ", ID: " : "",
+ dev->qdev.id ?: "");
}
}
}
--
1.8.3.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Qemu-devel] [PULL 3/3] usb-audio: increate default buffer size
2015-10-20 7:25 [Qemu-devel] [PULL 0/3] usb patch queue Gerd Hoffmann
2015-10-20 7:25 ` [Qemu-devel] [PULL 1/3] usb-host: add wakeup call for iso xfers Gerd Hoffmann
2015-10-20 7:25 ` [Qemu-devel] [PULL 2/3] usb: print device id in "info usb" monitor command Gerd Hoffmann
@ 2015-10-20 7:25 ` Gerd Hoffmann
2015-10-20 10:45 ` [Qemu-devel] [PULL 0/3] usb patch queue Peter Maydell
3 siblings, 0 replies; 5+ messages in thread
From: Gerd Hoffmann @ 2015-10-20 7:25 UTC (permalink / raw)
To: qemu-devel; +Cc: Gerd Hoffmann
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
hw/usb/dev-audio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/usb/dev-audio.c b/hw/usb/dev-audio.c
index f092bb8..02fb110 100644
--- a/hw/usb/dev-audio.c
+++ b/hw/usb/dev-audio.c
@@ -664,7 +664,7 @@ static const VMStateDescription vmstate_usb_audio = {
static Property usb_audio_properties[] = {
DEFINE_PROP_UINT32("debug", USBAudioState, debug, 0),
DEFINE_PROP_UINT32("buffer", USBAudioState, buffer,
- 8 * USBAUDIO_PACKET_SIZE),
+ 32 * USBAUDIO_PACKET_SIZE),
DEFINE_PROP_END_OF_LIST(),
};
--
1.8.3.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] [PULL 0/3] usb patch queue
2015-10-20 7:25 [Qemu-devel] [PULL 0/3] usb patch queue Gerd Hoffmann
` (2 preceding siblings ...)
2015-10-20 7:25 ` [Qemu-devel] [PULL 3/3] usb-audio: increate default buffer size Gerd Hoffmann
@ 2015-10-20 10:45 ` Peter Maydell
3 siblings, 0 replies; 5+ messages in thread
From: Peter Maydell @ 2015-10-20 10:45 UTC (permalink / raw)
To: Gerd Hoffmann; +Cc: QEMU Developers
On 20 October 2015 at 08:25, Gerd Hoffmann <kraxel@redhat.com> wrote:
> Hi,
>
> Here is the usb patch queue with some small tweaks.
>
> please pull,
> Gerd
>
> The following changes since commit 26c7be842637ee65a79cd77f96a99c23ddcd90ad:
>
> Merge remote-tracking branch 'remotes/sstabellini/tags/2015-10-19-tag' into staging (2015-10-19 12:13:27 +0100)
>
> are available in the git repository at:
>
>
> git://git.kraxel.org/qemu tags/pull-usb-20151020-1
>
> for you to fetch changes up to 37bc43f7fbfb38003550b327002e59d21b80a3e4:
>
> usb-audio: increate default buffer size (2015-10-20 09:15:23 +0200)
>
> ----------------------------------------------------------------
> usb: misc small tweaks.
Applied, thanks.
-- PMM
^ permalink raw reply [flat|nested] 5+ messages in thread