[ATrpms-users] lirc not working on CentOS 5.1
Jeffrey J. Kosowsky
atrpms at kosowsky.org
Thu Jan 24 14:53:31 CET 2008
Jean-Yves Avenard wrote at about 18:34:30 +1100 on Thursday, January 24, 2008:
> Hi
>
>
> On Jan 24, 2008 4:54 PM, David Hobley <davidh at sharpblue.org> wrote:
> > With /dev/lircd.conf starting with (I haven't included the whole thing unless someone needs to see it):
> > #
> > # this config file was automatically generated
> > # using lirc-0.7.1pre2(imon) on Tue Mar 1 23:15:44 2005
> > #
> > # contributed by Venky Raju
> > #
> > # brand: iMON-New
> > # model no. of remote control: iMON-PAD
> > # devices being controlled by this remote:
> > #
>
> Talking from my experience with lirc.
> I do not have a /dev/lirc device.
> The IR port shows on my DVB-T card and appears as /dev/input/eventX
>
> I have three DVB-T cards in my HTPC, so the X in the /dev/input/eventX
> keeps changing. As such I have created a udev entry in
> /etc/udev/rules.d/10-local.rules with
> ID=="input*", BUS=="input", SYSFS{name}=="cx88 IR (digitalnow DNTV
> Live! ", SYMLINK+="irremote"
>
> as the DVB-T card I want to use is a CX88 card. This will create a
> /dev/irremote as a link to the proper /dev/input/eventX. Making it
> easier for future usage.
>
> Then I've configured lirc in /etc/sysconfig/lirc as:
> LIRCD_OPTIONS="-H dev/input -d /dev/irremote"
>
You know that if this is the only place that you need to reference the
card then you don't necessarily have to use udev to create a known
link.
You can use:
LIRCD_OPTIONS="-H dev/input -d name="cx88 IR (digitalnow DNTV Live! "
I prefer this method because it keeps my system more pristine in that
I don't have to play around with udev (and remember to change it every
time I upgrade).
> # If "yes", the init script will try to start lircmd(8) too.
> ENABLE_LIRCMD="no"
>
> # Options to lircmd(8).
> LIRCMD_OPTIONS=""
>
>
> ---
>
> And I'm running the lircd process at boot time.
>
> This works well in my case.
>
> I suspect that your IR port just shows up as a /dev/input/event entry
> just the same.
>
> Look in the dmesg.
> All my DVB-T adapters have an IR interface.
> You see message like this in dmesg:
>
> input: IR-receiver inside an USB DVB receiver as /class/input/input2
> ...
> input: cx88 IR (digitalnow DNTV Live! as /class/input/input3
> ...
> input: IR-receiver inside an USB DVB receiver as /class/input/input4
>
> If that's the case, you will need to run lircd like I did and modify
> the /etc/sysconfig/lirc configuration accordingly.
>
> The /etc/lircd.conf is only used to match a code name to an IR signal,
> it doesn't define in anyway how the IR port is configured or where to
> find it.
>
> Jean-Yves
>
> _______________________________________________
> atrpms-users mailing list
> atrpms-users at atrpms.net
> http://lists.atrpms.net/mailman/listinfo/atrpms-users
More information about the atrpms-users
mailing list