Re: [Qemu-devel] [PATCH] usb-redir: Allow to attach USB 2.0 devices to 1.1 host controller

2012-09-21 Thread Jan Kiszka
On 2012-09-21 14:21, Hans de Goede wrote: > Hi, > > On 09/21/2012 01:49 PM, Jan Kiszka wrote: >> On 2012-09-18 11:41, Hans de Goede wrote: >>> Hi, >>> >>> On 09/17/2012 06:22 PM, Jan Kiszka wrote: > If that does not work, add the debug parameter to the usb-redir device, > set it > to 4

Re: [Qemu-devel] [PATCH] usb-redir: Allow to attach USB 2.0 devices to 1.1 host controller

2012-09-21 Thread Hans de Goede
Hi, On 09/21/2012 01:49 PM, Jan Kiszka wrote: On 2012-09-18 11:41, Hans de Goede wrote: Hi, On 09/17/2012 06:22 PM, Jan Kiszka wrote: If that does not work, add the debug parameter to the usb-redir device, set it to 4, collect logs of trying to redirect the device and send me the logs please,

Re: [Qemu-devel] [PATCH] usb-redir: Allow to attach USB 2.0 devices to 1.1 host controller

2012-09-21 Thread Jan Kiszka
On 2012-09-18 11:41, Hans de Goede wrote: > Hi, > > On 09/17/2012 06:22 PM, Jan Kiszka wrote: >>> If that does not work, add the debug parameter to the usb-redir device, >>> set it >>> to 4, collect logs of trying to redirect the device and send me the logs >>> please, ie: >>> -device usb-redir,ch

Re: [Qemu-devel] [PATCH] usb-redir: Allow to attach USB 2.0 devices to 1.1 host controller

2012-09-19 Thread Hans de Goede
Hi, On 09/18/2012 11:18 PM, Anthony Liguori wrote: Hans de Goede writes: Hi, On 09/17/2012 11:18 AM, Jan Kiszka wrote: On 2012-09-17 11:08, Hans de Goede wrote: Although not pretty I'm ok with this, since I actually want to add similar code to allow usb-3 (superspeed) devices like a us

Re: [Qemu-devel] [PATCH] usb-redir: Allow to attach USB 2.0 devices to 1.1 host controller

2012-09-18 Thread Anthony Liguori
Hans de Goede writes: > Hi, > > On 09/17/2012 11:18 AM, Jan Kiszka wrote: >> On 2012-09-17 11:08, Hans de Goede wrote: > > > >>> Although not pretty I'm ok with this, since I actually want to add >>> similar code to allow usb-3 (superspeed) devices like a usb-3 usb-stick >>> to work with ehci or

Re: [Qemu-devel] [PATCH] usb-redir: Allow to attach USB 2.0 devices to 1.1 host controller

2012-09-18 Thread Hans de Goede
Hi, On 09/17/2012 06:22 PM, Jan Kiszka wrote: If that does not work, add the debug parameter to the usb-redir device, set it to 4, collect logs of trying to redirect the device and send me the logs please, ie: -device usb-redir,chardev=usbredirchardev1,id=usbredirdev1,debug=4 Also be aware that

Re: [Qemu-devel] [PATCH] usb-redir: Allow to attach USB 2.0 devices to 1.1 host controller

2012-09-17 Thread Jan Kiszka
On 2012-09-17 16:24, Hans de Goede wrote: > Hi, > > On 09/17/2012 11:18 AM, Jan Kiszka wrote: >> On 2012-09-17 11:08, Hans de Goede wrote: > > > >>> Although not pretty I'm ok with this, since I actually want to add >>> similar code to allow usb-3 (superspeed) devices like a usb-3 usb-stick >>>

Re: [Qemu-devel] [PATCH] usb-redir: Allow to attach USB 2.0 devices to 1.1 host controller

2012-09-17 Thread Hans de Goede
Hi, On 09/17/2012 11:18 AM, Jan Kiszka wrote: On 2012-09-17 11:08, Hans de Goede wrote: Although not pretty I'm ok with this, since I actually want to add similar code to allow usb-3 (superspeed) devices like a usb-3 usb-stick to work with ehci or uhci controllers :) Great, that would hav

Re: [Qemu-devel] [PATCH] usb-redir: Allow to attach USB 2.0 devices to 1.1 host controller

2012-09-17 Thread Jan Kiszka
On 2012-09-17 11:08, Hans de Goede wrote: > Hi, > > On 09/15/2012 06:27 PM, Jan Kiszka wrote: >> From: Jan Kiszka >> >> This follows the logic of host-linux: If a 2.0 device has no ISO >> endpoint and no interrupt endpoint with a packet size > 64, we can >> attach it also to an 1.1 host controlle

Re: [Qemu-devel] [PATCH] usb-redir: Allow to attach USB 2.0 devices to 1.1 host controller

2012-09-17 Thread Hans de Goede
Hi, On 09/15/2012 06:27 PM, Jan Kiszka wrote: From: Jan Kiszka This follows the logic of host-linux: If a 2.0 device has no ISO endpoint and no interrupt endpoint with a packet size > 64, we can attach it also to an 1.1 host controller. In case the redir server does not report endpoint sizes,

[Qemu-devel] [PATCH] usb-redir: Allow to attach USB 2.0 devices to 1.1 host controller

2012-09-15 Thread Jan Kiszka
From: Jan Kiszka This follows the logic of host-linux: If a 2.0 device has no ISO endpoint and no interrupt endpoint with a packet size > 64, we can attach it also to an 1.1 host controller. In case the redir server does not report endpoint sizes, play safe and remove the 1.1 compatibility as wel