[vdr] vdr-sxfe + remote control

Alex Betis alex.betis at gmail.com
Sat Jan 17 21:32:55 CET 2009


On Sat, Jan 17, 2009 at 6:50 PM, Kimmo Taskinen <
kimmo.taskinen at dnainternet.net> wrote:

> Hi,
>
> I'm not quite sure if I understood your problem right. So you get the
> right codes with irw and have put them on remote.conf. remotes.conf as
> you wrote is not right place.
> Do you start vdr with --lirc option? If you use --lirc for vdr-sxfe
> you should give --lirc to vdr (at least I don't).

Will try to clarify:
I run VDR with --lirc=/dev/null
When I run vdr-sxfe with --lirc and with --verbose, I can see that it
receives events the same way as irw, but it also receives keyboard events
that are passed to the system by the driver. This way I'm loosing all the
lircrc configuration such as repetition rate.
When I run vdr-sxfe without --lirc, I can't see that it receives any event
beside the keybord events from the driver. I've added mapping of buttons to
lircrc as follows:
begin
    prog    = vdr-sxfe
    remote    = linux-input-layer
    button    = KEY_F10
    repeat    = 0
    config    = LIRC.Volume+
end

but looks like vdr-sxfe still doesn't receive those events.


>
>
> cheers, Kimmo
>
> On 17 Jan 2009, at 17:32, Alex Betis wrote:
>
> > Hello all,
> >
> > Please help me with remote control configuration since I'm breaking
> > my head on a wall for more than a week already. RC is the only thing
> > at the moment that stops me using the VDR as my main TV source.
> >
> > I've bought a nifty (and cheap) remote and a nice USB receiver.
> > Looks like a clone of MCE remote. It has a small joystick to control
> > the mouse.
> > The USB receiver pass keyboard and mouse events to the system, so I
> > can use it instead of my keyboard without any LIRC configuration.
> > BUT, I do want to use LIRC since I want to bound one of the buttons
> > for other tasks (such as switching to XBMC or running vdr-sxfe to
> > pass sound to my sound system instead of the TV).
> >
> > irw works ok.
> > I've set /etc/lircrc to pass the commands to vdr-sxfe and ircat
> > shows them successfuly.
> > I've added some commands such as LIRC.Volume+ and LIRC.Volume-
> > manually to remotes.conf, but it doesn't really help.
> >
> > I can run vdr-sxfe with --lirc and see that it receives the codes
> > direcly without my lircrc configuration, but it will miss many
> > features since some of the RC buttins send sequnce of keys, which
> > can be catched using lircrc configuration.
> > Without specifying --lirc, vdr-sxfe seems to receive the keyboard
> > commands instead the commands from LIRC.
> >
> > Can anyone help me please?
> >
> > People who have the original MCE remote, does your IR receiver also
> > pass keyboard commands to the system?
> > I saw that as soon as there is a connection to lircd (such as with
> > irw or ircat) the keyboard events are not passed the system any more
> > and that's good, but vdr-sxfe doesn't connect unless I'll use the --
> > lirc switch.
> >
> > I'm stuck with that.
> >
> > Any help will be appreciated.
> > Thanks.
> >
> > _______________________________________________
> > vdr mailing list
> > vdr at linuxtv.org
> > http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
>
>
> _______________________________________________
> vdr mailing list
> vdr at linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.linuxtv.org/pipermail/vdr/attachments/20090117/995c5b6b/attachment.htm 


More information about the vdr mailing list