usb patch queue
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.
----------------------------------------------------------------
Gerd Hoffmann (3):
usb-host: add wakeup call for iso xfers
usb: print device id in "info usb" monitor command
usb-audio: increate default buffer size
hw/usb/bus.c | 9 ++++++--- hw/usb/dev-audio.c | 2 +- hw/usb/host-libusb.c | 1 + 3 files changed, 8 insertions(+), 4 deletions(-)
[Qemu-devel] [PULL 1/3] usb-host: add wakeup call for iso xfers
--- hw/usb/host-libusb.c | 1 + 1 file changed, 1 insertion(+)
hw/usb/host-libusb.c +1 -0
@@ -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); }
Signature · 1 line
1.8.3.1
[Qemu-devel] [PULL 2/3] usb: print device id in "info usb" monitor command
In reply to Gerd Hoffmann--- hw/usb/bus.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-)
hw/usb/bus.c +6 -3
@@ -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 ?:"" ); } } }
Signature · 1 line
1.8.3.1
[Qemu-devel] [PULL 3/3] usb-audio: increate default buffer size
In reply to Gerd Hoffmann--- hw/usb/dev-audio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
hw/usb/dev-audio.c +1 -1
@@ -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 (), };
Signature · 1 line
1.8.3.1
Peter Maydell
AppliedQuoted 14 lines · Gerd Hoffmann
Hi,
Here is the usb patch queue with some small tweaks.
please pull,
GerdThe 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:
Quoted 8 lines
git://git.kraxel.org/qemutags/pull-usb-20151020-1for 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