[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] EHCI USB regression in 1.2.0 - ehci_state_fetchqtd() as
From: |
Shawn Starr |
Subject: |
Re: [Qemu-devel] EHCI USB regression in 1.2.0 - ehci_state_fetchqtd() asserting |
Date: |
Sun, 23 Sep 2012 14:00:10 -0400 |
User-agent: |
KMail/4.9 (Linux/3.6.0-0.rc6.git0.1.fc18.x86_64; KDE/4.9.0; x86_64; ; ) |
On Sunday, September 23, 2012 12:03:28 PM Hans de Goede wrote:
> Hi,
>
> On 09/21/2012 08:46 PM, Shawn Starr wrote:
> > On Friday, September 21, 2012 07:35:42 PM Hans de Goede wrote:
> >> Hi,
> >>
> >> On 09/21/2012 05:39 PM, Shawn Starr wrote:
> >>> On Friday, September 21, 2012 02:19:08 PM Hans de Goede wrote:
> >>>> Hi,
> >>>
> >>> <snip>
> >>>
> >>>> Ok, so your using host redirection here, see the device usb-host
> >>>>
> >>>>> In addition, if i disable usb-redirection device the cam works as it
> >>>>> did
> >>>>> before (although like before, the video image is upside down in some
> >>>>> applications).
> >>>>
> >>>> When you say disable the usb-redirection device, do you mean removing
> >>>> the host redirection, and selecting the cam for redirection in a
> >>>> spice client (ie remote-viewer) instead, or... ?
> >>>>
> >>>> Can you please try, disabling host-redirection, then connecting to
> >>>> the vm with remote-viewer and then selecting the cam from
> >>>> remote-viewers UI?
> >>>>
> >>>> Thanks,
> >>>>
> >>>> Hans
> >>>
> >>> Hi Hans,
> >>>
> >>> I am using usb-host and it works. If I keep usb-host and add
> >>> usb-redirection it shows those errors.
> >>
> >> Hmm, this sounds like you are using spice usb-redir too and the 2 are
> >> fighting each other. Which spice-client are you using? And are you
> >> plugging
> >> in the device after starting up the vm ?
> >>
> >>> Your patch however did fix using host-usb alone.
> >>
> >> Good.
> >>
> >>> I don't have a setup that can let me use usb-redirection unfortunately.
> >>
> >> Why not? Looking at your qemu cmdline you are using spice. Hmm, I guesss
> >> you may want to keep the device redirected when no client is connected?>
> > Using spicec, it doesn't give me an option to connection devices.
>
> spicec is deprecated you really should be using remote-viewer instead. That
> will give you an option to select devices.
>
I installed virt-viewer (which I didn't know about), however the display is
black (i only see a cursor)
I did attach the USB device with it and debug shows this:
qemu-kvm: usb-redir: ep: 00 type: 0 interface: 0
qemu-kvm: usb-redir: ep: 80 type: 0 interface: 0
qemu-kvm: usb-redir: ep: 87 type: 3 interface: 0
qemu-kvm: usb-redir: attaching high speed device 046d:0990 version 0.8 class
ef
qemu-kvm: usb-redir: reset device
qemu-kvm: usb-redir: ctrl-out type 0x80 req 0x6 val 0x100 index 0 len 64 id
1071296768
qemu-kvm: usb-redir: ctrl-in status 0 len 18 id 1071296768
qemu-kvm: usb-redir: reset device
qemu-kvm: usb-redir: set address 1
qemu-kvm: usb-redir: ctrl-out type 0x80 req 0x6 val 0x100 index 0 len 18 id
1071296768
qemu-kvm: usb-redir: ctrl-in status 0 len 18 id 1071296768
qemu-kvm: usb-redir: ctrl-out type 0x80 req 0x6 val 0x200 index 0 len 255 id
1071296768
qemu-kvm: usb-redir: ctrl-in status 0 len 255 id 1071296768
qemu-kvm: usb-redir: ctrl-out type 0x80 req 0x6 val 0x200 index 0 len 1433 id
1071296768
qemu-kvm: usb-redir: ctrl-in status 0 len 1433 id 1071296768
qemu-kvm: usb-redir: ctrl-out type 0x80 req 0x6 val 0x302 index 1033 len 255
id 1071296768
qemu-kvm: usb-redir: ctrl-in status 0 len 18 id 1071296768
lsusb info:
--> Bus 001 Device 004: ID 046d:0990 Logitech, Inc. QuickCam Pro 9000
I am having issues with attaching display with spice, but I saw no errors on
attach of USB device, I just am not able test this.
XML:
<qemu:commandline>
<qemu:arg value='-set'/>
<qemu:arg value='device.redir0.debug=4'/>
</qemu:commandline>
QEMU Line:
-chardev spicevmc,id=charredir0,name=usbredir -device usb-
redir,chardev=charredir0,id=redir0 -device virtio-balloon-
pci,id=balloon0,bus=pci.0,addr=0x6 -set device.redir0.debug=4
> > I assume
> >
> > usb-redirection for devices *not* on the same machine as the running VM?
> > If
> > so, that use case I wasn't testing originally (although useful)
>
> spice's usbredirection works fine locally too, and it gives you a nice
> UI to redirect usb devices, without needing to need usb-ids, etc.
>
> >> Anyway, if you could remove the host-redirection temporarily and try with
> >> spice usb-redir and collect logs that would be great. If you don't have
> >> time for that, that is ok too, then I'll consider this issue resolved.
> >
> > I consider the issue resolved solely on usb-host issue vs any regressions
> > with usb-redirection itself which I never used/tried.
> >
> > However, if someone can point out how you can test this, I can do this
> > also.
> See above :)
>
> Regards,
>
> Hans
- Re: [Qemu-devel] EHCI USB regression in 1.2.0 - ehci_state_fetchqtd() asserting, (continued)
- Re: [Qemu-devel] EHCI USB regression in 1.2.0 - ehci_state_fetchqtd() asserting, Shawn Starr, 2012/09/19
- Re: [Qemu-devel] EHCI USB regression in 1.2.0 - ehci_state_fetchqtd() asserting, Hans de Goede, 2012/09/20
- Re: [Qemu-devel] EHCI USB regression in 1.2.0 - ehci_state_fetchqtd() asserting, Shawn Starr, 2012/09/20
- Re: [Qemu-devel] EHCI USB regression in 1.2.0 - ehci_state_fetchqtd() asserting, Shawn Starr, 2012/09/20
- Message not available
- Re: [Qemu-devel] EHCI USB regression in 1.2.0 - ehci_state_fetchqtd() asserting, Shawn Starr, 2012/09/20
- Re: [Qemu-devel] EHCI USB regression in 1.2.0 - ehci_state_fetchqtd() asserting, Hans de Goede, 2012/09/21
- Re: [Qemu-devel] EHCI USB regression in 1.2.0 - ehci_state_fetchqtd() asserting, Shawn Starr, 2012/09/21
- Re: [Qemu-devel] EHCI USB regression in 1.2.0 - ehci_state_fetchqtd() asserting, Hans de Goede, 2012/09/21
- Re: [Qemu-devel] EHCI USB regression in 1.2.0 - ehci_state_fetchqtd() asserting, Shawn Starr, 2012/09/21
- Re: [Qemu-devel] EHCI USB regression in 1.2.0 - ehci_state_fetchqtd() asserting, Hans de Goede, 2012/09/23
- Re: [Qemu-devel] EHCI USB regression in 1.2.0 - ehci_state_fetchqtd() asserting,
Shawn Starr <=
- Re: [Qemu-devel] EHCI USB regression in 1.2.0 - ehci_state_fetchqtd() asserting, Shawn Starr, 2012/09/23
- Re: [Qemu-devel] EHCI USB regression in 1.2.0 - ehci_state_fetchqtd() asserting, Shawn Starr, 2012/09/23
- Re: [Qemu-devel] EHCI USB regression in 1.2.0 - ehci_state_fetchqtd() asserting, Hans de Goede, 2012/09/24
- Re: [Qemu-devel] EHCI USB regression in 1.2.0 - ehci_state_fetchqtd() asserting, Shawn Starr, 2012/09/24
- Re: [Qemu-devel] EHCI USB regression in 1.2.0 - ehci_state_fetchqtd() asserting, Hans de Goede, 2012/09/24
- Re: [Qemu-devel] EHCI USB regression in 1.2.0 - ehci_state_fetchqtd() asserting, Shawn Starr, 2012/09/24
- Re: [Qemu-devel] EHCI USB regression in 1.2.0 - ehci_state_fetchqtd() asserting, Hans de Goede, 2012/09/24
- Re: [Qemu-devel] EHCI USB regression in 1.2.0 - ehci_state_fetchqtd() asserting, Shawn Starr, 2012/09/24