Bug#708683: upgrading to vdr 2.0.1-1 breaks lirc integration
Stefan Lippers-Hollmann
s.L-H at gmx.de
Fri May 17 17:52:10 UTC 2013
Package: vdr
Version: 2.0.1-1
Severity: normal
Tags: patch
Hi
After upgrading vdr from 1.7.28-1 to 2.0.1-1, the configured lirc
remote doesn't work anymore (lirc's irw confirms that the lirc
configuration itself is fine and available through the default lircd
socket /var/run/lirc/lircd, /run/lirc/lircd respectively).
$ dpkg -l | grep vdr
ii libxine2-xvdr 1.0.7+cvs20130223.2117-6 amd64 Xine input plugin for vdr-plugin-xineliboutput streams
ii vdr 2.0.1-1 amd64 Video Disk Recorder for DVB cards
ii vdr-dev 2.0.1-1 all Video Disk Recorder for DVB cards
ii vdr-plugin-femon 2.0.0-1 amd64 DVB frontend status monitor plugin for VDR
ii vdr-plugin-live 0.2.0+git20130305-6 amd64 Web administration plugin for VDR
ii vdr-plugin-osdteletext 0.9.4-4 amd64 Teletext plugin for VDR
ii vdr-plugin-xineliboutput 1.0.7+cvs20130223.2117-6 amd64 VDR plugin for Xine based sofdevice frontends
ii xineliboutput-sxfe 1.0.7+cvs20130223.2117-6 amd64 Remote X-Server frontend for vdr-plugin-xineliboutput
$ cat /var/lib/vdr/remote.conf
LIRC.Up KEY_UP
LIRC.Down KEY_DOWN
LIRC.Menu KEY_MENU
LIRC.Ok KEY_OK
LIRC.Back KEY_BACK
LIRC.Left KEY_LEFT
LIRC.Right KEY_RIGHT
LIRC.Red KEY_RED
LIRC.Green KEY_GREEN
LIRC.Yellow KEY_YELLOW
LIRC.Blue KEY_BLUE
LIRC.0 KEY_0
LIRC.1 KEY_1
LIRC.2 KEY_2
LIRC.3 KEY_3
LIRC.4 KEY_4
LIRC.5 KEY_5
LIRC.6 KEY_6
LIRC.7 KEY_7
LIRC.8 KEY_8
LIRC.9 KEY_9
LIRC.Info KEY_INFO
LIRC.Play KEY_PLAY
LIRC.Pause KEY_PAUSE
LIRC.Stop KEY_STOP
LIRC.Record KEY_RECORD
LIRC.FastFwd KEY_FORWARD
LIRC.FastRew KEY_REWIND
LIRC.Next KEY_NEXT
LIRC.Prev KEY_LAST
LIRC.Power KEY_POWER
LIRC.Channel+ KEY_CHANNELUP
LIRC.Channel- KEY_CHANNELDOWN
LIRC.PrevChannel KEY_PREVIOUS
LIRC.Volume+ KEY_VOLUMEUP
LIRC.Volume- KEY_VOLUMEDOWN
LIRC.Mute KEY_MUTE
LIRC.Audio KEY_AUDIO
LIRC.Subtitles KEY_SUBTITLE
LIRC.Schedule KEY_EPG
LIRC.Channels KEY_TV
LIRC.Recordings KEY_VIDEO
$ cat /etc/lirc/lircd.conf
# Please make this file available to others
# by sending it to <lirc at bartelmus.de>
#
# this config file was automatically generated
# using lirc-0.9.0(default) on Thu Jan 26 13:46:54 2012
#
# contributed by
#
# brand: lircd.conf
# model no. of remote control:
# devices being controlled by this remote:
#
begin remote
name HauppaugeMCEUSB-RC6-lirc
bits 13
flags RC6|CONST_LENGTH
eps 30
aeps 100
header 2715 849
one 476 421
zero 476 421
pre_data_bits 24
pre_data 0x1BFF83
gap 105906
toggle_bit_mask 0x8000
rc6_mask 0x100000000
begin codes
KEY_SLEEP 0x1BF3
KEY_PAUSE 0x1BE7
KEY_RECORD 0x1BE8
KEY_STOP 0x1BE6
KEY_REWIND 0x1BEA
KEY_PLAY 0x1BE9
KEY_FORWARD 0x1BEB
KEY_PREVIOUS 0x1BE4
KEY_NEXT 0x1BE5
KEY_BACK 0x1BDC
KEY_UP 0x1BE1
KEY_INFO 0x1BF0
KEY_LEFT 0x1BDF
KEY_OK 0x1BDD
KEY_RIGHT 0x1BDE
KEY_DOWN 0x1BE0
KEY_VOLUMEUP 0x1BEF
KEY_CHANNELUP 0x1BED
KEY_MENU 0x1BF2
KEY_VOLUMEDOWN 0x1BEE
KEY_CHANNELDOWN 0x1BEC
KEY_MUTE 0x1BF1
KEY_PVR 0x1BB7
KEY_DVD 0x1BDB
KEY_EPG 0x1BD9
KEY_TUNER 0x1BDA
KEY_1 0x1BFE
KEY_2 0x1BFD
KEY_3 0x1BFC
KEY_4 0x1BFB
KEY_5 0x1BFA
KEY_6 0x1BF9
KEY_7 0x1BF8
KEY_8 0x1BF7
KEY_9 0x1BF6
KEY_NUMERIC_STAR 0x1BE2
KEY_0 0x1BFF
KEY_NUMERIC_POUND 0x1BE3
KEY_DELETE 0x1BF5
KEY_ENTER 0x1BF4
KEY_RED 0x1BA4
KEY_GREEN 0x1BA3
KEY_YELLOW 0x1BA2
KEY_BLUE 0x1BA1
KEY_SUBTITLE 0x1BA5
end codes
end remote
After checking the debdiff between vdr 1.7.28-1 and 2.0.1-1, I noticed
that enabling lirc support apparently got dropped while migrating to a
dh7+ based buildsystem. I can confirm that re-adding REMOTE=LIRC to
MAKE_OPTIONS fixes the problem for me:
--- a/debian/rules
+++ b/debian/rules
@@ -8,7 +8,7 @@
PREFIX = /usr
VIDEODIR = /var/lib/video
LIBDIR = /usr/lib/vdr/plugins
-MAKE_OPTIONS = PREFIX=$(PREFIX) VIDEODIR=$(VIDEODIR) LIBDIR=$(LIBDIR)
+MAKE_OPTIONS = PREFIX=$(PREFIX) VIDEODIR=$(VIDEODIR) LIBDIR=$(LIBDIR) REMOTE=LIRC
%:
dh $@
Please consider re-enabling lirc support in vdr.
Regards
Stefan Lippers-Hollmann
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.9-2.slh.1-aptosid-amd64 (SMP w/8 CPU cores; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages vdr depends on:
ii adduser 3.113+nmu3
ii debconf [debconf-2.0] 1.5.50
ii libc6 2.17-3
ii libcap2 1:2.22-1.2
ii libfontconfig1 2.9.0-7.1
ii libfreetype6 2.4.9-1.1
ii libgcc1 1:4.8.0-7
ii libjpeg8 8d-1
ii libstdc++6 4.8.0-7
ii psmisc 22.20-1
Versions of packages vdr recommends:
ii fonts-freefont-ttf [ttf-freefont] 20120503-1
ii lirc 0.9.0-0~svnr512.0
ii ttf-bitstream-vera 1.10-8
ii ttf-freefont 20120503-1
Versions of packages vdr suggests:
pn vdr-plugin-dvbsddevice <none>
-- Configuration Files:
/etc/default/vdr changed [not included]
/etc/vdr/svdrphosts.conf changed [not included]
-- debconf information excluded
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-vdr-dvb-devel/attachments/20130517/ee2ca2ab/attachment.pgp>
More information about the pkg-vdr-dvb-devel
mailing list