On 2011-05-12 20:22, Bengt Nilsson wrote:
Hi!

I have a Intel DP55SB mobo with a CIR header and a nuvoton-cir device on it.
I just assembled a simple receiver with a 82 ohm resistor and a Everlight IRM-3638N3, and a filter capcitor.

Works fine using "ir-keytable -s" and a MCE remote.

However, there is a problem to set it up in lirc as devinput, since the target number for it in /dev/input/event* is often changing between boots.

When using usb devices, it is convenient to use /dev/input/by-id, since the stable device name can be found there which can be entered into /etc/lirc/hardware.conf.
There is no such entry for the nuvotron-cir device in /dev/input/by-id or by-path.

Is it possible to set up a similar scheme with a stable name reference for the nuvoton-cir device using other methods?



BN
Yes,

For Fedora:

in /etc/sysconfig/lirc
put
LIRC_DEVICE="name=Nuvoton\?w836x7hg\?Infrared\?Remote\?Transceiver"
giving
/usr/sbin/lircd --driver=devinput --device=name=Nuvoton?w836x7hg?Infrared?Remote?Transceiver /etc/lirc/lircd.conf.devinput

or Ubuntu:

in /etc/lirc/hardware.conf
put something similar for
REMOTE_DEVICE=""

to get the same lircd

Douglas
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay