Trackpad stop working on attaching a usb device

Hi!

On a ThinkPad E15 with an 11th Gen Core i5, the trackpad stops working whenever I insert a USB device into a USB port.

I checked the journalctl and it showed the following error message:

dom0 kernel: elan_12c 16-0015: failed to read report data: -110

Any idea how to solve this?

Update: giving the following command restart the trackpad:

sudo modprobe elan_i2c

But is there a permanent solution?

Because reloading elan_i2c brings the trackpad back, this looks more like the ELAN I2C-HID device wedging during USB hotplug than a dead trackpad. I would first note uname -r, try the previous Qubes kernel from the boot menu, and update dom0 packages and the laptop firmware. Capture journalctl -k -b immediately after it fails and again after the module reload, especially lines for i2c_hid, elan_i2c, and error -110. If it happens with only one dock or USB device, test a simple device and a different port, since a hub or power-management issue may be the trigger. An automatic module reload is a reasonable workaround, but I would not treat it as the permanent fix until the kernel or firmware cause is identified.