From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cole Robinson Subject: Re: usb audio device troubles Date: Mon, 08 Dec 2014 13:07:21 -0500 Message-ID: <5485E8D9.40708@redhat.com> References: <547DAD88.7060307@eggo.org> <547DB403.80803@redhat.com> <547EC7ED.80006@redhat.com> <547ECA55.5030805@eggo.org> <547ECF3B.2040302@redhat.com> <547F2E9C.8020400@eggo.org> <548580ED.5050906@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit To: Hans de Goede , "Eric S. Johansson" , Paolo Bonzini , kvm@vger.kernel.org, Gerd Hoffmann Return-path: Received: from mx1.redhat.com ([209.132.183.28]:57756 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751794AbaLHSH1 (ORCPT ); Mon, 8 Dec 2014 13:07:27 -0500 In-Reply-To: <548580ED.5050906@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On 12/08/2014 05:43 AM, Hans de Goede wrote: > Hi Eric, > > On 03-12-14 16:39, Eric S. Johansson wrote: >> >> On 12/3/2014 3:52 AM, Hans de Goede wrote: >>> Eric are you using usb-host redirection, or Spice's usb network redir ? >>> >> >> This little bit of time this morning learning about spice and the network >> redirection. It worked for about half an hour and then failed in the same >> way the host redirection failed. The audio device would appear for a while, >> I would try to use it and then it would disappear. >> >> The spice model has some very nice features and that I could, in theory, >> have a working speech recognition engine somewhere on my > quotes>cloud and then be able to use it via spice on any >> desktop I happen to be located in front of. it would also work nicely with >> my original idea of putting a working KVM virtual machine on and an e-sata >> SSD external drive and be able to bring my working speech recognition >> environment with me without having cart a laptop. >> >> I hope you can see that this could be generalized into a nicely portable >> accessibility solution where the accessibility environment moves with the >> disabled user and removes the need to make every machine have user specific >> accessibility software and configuration. Yes, it does impose a requirement >> the KVM runs everywhere but, we know that's the future anyway so why fight >> it :-) >> >> Anyway, I think if we can solve this USB audio device problem then I'll be >> very happy and can make further progress towards my goal. >> >> Thank you so very much for the help so far and I hope we can fix this USB >> problem. > > To further figure out what is going on when the usb device disconnects we will > need some logs. > > For starters lets look at the spice-client side, before starting virt-manager > or virt-viewer do the following in the terminal: > > export LIBUSB_DEBUG=4 > > And then start the application from the terminal like e.g. this: > > virt-manager &> virt-man.log You'll need to use virt-manager --no-fork or virt-manager --debug to actually see any output - Cole