[vdr] vdr-sxfe doesn't work correctly with keyboard

Goga777 goga777 at bk.ru
Sat Jun 6 10:14:06 CEST 2009


Hi

my system is

server - debian + kernel 2.6.29 + vdr 177 + s2-liplanin + hvr4000 + cvs xineliboutput + vdr-xine from hg
remote client - debian + vdr-sxfe from cvs xineliboutput + xine-lib-1.2 from hg

I have the problem with keyboard on remote frontend computer (vdr-sxfe)

For example -  If I  press and after that release the any digital button ("2" or "5") I have the "22" or "55"
results - not "2" or "5" as usual .

Another example -  If  I press and release the button UP or DOWN the cursor will move on TWO lines to up or to down.

The problem is when I released the button - after release of button I have second event - double figure or double moving.

Also I couldn't use the pipe connection , rtp, udp protocols - only tcp connection

Jun  6 11:44:37 arvdr vdr: [17202] [xine..put] Trying PIPE connection ...
Jun  6 11:44:37 arvdr vdr: [17202] creating directory /video/plugins/xineliboutput/pipes.17195
Jun  6 11:44:37 arvdr vdr: [17202] [xine..put] Pipe not opened by client
Jun  6 11:44:37 arvdr vdr: [17202] removing /video/plugins/xineliboutput/pipes.17195
Jun  6 11:44:37 arvdr vdr: [17202] [xine..put] Trying RTP connection ...
Jun  6 11:44:37 arvdr vdr: [17202] [xine..put] RTP transport not implemented for vdr-1.7.x
Jun  6 11:44:37 arvdr vdr: [17202] [xine..put] Trying UDP connection ...
Jun  6 11:44:37 arvdr vdr: [17202] [xine..put] UDP transport not implemented for vdr-1.7.x


logs from vdr 177 

arvdr:/vdr# ./vdr -P"xineliboutput --local=none --remote=37890"

Jun  6 11:43:45 arvdr vdr: [17195] cTimeMs: using monotonic clock (resolution is 1 ns)
Jun  6 11:43:45 arvdr vdr: [17195] VDR version 1.7.7 started
Jun  6 11:43:45 arvdr vdr: [17195] codeset is 'UTF-8' - known
Jun  6 11:43:45 arvdr vdr: [17195] found 23 locales in ./locale
Jun  6 11:43:45 arvdr vdr: [17195] loading plugin: ./PLUGINS/lib/libvdr-xineliboutput.so.1.7.7
Jun  6 11:43:45 arvdr vdr: [17195] loading /video/setup.conf
Jun  6 11:43:45 arvdr vdr: [17195] [xine..put] Skipping configuration entry Frontend=sxfe (overridden in command line)
Jun  6 11:43:45 arvdr vdr: [17195] loading /video/sources.conf
Jun  6 11:43:45 arvdr vdr: [17195] loading /video/diseqc.conf
Jun  6 11:43:45 arvdr vdr: [17195] loading /video/channels.conf
Jun  6 11:43:45 arvdr vdr: [17195] loading /video/svdrphosts.conf
Jun  6 11:43:45 arvdr vdr: [17195] loading /video/remote.conf
Jun  6 11:43:45 arvdr vdr: [17196] video directory scanner thread started (pid=17195, tid=17196)
Jun  6 11:43:45 arvdr vdr: [17196] video directory scanner thread ended (pid=17195, tid=17196)
Jun  6 11:43:45 arvdr vdr: [17197] video directory scanner thread started (pid=17195, tid=17197)
Jun  6 11:43:45 arvdr vdr: [17197] video directory scanner thread ended (pid=17195, tid=17197)
Jun  6 11:43:45 arvdr vdr: [17195] reading EPG data from /video/epg.data
Jun  6 11:43:45 arvdr vdr: [17195] probing /dev/dvb/adapter0/frontend0
Jun  6 11:43:45 arvdr vdr: [17195] device 1 provides DVB-S2 ("Conexant CX24116/CX24118")
Jun  6 11:43:45 arvdr vdr: [17199] tuner on device 1 thread started (pid=17195, tid=17199)
Jun  6 11:43:45 arvdr vdr: [17200] section handler thread started (pid=17195, tid=17200)
Jun  6 11:43:45 arvdr vdr: [17195] found 1 video device
Jun  6 11:43:45 arvdr vdr: [17195] initializing plugin: xineliboutput (1.0.90-cvs): X11/xine-lib output plugin
Jun  6 11:43:45 arvdr vdr: [17195] [xine..put] cTimePts: clock_gettime(CLOCK_MONOTONIC): clock resolution 0 us
Jun  6 11:43:45 arvdr vdr: [17195] [xine..put] cTimePts: using monotonic clock
Jun  6 11:43:45 arvdr vdr: [17195] [xine..put] RTP SSRC: 0x27fae0fc
Jun  6 11:43:45 arvdr vdr: [17195] setting primary device to 1
Jun  6 11:43:45 arvdr vdr: [17195] device 1 has no MPEG decoder
Jun  6 11:43:45 arvdr vdr: [17195] trying device number 2 instead
Jun  6 11:43:45 arvdr vdr: [17195] setting primary device to 2
Jun  6 11:43:45 arvdr vdr: [17195] assuming manual start of VDR
Jun  6 11:43:45 arvdr vdr: [17195] SVDRP listening on port 2001
Jun  6 11:43:45 arvdr vdr: [17195] setting current skin to "sttng"
Jun  6 11:43:45 arvdr vdr: [17195] loading /video/themes/sttng-default.theme
Jun  6 11:43:45 arvdr vdr: [17195] starting plugin: xineliboutput
Jun  6 11:43:45 arvdr vdr: [17202] Remote decoder/display server (cXinelibServer) thread started (pid=17195, tid=17202)
Jun  6 11:43:45 arvdr vdr: [17202] [xine..put] cXinelibServer priority set successful SCHED_RR 2 [1,99]
Jun  6 11:43:45 arvdr vdr: [17202] [xine..put] Listening on port 37890
Jun  6 11:43:45 arvdr vdr: [17202] [xine..put] Listening for UDP broadcasts on port 37890
Jun  6 11:43:45 arvdr vdr: [17202] [discovery] BROADCAST: VDR xineliboutput DISCOVERY 1.0^M Server port: 37890^M Server vers
ion: xineliboutput-1.0.90-cvs^M ^M
Jun  6 11:43:45 arvdr vdr: [17195] [xine..put] cXinelibDevice::StartDevice(): Device started
Jun  6 11:43:45 arvdr vdr: [17203] KBD remote control thread started (pid=17195, tid=17203)
Jun  6 11:43:45 arvdr vdr: [17195] remote control KBD - learning keys


