Make the TTY console ignore the /dev/input/event3 keyboard
up vote
1
down vote
favorite
I have a remote control IR USB receiver, but it acts just like a normal keyboard.
I'm reading the input from /dev/input/event3
to handle events. Because of this I need a way for the TTY console to ignore this "keyboard" device without disabling the USB device entirely.
So currently when I press buttons on the remote control it types characters into the TTY console, which is undesirable.
linux usb keyboard udev tty
New contributor
add a comment |
up vote
1
down vote
favorite
I have a remote control IR USB receiver, but it acts just like a normal keyboard.
I'm reading the input from /dev/input/event3
to handle events. Because of this I need a way for the TTY console to ignore this "keyboard" device without disabling the USB device entirely.
So currently when I press buttons on the remote control it types characters into the TTY console, which is undesirable.
linux usb keyboard udev tty
New contributor
In X11 you can usexinput
to disable input devices.
– ctrl-alt-delor
2 days ago
1
evtest --grab /dev/input/event3
will show the events and not allow others to see them. Add the ioctl EVIOCGRAB to your reading code.
– meuh
2 days ago
Thanks meuh that was the solution.
– Nix
2 days ago
BTW, that exact same question has been asked either here or on superuser not so long ago.
– dirkt
2 days ago
Was it unix.stackexchange.com/questions/388733, unix.stackexchange.com/questions/451370 , unix.stackexchange.com/questions/381944 , or unix.stackexchange.com/questions/343305 ?
– JdeBP
yesterday
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I have a remote control IR USB receiver, but it acts just like a normal keyboard.
I'm reading the input from /dev/input/event3
to handle events. Because of this I need a way for the TTY console to ignore this "keyboard" device without disabling the USB device entirely.
So currently when I press buttons on the remote control it types characters into the TTY console, which is undesirable.
linux usb keyboard udev tty
New contributor
I have a remote control IR USB receiver, but it acts just like a normal keyboard.
I'm reading the input from /dev/input/event3
to handle events. Because of this I need a way for the TTY console to ignore this "keyboard" device without disabling the USB device entirely.
So currently when I press buttons on the remote control it types characters into the TTY console, which is undesirable.
linux usb keyboard udev tty
linux usb keyboard udev tty
New contributor
New contributor
New contributor
asked 2 days ago
Nix
61
61
New contributor
New contributor
In X11 you can usexinput
to disable input devices.
– ctrl-alt-delor
2 days ago
1
evtest --grab /dev/input/event3
will show the events and not allow others to see them. Add the ioctl EVIOCGRAB to your reading code.
– meuh
2 days ago
Thanks meuh that was the solution.
– Nix
2 days ago
BTW, that exact same question has been asked either here or on superuser not so long ago.
– dirkt
2 days ago
Was it unix.stackexchange.com/questions/388733, unix.stackexchange.com/questions/451370 , unix.stackexchange.com/questions/381944 , or unix.stackexchange.com/questions/343305 ?
– JdeBP
yesterday
add a comment |
In X11 you can usexinput
to disable input devices.
– ctrl-alt-delor
2 days ago
1
evtest --grab /dev/input/event3
will show the events and not allow others to see them. Add the ioctl EVIOCGRAB to your reading code.
– meuh
2 days ago
Thanks meuh that was the solution.
– Nix
2 days ago
BTW, that exact same question has been asked either here or on superuser not so long ago.
– dirkt
2 days ago
Was it unix.stackexchange.com/questions/388733, unix.stackexchange.com/questions/451370 , unix.stackexchange.com/questions/381944 , or unix.stackexchange.com/questions/343305 ?
– JdeBP
yesterday
In X11 you can use
xinput
to disable input devices.– ctrl-alt-delor
2 days ago
In X11 you can use
xinput
to disable input devices.– ctrl-alt-delor
2 days ago
1
1
evtest --grab /dev/input/event3
will show the events and not allow others to see them. Add the ioctl EVIOCGRAB to your reading code.– meuh
2 days ago
evtest --grab /dev/input/event3
will show the events and not allow others to see them. Add the ioctl EVIOCGRAB to your reading code.– meuh
2 days ago
Thanks meuh that was the solution.
– Nix
2 days ago
Thanks meuh that was the solution.
– Nix
2 days ago
BTW, that exact same question has been asked either here or on superuser not so long ago.
– dirkt
2 days ago
BTW, that exact same question has been asked either here or on superuser not so long ago.
– dirkt
2 days ago
Was it unix.stackexchange.com/questions/388733, unix.stackexchange.com/questions/451370 , unix.stackexchange.com/questions/381944 , or unix.stackexchange.com/questions/343305 ?
– JdeBP
yesterday
Was it unix.stackexchange.com/questions/388733, unix.stackexchange.com/questions/451370 , unix.stackexchange.com/questions/381944 , or unix.stackexchange.com/questions/343305 ?
– JdeBP
yesterday
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Nix is a new contributor. Be nice, and check out our Code of Conduct.
Nix is a new contributor. Be nice, and check out our Code of Conduct.
Nix is a new contributor. Be nice, and check out our Code of Conduct.
Nix is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f482553%2fmake-the-tty-console-ignore-the-dev-input-event3-keyboard%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
In X11 you can use
xinput
to disable input devices.– ctrl-alt-delor
2 days ago
1
evtest --grab /dev/input/event3
will show the events and not allow others to see them. Add the ioctl EVIOCGRAB to your reading code.– meuh
2 days ago
Thanks meuh that was the solution.
– Nix
2 days ago
BTW, that exact same question has been asked either here or on superuser not so long ago.
– dirkt
2 days ago
Was it unix.stackexchange.com/questions/388733, unix.stackexchange.com/questions/451370 , unix.stackexchange.com/questions/381944 , or unix.stackexchange.com/questions/343305 ?
– JdeBP
yesterday