Comment 1 for bug 1857438

Revision history for this message
cr (cr-newton) wrote :

By solving another problem I found out it was related and so I have a solution for the problem above:

sudo apt-get install pciutils
sudo setpci -s 01:00.0 0xD4.B=0x41

This will resolve the issue of lagg and key sticking on usb devices (when using a usb webcam).

explaination (from https://linux.die.net/man/8/setpci):
-s [[[[<domain>]:]<bus>]:][<slot>][.[<func>]]

with the tool setpci we write a byte (B) with the value '0x41' to register '0xD4'.
we write to:
domain: 01, bus: 00, slot: 0

I dont know why this value and register, I hope someone can answer that for me.

In my case it resolved the usb lagg & key sticking 100%.
there is a related update, but that didn't fix it for me: https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=260879