Mailing List archive

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

[vdr] Re: Nexus and remote plugin



Cyrille Grange wrote:

Andreas Mair wrote:

Hi,

On Thursday 15 May 2003 11:48, Cyrille Grange wrote:

Hi all,
I'm using vdr 1.1.30 and 2003-04-27 drivers.
Everything work OK (DVD, mp3, ...) except the remote plugin.
In fact, the hardware is OK cause i made the checklist describe in the
README with success. Doing that, i construct my own .rc5 file :

0x0c KEY_POWER

0x25 KEY_1
0x26 KEY_2
0x27 KEY_3
0x19 KEY_4
0x3d KEY_5
0x16 KEY_6
0x17 KEY_7
0x18 KEY_8
0x2b KEY_9
0x1d KEY_0

0x03 KEY_MENU
0x09 KEY_BACK

0x02 KEY_UP
0x08 KEY_DOWN
0x04 KEY_LEFT
0x06 KEY_RIGHT
0x05 KEY_OK

0x34 KEY_CHANNELUP
0x33 KEY_CHANNELDOWN
0x0b KEY_VOLUMEUP
0x1c KEY_VOLUMEDOWN

0x35 KEY_REWIND
0x30 KEY_PLAY
0x36 KEY_FORWARD
0x3c KEY_PAUSE
0x20 KEY_STOP
0x31 KEY_RECORD

0x10 KEY_RED
0x0a KEY_GREEN
0x00 KEY_YELLOW
0x23 KEY_BLUE

The problem is that VDR don't ask me to learn keys when i launch it.
I tried to delete my remote.conf file to force vdr asking me for keys,
but only KBD keys react.
I'm using the runvdr.remote launcher script found in "misc" directory.
If i activate debug for IR as describe in the README, i can see pressed
keys in syslog, but VDR do not react.

Any Ideas ?

Thank's for all.

Maybe av7110_loadkeys (in DVB/apps) is your friend?

Regards,
Andreas



Hi,
Thank's for your awnser.
I already use the av7110_loadkeys "-a" "-i" options without success.
In fact, the ".evtest" prog. is working perfectly, so ...
Regards.
To complete my question, i tried compiling vdr with "REMOTE=RCU" and "REMOTE=LIRC" but only RCU launch the reconizing procedure but without react from VDR when i press my remote keys. It's strange, cause i can see IR debug in syslog each time i press a key but VDR DO NOT REACT.

My syslog :

May 15 16:26:53 leila kernel: Linux video capture interface: v1.00
May 15 16:26:55 leila kernel: DVB: registering new adapter (Technotrend/Hauppauge PCI rev2.1 or 2.2).
May 15 16:26:55 leila kernel: PCI: Found IRQ 11 for device 00:0a.0
May 15 16:26:55 leila kernel: IRQ routing conflict for 00:0a.0, have irq 10, want irq 11
May 15 16:26:56 leila kernel: stv0299.c: setup for tuner BSRU6, TDQB-S00x
May 15 16:26:56 leila kernel: DVB: registering frontend 0:0 (STV0299/TSA5059/SL1935 based)...
May 15 16:26:58 leila kernel: DVB: AV7111(0) - firm f0240009, rtsl b0250018, vid 71010068, app 80002614
May 15 16:26:58 leila kernel: DVB: AV7111(0) - firmware supports CI link layer interface
mai 15 16:26:59 leila vdr[16942]: VDR version 1.1.30 started
mai 15 16:26:59 leila vdr[16942]: loading plugin: ./PLUGINS/lib/libvdr-remote.so.1.1.30
mai 15 16:26:59 leila vdr[16942]: loading plugin: ./PLUGINS/lib/libvdr-dvd.so.1.1.30
mai 15 16:26:59 leila vdr[16942]: loading plugin: ./PLUGINS/lib/libvdr-mp3.so.1.1.30
mai 15 16:26:59 leila vdr[16942]: loading /video/setup.conf
mai 15 16:26:59 leila vdr[16942]: loading /video/remote.conf
mai 15 16:26:59 leila vdr[16942]: found 1 video device
mai 15 16:26:59 leila vdr[16942]: initializing plugin: remote (0.1.0): Remote control
mai 15 16:26:59 leila vdr[16942]: initializing plugin: dvd (0.3.2a): turn VDR into an (almost) full featured DVD player
mai 15 16:26:59 leila vdr[16942]: initializing plugin: mp3 (0.7.13): A versatile audio player
mai 15 16:26:59 leila vdr[16942]: setting primary device to 1
mai 15 16:26:59 leila vdr[16942]: SVDRP listening on port 2001
mai 15 16:26:59 leila vdr[16942]: starting plugin: remote
mai 15 16:26:59 leila vdr[16942]: starting plugin: dvd
mai 15 16:26:59 leila vdr[16942]: starting plugin: mp3
mai 15 16:26:59 leila vdr[16942]: loading /video/plugins/mp3sources.conf
mai 15 16:26:59 leila vdr[16942]: loading id3 cache from /video/id3info.cache
May 15 16:27:16 leila kernel: #########00000d05######### addr 20 data 0x05 (keycode 352)
May 15 16:27:16 leila kernel: #########00000d05######### addr 20 data 0x05 (keycode 352)
May 15 16:27:18 leila kernel: #########00000502######### addr 20 data 0x02 (keycode 103)
May 15 16:27:20 leila kernel: #########00000d08######### addr 20 data 0x08 (keycode 108)

and my runvdr script :

DVBDIR="../DVB/driver"
DVBREM="$DVBDIR/../apps/av7110_loadkeys"
VDRPRG="./vdr"
VDRCMD="$VDRPRG -w 60 -P\"remote -i /dev/input/event0\" -Pdvd -Pmp3 $*"

LSMOD="`/sbin/lsmod | grep -w '^dvb' | wc -l`"
KILL="/usr/bin/killall -q -TERM"

# Load driver if it hasn't been loaded already:
if [ $LSMOD -eq 0 ] ; then
(cd $DVBDIR; make insmod)
fi

while (true) do
$DVBREM/av7110_loadkeys -a 20 $DVBREM/grundig.rc5 > /proc/av7110_ir
su -c "$VDRCMD" $VDRUSR
if test $? -eq 0; then exit; fi
date
echo "restarting VDR"
$KILL $VDRPRG
sleep 10
(cd $DVBDIR; make rmmod; make insmod)
date
done






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



Home | Main Index | Thread Index