vdr xine-plugin lirc

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

 



I am using debian testing with WinTC-HVR-1110 and Radeon 9250.
I have installed vdr 1.4.4 an lirc cvs from 11.12 and vdr-xine 0.7.10 and latest xine-ui and xine-lib
my runvdr is:
#!/bin/sh

# runvdr: Loads the DVB driver and runs VDR
#
# If VDR exits abnormally, the driver will be reloaded
# and VDR restarted.
#
# In order to actually use this script you need to implement
# the functions DriverLoaded(), LoadDriver() and UnloadDriver()
# and maybe adjust the VDRPRG and VDRCMD to your particular
# requirements.
#
# Since this script loads the DVB driver, it must be started
# as user 'root'. Add the option "-u username" to run VDR
# under the given user name.
#
# Any command line parameters will be passed on to the
# actual 'vdr' program.
#
# See the main source file 'vdr.c' for copyright information and
# how to reach the author.
#
# $Id: runvdr 1.19 2006/05/14 16:02:05 kls Exp $

VDRPRG="./vdr"
VDRCMD="$VDRPRG --watchdog=60 --lirc=/dev/lircd $*"

KILL="/usr/bin/killall -q -TERM"

# Detect whether the DVB driver is already loaded
# and return 0 if it *is* loaded, 1 if not:
function DriverLoaded()
{
  return 1
}

# Load all DVB driver modules needed for your hardware:
function LoadDriver()
{
return 1
}
# Unload all DVB driver modules loaded in LoadDriver():
function UnloadDriver()
{
return 1
}

# Load driver if it hasn't been loaded already:
if ! DriverLoaded; then
   LoadDriver
   fi

while (true) do
      eval "$VDRCMD"
      if test $? -eq 0 -o $? -eq 2; then exit; fi
      echo "`date` reloading DVB driver"
      $KILL $VDRPRG
      sleep 10
      UnloadDriver
      LoadDriver
      echo "`date` restarting VDR"
      done
I build vdr with REMOTE=LIRC
my remote.conf:
LIRC.Up         UP
LIRC.Down       DOWN
LIRC.Menu	MENU
my lircd.conf:
begin remote

  name  HVR-1100
  bits           16
  eps            30
  aeps          100

  one             0     0
  zero            0     0
  pre_data_bits   16
  pre_data       0x8001
  gap          135828
  toggle_bit      0


      begin codes
          power                    0x0074
          go                       0x0161
          tv                       0x0179
          videos                   0x0189
          music                    0x0188
          pictures                 0x016F
          guide                    0x016D
          radio                    0x0181
          Up                       0x0067
          Down                     0x006C
          Left                     0x0069
          Right                    0x006A
          Back                     0x00AE
          menu                     0x008B
          ok                       0x001C
          Volume+                  0x0073
          Volume-                  0x0072
          Ch+                      0x0192
          Ch-                      0x0193
          prev                     0x019C
          mute                     0x0071
          Record                   0x00A7
          stop                     0x0080
          play                     0x00CF
          replay                   0x00A8
          skip                     0x00D0
          backtrack                0x00A5
          pause                    0x0077
          forward                  0x00A3
          1                        0x0002
          2                        0x0003
          3                        0x0004
          4                        0x0005
          5                        0x0006
          6                        0x0007
          7                        0x0008
          8                        0x0009
          9                        0x000A
          0                        0x000B
          star                     0x0184
          hash                     0x0172
          red                      0x018E
          green                    0x018F
          yellow                   0x0190
          blue                     0x0191
      end codes

end remote

the xine-plugin works
irw also works
but no reaction from vdr when I use the remote
I also installed the remote plugin bat was also mot successful


Cheers 
H.Braun


[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