Mailing List archive

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

[vdr] Re: Remote Plugin/DVB-Driver problem



Oliver Endriss wrote:

Recent drivers use only 6 data bits for the keycode (0..0x3f).
For maximum backward compatibilty all address bits are ignored by default, i.e. the driver listens to *all* addresses.

Pass the '-a' parameter to av7110_loadkeys and the driver will listen to the specified address only.
In the meantime I found a README refering to the mentioned DVB/apps/av7110_loadkeys/README,
downloaded the driverpackage (because this is not included in the MLD-Plugins),
and took a look on it.

For my codes beginning at 0x40 up to 0x7f it should be '-a 1', right?
After finding out how to pass this parameter I tried it, but with no
effect at all, adress bits are ignored. Other adress values make no difference.

In the config.rc file wich controls some settings for the plugins I changed
this lines

# VDR Remote Plugin Options
REMOTE_PLUGIN_OPTS="-i /dev/input/event0"
REMOTE_KEYMAP=/video/haupneu1.rc5

to this

# VDR Remote Plugin Options
REMOTE_PLUGIN_OPTS="-i /dev/input/event0"
REMOTE_KEYMAP="-a 1 /video/haupneu1.rc5"

'REMOTE_KEYMAP=-a 1 /video/haupneu1.rc5' did not work: "unknown file/directory")


The "install" file of the DVB driver plugin:
----------------------------------------------
#!/bin/sh
. /etc/rc.d/rc.functions
. /etc/rc.config

KRNL_VER=`uname -r`

cat /tmp/modules.dep >> /lib/modules/$KRNL_VER/modules.dep
rm /tmp/modules.dep
cat /tmp/modules.conf >> /etc/modules.conf
rm /tmp/modules.conf

if [ "$logs" = "1" ];then
  echo -n "Loading DVB drivers: ";/usr/sbin/rcdvbload;check_status
else
  echo -n "Loading DVB drivers: ";/usr/sbin/rcdvbload > /dev/null 2>/dev/null;check_status
fi

if [ -n "$REMOTE_KEYMAP" ];then
  av7110_loadkeys $REMOTE_KEYMAP > /proc/av7110_ir
fi
-------------------------------------------------

Dont know what all this means, it is possible that the "-a" parameter
is stripped from the line in the config.rc?
I get no error message and the /video/haupneu1.rc5 is definetly in use.
Hope this "linux shell script stuff" is not too off topic.

Jörg.



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



Home | Main Index | Thread Index