I use a KVM switch to switch back and forth between a rasberry pi and an Acer notebook running Rocky Linux in console mode so that they can share a keyboard and mouse. Whenever I switch back and forth the Pi does not complain but the Rocky laptop flashes a rush of messages across the terminal such as:
USB disconnect, device number 12,
USB disconnect, device number 13,
New USB device found
New USB device strings
Both devices continue to disconnect and reconnect so at least for now I am not too concerned. However the flood of messages on the Rocky Linux machine is disruptive. Is there any way I can suppress them so that they do not show up?