qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Bug 1846451] [NEW] K800 keyboard no longer works when attached to a VM
@ 2019-10-03  7:12 Rokas Kupstys
  2019-10-14  8:24 ` [Bug 1846451] " Gerd Hoffmann
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: Rokas Kupstys @ 2019-10-03  7:12 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

I use Logitech K800 keyboard which is connected to a PC through Logitech
unifying receiver. In order to control my windows VM i attach unifying
receiver USB device to a VM using "virsh attach-device VM-Name
./device.xml". Device ID as seen in lsusb is 046d:c52b.

As of v4.1.0 keyboard no longer works when attached to a windows VM.
When attached receiver is still at least partially functional. Logitech
pairing utility properly displays paired keyboard, pressing buttons on
the keyboard shows changing indicator icon in pairing utility. Pairing
and unpairing works. Pressing keys however fails to register any key
presses.

Downgrading to v4.0.0 fixes the issue.

device.xml used to attach USB device:
```
<hostdev mode='subsystem' type='usb'>
        <source>
                <vendor id='0x046d'/>
                <product id='0xc52b'/>
        </source>
</hostdev>

```

** Affects: qemu
     Importance: Undecided
         Status: New

** Attachment added: "VM xml"
   https://bugs.launchpad.net/bugs/1846451/+attachment/5293902/+files/win10.xml

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1846451

Title:
  K800 keyboard no longer works when attached to a VM

Status in QEMU:
  New

Bug description:
  I use Logitech K800 keyboard which is connected to a PC through
  Logitech unifying receiver. In order to control my windows VM i attach
  unifying receiver USB device to a VM using "virsh attach-device VM-
  Name ./device.xml". Device ID as seen in lsusb is 046d:c52b.

  As of v4.1.0 keyboard no longer works when attached to a windows VM.
  When attached receiver is still at least partially functional.
  Logitech pairing utility properly displays paired keyboard, pressing
  buttons on the keyboard shows changing indicator icon in pairing
  utility. Pairing and unpairing works. Pressing keys however fails to
  register any key presses.

  Downgrading to v4.0.0 fixes the issue.

  device.xml used to attach USB device:
  ```
  <hostdev mode='subsystem' type='usb'>
          <source>
                  <vendor id='0x046d'/>
                  <product id='0xc52b'/>
          </source>
  </hostdev>

  ```

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1846451/+subscriptions


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 1846451] Re: K800 keyboard no longer works when attached to a VM
  2019-10-03  7:12 [Bug 1846451] [NEW] K800 keyboard no longer works when attached to a VM Rokas Kupstys
@ 2019-10-14  8:24 ` Gerd Hoffmann
  2019-10-14 14:40 ` Rokas Kupstys
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Gerd Hoffmann @ 2019-10-14  8:24 UTC (permalink / raw)
  To: qemu-devel

There are only two pass-through changes:

commit bfe44898848614cfcb3a269bc965afbe1f0f331c
commit 65f14ab98da1da920f98ee8734dc1588b01d6b2b

Can you check whenever reverting the one or the other or both restores
4.0 behavior?

Can you add "lsusb -v" output for the device in question to the bug?

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1846451

Title:
  K800 keyboard no longer works when attached to a VM

Status in QEMU:
  New

Bug description:
  I use Logitech K800 keyboard which is connected to a PC through
  Logitech unifying receiver. In order to control my windows VM i attach
  unifying receiver USB device to a VM using "virsh attach-device VM-
  Name ./device.xml". Device ID as seen in lsusb is 046d:c52b.

  As of v4.1.0 keyboard no longer works when attached to a windows VM.
  When attached receiver is still at least partially functional.
  Logitech pairing utility properly displays paired keyboard, pressing
  buttons on the keyboard shows changing indicator icon in pairing
  utility. Pairing and unpairing works. Pressing keys however fails to
  register any key presses.

  Downgrading to v4.0.0 fixes the issue.

  device.xml used to attach USB device:
  ```
  <hostdev mode='subsystem' type='usb'>
          <source>
                  <vendor id='0x046d'/>
                  <product id='0xc52b'/>
          </source>
  </hostdev>

  ```

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1846451/+subscriptions


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 1846451] Re: K800 keyboard no longer works when attached to a VM
  2019-10-03  7:12 [Bug 1846451] [NEW] K800 keyboard no longer works when attached to a VM Rokas Kupstys
  2019-10-14  8:24 ` [Bug 1846451] " Gerd Hoffmann
