Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Name-space conflict (was: Problem with remote-0.0.1-plugin)




----- Original Message -----
From: "Oliver Endriss" <o.endriss@gmx.de>
To: <vdr@linuxtv.org>
Sent: Thursday, November 07, 2002 6:44 PM
Subject: [vdr] Re: Problem with remote-0.0.1-plugin


> Rene Bartsch wrote:
> > ----- Original Message -----
> > From: "Oliver Endriss" <o.endriss@gmx.de>
> > To: <vdr@linuxtv.org>
> > Sent: Wednesday, November 06, 2002 4:23 AM
> > Subject: [vdr] Re: Problem with remote-0.0.1-plugin
> >
> > > Rene Bartsch wrote:
> > > > I've tried to get it running with Klaus' driver from 2002-11-01
> > > > and VDR-1.1.15.
> > > > But there is no "/proc/av7110" to load the keymaps ...
> > >
> > > The proc entry is /proc/av7110_ir, not av7110...
> >
> > Of course, little typo ... ;o)
> >
> > >                               ^^^
> > > ... and it is automatically created by the the driver.
> >
> > Not by simply rebooting and making insmod, but after switching it off
> > tonight it was created when switching on today morrning.
>
> I can't believe that. :-)
>
> > > So you have to:
> > > 1. load the driver
> > > 2. load the keymap
> > > 3. run vdr with the plugin
> >
> > Works now (after half a day learning IR-codes to the ALDI-remote and
> > creating a keymap), but every button is sent two times, which causes
> > "11" instead of "1". Is there any possibility to suppress this?
>
> You can modify the source to drop every other event, but I don't think
> that this is a good solution for your problem.
>
> Please enable debugging in the driver by adding module parameter
> av7110_ir_debug=1. There should be only one event per keypress.
>
> Sorry, I don't have a Aldi remote. You have to setup your remote control
> in a way that it uses the rc5 protocol.
>

I've just found out what's going on. It's a name-space conflict.

When the keys in rc-map of DVB-driver and in remote.conf have the same name
(e.g. "KEY_UP" and "remote-event0.up", common name-space is "menu", not
case-sensitive!) the press is repeated one time.

As quick solution I removed all "remote-event0"-entries conflicting in
remote.conf and now the buttons are only evaluated correctly.

But I cannot remove "remote-event0.up" as the remote-plugin wants to learn
keys again.

Rene



-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index