Well it seems I have now got this working, using the in-kernel modules. Thanks for your last reply, and in response to your question here is the output I now have on my working system.
mythtv@lounge:~> ps aux | grep lirc
root 1668 0.0 0.0 20144 808 ? Ss 15:34 0:00 /usr/sbin/lircd -H devinput -d /dev/input/by-id/usb-FIC_eHome_Infrared_Transceiver_FI001Swn-event-if00
mythtv 3460 0.0 0.0 8048 872 pts/5 S+ 15:42 0:00 grep --color=auto lirc
mythtv@lounge:~>
As you see I have /dev.input/by-id !
However I have two other PC’s both with mythtv installed, a slave backend on which I have not really setup a remote, although lirc has been installed. On that machine I have /dev/input/ir !
The third machine which which has a Silverstone case with the Soundgraph Imon remote, and which also had remote issues now has /dev/input/by-id !
Just in regard to “input by-id” this uses the device name rather than the event number. The device name is constant, whereas the event number can change.
Now to clarify, software versions are common across my machines, although I do have one which is my main machine for general daily use as well as being a slave backend.
mythtv@lounge:~> uname -a
Linux lounge 3.1.0-1.2-desktop #1 SMP PREEMPT Thu Nov 3 14:45:45 UTC 2011 (187dde0) x86_64 x86_64 x86_64 GNU/Linux
mythtv@lounge:~> rpm -q lirc
lirc-0.9.0-1.2.x86_64
All packages are downloaded from the opensuse repositories.
MythTV is from Packman is
When I was on 11.4 I was able to get the MCE remote working & the Logitech Harmony 525 remote working by modifying the Xorg.conf file.
Basically [FONT=Verdana][size=2]by adding this to xorg.conf (to be correct it perhaps ahould have been under xorg.con.d
Section “InputClass”
Identifier “Ignore Philips mce remote” # changed to “Hauppage mce remote”
MatchProduct “Media Center Ed. eHome Infrared Remote Transceiver (0471:0815)” #changed
the reference in brackets as per my log file.
MatchIsKeyboard “true”
Option “Ignore” “true”
EndSection
[/size][/FONT]
This worked for 11.4, but after 12.1 it failed.
You mentioned you had found that “echo” line here: Configuring mceusb for frontend with 3.0 kernel | MythTV | Users (3rd post).
In fact this is the reference I was trying to remember, a post by Jarod Wilson:
Lirc & Harmony 525 Key repeat problem | MythTV | Users (post 12.)
[FONT=Verdana][size=2]Yeah, um, still Doing It Wrong™. This has been covered a TON
of times on this list and the lirc list. The new in-kernel drivers
can use either or both lirc userspace decode and in-kernel decode,
with key events delivered via the standard linux input layer.
echo lirc > /sys/class/rc/rc0/protocols
is the more correct fix. File an RFE asking that your distro’s
lirc initscript does that for you, so you don’t get both lirc and
native linux input layer keypresses at the same time.
[/size][/FONT]
In this thread at post 8 I had mentioned my eHome transceiver had changed from rc) to rc3 seemingly because I had removed it to try on another PC. I subsequently replaced the transceiver on “lounge” the pc for my main frontend, after I turned the pc off, rebooted and the transceiver was back on rc0.
I then followed Jarods instructions for the echo command. . . . and it worked
irw is functional:
mythtv@lounge:~> irw
000000008001006c 00 'KEY_DOWN' devinput
0000000080010067 00 'KEY_UP' devinput
000000008001006a 00 'KEY_RIGHT' devinput
000000008001006c 00 'KEY_DOWN' devinput
0000000080010160 00 'KEY_OK' devinput
00000000800100cf 00 'KEY_PLAY' devinput
00000000800100a7 00 'KEY_RECORD' devinput
0000000080010080 00 'KEY_STOP' devinput
00000000800100d0 00 'KEY_FASTFORWARD' devinput
00000000800100a8 00 'KEY_REWIND' devinput
0000000080010201 00 'KEY_NUMERIC_1' devinput
0000000080010202 00 'KEY_NUMERIC_2' devinput
0000000080010203 00 'KEY_NUMERIC_3' devinput
^C
mythtv@lounge:~>
I followed the same steps on the Silverstone pc with the Imon, and that is also working
Just to clarify, I am using the in-kernel modules mceusb on lounge, and the imon on the Silverstone.
#
LIRCD_DRIVER="devinput"
## Type: string
## Default: ""
#
# read from given device
#
LIRCD_DEVICE="/dev/input/by-id/usb-FIC_eHome_Infrared_Transceiver_FI001Swn-event-if00"
## Type: string(lirc_bt829,lirc_gpio,lirc_i2c,lirc_it87,lirc_parallel,lirc_sir,ir-kbd-i2c,ir-kbd-gpio)
## Default: ""
#
# load given lirc driver module
#
LIRC_MODULE="mceusb"
## Type: string
## Default: ""
#
# listen for network connections on specified port.
# WARNING: don't use this on a machine with an internet
# connection as lircd is running as root!
#
LIRCD_LISTENPORT=""
## Type: string
## Default: ""
#
# connect lircd to specified host
#
LIRCD_CONNECT=""
lounge:/ #
I also copied file /usr/lirc/remotes/devinput lircd.conf.devinput to /etc/lirc/lircd.conf
All now seems to be resolved although it would be nice if these little things could be automated withing the various installation scripts that the opensuse developers do so well.
If anyone needs more information on my setup feel free to ask, I could post the lircrc file I have used if needed.
Kind regards,
John