Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How does one disable all mouse support on Linux? Be it USB mouse, be it PS mouse, how does one make all of the connected mouse devices to be disabled?

I'm working on a surveillance camera monitoring system, and I've been assigned to prevent end-users to hook up mouse and control the environment.

I'm running X, and that's where I have to disable the mouse.

I've already seen:

But both seem to be manual, explicitly disabling a mouse by model or id.

share|improve this question
    
rmmod evdev?? –  Eddy_Em Oct 22 '13 at 10:38
    
> "prevent end-users to hook up mouse" - just turn off power of USB –  Eddy_Em Oct 22 '13 at 10:39
2  
    
Ended up implementing a solution based on what @Nykakin posted. Mind making an answer out of it? –  joltmode Oct 22 '13 at 12:07

1 Answer 1

up vote 1 down vote accepted

Script which disables mouse devices which I posted in comments: http://www.governmentsecurity.org/forum/topic/33712-disable-mouse/#entry211183

It's based on xinput utility and in your case you need to disable this tool as well to prevent users from enabling mouse again. The simplest way is modification of binary permissions:

# chmod o-x /usr/bin/xinput
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.