Linux input layer driver
Usually you don't have to create a config file
yourself if you use this driver as this generic
config file should already contain all
existing keys.
This driver uses /dev/input/event0 as
its input device per default. You should provide
the correct device as --device parameter on the
lircd and irrecord command line.
Sometimes the input device mapping changes
between system reboots. In that case you are
also able to specify the correct input device by
its name or physical location by preceding the
desired value with name= or
phys=. Shell wild-cards can be used
for the given value but must be protected from
the shell with proper quoting.
For example you can use:
--device=name='Budget-CI dvb ir *'
--device=phys='pci*/ir0'
With the following script you can list all names
associated with all existing Linux input
devices.
for i in /sys/class/input/input* ; do echo -n "$(basename "$i"): "; cat "$i/name"; done
This information also can be found in
/proc/bus/input/devices.
[LIRC homepage]
The LIRC Manual, last update: 12-Oct-2008
|