qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] usb3 - xhci - Assertion `intr->er_full' failed


From: Martin Cerveny
Subject: Re: [Qemu-devel] usb3 - xhci - Assertion `intr->er_full' failed
Date: Thu, 2 Feb 2017 13:48:34 +0100 (CET)
User-agent: Alpine 2.00 (GSO 1167 2008-08-23)

Hello.

On Thu, 2 Feb 2017, Gerd Hoffmann wrote:
 Hi,
- usb with usbredir 0.7.1

What kind of device do you assign to the guest?

Keyboard.

Where is the verfied windows driver that is compatible/tested with xhci code ?

Usually I test with the drivers shipped by the operating system, i.e.
linux kernel or windows 8 (or newer).

Windows 7 :-(

---------------------------------- USB keyboard + qemu-xen-4.8.0 + 2.1.39 
driver + DEBUG_XHCI + DEBUG_DATA ---------------------------

Is the usb keyboard enough to trigger this?

Yes. Boots normaly, host+root hub drivers starts ok (verified over RDP), after keyboard attach over qemu/usbredir - it few moments works
(detected "compound" device) and than assert().

The keyboard description from remote linux (lsusb -vvv):

Bus 001 Device 007: ID 0e6a:6001 Megawin Technology Co., Ltd GEMBIRD Flexible keyboard KB-109F-B-DE
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x0e6a Megawin Technology Co., Ltd
  idProduct          0x6001 GEMBIRD Flexible keyboard KB-109F-B-DE
  bcdDevice            0.07
  iManufacturer           0
  iProduct                1 HID Keyboard Device
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           59
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          1 HID Keyboard Device
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      1 Boot Interface Subclass
      bInterfaceProtocol      1 Keyboard
      iInterface              1 HID Keyboard Device
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.10
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      54
         Report Descriptors:
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval              10
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0 No Subclass
      bInterfaceProtocol      0 None
      iInterface              2 HID Keyboard Hot Keys
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.10
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      50
         Report Descriptors:
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0003  1x 3 bytes
        bInterval              10
Device Status:     0x0000
  (Bus Powered)

enabling usb_xhci_* trace events would be more helpful than DEBUG_XHCI
(see qemu.git/docs/tracing.txt).

Ok, attached all output (remote usb attached from line 'usb-redir').

Thanks, Martin

Attachment: qemu-dm-test.log
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]