Take the 2-minute tour ×
Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It's 100% free, no registration required.

On my Rpi I want to disable USB keyboard and mouse input completely. The RPi should respond only to ssh, not on local USB HID inputs. (other USB devices should still be allowed)

The following failed:

$ modprobe -r usbhid
FATAL: Module usbhid is builtin.

How can I disable the USB HID module, so that keyboard and mouse are no longer recognized?

share|improve this question

closed as off-topic by goldilocks Jan 10 at 15:46

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question does not appear to be specific to the Raspberry Pi within the scope defined in the help center." – goldilocks
If this question can be reworded to fit the rules in the help center, please edit the question.

    
You can't disable it that way if the module is compiled into the kernel. You might be able to do something with "udev rules"... –  goldilocks Feb 18 '13 at 18:23
2  
You can disable local login for users - see linuxquestions.org/questions/linux-general-1/… . Do you have a reason to keep HIDs connected in the first place? –  Lord Loh. Feb 19 '13 at 22:32
    
udev no longer supports disabling devices by their ID or type. I also want to disable input devices on RPi. RPi works as unattended card and USB-drive reader, so USB socket is freely available to users. I want them to use mass storage devices only. As for now, I find no way of blocking USB input devices. Any hints? –  user8491 Jul 15 '13 at 15:21

Browse other questions tagged or ask your own question.