• Colin Ian King's avatar
    HID: usbhid: Quirk a AMI virtual mouse and keyboard with ALWAYS_POLL · 03bc30d2
    Colin Ian King authored
    commit ed9ab428 upstream.
    
    Quirking the following AMI USB device with ALWAYS_POLL fixes an AMI
    virtual keyboard and mouse from not responding and timing out when
    it is attached to a ppc64el Power 8 system and when we have some
    rapid open/closes on the mouse device.
    
     usb 1-3: new high-speed USB device number 2 using xhci_hcd
     usb 1-3: New USB device found, idVendor=046b, idProduct=ff01
     usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
     usb 1-3: Product: Virtual Hub
     usb 1-3: Manufacturer: American Megatrends Inc.
     usb 1-3: SerialNumber: serial
     usb 1-3.3: new high-speed USB device number 3 using xhci_hcd
     usb 1-3.3: New USB device found, idVendor=046b, idProduct=ff31
     usb 1-3.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
     usb 1-3.3: Product: Virtual HardDisk Device
     usb 1-3.3: Manufacturer: American Megatrends Inc.
     usb 1-3.4: new low-speed USB device number 4 using xhci_hcd
     usb 1-3.4: New USB device found, idVendor=046b, idProduct=ff10
     usb 1-3.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
     usb 1-3.4: Product: Virtual Keyboard and Mouse
     usb 1-3.4: Manufacturer: American Megatrends Inc.
    
    With the quirk I have not been able to trigger the issue with
    half an hour of saturation soak testing.
    Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
    Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
    Signed-off-by: default avatarJiri Slaby <jslaby@suse.cz>
    03bc30d2
hid-quirks.c 16.1 KB