From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:58105) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TDcDw-00022o-8u for qemu-devel@nongnu.org; Mon, 17 Sep 2012 10:23:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TDcDp-0004ch-MS for qemu-devel@nongnu.org; Mon, 17 Sep 2012 10:22:56 -0400 Received: from mx1.redhat.com ([209.132.183.28]:44716) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TDcDp-0004cd-DH for qemu-devel@nongnu.org; Mon, 17 Sep 2012 10:22:49 -0400 Message-ID: <50573283.3080206@redhat.com> Date: Mon, 17 Sep 2012 16:24:03 +0200 From: Hans de Goede MIME-Version: 1.0 References: <5054AC57.205@web.de> <5056E876.9010400@redhat.com> <5056EAF2.60205@web.de> In-Reply-To: <5056EAF2.60205@web.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] usb-redir: Allow to attach USB 2.0 devices to 1.1 host controller List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka Cc: qemu-devel , Gerd Hoffmann 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 have been my next question, but I don't have hardware > for that around yet. I do have hardware for that around, so once you've respun your patch to address the issues discussed, then that will give me a nice basis to add usb-3 usb-stick to ehci-controller redirection :) > BTW, I'm facing several incompatibilities with passed-through CDC/ACM > devices (e.g. a Galaxy S2), independent of my patch. Both host-linux and > redir doesn't allow to use them properly but show different symptoms. > Need to analyze and report once time permits. Hmm, there is (was) one know issues with these devices, which has been fixed in usbredir, so first of all make sure that the usbredir on your spice-client / usbredirserver, has this patch: http://cgit.freedesktop.org/spice/usbredir/commit/?id=7783d3db61083bbf7f61b1ea8608c666b4c6a1dd 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 usb-redir relies on chardev flowcontrol working, which it does not upstream! See for example here for the chardev flow control patch set which RHEL / Fedora carry: http://cgit.freedesktop.org/~jwrdegoede/qemu/log/?h=qemu-kvm-1.2-usbredir&ofs=50 And then the first 13 patches after: "Merge tag 'v1.2.0'" Oh, and also, if you're running qemu git master, make sure you've: http://cgit.freedesktop.org/~jwrdegoede/qemu/commit/?id=81e34f5973d8d6a1ef998a50c4a4bf66abb3b56b Regards, Hans