I want my computer to stop listening on a specific usb port. The problem is that the device connected there keeps disconnecting and reconnecting. I think this may be due to a hardware fault. The usb device is a touch screen. With the watch
command I can verify that it keeps appearing and disappearing.
I've tried both blocking the kernel modules with modprobe
and blocking the specific USB device with udev
. Alas nothing seems to do the trick. What other options do I have?
For reference:
> cat /lib/udev/rules.d/20-block-elan.rules
# ELAN Touchscreen
SUBSYSTEM=="usb", ATTRS{idVendor}=="04f3", ATTRS{idProduct}=="0125", ATTR{authorized}="0"