Remote/keyboard seen during configuration, but not during normal use (was: Re: vdr Digest, Vol 10, Issue 85)

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

 



Benji Mouse wrote:
> No luck.  Here are my steps:
> 
> removed and reloaded dvb-ttpci (and my frontend module)
> DID NOT run av7110_loadkeys
> deleted all of the remote-event0 entries from remote.conf
> started VDR
> DID NOT press a key to load a keymap
> Configured the remote
> Remote no longer working, stopped VDR
> Started VDR for fresh log. (did not unload or reload any modules, keymaps, etc.)
> 
> 
> Here's the log from VDR startup.  This time the "remote-event0: keymap
> loaded '/proc/av7110_ir' flags 001f4000" is present like you said it
> should be.
> 
> Nov 30 09:12:48 localhost vdr[2288]: VDR version 1.3.20 started
> Nov 30 09:12:48 localhost vdr[2288]: loading plugin:
> ./PLUGINS/lib/libvdr-remote.so.1.3.20
> Nov 30 09:12:48 localhost vdr[2288]: loading /vdr_video/setup.conf
> Nov 30 09:12:48 localhost vdr[2288]: loading /vdr_video/sources.conf
> Nov 30 09:12:48 localhost vdr[2288]: loading /vdr_video/diseqc.conf
> Nov 30 09:12:48 localhost vdr[2288]: loading /vdr_video/channels.conf
> Nov 30 09:12:48 localhost vdr[2288]: loading /vdr_video/ca.conf
> Nov 30 09:12:48 localhost vdr[2288]: loading /vdr_video/remote.conf
> Nov 30 09:12:48 localhost vdr[2288]: probing /dev/dvb/adapter0/frontend0
> Nov 30 09:12:48 localhost vdr[2291]: tuner on device 1 thread started
> (pid=2291, tid=16386)
> Nov 30 09:12:48 localhost vdr[2292]: Section handler thread started
> (pid=2292, tid=32771)
> Nov 30 09:12:48 localhost vdr[2288]: probing /dev/dvb/adapter1/frontend0
> Nov 30 09:12:48 localhost vdr[2288]: found 1 video device
> Nov 30 09:12:48 localhost vdr[2288]: initializing plugin: remote
> (0.3.3): Remote control
> Nov 30 09:12:48 localhost vdr[2288]: setting primary device to 1
> Nov 30 09:12:48 localhost vdr[2288]: SVDRP listening on port 2001
> Nov 30 09:12:48 localhost vdr[2288]: loading
> /vdr_video/themes/classic-default.theme
> Nov 30 09:12:48 localhost vdr[2288]: starting plugin: remote
> Nov 30 09:12:48 localhost vdr[2288]: remote: using '/dev/input/event0'
> Nov 30 09:12:48 localhost vdr[2288]: remote-event0: autorepeat supported
> Nov 30 09:12:48 localhost vdr[2288]: remote-event0: exclusive access granted
> Nov 30 09:12:48 localhost vdr[2288]: remote-event0: keymap loaded '/proc/av7110_ir' flags 001f4000
> Nov 30 09:12:48 localhost vdr[2288]: loading /vdr_video/themes/classic-default.theme
> Nov 30 09:12:48 localhost vdr[2294]: KBD remote control thread started (pid=2294, tid=65541)
> Nov 30 09:12:48 localhost vdr[2288]: remote control remote-event0 - keys known
> Nov 30 09:12:48 localhost vdr[2288]: remote control KBD - keys known
> Nov 30 09:12:48 localhost vdr[2288]: switching to channel 177
> Nov 30 09:12:48 localhost vdr[2288]: setting audio track to 1
> 
> Here's part of the remote.conf:
> remote-event0._Setup     /proc/av7110_ir 00000000 31
> remote-event0.Up         0000000100010021
> remote-event0.Down       0000000100010022
> remote-event0.Menu       000000010001000E
> remote-event0.Ok         0000000100010026
> remote-event0.Back       0000000100010020
> remote-event0.Left       0000000100010012
> remote-event0.Right      0000000100010011

This looks like a perfect configuration. Should work. ;-)

> The keyboard exhibits the same behavior as the remote (works through
> config, but not after).  Unless the keyboard is somehow dependant on
> the remote keymap, wouldn't this indicate something more than just a
> remote keymap issue?

Keyboard and remote control should be independent.

Let's try to simplify the configuration. Please test whether vdr can be
controlled using the keyboard if you do _not_ load the remote plugin.

> This morning, I noticed something curious regarding evtest, but I'm
> not sure if it's related.  For all I know, it might even be normal
> behavior.
> When I load dvb-ttpci and run av7110_loadkeys with hauppauge_grey,
> evtest says it sees a 'DVB on-card IR receiver' and displays the
> keymay for the remote.  Fine.  Once I start VDR, do the remote setup,
> and exit, evtest still shows  'DVB on-card IR receiver' , but the
> keymap displayed is for the keyboard.  Is this expected?

I guess you saw the keymap of the remote plugin, not the keymap of the
keyboard: The remote plugin replaced your keymap because it wasn't
told to keep the pre-loaded keymap...

Oliver

-- 
--------------------------------------------------------
VDR Remote Plugin available at
http://www.escape-edv.de/endriss/vdr/
--------------------------------------------------------


[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux