I'm developing a RPi application that uses an external IR remote with LIRC. For some reason when I press certain keys on the remote, like the number keys, characters get entered into my current command shell - whatever shell is active at the time.

Why is this happening and is there a way to disable it? It really threw me when I saw all these extra characters in the shell.

I've got an empty .lircrc file, so there should be no conflict there.

EDIT: I'm using Raspberry PI Raspian with a DELL USB keyboard hanging off it. The remote is RC6-based remote that I pulled away from a Hauppage TV Tuner card. The receiver device is an external IR component (TSO38238) that is tied directly to the GPIO pins.

  • 2
    What OS are you using? What type of keyboard are you using? What type of remote are you using (is it an MCE remote)? – Steve Robillard Dec 29 '15 at 2:54
  • What device is it? If it is emulating a keyboard at all then that is what is happening! Does the receiver device (I'm assuming a USB dongle-type device) appear as a HID device - if it is a USB device what does lsusb tell you (and eventually us when you edit your question to inform us) about the device! – SlySven Dec 29 '15 at 4:20
  • Added more details. – cardinalPilot Dec 30 '15 at 23:19

In the file, /etc/lirc/hardware.conf, remove the --uinput flag from LIRCD_ARGS.

| improve this answer | |
systemctl stop lircd-uinput.service
systemctl disable lircd-uinput.service
| improve this answer | |
  • 4
    Can you edit your answer and provide an explanation as to what your commands do? – Greenonline May 5 '19 at 22:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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