@ 2019-10-14 14:40 ` Rokas Kupstys
  2019-10-15  6:46 ` Gerd Hoffmann
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Rokas Kupstys @ 2019-10-14 14:40 UTC (permalink / raw)
  To: qemu-devel

Reverting 65f14ab98da1da920f98ee8734dc1588b01d6b2b fixes the issue.

lsusb -v:
Bus 002 Device 008: ID 046d:c52b Logitech, Inc. Unifying Receiver
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x046d Logitech, Inc.
  idProduct          0xc52b Unifying Receiver
  bcdDevice           12.08
  iManufacturer           1 
  iProduct                2 
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0054
    bNumInterfaces          3
    bConfigurationValue     1
    iConfiguration          4 
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower               98mA
    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              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.11
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      59
         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               8
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      1 Boot Interface Subclass
      bInterfaceProtocol      2 Mouse
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.11
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength     148
         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     0x0008  1x 8 bytes
        bInterval               2
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0 
      bInterfaceProtocol      0 
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.11
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      93
         Report Descriptors: 
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0020  1x 32 bytes
        bInterval               2

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1846451

Title:
  K800 keyboard no longer works when attached to a VM

Status in QEMU:
  New

Bug description:
  I use Logitech K800 keyboard which is connected to a PC through
  Logitech unifying receiver. In order to control my windows VM i attach
  unifying receiver USB device to a VM using "virsh attach-device VM-
  Name ./device.xml". Device ID as seen in lsusb is 046d:c52b.

  As of v4.1.0 keyboard no longer works when attached to a windows VM.
  When attached receiver is still at least partially functional.
  Logitech pairing utility properly displays paired keyboard, pressing
  buttons on the keyboard shows changing indicator icon in pairing
  utility. Pairing and unpairing works. Pressing keys however fails to
  register any key presses.

  Downgrading to v4.0.0 fixes the issue.

  device.xml used to attach USB device:
  ```
  <hostdev mode='subsystem' type='usb'>
          <source>
                  <vendor id='0x046d'/>
                  <product id='0xc52b'/>
          </source>
  </hostdev>

  ```

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1846451/+subscriptions


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 1846451] Re: K800 keyboard no longer works when attached to a VM
  2019-10-03  7:12 [Bug 1846451] [NEW] K800 keyboard no longer works when attached to a VM Rokas Kupstys
  2019-10-14  8:24 ` [Bug 1846451] " Gerd Hoffmann
  2019-10-14 14:40 ` Rokas Kupstys
@ 2019-10-15  6:46 ` Gerd Hoffmann
  2019-10-15  7:04 ` Rokas Kupstys
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Gerd Hoffmann @ 2019-10-15  6:46 UTC (permalink / raw)
  To: qemu-devel

https://patchwork.ozlabs.org/patch/1176777/

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1846451

Title:
  K800 keyboard no longer works when attached to a VM

Status in QEMU:
  New

Bug description:
  I use Logitech K800 keyboard which is connected to a PC through
  Logitech unifying receiver. In order to control my windows VM i attach
  unifying receiver USB device to a VM using "virsh attach-device VM-
  Name ./device.xml". Device ID as seen in lsusb is 046d:c52b.

  As of v4.1.0 keyboard no longer works when attached to a windows VM.
  When attached receiver is still at least partially functional.
  Logitech pairing utility properly displays paired keyboard, pressing
  buttons on the keyboard shows changing indicator icon in pairing
  utility. Pairing and unpairing works. Pressing keys however fails to
  register any key presses.

  Downgrading to v4.0.0 fixes the issue.

  device.xml used to attach USB device:
  ```
  <hostdev mode='subsystem' type='usb'>
          <source>
                  <vendor id='0x046d'/>
                  <product id='0xc52b'/>
          </source>
  </hostdev>

  ```

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1846451/+subscriptions


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 1846451] Re: K800 keyboard no longer works when attached to a VM
  2019-10-03  7:12 [Bug 1846451] [NEW] K800 keyboard no longer works when attached to a VM Rokas Kupstys
                   ` (2 preceding siblings ...)
  2019-10-15  6:46 ` Gerd Hoffmann
@ 2019-10-15  7:04 ` Rokas Kupstys
  2019-10-15 11:39 ` Gerd Hoffmann
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Rokas Kupstys @ 2019-10-15  7:04 UTC (permalink / raw)
  To: qemu-devel

Could you please clarify how this config is supposed to be used? I would
test your patch.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1846451

Title:
  K800 keyboard no longer works when attached to a VM

Status in QEMU:
  New

Bug description:
  I use Logitech K800 keyboard which is connected to a PC through
  Logitech unifying receiver. In order to control my windows VM i attach
  unifying receiver USB device to a VM using "virsh attach-device VM-
  Name ./device.xml". Device ID as seen in lsusb is 046d:c52b.

  As of v4.1.0 keyboard no longer works when attached to a windows VM.
  When attached receiver is still at least partially functional.
  Logitech pairing utility properly displays paired keyboard, pressing
  buttons on the keyboard shows changing indicator icon in pairing
  utility. Pairing and unpairing works. Pressing keys however fails to
  register any key presses.

  Downgrading to v4.0.0 fixes the issue.

  device.xml used to attach USB device:
  ```
  <hostdev mode='subsystem' type='usb'>
          <source>
                  <vendor id='0x046d'/>
                  <product id='0xc52b'/>
          </source>
  </hostdev>

  ```

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1846451/+subscriptions


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 1846451] Re: K800 keyboard no longer works when attached to a VM
  2019-10-03  7:12 [Bug 1846451] [NEW] K800 keyboard no longer works when attached to a VM Rokas Kupstys
                   ` (3 preceding siblings ...)
  2019-10-15  7:04 ` Rokas Kupstys
@ 2019-10-15 11:39 ` Gerd Hoffmann
  2019-10-21  6:15 ` Rokas Kupstys
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Gerd Hoffmann @ 2019-10-15 11:39 UTC (permalink / raw)
  To: qemu-devel

qemu: -device usb-host,...,guest-resets-all=true

libvirt:

   <qemu:arg value='-set'/>
   <qemu:arg value='device.hostdev0.guest-resets-all=true'/>

... assuming this is is the only pass-through device.

If you pass through more devices you''l have hostdev0, hostdev1, ... and
have to pick the correct one.

(see also http://blog.vmsplice.net/2011/04/how-to-pass-qemu-command-
line-options.html)

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1846451

Title:
  K800 keyboard no longer works when attached to a VM

Status in QEMU:
  New

Bug description:
  I use Logitech K800 keyboard which is connected to a PC through
  Logitech unifying receiver. In order to control my windows VM i attach
  unifying receiver USB device to a VM using "virsh attach-device VM-
  Name ./device.xml". Device ID as seen in lsusb is 046d:c52b.

  As of v4.1.0 keyboard no longer works when attached to a windows VM.
  When attached receiver is still at least partially functional.
  Logitech pairing utility properly displays paired keyboard, pressing
  buttons on the keyboard shows changing indicator icon in pairing
  utility. Pairing and unpairing works. Pressing keys however fails to
  register any key presses.

  Downgrading to v4.0.0 fixes the issue.

  device.xml used to attach USB device:
  ```
  <hostdev mode='subsystem' type='usb'>
          <source>
                  <vendor id='0x046d'/>
                  <product id='0xc52b'/>
          </source>
  </hostdev>

  ```

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1846451/+subscriptions


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 1846451] Re: K800 keyboard no longer works when attached to a VM
  2019-10-03  7:12 [Bug 1846451] [NEW] K800 keyboard no longer works when attached to a VM Rokas Kupstys
                   ` (4 preceding siblings ...)
  2019-10-15 11:39 ` Gerd Hoffmann
@ 2019-10-21  6:15 ` Rokas Kupstys
  2020-01-09 13:48 ` Thomas Huth
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Rokas Kupstys @ 2019-10-21  6:15 UTC (permalink / raw)
  To: qemu-devel

I am bit slow to test, but i just realized that i am still not sure how
to test this. My devices are attached using "virsh attach" after system
has started. So it seems to me there is no way to test it with libvirt.
A global option to restore old behavior would be useful until libvirt
starts supporting this option.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1846451

Title:
  K800 keyboard no longer works when attached to a VM

Status in QEMU:
  New

