You are not logged in.

#1 2014-03-28 09:33:13

Trit0n
Member
Registered: 2014-03-28
Posts: 2

IR Remote picked up as Keyboard

Good day.

I've been a loyal arch user for many years now and have always found the WIki and previous forum answers to be enough..... untill now. It seems I need to seek the help of the forum before I pull out more hair.

I have done a minimal install of Arch on a small media box which runs XBMC . It runs flawlessly, so I decided to upgrade to using a remote with the system. I purchased a ComPro-K300 and consulted the Wiki about LIRC and then I spent some time running around the interwebs trying to find a reason for why things are not working.

The Symptoms:
Buttons on the remote do not map to the commands you would expect them to. Some buttons perform functions but these do not match up with keymaps that I have edited or remote conf files I have created.

Fault finding:
Button presses on the remote show up exactly as I would expect them to under "rc-keytable -t" and "irw"
Changes to keymaps under LIRC show up as I would expect them to under "irw', I can manipulate the button mapping just as I would expect. (This is the keymap pointed to by /etc/lirc/lircd.conf)
When just in the terminal with LIRC service disabled, button pushes map to some keyboard commands. (like the up button maps to the keyboard up button)

What I think:
I suspect that the remote is being picked up as a keyboard as described under the LIRC wiki

Xorg detects some remotes, such as the Streamzap USB PC Remote, as a Human Interface Device (HID) which means some or all of the keys will show up as key strokes as if entered from the physical keyboard. This behavior will present problems if LIRC is to be used to manage the device. To disable, create the following file and restart X:

/etc/X11/xorg.conf.d/90-streamzap.conf
Section "InputClass"
  Identifier "Ignore Streamzap IR"
  MatchProduct "Streamzap"
  MatchIsKeyboard "true"
  Option "Ignore" "true"
EndSection

However when I do this I still get keyboard commands in the terminal from the remote, and LIRC running or not the problem still remains the same. Any other suggestions to force Arch to stop seeing the remote as a keyboard and force it to use LIRC to interpret the remote button pushes
I have managed to convince myself that this must be the issue as all these problems persist and the remote seems to interact with the system even when LIRC is switched off.

Any help or suggestions welcome

Offline

#2 2014-03-28 15:31:41

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,202

Re: IR Remote picked up as Keyboard

LIRC WIKI wrote:

Don't forget to alter the MatchProduct property according to one shown in Name from output of

$ cat /proc/bus/input/devices | grep -e IR

For example WinFast for N: Name="cx88 IR (WinFast DTV2000 H rev."

You did do this i hope ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2014-03-31 08:57:32

Trit0n
Member
Registered: 2014-03-28
Posts: 2

Re: IR Remote picked up as Keyboard

Yes, I did that. I followed the instructions and entered what appeared in the brackets like in the example. I think mine was called (mceusb) if I remember correctly.

There must be something I've done wrong or another way to force Arch to ignore the keyboard!

Offline

Board footer

Powered by FluxBB