Jun  6 11:43:55 arvdr vdr: [17195] switching to channel 1
Jun  6 11:43:55 arvdr vdr: [17195] info: Channel not available!
Jun  6 11:43:58 arvdr vdr: [17195] switching to channel 1
Jun  6 11:43:58 arvdr vdr: [17195] info: Channel not available!
Jun  6 11:44:01 arvdr vdr: [17195] OSD size changed to 720x576 @ 4:3
Jun  6 11:44:09 arvdr vdr: [17195] switching to channel 1
Jun  6 11:44:09 arvdr vdr: [17195] info: Channel not available!
Jun  6 11:44:20 arvdr vdr: [17195] switching to channel 1
Jun  6 11:44:20 arvdr vdr: [17195] info: Channel not available!
Jun  6 11:44:31 arvdr vdr: [17195] switching to channel 1
Jun  6 11:44:31 arvdr vdr: [17195] info: Channel not available!
Jun  6 11:44:37 arvdr vdr: [17202] [xine..put] Client 0 connected: 192.168.5.88:57886
Jun  6 11:44:37 arvdr vdr: [17202] [xine..put] cxSocket: setsockopt(SO_SNDBUF): got 225280 bytes
Jun  6 11:44:37 arvdr vdr: [17202] [xine..put] Trying PIPE connection ...
Jun  6 11:44:37 arvdr vdr: [17202] creating directory /video/plugins/xineliboutput/pipes.17195
Jun  6 11:44:37 arvdr vdr: [17202] [xine..put] Pipe not opened by client
Jun  6 11:44:37 arvdr vdr: [17202] removing /video/plugins/xineliboutput/pipes.17195
Jun  6 11:44:37 arvdr vdr: [17202] [xine..put] Trying RTP connection ...
Jun  6 11:44:37 arvdr vdr: [17202] [xine..put] RTP transport not implemented for vdr-1.7.x
Jun  6 11:44:37 arvdr vdr: [17202] [xine..put] Trying UDP connection ...
Jun  6 11:44:37 arvdr vdr: [17202] [xine..put] UDP transport not implemented for vdr-1.7.x
Jun  6 11:44:37 arvdr vdr: [17202] [xine..put] Client 1 connected: 192.168.5.88:57887
Jun  6 11:44:37 arvdr vdr: [17202] [xine..put] cxSocket: setsockopt(SO_SNDBUF): got 225280 bytes
Jun  6 11:44:37 arvdr vdr: [17202] [xine..put] Data connection (TCP) requested
Jun  6 11:44:37 arvdr vdr: [17202] [xine..put] cBackgroundWriterI initialized (buffer 512 kb)
Jun  6 11:44:37 arvdr vdr: [17202] [xine..put] cTcpWriter initialized (buffer 512 kb)
Jun  6 11:44:42 arvdr vdr: [17195] switching to channel 1
Jun  6 11:44:42 arvdr vdr: [17195] info: Channel not available!
Jun  6 11:44:53 arvdr vdr: [17195] switching to channel 1
Jun  6 11:44:53 arvdr vdr: [17195] info: Channel not available!
Jun  6 11:44:55 arvdr vdr: [17199] frontend 0 timed out while tuning to channel 27, tp 211804
Jun  6 11:45:01 arvdr /USR/SBIN/CRON[17216]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Jun  6 11:45:04 arvdr vdr: [17195] switching to channel 1
Jun  6 11:45:04 arvdr vdr: [17195] info: Channel not available!
Jun  6 11:45:15 arvdr vdr: [17195] switching to channel 1
Jun  6 11:45:15 arvdr vdr: [17195] info: Channel not available!
Jun  6 11:45:17 arvdr vdr: [17199] frontend 0 timed out while tuning to channel 1, tp 211881
Jun  6 11:45:25 arvdr vdr: [17195] switching to channel 26
Jun  6 11:45:25 arvdr vdr: [17358] receiver on device 1 thread started (pid=17195, tid=17358)
Jun  6 11:45:25 arvdr vdr: [17359] TS buffer on device 1 thread started (pid=17195, tid=17359)
Jun  6 11:45:25 arvdr vdr: [17195] [xine..put] Got PAT: PMT pid = 132
Jun  6 11:45:25 arvdr vdr: [17195] [xine..put] Got PMT packet, h264 = 0
Jun  6 11:45:26 arvdr vdr: [17195] switching to channel 27
Jun  6 11:45:26 arvdr vdr: [17359] TS buffer on device 1 thread ended (pid=17195, tid=17359)