Bug description:
  I use Logitech K800 keyboard which is connected to a PC through
  Logitech unifying receiver. In order to control my windows VM i attach
  unifying receiver USB device to a VM using "virsh attach-device VM-
  Name ./device.xml". Device ID as seen in lsusb is 046d:c52b.

  As of v4.1.0 keyboard no longer works when attached to a windows VM.
  When attached receiver is still at least partially functional.
  Logitech pairing utility properly displays paired keyboard, pressing
  buttons on the keyboard shows changing indicator icon in pairing
  utility. Pairing and unpairing works. Pressing keys however fails to
  register any key presses.

  Downgrading to v4.0.0 fixes the issue.

  device.xml used to attach USB device:
  ```
  <hostdev mode='subsystem' type='usb'>
          <source>
                  <vendor id='0x046d'/>
                  <product id='0xc52b'/>
          </source>
  </hostdev>

  ```

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1846451/+subscriptions


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 1846451] Re: K800 keyboard no longer works when attached to a VM
  2019-10-03  7:12 [Bug 1846451] [NEW] K800 keyboard no longer works when attached to a VM Rokas Kupstys
                   ` (5 preceding siblings ...)
  2019-10-21  6:15 ` Rokas Kupstys
@ 2020-01-09 13:48 ` Thomas Huth
  2020-02-18  8:21 ` Rokas Kupstys
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Thomas Huth @ 2020-01-09 13:48 UTC (permalink / raw)
  To: qemu-devel

Patch has been included here:
https://git.qemu.org/?p=qemu.git;a=commitdiff;h=1dfe2b91dcb1633d0ba450
... and been released with QEMU v4.2

** Changed in: qemu
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1846451

Title:
  K800 keyboard no longer works when attached to a VM

Status in QEMU:
  Fix Released

Bug description:
  I use Logitech K800 keyboard which is connected to a PC through
  Logitech unifying receiver. In order to control my windows VM i attach
  unifying receiver USB device to a VM using "virsh attach-device VM-
  Name ./device.xml". Device ID as seen in lsusb is 046d:c52b.

  As of v4.1.0 keyboard no longer works when attached to a windows VM.
  When attached receiver is still at least partially functional.
  Logitech pairing utility properly displays paired keyboard, pressing
  buttons on the keyboard shows changing indicator icon in pairing
  utility. Pairing and unpairing works. Pressing keys however fails to
  register any key presses.

  Downgrading to v4.0.0 fixes the issue.

  device.xml used to attach USB device:
  ```
  <hostdev mode='subsystem' type='usb'>
          <source>
                  <vendor id='0x046d'/>
                  <product id='0xc52b'/>
          </source>
  </hostdev>

  ```

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1846451/+subscriptions


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 1846451] Re: K800 keyboard no longer works when attached to a VM
  2019-10-03  7:12 [Bug 1846451] [NEW] K800 keyboard no longer works when attached to a VM Rokas Kupstys
                   ` (6 preceding siblings ...)
  2020-01-09 13:48 ` Thomas Huth
