From mboxrd@z Thu Jan 1 00:00:00 1970 From: Erik Rull Subject: Re: kvm, emulation hangs when using some usb device Date: Tue, 22 Mar 2011 18:08:12 +0100 Message-ID: <4D88D77C.8070600@rdsoftware.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: slavik Return-path: Received: from moutng.kundenserver.de ([212.227.126.186]:54327 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754621Ab1CVRIN (ORCPT ); Tue, 22 Mar 2011 13:08:13 -0400 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: slavik wrote: > I have some troubles with passing usb into kvm virtual machine. > I trying to provide the usb device 2022:0008 (Amikon vpn key) or 19d2:2000 > (ZTE MF112 hsdpa modem) into virtual machine with windows xp iax32. > kvm virtual machine was hung completely, and stop responding to anything. > Maybe I need there some trick to use this kind (switchable?) of usb devices? > > ps: Linux workdesk 2.6.38-gentoo #1 SMP Mon Mar 21 18:10:13 YEKT 2011 x86_64 > AMD Phenom(tm) II X6 1055T Processor AuthenticAMD GNU/Linux Have you enabled USB 2.0 on your host system? If yes -> causes issues (Windows Bluescreen e.g.) with printers and sometimes other USB 2.0 devices. If you set it to USB 1.1, it should be fine but the transfer rate is extremely low. I would propose the ehci-patch from David, this works quite nice and gives a good transfer performance and no bluescreens with printers and so on. Best regards, Erik