logs from vdr-sxfe

goga at goga:/usr/src/vdr/PLUGINS/src/xineliboutput$ vdr-sxfe xvdr://192.168.5.86
vdr-sxfe 1.0.90-cvs  (build with xine-lib 1.1.90, using xine-lib 1.1.90)

VDR Server: xvdr://192.168.5.86

[5366] [vdr-fe]    Detected 2 CPUs
[5366] [vdr-fe]    Enabling FFmpeg multithreaded video decoding
[5366] [input_vdr] Connecting (control) to tcp://192.168.5.86:37890 ...
[5366] [input_vdr] Server greeting: VDR-1.7.7 xineliboutput-1.0.90-cvs READY
[5366] [input_vdr] Connected (control) to tcp://192.168.5.86:37890
[5366] [input_vdr] connect_pipe_data_stream: client ip=0x5805a8c0 != server ip=0x5605a8c0 !
[5366] [input_vdr] Connecting (data) to pipe:///video/plugins/xineliboutput/pipes.17195/pipe.0
[5366] [input_vdr] Pipe not found
[5366] [input_vdr] Data stream connection failed (PIPE)
[5366] [input_vdr] Server does not support RTP ? (RTP: RTP transport not implemented for vdr-1.7.x.)
[5366] [input_vdr] Data stream connection failed (RTP)
[5366] [input_vdr] Connecting (data) to udp://192.168.5.86 ...
[5366] [input_vdr] Server does not support UDP ? (UDP: UDP transport not implemented vor vdr-1.7.x.)
[5366] [input_vdr] Data stream connection failed (UDP)
[5366] [input_vdr] Connecting (data) to tcp://192.168.5.86:37890 ...
[5366] [input_vdr] Data stream connected (TCP)
[5366] [input_vdr] using custom "no signal" image /etc/vdr/plugins/xine/noSignal.mpg
[5366] [demux_vdr] Using decoder "libmpeg2" for mpeg2 video
[5366] [demux_vdr] Using decoder "FFmpeg" for H.264 video


Press Esc to exit

post_warp: warp_get_parameters
post_warp: warp_get_parameters


my remote.conf

XKeySym.Up     >Up
XKeySym.Down   >Down
XKeySym.Menu   >m
XKeySym.Ok     >Return
XKeySym.Back   >BackSpace
XKeySym.Left   >Left
XKeySym.Right  >Right
XKeySym.Red    >F1
XKeySym.Green  >F2
XKeySym.Yellow >F3
XKeySym.Blue   >F4
XKeySym.0      >0
XKeySym.1      >1
XKeySym.2      >2
XKeySym.3      >3
XKeySym.4      >4
XKeySym.5      >5
XKeySym.6      >6
XKeySym.7      >7
XKeySym.8      >8
XKeySym.9      >9
XKeySym.Info   >i
XKeySym.Pause  >space
XKeySym.FastFwd>F6
XKeySym.FastRew>F5
XKeySym.Power  >p
XKeySym.Volume+>F12
XKeySym.Volume->F11
XKeySym.Mute   >F10
XKeySym.User7  >F7
XKeySym.User8  >F8
XKeySym.User9  >F




Goga




More information about the vdr mailing list