@ 2020-02-18  8:21 ` Rokas Kupstys
  2020-02-24  7:41 ` Gerd Hoffmann
  2020-02-24  8:29 ` Rokas Kupstys
  9 siblings, 0 replies; 11+ messages in thread
From: Rokas Kupstys @ 2020-02-18  8:21 UTC (permalink / raw)
  To: qemu-devel

Any way to get old behavior back when using `virsh attach` command?
Devices are not attached on boot. I am stuck with qemu 4.0 because of
this.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1846451

Title:
  K800 keyboard no longer works when attached to a VM

Status in QEMU:
  Fix Released

Bug description:
  I use Logitech K800 keyboard which is connected to a PC through
  Logitech unifying receiver. In order to control my windows VM i attach
  unifying receiver USB device to a VM using "virsh attach-device VM-
  Name ./device.xml". Device ID as seen in lsusb is 046d:c52b.

  As of v4.1.0 keyboard no longer works when attached to a windows VM.
  When attached receiver is still at least partially functional.
  Logitech pairing utility properly displays paired keyboard, pressing
  buttons on the keyboard shows changing indicator icon in pairing
  utility. Pairing and unpairing works. Pressing keys however fails to
  register any key presses.

  Downgrading to v4.0.0 fixes the issue.

  device.xml used to attach USB device:
  ```
  <hostdev mode='subsystem' type='usb'>
          <source>
                  <vendor id='0x046d'/>
                  <product id='0xc52b'/>
          </source>
  </hostdev>

  ```

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1846451/+subscriptions


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 1846451] Re: K800 keyboard no longer works when attached to a VM
  2019-10-03  7:12 [Bug 1846451] [NEW] K800 keyboard no longer works when attached to a VM Rokas Kupstys
                   ` (7 preceding siblings ...)
  2020-02-18  8:21 ` Rokas Kupstys
@ 2020-02-24  7:41 ` Gerd Hoffmann
  2020-02-24  8:29 ` Rokas Kupstys
  9 siblings, 0 replies; 11+ messages in thread
From: Gerd Hoffmann @ 2020-02-24  7:41 UTC (permalink / raw)
  To: qemu-devel

Try this:

   <qemu:arg value='-global'/>
   <qemu:arg value='usb-host.guest-resets-all=true'/>

Not fully sure this works for hotplugged devices though.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1846451

Title:
  K800 keyboard no longer works when attached to a VM

Status in QEMU:
  Fix Released

Bug description:
  I use Logitech K800 keyboard which is connected to a PC through
  Logitech unifying receiver. In order to control my windows VM i attach
  unifying receiver USB device to a VM using "virsh attach-device VM-
  Name ./device.xml". Device ID as seen in lsusb is 046d:c52b.

  As of v4.1.0 keyboard no longer works when attached to a windows VM.
  When attached receiver is still at least partially functional.
  Logitech pairing utility properly displays paired keyboard, pressing
  buttons on the keyboard shows changing indicator icon in pairing
  utility. Pairing and unpairing works. Pressing keys however fails to
  register any key presses.

  Downgrading to v4.0.0 fixes the issue.

  device.xml used to attach USB device:
  ```
  <hostdev mode='subsystem' type='usb'>
          <source>
                  <vendor id='0x046d'/>
                  <product id='0xc52b'/>
          </source>
  </hostdev>

  ```

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1846451/+subscriptions


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 1846451] Re: K800 keyboard no longer works when attached to a VM
  2019-10-03  7:12 [Bug 1846451] [NEW] K800 keyboard no longer works when attached to a VM Rokas Kupstys
                   ` (8 preceding siblings ...)
  2020-02-24  7:41 ` Gerd Hoffmann
@ 2020-02-24  8:29 ` Rokas Kupstys
  9 siblings, 0 replies; 11+ messages in thread
From: Rokas Kupstys @ 2020-02-24  8:29 UTC (permalink / raw)
  To: qemu-devel

It works with virsh device-attach. Thank you very much.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1846451

Title:
  K800 keyboard no longer works when attached to a VM

Status in QEMU:
  Fix Released

Bug description:
  I use Logitech K800 keyboard which is connected to a PC through
  Logitech unifying receiver. In order to control my windows VM i attach
  unifying receiver USB device to a VM using "virsh attach-device VM-
  Name ./device.xml". Device ID as seen in lsusb is 046d:c52b.

  As of v4.1.0 keyboard no longer works when attached to a windows VM.
  When attached receiver is still at least partially functional.
  Logitech pairing utility properly displays paired keyboard, pressing
  buttons on the keyboard shows changing indicator icon in pairing
  utility. Pairing and unpairing works. Pressing keys however fails to
  register any key presses.

  Downgrading to v4.0.0 fixes the issue.

  device.xml used to attach USB device:
  ```
  <hostdev mode='subsystem' type='usb'>
          <source>
                  <vendor id='0x046d'/>
                  <product id='0xc52b'/>
          </source>
  </hostdev>

  ```

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1846451/+subscriptions


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2020-02-24  8:42 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-03  7:12 [Bug 1846451] [NEW] K800 keyboard no longer works when attached to a VM Rokas Kupstys
2019-10-14  8:24 ` [Bug 1846451] " Gerd Hoffmann
2019-10-14 14:40 ` Rokas Kupstys
2019-10-15  6:46 ` Gerd Hoffmann
2019-10-15  7:04 ` Rokas Kupstys
2019-10-15 11:39 ` Gerd Hoffmann
2019-10-21  6:15 ` Rokas Kupstys
2020-01-09 13:48 ` Thomas Huth
2020-02-18  8:21 ` Rokas Kupstys
2020-02-24  7:41 ` Gerd Hoffmann
2020-02-24  8:29 ` Rokas Kupstys

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).