From 3b7cb6d53c643acc877af72be304cec541c379f2 Mon Sep 17 00:00:00 2001 From: cvsextras Date: Mon, 8 Nov 2004 04:49:37 +0000 Subject: [PATCH 001/204] auto-import changelog data from lirc-0.6.6-3.1.fc2.fr.src.rpm //freshrpms.net/> 0.6.6-3 - Added missing /sbin/ldconfig calls. //freshrpms.net/> 0.6.6-2 - Rebuild for Fedora Core 2... this spec file still _really_ needs reworking! //freshrpms.net/> 0.6.6-2 - Rebuild for Fedora Core 1... this spec file _really_ needs reworking! //freshrpms.net/> - Rebuilt for Red Hat Linux 9... this spec file needs some reworking! //freshrpms.net/> - Update to 0.6.6 final. //freshrpms.net/> - Updated to latest pre-version. - Kernel modules still need to be compiled separately and with a custom kernel :-( //freshrpms.net/> - Update to 0.6.5. - Rebuilt against Red Hat Linux 7.3. - Added the %{?_smp_mflags} expansion. //freshrpms.net/> - Initial RPM release. --- .cvsignore | 1 + lirc.spec | 144 ++++++++++++++++++++++++++++++++++++++++++++++++ lircd.init | 81 +++++++++++++++++++++++++++ lircd.logrotate | 8 +++ sources | 1 + 5 files changed, 235 insertions(+) create mode 100644 lirc.spec create mode 100755 lircd.init create mode 100644 lircd.logrotate diff --git a/.cvsignore b/.cvsignore index e69de29..08b1a75 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +lirc-0.6.6.tar.bz2 diff --git a/lirc.spec b/lirc.spec new file mode 100644 index 0000000..049afb4 --- /dev/null +++ b/lirc.spec @@ -0,0 +1,144 @@ +# $Id: lirc.spec 2135 2004-08-30 13:51:15Z dude $ +# Authority: matthias + +# The driver(s) you want to compile in, e.g. "pctv", "serial", "any" +%define driver "pctv" + +# Are we compiling drivers that will need a kernel module too +# (you'll still need to recompile an entire kernel, keep the sources, then +# recompile lirc to get the modules...) +%define kmodule 0 + +#%%if %{kmodule} +#%%define kunamer %%(uname -r) +#%%define kver %%(echo $(uname -r) | sed -e s/smp// -) +#%%define karch %%(rpm -q --qf '%%%{arch}' kernel-%%{kversion}) +#%%define krelver %%(echo %%{kunamer} | tr -s '-' '_') +#%%endif + +Summary: The Linux Infrared Remote Control package +Name: lirc +Version: 0.6.6 +#%%if %{kmodule} +#Release: fr1_%{krelver} +#%%else +Release: 3.1.fc2.fr +#%%endif +License: GPL +Group: System Environment/Daemons +URL: http://www.lirc.org/ +Source0: http://dl.sf.net/lirc/%{name}-%{version}.tar.bz2 +Source1: lircd.init +Source2: lircd.logrotate +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root +PreReq: /sbin/chkconfig, /sbin/service +BuildRequires: perl +#%%if %{kmodule} +#Requires: kernel = %{kver} +#BuildRequires: kernel-source = %{kver} +#%%endif + +%description +LIRC is the Linux Infrared Remote Control package. +This package features a clean lircd initscript and a logrotate config file. + +The default binary build of this package will only work with the Pinnacle +PCTV serial remote, if you have a different device, you will probably need +to recompile the source RPM changing the "--with-driver=" configure option +to your device. + +If your remote requires special kernel modules to run, I guess you're stuck +having to recompile a kernel and recompile lirc manually to get the modules! + + +%prep +%setup + + +%build +%configure \ + --with-driver=%{driver} \ + --disable-manage-devices +%{__make} %{?_smp_mflags} + + +%install +%{__rm} -rf %{buildroot} +%{__make} install DESTDIR=%{buildroot} +%{__install} -m 755 -D %{SOURCE1} %{buildroot}/etc/init.d/lircd +%{__install} -m 644 -D %{SOURCE2} %{buildroot}/etc/logrotate.d/lircd +%{__perl} -pi -e 's|\@SBINDIR\@|%{_sbindir}|g' %{buildroot}/etc/init.d/lircd +%{__rm} -f doc/Makefile* +%{__mkdir_p} %{buildroot}/dev +%{__ln_s} -f ttyS0 %{buildroot}/dev/lirc +touch %{buildroot}/etc/lircd.conf +touch %{buildroot}/etc/lircmd.conf + +%post +/sbin/ldconfig +/sbin/chkconfig --add lircd + +%preun +if [ $1 = 0 ]; then + /sbin/service lircd stop > /dev/null 2>&1 || : + /sbin/chkconfig --del lircd +fi + +%postun +/sbin/ldconfig +if [ "$1" -ge "1" ]; then + /sbin/service lircd condrestart >/dev/null 2>&1 || : +fi + +%clean +%{__rm} -rf %{buildroot} + +%files +%defattr(-, root, root, 0755) +%doc ANNOUNCE AUTHORS ChangeLog COPYING NEWS README TODO doc remotes +%doc contrib/*.conf contrib/irman2lirc contrib/lircrc contrib/lircs +/etc/init.d/lircd +/etc/logrotate.d/lircd +%ghost %config(noreplace) /etc/lircd.conf +%ghost %config(noreplace) /etc/lircmd.conf +%{_bindir}/* +%{_sbindir}/* +%{_includedir}/lirc +%{_libdir}/liblirc_* +%{_mandir}/man?/* +%if %{kmodule} +#/lib/modules/%{kver}/misc/* +%attr(0644, root, root) %dev(c, 61, 0) /dev/lirc +%else +/dev/lirc +%endif + +%changelog +* Mon Aug 30 2004 Matthias Saou 0.6.6-3 +- Added missing /sbin/ldconfig calls. + +* Wed May 19 2004 Matthias Saou 0.6.6-2 +- Rebuild for Fedora Core 2... this spec file still _really_ needs reworking! + +* Fri Nov 7 2003 Matthias Saou 0.6.6-2 +- Rebuild for Fedora Core 1... this spec file _really_ needs reworking! + +* Mon Mar 31 2003 Matthias Saou +- Rebuilt for Red Hat Linux 9... this spec file needs some reworking! + +* Mon Oct 7 2002 Matthias Saou +- Update to 0.6.6 final. + +* Mon Sep 16 2002 Matthias Saou +- Updated to latest pre-version. +- Kernel modules still need to be compiled separately and with a custom + kernel :-( + +* Thu May 2 2002 Matthias Saou +- Update to 0.6.5. +- Rebuilt against Red Hat Linux 7.3. +- Added the %%{?_smp_mflags} expansion. + +* Thu Oct 4 2001 Matthias Saou +- Initial RPM release. + diff --git a/lircd.init b/lircd.init new file mode 100755 index 0000000..f3aa6ac --- /dev/null +++ b/lircd.init @@ -0,0 +1,81 @@ +#!/bin/sh +# +# $Id: lircd.init,v 1.1 2004/02/26 17:54:30 thias Exp $ +# Startup script for the Linux Infrared Remote Control. +# +# chkconfig: - 90 10 +# description: Enables infrared controls through LIRC. +# +# config: /etc/lircd.conf + +# Source 'em up +. /etc/init.d/functions + +[ -x @SBINDIR@/lircd ] || exit 1 +[ -x @SBINDIR@/lircmd ] || exit 1 +[ -f /etc/lircd.conf ] || [ -f /etc/lircmd.conf ] || exit 1 + +RETVAL=0 + +start(){ + if [ -f /etc/lircd.conf ]; then + echo -n $"Starting infrared remote control daemon: " + daemon lircd + RETVAL=$? + echo + fi + if [ -f /etc/lircmd.conf ]; then + echo -n $"Starting infrared remote control mouse daemon: " + daemon lircmd + RETVAL=$? + echo + fi + touch /var/lock/subsys/lircd + return $RETVAL +} + +stop(){ + if [ -f /etc/lircmd.conf ]; then + echo -n $"Stopping infrared remote control mouse daemon: " + killproc lircmd + echo + fi + if [ -f /etc/lircd.conf ]; then + echo -n $"Stopping infrared remote control daemon: " + killproc lircd + echo + fi + RETVAL=$? + rm -f /var/lock/subsys/lircd + return $RETVAL +} + +restart(){ + stop + start +} + + +# See how we were called. +case "$1" in + start) + start + ;; + stop) + stop + ;; + restart) + restart + ;; + status) + status lircd + ;; + condrestart) + [ -e /var/lock/subsys/lircd ] && restart + ;; + *) + echo $"Usage: $0 {start|stop|status|restart|condrestart}" + RETVAL=1 +esac + +exit $RETVAL diff --git a/lircd.logrotate b/lircd.logrotate new file mode 100644 index 0000000..05ade79 --- /dev/null +++ b/lircd.logrotate @@ -0,0 +1,8 @@ +# $Id: lircd.logrotate,v 1.1 2004/11/08 04:49:37 cvsextras Exp $ + +/var/log/lircd { + missingok + postrotate + [ -e /var/lock/subsys/lircd ] && /bin/kill -HUP `/bin/cat /var/run/lircd.pid` || /bin/true + endscript +} diff --git a/sources b/sources index e69de29..4ce285c 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +6e7b5ba2fd479961d067730e16df7c54 lirc-0.6.6.tar.bz2 From 3ccfe2a10891ee3d54a08b0fc5ba59cf0a9e860a Mon Sep 17 00:00:00 2001 From: Matthias Saou Date: Thu, 11 Nov 2004 19:13:50 +0000 Subject: [PATCH 002/204] Small test commit to see if things are fixed for me or not... --- lirc.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lirc.spec b/lirc.spec index 049afb4..6a6ce9c 100644 --- a/lirc.spec +++ b/lirc.spec @@ -22,7 +22,7 @@ Version: 0.6.6 #%%if %{kmodule} #Release: fr1_%{krelver} #%%else -Release: 3.1.fc2.fr +Release: 4 #%%endif License: GPL Group: System Environment/Daemons From 4512cde79fd32b4fae6d0899d57610b6a0eb0af1 Mon Sep 17 00:00:00 2001 From: gafton Date: Wed, 24 Nov 2004 04:29:00 +0000 Subject: [PATCH 003/204] Fix braindead typo from the original import --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 63320b5..3df5896 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ # Makefile for source rpm: lirc -# $Id$ +# $Id: Makefile,v 1.1 2004/11/08 04:49:35 cvsextras Exp $ NAME := lirc SPECFILE = $(firstword $(wildcard *.spec)) @@ -12,7 +12,7 @@ MAKEFILE_COMMON := $(shell $(find-makefile-common)) ifeq ($(MAKEFILE_COMMON),) # attept a checkout define checkout-makefile-common -test -f CVS/Rootx && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 +test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 endef MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) From b830d9a5157b7c320e8ecbd77252c22a66b48346 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Sun, 5 Dec 2004 23:17:51 +0000 Subject: [PATCH 004/204] Update to 0.7.0; major rework of the package. --- .cvsignore | 2 +- lirc.init | 94 ++++++++++++++++ lirc.makedev | 3 + lirc.spec | 281 +++++++++++++++++++++++++++++++++--------------- lirc.sysconfig | 13 +++ lircd.init | 81 -------------- lircd.logrotate | 8 -- sources | 2 +- 8 files changed, 309 insertions(+), 175 deletions(-) create mode 100644 lirc.init create mode 100644 lirc.makedev create mode 100644 lirc.sysconfig delete mode 100755 lircd.init delete mode 100644 lircd.logrotate diff --git a/.cvsignore b/.cvsignore index 08b1a75..1a88123 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -lirc-0.6.6.tar.bz2 +lirc-0.7.0.tar.bz2 diff --git a/lirc.init b/lirc.init new file mode 100644 index 0000000..77799d6 --- /dev/null +++ b/lirc.init @@ -0,0 +1,94 @@ +#!/bin/sh +# +# lirc Startup script for the Linux Infrared Remote Control daemons +# +# chkconfig: - 90 10 +# description: Enables infrared controls through LIRC. +# processname: lircd +# processname: lircmd +# config: /etc/lircd.conf +# config: /etc/lircmd.conf +# pidfile: /var/run/lircd.pid + +# Source function library. +. /etc/init.d/functions + +exec="/usr/sbin/lircd" +exec2="/usr/sbin/lircmd" +prog=$(basename $exec) +prog2=$(basename $exec2) + +[ -e /etc/sysconfig/lirc ] && . /etc/sysconfig/lirc + +lockfile=/var/lock/subsys/lirc + +start() { + echo -n $"Starting infrared remote control daemon ($prog): " + daemon $exec $LIRCD_OPTIONS + retval=$? + echo + status $prog >/dev/null 2>&1 + if [ $? -eq 0 -a "$ENABLE_LIRCMD" = "yes" ] ; then + echo -n $"Starting infrared remote control mouse daemon ($prog2): " + daemon $exec2 $LIRCMD_OPTIONS + retval=$? + echo + fi + [ $retval -eq 0 ] && touch $lockfile + return $retval +} + +stop() { + retval=0 + if status $prog2 >/dev/null 2>&1 ; then + echo -n $"Stopping infrared remote control mouse daemon ($prog2): " + killproc $prog2 + retval=$? + echo + fi + if [ $retval -eq 0 ] ; then + echo -n $"Stopping infrared remote control daemon ($prog): " + killproc $prog + retval=$? + echo + fi + [ $retval -eq 0 ] && rm -f $lockfile + return $retval +} + +restart() { + stop + start +} + +reload() { + # lircmd doesn't apparently respond to HUP, so if it's running, restart. + if status $prog2 >/dev/null 2>&1 ; then + restart + else + echo -n $"Reloading infrared remote control daemon ($prog): " + killproc $prog -HUP + retval=$? + echo + return $retval + fi +} + +case "$1" in + start|stop|restart|reload) + $1 + ;; + force-reload) + reload || restart + ;; + status) + status $prog2 + status $prog + ;; + try-restart|condrestart) + [ ! -f $lockfile ] || restart + ;; + *) + echo $"Usage: $0 {start|stop|status|restart|try-restart|reload|force-reload}" + exit 2 +esac diff --git a/lirc.makedev b/lirc.makedev new file mode 100644 index 0000000..87586d4 --- /dev/null +++ b/lirc.makedev @@ -0,0 +1,3 @@ +# LIRC, + +c $ALLREAD 61 0 1 1 lirc diff --git a/lirc.spec b/lirc.spec index 6a6ce9c..bd1c932 100644 --- a/lirc.spec +++ b/lirc.spec @@ -1,119 +1,232 @@ -# $Id: lirc.spec 2135 2004-08-30 13:51:15Z dude $ -# Authority: matthias - -# The driver(s) you want to compile in, e.g. "pctv", "serial", "any" -%define driver "pctv" - -# Are we compiling drivers that will need a kernel module too -# (you'll still need to recompile an entire kernel, keep the sources, then -# recompile lirc to get the modules...) -%define kmodule 0 - -#%%if %{kmodule} -#%%define kunamer %%(uname -r) -#%%define kver %%(echo $(uname -r) | sed -e s/smp// -) -#%%define karch %%(rpm -q --qf '%%%{arch}' kernel-%%{kversion}) -#%%define krelver %%(echo %%{kunamer} | tr -s '-' '_') -#%%endif - -Summary: The Linux Infrared Remote Control package -Name: lirc -Version: 0.6.6 -#%%if %{kmodule} -#Release: fr1_%{krelver} -#%%else -Release: 4 -#%%endif -License: GPL -Group: System Environment/Daemons -URL: http://www.lirc.org/ -Source0: http://dl.sf.net/lirc/%{name}-%{version}.tar.bz2 -Source1: lircd.init -Source2: lircd.logrotate -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root -PreReq: /sbin/chkconfig, /sbin/service -BuildRequires: perl -#%%if %{kmodule} -#Requires: kernel = %{kver} -#BuildRequires: kernel-source = %{kver} -#%%endif +# Driver TODO, sometime maybe: +# - audio (req: portaudio) +# - caraca (req: caraca_client) +# - irman: (req: libirman) +# - drivers that need drivers/media/video/bttv*.h (not in kernel-module-devel) +# - gpio: flyvideo avermedia avermedia98 +# - i2c: hauppauge +# Other TODO: +# - move to -devel (?): irw, *mode2, others? +# - don't run as root and/or create dedicated group, reduce fifo permissions? +# - Fixup /etc/lirc(m)d.conf %%ghost'ification, existence after erase etc. +# - kernel modules: Figure out sane permissions for /dev/lirc, use +# console.perms/udev, general FC3 adjustments. + +%{!?kernel: %{expand: %%define kernel %(uname -r)}} +%define ksrc %{_libdir}/kernel-module-devel/%{kernel}-%{_target_cpu} +# Kernel module drivers +%define drivers sir_com3 it87 tekram_bt829 com1 atiusb mceusb lpt1 + +Name: lirc +Version: 0.7.0 +Release: 1 +Summary: The Linux Infrared Remote Control package + +Group: System Environment/Daemons +License: GPL +URL: http://www.lirc.org/ +Source0: http://download.sourceforge.net/lirc/%{name}-%{version}.tar.bz2 +Source1: %{name}.init +Source2: %{name}.sysconfig +Source3: %{name}.makedev +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: %{__perl} +%if 0%{!?_with_kmod:1} +BuildRequires: alsa-lib-devel XFree86-devel libusb-devel +BuildConflicts: svgalib-devel +%endif +Requires(post): /sbin/chkconfig /sbin/ldconfig +Requires(preun): /sbin/chkconfig +Requires(postun): /sbin/ldconfig %description LIRC is the Linux Infrared Remote Control package. -This package features a clean lircd initscript and a logrotate config file. -The default binary build of this package will only work with the Pinnacle -PCTV serial remote, if you have a different device, you will probably need -to recompile the source RPM changing the "--with-driver=" configure option -to your device. +%package devel +Summary: Development files for LIRC +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +%{summary}. + +%package -n kernel-module-%{name}-%{kernel} +Summary: Kernel modules for LIRC +Group: System Environment/Kernel +Provides: kernel-module +Provides: kernel-module-%{name} = %{version} +%if 0%{?_with_kmod:1} +BuildRequires: %{ksrc} MAKEDEV +%endif +Requires: modutils %{name} = %{version} +Requires: /boot/vmlinuz-%{kernel} -If your remote requires special kernel modules to run, I guess you're stuck -having to recompile a kernel and recompile lirc manually to get the modules! +%description -n kernel-module-%{name}-%{kernel} +LIRC kernel modules built for kernel +%{kernel} (%{_target_cpu}). %prep -%setup +%setup -q +%{__perl} -pi -e 's|^CFLAGS="-O2 -g -Wall"|CFLAGS="\$CFLAGS -Wall"|' configure +chmod 644 contrib/* %build +%if 0%{?_with_kmod:1} +for driver in %{drivers} ; do + # lpt1 is not smp safe @@@ TODO: verify this? + test $driver = lpt1 && grep -q '^CONFIG_SMP=y' %{ksrc}/.config && continue + mkdir -p buildroot/"$driver" + %configure \ + --enable-sandboxed \ + --enable-debug \ + --disable-dependency-tracking \ + --with-kerneldir=%{ksrc} \ + --with-moduledir=/tmp \ + --with-driver=$driver + make %{?_smp_mflags} -C drivers + make -C drivers install DESTDIR=$PWD/buildroot/$driver +done +%else %configure \ - --with-driver=%{driver} \ - --disable-manage-devices -%{__make} %{?_smp_mflags} + --with-syslog=LOG_DAEMON \ + --enable-sandboxed \ + --enable-debug \ + --disable-dependency-tracking \ + --with-driver=any +make %{?_smp_mflags} +%endif %install -%{__rm} -rf %{buildroot} -%{__make} install DESTDIR=%{buildroot} -%{__install} -m 755 -D %{SOURCE1} %{buildroot}/etc/init.d/lircd -%{__install} -m 644 -D %{SOURCE2} %{buildroot}/etc/logrotate.d/lircd -%{__perl} -pi -e 's|\@SBINDIR\@|%{_sbindir}|g' %{buildroot}/etc/init.d/lircd -%{__rm} -f doc/Makefile* -%{__mkdir_p} %{buildroot}/dev -%{__ln_s} -f ttyS0 %{buildroot}/dev/lirc -touch %{buildroot}/etc/lircd.conf -touch %{buildroot}/etc/lircmd.conf +rm -rf $RPM_BUILD_ROOT __docs + +%if 0%{?_with_kmod:1} +for driver in %{drivers} ; do + # lpt1 is not SMP safe @@@ TODO: verify this? + test $driver = lpt1 && grep -q '^CONFIG_SMP=y' %{ksrc}/.config && continue + install -dm 755 $RPM_BUILD_ROOT/lib/modules/%{kernel}/updates/lirc + # 0755 here to allow stripping, fixed later in %%files + install -pm 755 buildroot/$driver/tmp/* \ + $RPM_BUILD_ROOT/lib/modules/%{kernel}/updates/lirc +done +install -Dpm 644 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/makedev.d/lirc +cp -p %{_sysconfdir}/makedev.d/00macros $RPM_BUILD_ROOT%{_sysconfdir}/makedev.d +/dev/MAKEDEV -M \ + -c $RPM_BUILD_ROOT%{_sysconfdir}/makedev.d \ + -d $RPM_BUILD_ROOT/dev lirc \ + | sed "s|$RPM_BUILD_ROOT||g" \ + | grep -v ' /dev$' \ + > devices.list +rm -f $RPM_BUILD_ROOT%{_sysconfdir}/makedev.d/00macros + +%else +make install DESTDIR=$RPM_BUILD_ROOT +rm -f $RPM_BUILD_ROOT%{_mandir}/man1/smode2.1* # if no svgalib +install -Dpm 755 %{SOURCE1} $RPM_BUILD_ROOT%{_initrddir}/lirc +%{__perl} -pi -e \ + 's|/etc/|%{_sysconfdir}/|g ; + s|/var/|%{_localstatedir}/|g ; + s|/usr/sbin/|%{_sbindir}/|g' \ + $RPM_BUILD_ROOT%{_initrddir}/lirc +install -Dpm 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/lirc +mkdir __docs +cp -pR doc contrib __docs +cd __docs +rm -rf doc/Makefile* doc/.libs doc/man* contrib/lirc.* contrib/sendxevent.c +cd .. +touch $RPM_BUILD_ROOT%{_sysconfdir}/lirc{d,md}.conf +install -dm 755 $RPM_BUILD_ROOT/dev +touch $RPM_BUILD_ROOT/dev/lirc{d,m} +%endif + + +%clean +rm -rf $RPM_BUILD_ROOT + %post /sbin/ldconfig -/sbin/chkconfig --add lircd +/sbin/chkconfig --add lirc +# Backwards compatibility (init script lircd -> lirc rename): +if [ $1 -gt 0 -a -x %{_initrddir}/lircd ] ; then + %{_initrddir}/lircd status >/dev/null 2>&1 + ret=$? + %{_initrddir}/lircd stop >/dev/null || : + /sbin/chkconfig --del lircd || : + if [ $ret -eq 0 ] ; then + %{_initrddir}/lirc start >/dev/null || : + fi +fi + +%post -n kernel-module-%{name}-%{kernel} +depmod -ae -F /boot/System.map-%{kernel} %{kernel} >/dev/null || : %preun -if [ $1 = 0 ]; then - /sbin/service lircd stop > /dev/null 2>&1 || : - /sbin/chkconfig --del lircd +if [ $1 -eq 0 ] ; then + %{_initrddir}/lirc stop >/dev/null || : + /sbin/chkconfig --del lirc || : fi %postun /sbin/ldconfig -if [ "$1" -ge "1" ]; then - /sbin/service lircd condrestart >/dev/null 2>&1 || : +if [ $1 -gt 0 ] ; then + %{_initrddir}/lirc try-restart >/dev/null || : fi -%clean -%{__rm} -rf %{buildroot} +%postun -n kernel-module-%{name}-%{kernel} +depmod -ae -F /boot/System.map-%{kernel} %{kernel} >/dev/null || : + +%if 0%{!?_with_kmod:1} %files -%defattr(-, root, root, 0755) -%doc ANNOUNCE AUTHORS ChangeLog COPYING NEWS README TODO doc remotes -%doc contrib/*.conf contrib/irman2lirc contrib/lircrc contrib/lircs -/etc/init.d/lircd -/etc/logrotate.d/lircd -%ghost %config(noreplace) /etc/lircd.conf -%ghost %config(noreplace) /etc/lircmd.conf -%{_bindir}/* -%{_sbindir}/* +%defattr(-,root,root,-) +%doc ANNOUNCE AUTHORS ChangeLog COPYING NEWS README TODO remotes __docs/* +%ghost %config(noreplace) %{_sysconfdir}/lirc*d.conf +%config(noreplace) %{_sysconfdir}/sysconfig/lirc +%config %{_initrddir}/lirc +%{_bindir}/ir* +%{_bindir}/*mode2 +%{_sbindir}/lirc*d +%{_libdir}/liblirc_client.so.* +%{_mandir}/man1/ir*.1* +%{_mandir}/man1/*mode2*.1* +%{_mandir}/man8/lirc*d.8* +%ghost /dev/lirc* + +%files devel +%defattr(-,root,root,-) %{_includedir}/lirc -%{_libdir}/liblirc_* -%{_mandir}/man?/* -%if %{kmodule} -#/lib/modules/%{kver}/misc/* -%attr(0644, root, root) %dev(c, 61, 0) /dev/lirc -%else -/dev/lirc +%{_libdir}/liblirc_client.a +%{_libdir}/liblirc_client.so +%exclude %{_libdir}/liblirc_client.la %endif +%if 0%{?_with_kmod:1} +%files -n kernel-module-%{name}-%{kernel} -f devices.list +%defattr(644,root,root,755) +%config %{_sysconfdir}/makedev.d +/lib/modules/%{kernel}/updates +%endif + + %changelog +* Sun Dec 5 2004 Ville Skyttä - 0.7.0-1 +- Update to 0.7.0; major rework of the package: +- Change default driver to "any". +- Add -devel subpackage. +- Improve init script, add %%{_sysconfdir}/sysconfig/lirc for options. +- Rename init script to "lirc" to follow upstream; the script is not only + for lircd, but lircmd as well. +- Log to syslog instead of separate log file. +- %%ghost'ify /dev/lirc*. +- Build kernel modules when rebuilt with "--with kmod". This stuff was mostly + borrowed from Axel Thimm's packages, and is not really ready for FC3+ yet. +- Enable debugging features. +- Specfile cleanups. + * Mon Aug 30 2004 Matthias Saou 0.6.6-3 - Added missing /sbin/ldconfig calls. diff --git a/lirc.sysconfig b/lirc.sysconfig new file mode 100644 index 0000000..049e13f --- /dev/null +++ b/lirc.sysconfig @@ -0,0 +1,13 @@ +# Note: in addition to these parameters, you need to have working -*- sh -*- +# configuration file for lircd (and lircmd if enabled). + +# Options to lircd(8). Typically, at least a remote controller driver +# ("-H foo") needs to be specified here. Run "/usr/sbin/lircd -H help" to get +# a listing of supported drivers. +LIRCD_OPTIONS="" + +# If "yes", the init script will try to start lircmd(8) too. +ENABLE_LIRCMD="no" + +# Options to lircmd(8). +LIRCMD_OPTIONS="" diff --git a/lircd.init b/lircd.init deleted file mode 100755 index f3aa6ac..0000000 --- a/lircd.init +++ /dev/null @@ -1,81 +0,0 @@ -#!/bin/sh -# -# $Id: lircd.init,v 1.1 2004/02/26 17:54:30 thias Exp $ -# Startup script for the Linux Infrared Remote Control. -# -# chkconfig: - 90 10 -# description: Enables infrared controls through LIRC. -# -# config: /etc/lircd.conf - -# Source 'em up -. /etc/init.d/functions - -[ -x @SBINDIR@/lircd ] || exit 1 -[ -x @SBINDIR@/lircmd ] || exit 1 -[ -f /etc/lircd.conf ] || [ -f /etc/lircmd.conf ] || exit 1 - -RETVAL=0 - -start(){ - if [ -f /etc/lircd.conf ]; then - echo -n $"Starting infrared remote control daemon: " - daemon lircd - RETVAL=$? - echo - fi - if [ -f /etc/lircmd.conf ]; then - echo -n $"Starting infrared remote control mouse daemon: " - daemon lircmd - RETVAL=$? - echo - fi - touch /var/lock/subsys/lircd - return $RETVAL -} - -stop(){ - if [ -f /etc/lircmd.conf ]; then - echo -n $"Stopping infrared remote control mouse daemon: " - killproc lircmd - echo - fi - if [ -f /etc/lircd.conf ]; then - echo -n $"Stopping infrared remote control daemon: " - killproc lircd - echo - fi - RETVAL=$? - rm -f /var/lock/subsys/lircd - return $RETVAL -} - -restart(){ - stop - start -} - - -# See how we were called. -case "$1" in - start) - start - ;; - stop) - stop - ;; - restart) - restart - ;; - status) - status lircd - ;; - condrestart) - [ -e /var/lock/subsys/lircd ] && restart - ;; - *) - echo $"Usage: $0 {start|stop|status|restart|condrestart}" - RETVAL=1 -esac - -exit $RETVAL diff --git a/lircd.logrotate b/lircd.logrotate deleted file mode 100644 index 05ade79..0000000 --- a/lircd.logrotate +++ /dev/null @@ -1,8 +0,0 @@ -# $Id: lircd.logrotate,v 1.1 2004/11/08 04:49:37 cvsextras Exp $ - -/var/log/lircd { - missingok - postrotate - [ -e /var/lock/subsys/lircd ] && /bin/kill -HUP `/bin/cat /var/run/lircd.pid` || /bin/true - endscript -} diff --git a/sources b/sources index 4ce285c..e3734a3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -6e7b5ba2fd479961d067730e16df7c54 lirc-0.6.6.tar.bz2 +4fbcc8b0d69ca5ecbdda40576964573f lirc-0.7.0.tar.bz2 From 610580f90b658170ce3996c562ac792ed1d33324 Mon Sep 17 00:00:00 2001 From: Michael Schwendt Date: Wed, 6 Apr 2005 22:12:23 +0000 Subject: [PATCH 005/204] mass release bump for packages not rebuilt after FC-3-split --- lirc.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lirc.spec b/lirc.spec index bd1c932..7d0a7eb 100644 --- a/lirc.spec +++ b/lirc.spec @@ -19,7 +19,8 @@ Name: lirc Version: 0.7.0 -Release: 1 +Release: 2 + Summary: The Linux Infrared Remote Control package Group: System Environment/Daemons @@ -213,6 +214,9 @@ depmod -ae -F /boot/System.map-%{kernel} %{kernel} >/dev/null || : %changelog +* Fri Apr 7 2005 Michael Schwendt +- rebuilt + * Sun Dec 5 2004 Ville Skyttä - 0.7.0-1 - Update to 0.7.0; major rework of the package: - Change default driver to "any". From c88c456a3373382cc26c92bc96598bf09ddad294 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Sun, 17 Apr 2005 14:34:10 +0000 Subject: [PATCH 006/204] 0.7.1. --- .cvsignore | 2 +- lirc.spec | 6 ++++-- sources | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.cvsignore b/.cvsignore index 1a88123..84defd2 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -lirc-0.7.0.tar.bz2 +lirc-0.7.1.tar.bz2 diff --git a/lirc.spec b/lirc.spec index 7d0a7eb..70abd4c 100644 --- a/lirc.spec +++ b/lirc.spec @@ -18,9 +18,8 @@ %define drivers sir_com3 it87 tekram_bt829 com1 atiusb mceusb lpt1 Name: lirc -Version: 0.7.0 +Version: 0.7.1 Release: 2 - Summary: The Linux Infrared Remote Control package Group: System Environment/Daemons @@ -214,6 +213,9 @@ depmod -ae -F /boot/System.map-%{kernel} %{kernel} >/dev/null || : %changelog +* Sun Apr 17 2005 Ville Skyttä - 0.7.1-2 +- 0.7.1. + * Fri Apr 7 2005 Michael Schwendt - rebuilt diff --git a/sources b/sources index e3734a3..561067b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -4fbcc8b0d69ca5ecbdda40576964573f lirc-0.7.0.tar.bz2 +642e543e25dd6ad72416784bb6166d54 lirc-0.7.1.tar.bz2 From 5580f8470ab0f51935c97da9d6499a83df03d7b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Thu, 26 May 2005 19:16:18 +0000 Subject: [PATCH 007/204] Kernel module build improvements, disabled by default and possibly incomplete. --- lirc.makedev | 3 --- lirc.spec | 58 +++++++++++++++++++++++++--------------------------- 2 files changed, 28 insertions(+), 33 deletions(-) delete mode 100644 lirc.makedev diff --git a/lirc.makedev b/lirc.makedev deleted file mode 100644 index 87586d4..0000000 --- a/lirc.makedev +++ /dev/null @@ -1,3 +0,0 @@ -# LIRC, - -c $ALLREAD 61 0 1 1 lirc diff --git a/lirc.spec b/lirc.spec index 70abd4c..2a595bd 100644 --- a/lirc.spec +++ b/lirc.spec @@ -2,24 +2,24 @@ # - audio (req: portaudio) # - caraca (req: caraca_client) # - irman: (req: libirman) -# - drivers that need drivers/media/video/bttv*.h (not in kernel-module-devel) -# - gpio: flyvideo avermedia avermedia98 -# - i2c: hauppauge +# - drivers that need drivers/media/video/bttv*.h (not in kernel-devel) +# - gpio: avermedia avermedia98 flyvideo # Other TODO: # - move to -devel (?): irw, *mode2, others? # - don't run as root and/or create dedicated group, reduce fifo permissions? # - Fixup /etc/lirc(m)d.conf %%ghost'ification, existence after erase etc. -# - kernel modules: Figure out sane permissions for /dev/lirc, use -# console.perms/udev, general FC3 adjustments. +# - Verify that the kernel modules work and correct /dev entries get created +# automagically with proper permissions etc. %{!?kernel: %{expand: %%define kernel %(uname -r)}} -%define ksrc %{_libdir}/kernel-module-devel/%{kernel}-%{_target_cpu} +%define ksrc %{_usrsrc}/kernels/%{kernel}-%{_target_cpu} + # Kernel module drivers -%define drivers sir_com3 it87 tekram_bt829 com1 atiusb mceusb lpt1 +%define drivers atiusb com1 hauppauge igorplugusb imon it87 lpt1 mceusb sasem sir_com3 streamzap tekram_bt829 Name: lirc Version: 0.7.1 -Release: 2 +Release: 3 Summary: The Linux Infrared Remote Control package Group: System Environment/Daemons @@ -28,11 +28,10 @@ URL: http://www.lirc.org/ Source0: http://download.sourceforge.net/lirc/%{name}-%{version}.tar.bz2 Source1: %{name}.init Source2: %{name}.sysconfig -Source3: %{name}.makedev BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: %{__perl} -%if 0%{!?_with_kmod:1} +%if 0%{!?_with_modules:1} BuildRequires: alsa-lib-devel XFree86-devel libusb-devel BuildConflicts: svgalib-devel %endif @@ -56,11 +55,13 @@ Summary: Kernel modules for LIRC Group: System Environment/Kernel Provides: kernel-module Provides: kernel-module-%{name} = %{version} -%if 0%{?_with_kmod:1} -BuildRequires: %{ksrc} MAKEDEV +%if 0%{?_with_modules:1} +BuildRequires: kernel-devel-%{_target_cpu} = %{kernel} %endif -Requires: modutils %{name} = %{version} -Requires: /boot/vmlinuz-%{kernel} +Requires: %{name} = %{version} +Requires: modutils +Requires: kernel-%{_target_cpu} = %{kernel} +Requires: udev %description -n kernel-module-%{name}-%{kernel} LIRC kernel modules built for kernel @@ -74,7 +75,7 @@ chmod 644 contrib/* %build -%if 0%{?_with_kmod:1} +%if 0%{?_with_modules:1} for driver in %{drivers} ; do # lpt1 is not smp safe @@@ TODO: verify this? test $driver = lpt1 && grep -q '^CONFIG_SMP=y' %{ksrc}/.config && continue @@ -89,6 +90,7 @@ for driver in %{drivers} ; do make %{?_smp_mflags} -C drivers make -C drivers install DESTDIR=$PWD/buildroot/$driver done + %else %configure \ --with-syslog=LOG_DAEMON \ @@ -103,7 +105,7 @@ make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT __docs -%if 0%{?_with_kmod:1} +%if 0%{?_with_modules:1} for driver in %{drivers} ; do # lpt1 is not SMP safe @@@ TODO: verify this? test $driver = lpt1 && grep -q '^CONFIG_SMP=y' %{ksrc}/.config && continue @@ -112,15 +114,6 @@ for driver in %{drivers} ; do install -pm 755 buildroot/$driver/tmp/* \ $RPM_BUILD_ROOT/lib/modules/%{kernel}/updates/lirc done -install -Dpm 644 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/makedev.d/lirc -cp -p %{_sysconfdir}/makedev.d/00macros $RPM_BUILD_ROOT%{_sysconfdir}/makedev.d -/dev/MAKEDEV -M \ - -c $RPM_BUILD_ROOT%{_sysconfdir}/makedev.d \ - -d $RPM_BUILD_ROOT/dev lirc \ - | sed "s|$RPM_BUILD_ROOT||g" \ - | grep -v ' /dev$' \ - > devices.list -rm -f $RPM_BUILD_ROOT%{_sysconfdir}/makedev.d/00macros %else make install DESTDIR=$RPM_BUILD_ROOT @@ -150,7 +143,8 @@ rm -rf $RPM_BUILD_ROOT %post /sbin/ldconfig /sbin/chkconfig --add lirc -# Backwards compatibility (init script lircd -> lirc rename): +# Backwards compatibility (init script lircd -> lirc rename), +# drop this in FC5: if [ $1 -gt 0 -a -x %{_initrddir}/lircd ] ; then %{_initrddir}/lircd status >/dev/null 2>&1 ret=$? @@ -180,7 +174,7 @@ fi depmod -ae -F /boot/System.map-%{kernel} %{kernel} >/dev/null || : -%if 0%{!?_with_kmod:1} +%if 0%{!?_with_modules:1} %files %defattr(-,root,root,-) %doc ANNOUNCE AUTHORS ChangeLog COPYING NEWS README TODO remotes __docs/* @@ -204,15 +198,19 @@ depmod -ae -F /boot/System.map-%{kernel} %{kernel} >/dev/null || : %exclude %{_libdir}/liblirc_client.la %endif -%if 0%{?_with_kmod:1} -%files -n kernel-module-%{name}-%{kernel} -f devices.list +%if 0%{?_with_modules:1} +%files -n kernel-module-%{name}-%{kernel} %defattr(644,root,root,755) -%config %{_sysconfdir}/makedev.d /lib/modules/%{kernel}/updates %endif %changelog +* Thu May 26 2005 Ville Skyttä - 0.7.1-3 +- Adjust kernel module build for FC4 and add hauppauge, igorplugusb, imon, + sasem, and streamzap to the list of modules to build. This stuff is still + disabled by default, rebuild with "--with modules --target $arch" to enable. + * Sun Apr 17 2005 Ville Skyttä - 0.7.1-2 - 0.7.1. From 1041431f036618ef9adaf3063d42adebafea684d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Sun, 14 Aug 2005 17:45:54 +0000 Subject: [PATCH 008/204] - 0.7.2, patch to fix crash at startup when no device is specified. - Enable audio input driver support (portaudio). - Improve package description. - Don't ship static libraries. - Drop pre Fedora Extras backwards compatibility hacks. - Make svgalib support (smode2) build conditional, disabled by default. - Simplify module package build (still work in progress, disabled by default). - Other minor specfile cleanups and maintainability improvements. --- .cvsignore | 2 +- lirc-gpio.patch | 39 +++++++++++ lirc-nodev-crash.patch | 11 ++++ lirc-nomodules.patch | 96 +++++++++++++++++++++++++++ lirc-optflags.patch | 18 ++++++ lirc.spec | 143 +++++++++++++++++++---------------------- sources | 2 +- 7 files changed, 233 insertions(+), 78 deletions(-) create mode 100644 lirc-gpio.patch create mode 100644 lirc-nodev-crash.patch create mode 100644 lirc-nomodules.patch create mode 100644 lirc-optflags.patch diff --git a/.cvsignore b/.cvsignore index 84defd2..4822260 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -lirc-0.7.1.tar.bz2 +lirc-0.7.2.tar.bz2 diff --git a/lirc-gpio.patch b/lirc-gpio.patch new file mode 100644 index 0000000..bec1ef9 --- /dev/null +++ b/lirc-gpio.patch @@ -0,0 +1,39 @@ +The gpio driver doesn't compile against kernel-devel due to missing +drivers/media/video/{bttv,bttvp}.h. + +--- lirc-0.7.2/configure.drivers 2005-08-14 17:14:08.000000000 +0300 ++++ lirc-0.7.2/configure 2005-08-14 17:25:56.000000000 +0300 +@@ -8027,7 +8027,6 @@ + (lirc_dev lirc_atiusb) \ + (lirc_dev lirc_bt829) \ + (lirc_dev lirc_cmdir) \ +- (lirc_dev lirc_gpio) \ + (lirc_dev lirc_i2c) \ + (lirc_dev lirc_igorplugusb) \ + (lirc_dev lirc_imon) \ +@@ -9382,7 +9381,6 @@ + lirc_atiusb \ + lirc_bt829 \ + lirc_cmdir \ +- lirc_gpio \ + lirc_i2c \ + lirc_igorplugusb \ + lirc_imon \ +--- lirc-0.7.2/configure.in.drivers 2005-08-14 13:23:48.000000000 +0300 ++++ lirc-0.7.2/configure.in 2005-08-14 17:28:15.000000000 +0300 +@@ -169,7 +169,6 @@ + (lirc_dev lirc_atiusb) \ + (lirc_dev lirc_bt829) \ + (lirc_dev lirc_cmdir) \ +- (lirc_dev lirc_gpio) \ + (lirc_dev lirc_i2c) \ + (lirc_dev lirc_igorplugusb) \ + (lirc_dev lirc_imon) \ +@@ -1090,7 +1089,6 @@ + lirc_atiusb \ + lirc_bt829 \ + lirc_cmdir \ +- lirc_gpio \ + lirc_i2c \ + lirc_igorplugusb \ + lirc_imon \ diff --git a/lirc-nodev-crash.patch b/lirc-nodev-crash.patch new file mode 100644 index 0000000..9c1772e --- /dev/null +++ b/lirc-nodev-crash.patch @@ -0,0 +1,11 @@ +--- daemons/lircd.c~ 2005-07-10 11:34:12.000000000 +0300 ++++ daemons/lircd.c 2005-08-14 19:29:50.000000000 +0300 +@@ -1974,7 +1974,7 @@ + "no peers are specified\n",progname); + return(EXIT_FAILURE); + } +- if(strcmp(hw.device, lircdfile)==0) ++ if(hw.device != NULL && strcmp(hw.device, lircdfile)==0) + { + fprintf(stderr, "%s: refusing to connect to myself\n", + progname); diff --git a/lirc-nomodules.patch b/lirc-nomodules.patch new file mode 100644 index 0000000..1bdd98c --- /dev/null +++ b/lirc-nomodules.patch @@ -0,0 +1,96 @@ +--- lirc-0.7.2/Makefile.am.orig 2003-05-07 19:31:48.000000000 +0300 ++++ lirc-0.7.2/Makefile.am 2005-08-14 18:39:49.000000000 +0300 +@@ -9,7 +9,7 @@ + EXTRA_DIST = setup.sh setup-driver.sh setup.data data2setup.sh ANNOUNCE TODO + + ## daemons/ and tools/ should appear before doc/ for help2man to work. +-SUBDIRS = drivers daemons tools doc ++SUBDIRS = daemons tools doc + + ## From automake documentation: + ## Note that EXTRA_DIST can only handle files in the current +--- lirc-0.7.2/configure.orig 2005-08-14 18:39:36.000000000 +0300 ++++ lirc-0.7.2/configure 2005-08-14 18:40:14.000000000 +0300 +@@ -7995,6 +7995,7 @@ + echo "$ac_t""" 1>&6 + + possible_drivers="(none) \ ++ (any) \ + (bte) \ + (bw6130) \ + (creative) \ +@@ -8020,26 +8021,6 @@ + (uirt2_raw) \ + (udp)" + +-if test x${no_kernel} != xyes; then +- possible_drivers="${possible_drivers} \ +- (any) \ +- (lirc_dev) \ +- (lirc_dev lirc_atiusb) \ +- (lirc_dev lirc_bt829) \ +- (lirc_dev lirc_cmdir) \ +- (lirc_dev lirc_i2c) \ +- (lirc_dev lirc_igorplugusb) \ +- (lirc_dev lirc_imon) \ +- (lirc_dev lirc_it87) \ +- (lirc_dev lirc_mceusb) \ +- (lirc_dev lirc_mceusb2) \ +- (lirc_dev lirc_parallel) \ +- (lirc_dev lirc_sasem) \ +- (lirc_dev lirc_serial) \ +- (lirc_dev lirc_sir) \ +- (lirc_dev lirc_streamzap)" +-fi +- + if test -n "${LIBUSB_CONFIG}"; then + cat >> confdefs.h <<\EOF + #define HAVE_LIBUSB 1 +--- lirc-0.7.2/Makefile.in.orig 2005-08-14 13:27:43.000000000 +0300 ++++ lirc-0.7.2/Makefile.in 2005-08-14 18:39:49.000000000 +0300 +@@ -113,7 +113,7 @@ + + EXTRA_DIST = setup.sh setup-driver.sh setup.data data2setup.sh ANNOUNCE TODO + +-SUBDIRS = drivers daemons tools doc ++SUBDIRS = daemons tools doc + + DISTCLEANFILES = configure.sh .setup.config + +--- lirc-0.7.2/configure.in.orig 2005-08-14 18:39:36.000000000 +0300 ++++ lirc-0.7.2/configure.in 2005-08-14 18:40:08.000000000 +0300 +@@ -137,6 +137,7 @@ + AC_MSG_RESULT() + + possible_drivers="(none) \ ++ (any) \ + (bte) \ + (bw6130) \ + (creative) \ +@@ -162,26 +163,6 @@ + (uirt2_raw) \ + (udp)" + +-if test x${no_kernel} != xyes; then +- possible_drivers="${possible_drivers} \ +- (any) \ +- (lirc_dev) \ +- (lirc_dev lirc_atiusb) \ +- (lirc_dev lirc_bt829) \ +- (lirc_dev lirc_cmdir) \ +- (lirc_dev lirc_i2c) \ +- (lirc_dev lirc_igorplugusb) \ +- (lirc_dev lirc_imon) \ +- (lirc_dev lirc_it87) \ +- (lirc_dev lirc_mceusb) \ +- (lirc_dev lirc_mceusb2) \ +- (lirc_dev lirc_parallel) \ +- (lirc_dev lirc_sasem) \ +- (lirc_dev lirc_serial) \ +- (lirc_dev lirc_sir) \ +- (lirc_dev lirc_streamzap)" +-fi +- + if test -n "${LIBUSB_CONFIG}"; then + AC_DEFINE(HAVE_LIBUSB) + possible_drivers="${possible_drivers} (atilibusb)" diff --git a/lirc-optflags.patch b/lirc-optflags.patch new file mode 100644 index 0000000..0f7707c --- /dev/null +++ b/lirc-optflags.patch @@ -0,0 +1,18 @@ +--- lirc-0.7.2/configure.in.optflags 2005-08-14 17:53:43.000000000 +0300 ++++ lirc-0.7.2/configure.in 2005-08-14 17:54:18.000000000 +0300 +@@ -17,5 +17,5 @@ + AM_CONFIG_HEADER(config.h) + +-CFLAGS="-O2 -g -Wall" ++CFLAGS="$CFLAGS -Wall" + + dnl Checks for programs. +--- lirc-0.7.2/configure.optflags 2005-08-14 17:53:50.000000000 +0300 ++++ lirc-0.7.2/configure 2005-08-14 17:54:07.000000000 +0300 +@@ -1076,5 +1076,5 @@ + + +-CFLAGS="-O2 -g -Wall" ++CFLAGS="$CFLAGS -Wall" + + # Extract the first word of "gcc", so it can be a program name with args. diff --git a/lirc.spec b/lirc.spec index 2a595bd..620a777 100644 --- a/lirc.spec +++ b/lirc.spec @@ -1,25 +1,21 @@ # Driver TODO, sometime maybe: -# - audio (req: portaudio) -# - caraca (req: caraca_client) -# - irman: (req: libirman) -# - drivers that need drivers/media/video/bttv*.h (not in kernel-devel) -# - gpio: avermedia avermedia98 flyvideo +# - caraca (req: caraca, http://caraca.sf.net/) +# - irman: (req: libirman, http://lirc.sf.net/software/snapshots/) # Other TODO: # - move to -devel (?): irw, *mode2, others? +# note: xmode2 inflicts a dependency on X, and smode2 on svgalib # - don't run as root and/or create dedicated group, reduce fifo permissions? # - Fixup /etc/lirc(m)d.conf %%ghost'ification, existence after erase etc. # - Verify that the kernel modules work and correct /dev entries get created # automagically with proper permissions etc. -%{!?kernel: %{expand: %%define kernel %(uname -r)}} -%define ksrc %{_usrsrc}/kernels/%{kernel}-%{_target_cpu} - -# Kernel module drivers -%define drivers atiusb com1 hauppauge igorplugusb imon it87 lpt1 mceusb sasem sir_com3 streamzap tekram_bt829 +%{!?kver: %{expand: %%define kver %(uname -r)}} +%define ksrc %{_usrsrc}/kernels/%{kver}-%{_target_cpu} +%define mdir /lib/modules/%{kver}/extra Name: lirc -Version: 0.7.1 -Release: 3 +Version: 0.7.2 +Release: 2%{?dist} Summary: The Linux Infrared Remote Control package Group: System Environment/Daemons @@ -28,19 +24,31 @@ URL: http://www.lirc.org/ Source0: http://download.sourceforge.net/lirc/%{name}-%{version}.tar.bz2 Source1: %{name}.init Source2: %{name}.sysconfig +Patch0: %{name}-optflags.patch +Patch1: %{name}-gpio.patch +Patch2: %{name}-nomodules.patch +Patch3: %{name}-nodev-crash.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildRequires: %{__perl} %if 0%{!?_with_modules:1} -BuildRequires: alsa-lib-devel XFree86-devel libusb-devel -BuildConflicts: svgalib-devel +BuildRequires: %{__perl} +BuildRequires: alsa-lib-devel +BuildRequires: xorg-x11-devel +BuildRequires: libusb-devel +BuildRequires: portaudio-devel >= 18 +Build%{?_with_svgalib:Requires}%{!?_with_svgalib:Conflicts}: svgalib-devel %endif -Requires(post): /sbin/chkconfig /sbin/ldconfig +Requires(post): /sbin/chkconfig +Requires(post): /sbin/ldconfig Requires(preun): /sbin/chkconfig Requires(postun): /sbin/ldconfig %description -LIRC is the Linux Infrared Remote Control package. +LIRC is a package that allows you to decode and send infra-red and +other signals of many (but not all) commonly used remote controls. +Included applications include daemons which decode the received +signals as well as user space applications which allow controlling a +computer with a remote control. %package devel Summary: Development files for LIRC @@ -50,74 +58,59 @@ Requires: %{name} = %{version}-%{release} %description devel %{summary}. -%package -n kernel-module-%{name}-%{kernel} +%package -n kernel-module-%{name}-%{kver} Summary: Kernel modules for LIRC Group: System Environment/Kernel Provides: kernel-module Provides: kernel-module-%{name} = %{version} %if 0%{?_with_modules:1} -BuildRequires: kernel-devel-%{_target_cpu} = %{kernel} +BuildRequires: kernel-devel-%{_target_cpu} = %{kver} %endif Requires: %{name} = %{version} -Requires: modutils -Requires: kernel-%{_target_cpu} = %{kernel} +Requires: module-init-tools +Requires: kernel-%{_target_cpu} = %{kver} Requires: udev -%description -n kernel-module-%{name}-%{kernel} +%description -n kernel-module-%{name}-%{kver} LIRC kernel modules built for kernel -%{kernel} (%{_target_cpu}). +%{kver} (%{_target_cpu}). %prep %setup -q -%{__perl} -pi -e 's|^CFLAGS="-O2 -g -Wall"|CFLAGS="\$CFLAGS -Wall"|' configure +%patch0 -p1 +%patch1 -p1 +# patch2 needs to be applied on top of patch1 +%{!?_with_modules:%patch2 -p1} +%patch3 -p0 chmod 644 contrib/* +touch -r aclocal.m4 configure.in # avoid autofoo re-run %build -%if 0%{?_with_modules:1} -for driver in %{drivers} ; do - # lpt1 is not smp safe @@@ TODO: verify this? - test $driver = lpt1 && grep -q '^CONFIG_SMP=y' %{ksrc}/.config && continue - mkdir -p buildroot/"$driver" - %configure \ - --enable-sandboxed \ - --enable-debug \ - --disable-dependency-tracking \ - --with-kerneldir=%{ksrc} \ - --with-moduledir=/tmp \ - --with-driver=$driver - make %{?_smp_mflags} -C drivers - make -C drivers install DESTDIR=$PWD/buildroot/$driver -done - -%else %configure \ - --with-syslog=LOG_DAEMON \ - --enable-sandboxed \ - --enable-debug \ + --disable-static \ --disable-dependency-tracking \ + --enable-debug \ + --enable-sandboxed \ + --with-syslog=LOG_DAEMON \ + --with-kerneldir=%{ksrc} \ + --with-moduledir=%{mdir}/%{name} \ --with-driver=any -make %{?_smp_mflags} -%endif +make %{?_smp_mflags} %{?_with_modules:-C drivers} %install rm -rf $RPM_BUILD_ROOT __docs %if 0%{?_with_modules:1} -for driver in %{drivers} ; do - # lpt1 is not SMP safe @@@ TODO: verify this? - test $driver = lpt1 && grep -q '^CONFIG_SMP=y' %{ksrc}/.config && continue - install -dm 755 $RPM_BUILD_ROOT/lib/modules/%{kernel}/updates/lirc - # 0755 here to allow stripping, fixed later in %%files - install -pm 755 buildroot/$driver/tmp/* \ - $RPM_BUILD_ROOT/lib/modules/%{kernel}/updates/lirc -done +make install DESTDIR=$RPM_BUILD_ROOT -C drivers +# executable here to allow stripping, fixed later in %%files +chmod +x $RPM_BUILD_ROOT%{mdir}/%{name}/*.ko %else make install DESTDIR=$RPM_BUILD_ROOT -rm -f $RPM_BUILD_ROOT%{_mandir}/man1/smode2.1* # if no svgalib +%{!?_with_svgalib:rm $RPM_BUILD_ROOT%{_mandir}/man1/smode2.1*} install -Dpm 755 %{SOURCE1} $RPM_BUILD_ROOT%{_initrddir}/lirc %{__perl} -pi -e \ 's|/etc/|%{_sysconfdir}/|g ; @@ -133,6 +126,7 @@ cd .. touch $RPM_BUILD_ROOT%{_sysconfdir}/lirc{d,md}.conf install -dm 755 $RPM_BUILD_ROOT/dev touch $RPM_BUILD_ROOT/dev/lirc{d,m} +rm $RPM_BUILD_ROOT%{_libdir}/liblirc_client.la %endif @@ -143,20 +137,9 @@ rm -rf $RPM_BUILD_ROOT %post /sbin/ldconfig /sbin/chkconfig --add lirc -# Backwards compatibility (init script lircd -> lirc rename), -# drop this in FC5: -if [ $1 -gt 0 -a -x %{_initrddir}/lircd ] ; then - %{_initrddir}/lircd status >/dev/null 2>&1 - ret=$? - %{_initrddir}/lircd stop >/dev/null || : - /sbin/chkconfig --del lircd || : - if [ $ret -eq 0 ] ; then - %{_initrddir}/lirc start >/dev/null || : - fi -fi -%post -n kernel-module-%{name}-%{kernel} -depmod -ae -F /boot/System.map-%{kernel} %{kernel} >/dev/null || : +%post -n kernel-module-%{name}-%{kver} +depmod -ae -F /boot/System.map-%{kver} %{kver} >/dev/null || : %preun if [ $1 -eq 0 ] ; then @@ -170,8 +153,8 @@ if [ $1 -gt 0 ] ; then %{_initrddir}/lirc try-restart >/dev/null || : fi -%postun -n kernel-module-%{name}-%{kernel} -depmod -ae -F /boot/System.map-%{kernel} %{kernel} >/dev/null || : +%postun -n kernel-module-%{name}-%{kver} +depmod -ae -F /boot/System.map-%{kver} %{kver} >/dev/null || : %if 0%{!?_with_modules:1} @@ -180,7 +163,7 @@ depmod -ae -F /boot/System.map-%{kernel} %{kernel} >/dev/null || : %doc ANNOUNCE AUTHORS ChangeLog COPYING NEWS README TODO remotes __docs/* %ghost %config(noreplace) %{_sysconfdir}/lirc*d.conf %config(noreplace) %{_sysconfdir}/sysconfig/lirc -%config %{_initrddir}/lirc +%{_initrddir}/lirc %{_bindir}/ir* %{_bindir}/*mode2 %{_sbindir}/lirc*d @@ -192,20 +175,28 @@ depmod -ae -F /boot/System.map-%{kernel} %{kernel} >/dev/null || : %files devel %defattr(-,root,root,-) -%{_includedir}/lirc -%{_libdir}/liblirc_client.a +%{_includedir}/lirc/ %{_libdir}/liblirc_client.so -%exclude %{_libdir}/liblirc_client.la %endif %if 0%{?_with_modules:1} -%files -n kernel-module-%{name}-%{kernel} +%files -n kernel-module-%{name}-%{kver} %defattr(644,root,root,755) -/lib/modules/%{kernel}/updates +%{mdir}/ %endif %changelog +* Sun Aug 14 2005 Ville Skyttä - 0.7.2-2 +- 0.7.2, patch to fix crash at startup when no device is specified. +- Enable audio input driver support (portaudio). +- Improve package description. +- Don't ship static libraries. +- Drop pre Fedora Extras backwards compatibility hacks. +- Make svgalib support (smode2) build conditional, disabled by default. +- Simplify module package build (still work in progress, disabled by default). +- Other minor specfile cleanups and maintainability improvements. + * Thu May 26 2005 Ville Skyttä - 0.7.1-3 - Adjust kernel module build for FC4 and add hauppauge, igorplugusb, imon, sasem, and streamzap to the list of modules to build. This stuff is still diff --git a/sources b/sources index 561067b..b4e5433 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -642e543e25dd6ad72416784bb6166d54 lirc-0.7.1.tar.bz2 +4510cf711f5c146f80c5bdfd61ca3f4a lirc-0.7.2.tar.bz2 From 99564553237bc2778f3370f55a28d4d289ec8b8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Wed, 31 Aug 2005 16:02:04 +0000 Subject: [PATCH 009/204] Make the init script startup earlier and shutdown later by default. --- lirc.init | 2 +- lirc.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/lirc.init b/lirc.init index 77799d6..8062616 100644 --- a/lirc.init +++ b/lirc.init @@ -2,7 +2,7 @@ # # lirc Startup script for the Linux Infrared Remote Control daemons # -# chkconfig: - 90 10 +# chkconfig: - 29 71 # description: Enables infrared controls through LIRC. # processname: lircd # processname: lircmd diff --git a/lirc.spec b/lirc.spec index 620a777..bbcede4 100644 --- a/lirc.spec +++ b/lirc.spec @@ -15,7 +15,7 @@ Name: lirc Version: 0.7.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: The Linux Infrared Remote Control package Group: System Environment/Daemons @@ -187,6 +187,9 @@ depmod -ae -F /boot/System.map-%{kver} %{kver} >/dev/null || : %changelog +* Wed Aug 31 2005 Ville Skyttä - 0.7.2-3 +- Make the init script startup earlier and shutdown later by default. + * Sun Aug 14 2005 Ville Skyttä - 0.7.2-2 - 0.7.2, patch to fix crash at startup when no device is specified. - Enable audio input driver support (portaudio). From b0fc0d577b9fb6351ea688d64c6f0473fa7f7f78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Tue, 29 Nov 2005 08:58:17 +0000 Subject: [PATCH 010/204] =?UTF-8?q?-=20Pull=20security=20fix=20for=20the?= =?UTF-8?q?=20new=20lirc=5Fclientd=20from=20upstream=20CVS,=20and=20while?= =?UTF-8?q?=20=20=20=20=20at=20it,=20some=20other=20useful=20post-0.8.0pre?= =?UTF-8?q?1=20changes.=20-=20Kernel=20>=3D=202.6.15=20patchwork=20based?= =?UTF-8?q?=20on=20initial=20patch=20from=20Andy=20Burns=20=20=20=20=20(#1?= =?UTF-8?q?72404).=20-=20Disable=20lirc=5Fcmdir=20kernel=20module=20(unkno?= =?UTF-8?q?wn=20symbols).=20-=20Adapt=20to=20modular=20X.Org=20packaging.?= =?UTF-8?q?=20Wed=20Nov=209=202005=20Ville=20Skytt=C3=A4=20=20-=200.8.0-0.1.pre1=20-=200.8.0pre1,=20usage?= =?UTF-8?q?=20message=20patch=20applied=20upstream.=20Sun=20Oct=2030=20200?= =?UTF-8?q?5=20Ville=20Skytt=C3=A4=20=20-=200.?= =?UTF-8?q?7.3-0.1.pre1=20-=200.7.3pre1,=20"no=20device"=20crash=20fix=20a?= =?UTF-8?q?pplied=20upstream.=20-=20Fix=20lircd=20and=20lircmd=20usage=20m?= =?UTF-8?q?essages.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .cvsignore | 2 +- lirc-0.8.0pre1-2615usb.patch | 72 +++++++ lirc-cvs20051129.patch | 405 +++++++++++++++++++++++++++++++++++ lirc-gpio.patch | 39 ---- lirc-nodev-crash.patch | 11 - lirc-nomodules.patch | 96 --------- lirc.spec | 53 +++-- sources | 2 +- 8 files changed, 518 insertions(+), 162 deletions(-) create mode 100644 lirc-0.8.0pre1-2615usb.patch create mode 100644 lirc-cvs20051129.patch delete mode 100644 lirc-gpio.patch delete mode 100644 lirc-nodev-crash.patch delete mode 100644 lirc-nomodules.patch diff --git a/.cvsignore b/.cvsignore index 4822260..ba7091e 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -lirc-0.7.2.tar.bz2 +lirc-0.8.0pre1.tar.bz2 diff --git a/lirc-0.8.0pre1-2615usb.patch b/lirc-0.8.0pre1-2615usb.patch new file mode 100644 index 0000000..b872650 --- /dev/null +++ b/lirc-0.8.0pre1-2615usb.patch @@ -0,0 +1,72 @@ +Index: drivers/lirc_dev/lirc_dev.c +=================================================================== +RCS file: /cvsroot/lirc/lirc/drivers/lirc_dev/lirc_dev.c,v +retrieving revision 1.44 +diff -u -r1.44 lirc_dev.c +--- drivers/lirc_dev/lirc_dev.c 8 Aug 2005 06:04:48 -0000 1.44 ++++ drivers/lirc_dev/lirc_dev.c 29 Nov 2005 01:15:17 -0000 +@@ -382,7 +382,11 @@ + S_IFCHR|S_IRUSR|S_IWUSR, + DEV_LIRC "/%u", ir->p.minor); + #endif +- (void) class_device_create(lirc_class, MKDEV(IRCTL_DEV_MAJOR, ir->p.minor), ++ (void) class_device_create(lirc_class, ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,15) ++ NULL, ++#endif ++ MKDEV(IRCTL_DEV_MAJOR, ir->p.minor), + NULL, "lirc%u", ir->p.minor); + + if(p->sample_rate || p->get_queue) { +Index: drivers/lirc_imon/lirc_imon.c +=================================================================== +RCS file: /cvsroot/lirc/lirc/drivers/lirc_imon/lirc_imon.c,v +retrieving revision 1.8 +diff -u -r1.8 lirc_imon.c +--- drivers/lirc_imon/lirc_imon.c 29 Oct 2005 14:18:53 -0000 1.8 ++++ drivers/lirc_imon/lirc_imon.c 29 Nov 2005 01:15:18 -0000 +@@ -72,7 +72,7 @@ + + #define VFD_MINOR_BASE 144 /* Same as LCD */ + #define DEVFS_MODE S_IFCHR | S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH +-#define DEVFS_NAME "usb/lcd%d" ++#define DEVFS_NAME "lcd%d" + + #define BUF_CHUNK_SIZE 4 + #define BUF_SIZE 128 +@@ -216,7 +216,9 @@ + static struct usb_class_driver imon_class = { + .name = DEVFS_NAME, + .fops = &vfd_fops, ++#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,15) + .mode = DEVFS_MODE, ++#endif + .minor_base = VFD_MINOR_BASE, + }; + #endif +Index: drivers/lirc_sasem/lirc_sasem.c +=================================================================== +RCS file: /cvsroot/lirc/lirc/drivers/lirc_sasem/lirc_sasem.c,v +retrieving revision 1.11 +diff -u -r1.11 lirc_sasem.c +--- drivers/lirc_sasem/lirc_sasem.c 29 Oct 2005 14:18:53 -0000 1.11 ++++ drivers/lirc_sasem/lirc_sasem.c 29 Nov 2005 01:15:19 -0000 +@@ -81,7 +81,7 @@ + + #define VFD_MINOR_BASE 144 /* Same as LCD */ + #define DEVFS_MODE S_IFCHR | S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH +-#define DEVFS_NAME "usb/lcd%d" ++#define DEVFS_NAME "lcd%d" + + #define BUF_CHUNK_SIZE 8 + #define BUF_SIZE 128 +@@ -204,7 +204,9 @@ + static struct usb_class_driver sasem_class = { + .name = DEVFS_NAME, + .fops = &vfd_fops, ++#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,15) + .mode = DEVFS_MODE, ++#endif + .minor_base = VFD_MINOR_BASE, + }; + #endif diff --git a/lirc-cvs20051129.patch b/lirc-cvs20051129.patch new file mode 100644 index 0000000..3693864 --- /dev/null +++ b/lirc-cvs20051129.patch @@ -0,0 +1,405 @@ +--- lirc-0.8.0pre1/configure.in.orig 2005-11-05 18:52:50.000000000 +0200 ++++ lirc-0.8.0pre1/configure.in 2005-11-29 00:23:03.000000000 +0200 +@@ -137,6 +137,7 @@ + AC_MSG_RESULT() + + possible_drivers="(none) \ ++ (userspace) + (bte) \ + (bw6130) \ + (creative) \ +@@ -164,7 +165,7 @@ + + if test x${no_kernel} != xyes; then + possible_drivers="${possible_drivers} \ +- (any) \ ++ (all) \ + (lirc_dev) \ + (lirc_dev lirc_atiusb) \ + (lirc_dev lirc_bt829) \ +@@ -301,9 +302,9 @@ + HW_DEFAULT="hw_null" + fi + +-if test "$driver" = "any"; then ++if test "$driver" = "userspace" -o "$driver" = "all"; then + AC_DEFINE(LIRC_DRIVER_ANY) +- lirc_driver="any" ++ lirc_driver=$driver + + any_possible_drivers=`echo ${possible_drivers} | sed -e's/ /-/g' \ + -e's/)-(/ /g' -e's/(//g' -e's/)//g' \ +@@ -1039,7 +1040,7 @@ + AC_MSG_ERROR([*** you need to first install the caraca package + before you can use this driver]) + ;; +- any|lirc_*) ++ all|lirc_*) + AC_MSG_ERROR([*** you need to have the Linux kernel source installed + for this driver]) + ;; +@@ -1078,6 +1079,7 @@ + + if test "$lirc_driver" = "none" || \ + test "$lirc_driver" = "alsa_usb" || \ ++ test "$lirc_driver" = "userspace" || \ + test "$lirc_driver" = "atilibusb" || \ + test "$lirc_driver" = "audio" || \ + test "$lirc_driver" = "audio_alsa" || \ +@@ -1085,7 +1087,7 @@ + test "$lirc_driver" = "irman" || \ + test "$lirc_driver" = "irman_sw"; then + lirc_driver= +-elif test "$lirc_driver" = "any"; then ++elif test "$lirc_driver" = "all"; then + lirc_driver="lirc_dev \ + lirc_atiusb \ + lirc_bt829 \ +@@ -1316,7 +1318,7 @@ + ]) + + echo +-if test "$driver" = "any"; then ++if test "$driver" = "all"; then + echo "All kernel modules will be built." + elif test "$driver" = "mediafocusI"; then + echo "You will have to use the MediaFocus driver from:" +--- lirc-0.8.0pre1/drivers/lirc_bt829/lirc_bt829.c.orig 2005-02-19 17:12:58.000000000 +0200 ++++ lirc-0.8.0pre1/drivers/lirc_bt829/lirc_bt829.c 2005-11-29 00:21:39.000000000 +0200 +@@ -65,7 +65,8 @@ + }while(0) + + static int atir_minor; +-static unsigned long pci_addr_phys, pci_addr_lin; ++static unsigned long pci_addr_phys; ++static unsigned char *pci_addr_lin; + + static struct lirc_plugin atir_plugin; + +@@ -81,7 +82,7 @@ + my_dev = (struct pci_dev *)pci_find_device(PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_264VT,NULL); + if ( my_dev ) { + printk(KERN_ERR "ATIR: Using device: %s\n", +- pci_pretty_name(my_dev)); ++ pci_name(my_dev)); + pci_addr_phys = 0; + if ( my_dev->resource[0].flags & IORESOURCE_MEM ) { + pci_addr_phys = my_dev->resource[0].start; +@@ -161,7 +162,7 @@ + + static int atir_init_start(void) + { +- pci_addr_lin = (unsigned long)ioremap(pci_addr_phys + DATA_PCI_OFF,0x400); ++ pci_addr_lin = ioremap(pci_addr_phys + DATA_PCI_OFF,0x400); + if ( pci_addr_lin == 0 ) { + printk(KERN_INFO "atir: pci mem must be mapped\n"); + return 0; +@@ -363,7 +364,8 @@ + + static unsigned int read_index(unsigned char index) + { +- unsigned int addr, value; ++ unsigned char *addr; ++ unsigned int value; + // addr = pci_addr_lin + DATA_PCI_OFF + ((index & 0xFF) << 2); + addr = pci_addr_lin + ((index & 0xFF) << 2); + value = readl(addr); +@@ -372,7 +374,7 @@ + + static void write_index(unsigned char index,unsigned int reg_val) + { +- unsigned int addr; ++ unsigned char *addr; + addr = pci_addr_lin + ((index & 0xFF) << 2); + writel(reg_val,addr); + } +--- lirc-0.8.0pre1/drivers/kcompat.h.orig 2005-10-29 17:18:53.000000000 +0300 ++++ lirc-0.8.0pre1/drivers/kcompat.h 2005-11-29 00:21:39.000000000 +0200 +@@ -187,9 +187,12 @@ + #define local_irq_restore(flags) do{ restore_flags(flags); } while(0) + #endif + +-#if !defined(pci_pretty_name) +-#define pci_pretty_name(dev) ((dev)->name) +-#endif ++#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,22) ++static inline char *pci_name(struct pci_dev *pdev) ++{ ++ return pdev->slot_name; ++} ++#endif//Kernel<2.4.22 + + /*************************** I2C specific *****************************/ + #include +--- lirc-0.8.0pre1/tools/lirc_client.h.orig 2005-11-01 21:12:16.000000000 +0200 ++++ lirc-0.8.0pre1/tools/lirc_client.h 2005-11-29 00:21:39.000000000 +0200 +@@ -14,6 +14,8 @@ + #ifndef LIRC_CLIENT_H + #define LIRC_CLIENT_H + ++#include ++ + #ifdef __cplusplus + extern "C" { + #endif +@@ -91,6 +93,7 @@ + int lirc_code2charprog(struct lirc_config *config,char *code,char **string, + char **prog); + size_t lirc_getsocketname(const char *filename, char *buf, size_t size); ++const char *lirc_getmode(struct lirc_config *config); + + /* new interface for transmit */ + int lirc_send_command(int sockfd, const char *command, char *buf, size_t *buf_len, int *ret_status); +--- lirc-0.8.0pre1/tools/lirc_client.c.orig 2005-11-01 21:12:16.000000000 +0200 ++++ lirc-0.8.0pre1/tools/lirc_client.c 2005-11-29 00:21:39.000000000 +0200 +@@ -1723,7 +1723,7 @@ + char *new_buffer; + + packet_size+=PACKET_SIZE; +- new_buffer=(char *) realloc(lirc_buffer,packet_size); ++ new_buffer=(char *) realloc(lirc_buffer,packet_size+1); + if(new_buffer==NULL) + { + return(-1); +@@ -1767,6 +1767,33 @@ + return strlen(filename)+2; + } + ++const char *lirc_getmode(struct lirc_config *config) ++{ ++ if(config->sockfd!=-1) ++ { ++ static char buf[LIRC_PACKET_SIZE]; ++ size_t buf_len = LIRC_PACKET_SIZE; ++ int success; ++ int ret; ++ ++ ret = lirc_send_command(config->sockfd, "GETMODE\n", ++ buf, &buf_len, &success); ++ if(success == LIRC_RET_SUCCESS) ++ { ++ if(ret > 0) ++ { ++ return buf; ++ } ++ else ++ { ++ return NULL; ++ } ++ } ++ return NULL; ++ } ++ return config->current_mode; ++} ++ + static const char *lirc_read_string(int fd) + { + static char buffer[LIRC_PACKET_SIZE+1]=""; +--- lirc-0.8.0pre1/tools/lirc_clientd.c.orig 2005-11-01 21:12:16.000000000 +0200 ++++ lirc-0.8.0pre1/tools/lirc_clientd.c 2005-11-29 00:21:39.000000000 +0200 +@@ -67,6 +67,7 @@ + + static int code_func(int fd,char *message,char *arguments); + static int ident_func(int fd,char *message,char *arguments); ++static int getmode_func(int fd,char *message,char *arguments); + static int send_result(int fd, char *message, const char *result); + static int send_success(int fd,char *message); + +@@ -74,6 +75,7 @@ + { + {"CODE",code_func}, + {"IDENT",ident_func}, ++ {"GETMODE",getmode_func}, + {NULL,NULL} + /* + {"DEBUG",debug}, +@@ -114,7 +116,10 @@ + do {} while(0) + #endif + +-const char *progname="lirc_clientd " VERSION; ++#define logprintf syslog ++#define logperror(prio,s) if((s)!=NULL) syslog(prio,"%s: %m\n",(char *) s); else syslog(prio,"%m\n") ++ ++const char *progname="lirc_clientd"; + + static sig_atomic_t term=0; + static int termsig; +@@ -122,53 +127,12 @@ + static struct client_data clis[MAX_CLIENTS]; + + static int daemonized=0; +-static FILE *lf=NULL; +-static const char *hostname=""; + + static struct lirc_config *config; + + static int send_error(int fd,char *message,char *format_str, ...); + static int handle_input(); + +-void logprintf(int prio,char *format_str, ...) +-{ +- time_t current; +- char *currents; +- va_list ap; +- +- current=time(¤t); +- currents=ctime(¤t); +- +- if(lf) fprintf(lf,"%15.15s %s %s: ",currents+4,hostname,progname); +- if(!daemonized) fprintf(stderr,"%s: ",progname); +- va_start(ap,format_str); +- if(lf) +- { +- if(prio==LOG_WARNING) fprintf(lf,"WARNING: "); +- vfprintf(lf,format_str,ap); +- fputc('\n',lf);fflush(lf); +- } +- if(!daemonized) +- { +- if(prio==LOG_WARNING) fprintf(stderr,"WARNING: "); +- vfprintf(stderr,format_str,ap); +- fputc('\n',stderr);fflush(stderr); +- } +- va_end(ap); +-} +- +-void logperror(int prio,const char *s) +-{ +- if(s!=NULL) +- { +- logprintf(prio,"%s: %s",s,strerror(errno)); +- } +- else +- { +- logprintf(prio,"%s",strerror(errno)); +- } +-} +- + static inline int max(int a,int b) + { + return(a>b ? a:b); +@@ -554,6 +518,16 @@ + return(send_success(fd,message)); + } + ++static int getmode_func(int fd,char *message,char *arguments) ++{ ++ LOGPRINTF(2, "GETMODE %s", arguments); ++ if(lirc_getmode(config)) ++ { ++ return send_result(fd, message, lirc_getmode(config)); ++ } ++ return(send_success(fd,message)); ++} ++ + static int send_result(int fd, char *message, const char *result) + { + char *count = "1\n"; +@@ -938,7 +912,7 @@ + printf("\t -o --output=socket\t\toutput socket filename\n"); + return(EXIT_SUCCESS); + case 'v': +- printf("%s\n",progname); ++ printf("%s %s\n",progname,VERSION); + return(EXIT_SUCCESS); + case 'p': + if(oatoi(optarg)==-1) +@@ -988,7 +962,6 @@ + return EXIT_FAILURE; + } + +- LOGPRINTF(3, "fork"); + /* fork */ + if(daemon(0,0)==-1) + { +@@ -1001,8 +974,7 @@ + } + daemonized=1; + +- lf = fopen("/tmp/lirc_clientd.log", "a"); +- ++ openlog(progname, LOG_CONS|LOG_PID, LOG_USER); + umask(0); + signal(SIGPIPE,SIG_IGN); + +@@ -1013,8 +985,10 @@ + sigaction(SIGINT,&act,NULL); + sigaction(SIGHUP,&act,NULL); + ++ logprintf(LOG_NOTICE, "%s started", progname); + loop(socket, lircdfd); + ++ closelog(); + shutdown(socket, 2); + close(socket); + lirc_freeconfig(config); +--- lirc-0.8.0pre1/configure.orig 2005-11-05 18:55:58.000000000 +0200 ++++ lirc-0.8.0pre1/configure 2005-11-29 00:24:39.000000000 +0200 +@@ -7995,6 +7995,7 @@ + echo "$ac_t""" 1>&6 + + possible_drivers="(none) \ ++ (userspace) \ + (bte) \ + (bw6130) \ + (creative) \ +@@ -8022,7 +8023,7 @@ + + if test x${no_kernel} != xyes; then + possible_drivers="${possible_drivers} \ +- (any) \ ++ (all) \ + (lirc_dev) \ + (lirc_dev lirc_atiusb) \ + (lirc_dev lirc_bt829) \ +@@ -8568,12 +8569,12 @@ + HW_DEFAULT="hw_null" + fi + +-if test "$driver" = "any"; then ++if test "$driver" = "userspace" -o "$driver" = "all"; then + cat >> confdefs.h <<\EOF + #define LIRC_DRIVER_ANY 1 + EOF + +- lirc_driver="any" ++ lirc_driver=$driver + + any_possible_drivers=`echo ${possible_drivers} | sed -e's/ /-/g' \ + -e's/)-(/ /g' -e's/(//g' -e's/)//g' \ +@@ -9332,7 +9333,7 @@ + { echo "configure: error: *** you need to first install the caraca package + before you can use this driver" 1>&2; exit 1; } + ;; +- any|lirc_*) ++ all|lirc_*) + { echo "configure: error: *** you need to have the Linux kernel source installed + for this driver" 1>&2; exit 1; } + ;; +@@ -9370,6 +9371,7 @@ + + if test "$lirc_driver" = "none" || \ + test "$lirc_driver" = "alsa_usb" || \ ++ test "$lirc_driver" = "userspace" || \ + test "$lirc_driver" = "atilibusb" || \ + test "$lirc_driver" = "audio" || \ + test "$lirc_driver" = "audio_alsa" || \ +@@ -9377,7 +9379,7 @@ + test "$lirc_driver" = "irman" || \ + test "$lirc_driver" = "irman_sw"; then + lirc_driver= +-elif test "$lirc_driver" = "any"; then ++elif test "$lirc_driver" = "all"; then + lirc_driver="lirc_dev \ + lirc_atiusb \ + lirc_bt829 \ +@@ -10245,7 +10247,7 @@ + + + echo +-if test "$driver" = "any"; then ++if test "$driver" = "all"; then + echo "All kernel modules will be built." + elif test "$driver" = "mediafocusI"; then + echo "You will have to use the MediaFocus driver from:" diff --git a/lirc-gpio.patch b/lirc-gpio.patch deleted file mode 100644 index bec1ef9..0000000 --- a/lirc-gpio.patch +++ /dev/null @@ -1,39 +0,0 @@ -The gpio driver doesn't compile against kernel-devel due to missing -drivers/media/video/{bttv,bttvp}.h. - ---- lirc-0.7.2/configure.drivers 2005-08-14 17:14:08.000000000 +0300 -+++ lirc-0.7.2/configure 2005-08-14 17:25:56.000000000 +0300 -@@ -8027,7 +8027,6 @@ - (lirc_dev lirc_atiusb) \ - (lirc_dev lirc_bt829) \ - (lirc_dev lirc_cmdir) \ -- (lirc_dev lirc_gpio) \ - (lirc_dev lirc_i2c) \ - (lirc_dev lirc_igorplugusb) \ - (lirc_dev lirc_imon) \ -@@ -9382,7 +9381,6 @@ - lirc_atiusb \ - lirc_bt829 \ - lirc_cmdir \ -- lirc_gpio \ - lirc_i2c \ - lirc_igorplugusb \ - lirc_imon \ ---- lirc-0.7.2/configure.in.drivers 2005-08-14 13:23:48.000000000 +0300 -+++ lirc-0.7.2/configure.in 2005-08-14 17:28:15.000000000 +0300 -@@ -169,7 +169,6 @@ - (lirc_dev lirc_atiusb) \ - (lirc_dev lirc_bt829) \ - (lirc_dev lirc_cmdir) \ -- (lirc_dev lirc_gpio) \ - (lirc_dev lirc_i2c) \ - (lirc_dev lirc_igorplugusb) \ - (lirc_dev lirc_imon) \ -@@ -1090,7 +1089,6 @@ - lirc_atiusb \ - lirc_bt829 \ - lirc_cmdir \ -- lirc_gpio \ - lirc_i2c \ - lirc_igorplugusb \ - lirc_imon \ diff --git a/lirc-nodev-crash.patch b/lirc-nodev-crash.patch deleted file mode 100644 index 9c1772e..0000000 --- a/lirc-nodev-crash.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- daemons/lircd.c~ 2005-07-10 11:34:12.000000000 +0300 -+++ daemons/lircd.c 2005-08-14 19:29:50.000000000 +0300 -@@ -1974,7 +1974,7 @@ - "no peers are specified\n",progname); - return(EXIT_FAILURE); - } -- if(strcmp(hw.device, lircdfile)==0) -+ if(hw.device != NULL && strcmp(hw.device, lircdfile)==0) - { - fprintf(stderr, "%s: refusing to connect to myself\n", - progname); diff --git a/lirc-nomodules.patch b/lirc-nomodules.patch deleted file mode 100644 index 1bdd98c..0000000 --- a/lirc-nomodules.patch +++ /dev/null @@ -1,96 +0,0 @@ ---- lirc-0.7.2/Makefile.am.orig 2003-05-07 19:31:48.000000000 +0300 -+++ lirc-0.7.2/Makefile.am 2005-08-14 18:39:49.000000000 +0300 -@@ -9,7 +9,7 @@ - EXTRA_DIST = setup.sh setup-driver.sh setup.data data2setup.sh ANNOUNCE TODO - - ## daemons/ and tools/ should appear before doc/ for help2man to work. --SUBDIRS = drivers daemons tools doc -+SUBDIRS = daemons tools doc - - ## From automake documentation: - ## Note that EXTRA_DIST can only handle files in the current ---- lirc-0.7.2/configure.orig 2005-08-14 18:39:36.000000000 +0300 -+++ lirc-0.7.2/configure 2005-08-14 18:40:14.000000000 +0300 -@@ -7995,6 +7995,7 @@ - echo "$ac_t""" 1>&6 - - possible_drivers="(none) \ -+ (any) \ - (bte) \ - (bw6130) \ - (creative) \ -@@ -8020,26 +8021,6 @@ - (uirt2_raw) \ - (udp)" - --if test x${no_kernel} != xyes; then -- possible_drivers="${possible_drivers} \ -- (any) \ -- (lirc_dev) \ -- (lirc_dev lirc_atiusb) \ -- (lirc_dev lirc_bt829) \ -- (lirc_dev lirc_cmdir) \ -- (lirc_dev lirc_i2c) \ -- (lirc_dev lirc_igorplugusb) \ -- (lirc_dev lirc_imon) \ -- (lirc_dev lirc_it87) \ -- (lirc_dev lirc_mceusb) \ -- (lirc_dev lirc_mceusb2) \ -- (lirc_dev lirc_parallel) \ -- (lirc_dev lirc_sasem) \ -- (lirc_dev lirc_serial) \ -- (lirc_dev lirc_sir) \ -- (lirc_dev lirc_streamzap)" --fi -- - if test -n "${LIBUSB_CONFIG}"; then - cat >> confdefs.h <<\EOF - #define HAVE_LIBUSB 1 ---- lirc-0.7.2/Makefile.in.orig 2005-08-14 13:27:43.000000000 +0300 -+++ lirc-0.7.2/Makefile.in 2005-08-14 18:39:49.000000000 +0300 -@@ -113,7 +113,7 @@ - - EXTRA_DIST = setup.sh setup-driver.sh setup.data data2setup.sh ANNOUNCE TODO - --SUBDIRS = drivers daemons tools doc -+SUBDIRS = daemons tools doc - - DISTCLEANFILES = configure.sh .setup.config - ---- lirc-0.7.2/configure.in.orig 2005-08-14 18:39:36.000000000 +0300 -+++ lirc-0.7.2/configure.in 2005-08-14 18:40:08.000000000 +0300 -@@ -137,6 +137,7 @@ - AC_MSG_RESULT() - - possible_drivers="(none) \ -+ (any) \ - (bte) \ - (bw6130) \ - (creative) \ -@@ -162,26 +163,6 @@ - (uirt2_raw) \ - (udp)" - --if test x${no_kernel} != xyes; then -- possible_drivers="${possible_drivers} \ -- (any) \ -- (lirc_dev) \ -- (lirc_dev lirc_atiusb) \ -- (lirc_dev lirc_bt829) \ -- (lirc_dev lirc_cmdir) \ -- (lirc_dev lirc_i2c) \ -- (lirc_dev lirc_igorplugusb) \ -- (lirc_dev lirc_imon) \ -- (lirc_dev lirc_it87) \ -- (lirc_dev lirc_mceusb) \ -- (lirc_dev lirc_mceusb2) \ -- (lirc_dev lirc_parallel) \ -- (lirc_dev lirc_sasem) \ -- (lirc_dev lirc_serial) \ -- (lirc_dev lirc_sir) \ -- (lirc_dev lirc_streamzap)" --fi -- - if test -n "${LIBUSB_CONFIG}"; then - AC_DEFINE(HAVE_LIBUSB) - possible_drivers="${possible_drivers} (atilibusb)" diff --git a/lirc.spec b/lirc.spec index bbcede4..537e989 100644 --- a/lirc.spec +++ b/lirc.spec @@ -4,6 +4,7 @@ # Other TODO: # - move to -devel (?): irw, *mode2, others? # note: xmode2 inflicts a dependency on X, and smode2 on svgalib +# - does someone actually need xmode2/smode2 for something? # - don't run as root and/or create dedicated group, reduce fifo permissions? # - Fixup /etc/lirc(m)d.conf %%ghost'ification, existence after erase etc. # - Verify that the kernel modules work and correct /dev entries get created @@ -14,26 +15,26 @@ %define mdir /lib/modules/%{kver}/extra Name: lirc -Version: 0.7.2 -Release: 3%{?dist} +Version: 0.8.0 +Release: 0.2.pre1%{?dist} Summary: The Linux Infrared Remote Control package Group: System Environment/Daemons License: GPL URL: http://www.lirc.org/ -Source0: http://download.sourceforge.net/lirc/%{name}-%{version}.tar.bz2 +#Source0: http://download.sourceforge.net/lirc/%{name}-%{version}.tar.bz2 +Source0: http://lirc.sf.net/software/snapshots/lirc-0.8.0pre1.tar.bz2 Source1: %{name}.init Source2: %{name}.sysconfig Patch0: %{name}-optflags.patch -Patch1: %{name}-gpio.patch -Patch2: %{name}-nomodules.patch -Patch3: %{name}-nodev-crash.patch +Patch1: %{name}-cvs20051129.patch +Patch2: %{name}-0.8.0pre1-2615usb.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %if 0%{!?_with_modules:1} BuildRequires: %{__perl} BuildRequires: alsa-lib-devel -BuildRequires: xorg-x11-devel +BuildRequires: libXt-devel BuildRequires: libusb-devel BuildRequires: portaudio-devel >= 18 Build%{?_with_svgalib:Requires}%{!?_with_svgalib:Conflicts}: svgalib-devel @@ -77,13 +78,18 @@ LIRC kernel modules built for kernel %prep -%setup -q +%setup -q -n %{name}-%{version}pre1 %patch0 -p1 %patch1 -p1 -# patch2 needs to be applied on top of patch1 -%{!?_with_modules:%patch2 -p1} -%patch3 -p0 +%patch2 +echo %{kver} | grep -q _FC5 && \ + sed -i -e s/2,6,15/2,6,14/ drivers/lirc_{dev,imon,sasem}/lirc_*.c # *cough* chmod 644 contrib/* +# cmdir: unknown symbols +# gpio: missing drivers/media/video/{bttv,bttvp}.h in kernel-devel +for drv in cmdir gpio ; do + sed -i -e "/^\\s*(lirc_dev lirc_$drv)/d" -e "/^\\s*lirc_$drv/d" configure* +done touch -r aclocal.m4 configure.in # avoid autofoo re-run @@ -94,10 +100,15 @@ touch -r aclocal.m4 configure.in # avoid autofoo re-run --enable-debug \ --enable-sandboxed \ --with-syslog=LOG_DAEMON \ +%if 0%{?_with_modules:1} --with-kerneldir=%{ksrc} \ --with-moduledir=%{mdir}/%{name} \ - --with-driver=any -make %{?_smp_mflags} %{?_with_modules:-C drivers} + --with-driver=all +make %{?_smp_mflags} -C drivers +%else + --with-driver=userspace +make %{?_smp_mflags} +%endif %install @@ -164,7 +175,7 @@ depmod -ae -F /boot/System.map-%{kver} %{kver} >/dev/null || : %ghost %config(noreplace) %{_sysconfdir}/lirc*d.conf %config(noreplace) %{_sysconfdir}/sysconfig/lirc %{_initrddir}/lirc -%{_bindir}/ir* +%{_bindir}/*ir* %{_bindir}/*mode2 %{_sbindir}/lirc*d %{_libdir}/liblirc_client.so.* @@ -187,6 +198,20 @@ depmod -ae -F /boot/System.map-%{kver} %{kver} >/dev/null || : %changelog +* Tue Nov 29 2005 Ville Skyttä - 0.8.0-0.2.pre1 +- Pull security fix for the new lirc_clientd from upstream CVS, and + while at it, some other useful post-0.8.0pre1 changes. +- Kernel >= 2.6.15 patchwork based on initial patch from Andy Burns (#172404). +- Disable lirc_cmdir kernel module (unknown symbols). +- Adapt to modular X.Org packaging. + +* Wed Nov 9 2005 Ville Skyttä - 0.8.0-0.1.pre1 +- 0.8.0pre1, usage message patch applied upstream. + +* Sun Oct 30 2005 Ville Skyttä - 0.7.3-0.1.pre1 +- 0.7.3pre1, "no device" crash fix applied upstream. +- Fix lircd and lircmd usage messages. + * Wed Aug 31 2005 Ville Skyttä - 0.7.2-3 - Make the init script startup earlier and shutdown later by default. diff --git a/sources b/sources index b4e5433..e3dd4de 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -4510cf711f5c146f80c5bdfd61ca3f4a lirc-0.7.2.tar.bz2 +d115ec757ee1f3b25071f24c8256ee31 lirc-0.8.0pre1.tar.bz2 From 274244a523c35fc9fb64eddf854152f2bc862d21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Wed, 14 Dec 2005 21:07:23 +0000 Subject: [PATCH 011/204] - 0.8.0pre2, kernel >= 2.6.15 USB patch applied upstream. - lirc_clientd renamed to lircrcd. --- .cvsignore | 2 +- lirc-0.8.0pre1-2615usb.patch | 72 ------- lirc-cvs20051129.patch | 405 ----------------------------------- lirc.spec | 28 ++- sources | 2 +- 5 files changed, 20 insertions(+), 489 deletions(-) delete mode 100644 lirc-0.8.0pre1-2615usb.patch delete mode 100644 lirc-cvs20051129.patch diff --git a/.cvsignore b/.cvsignore index ba7091e..c1cf0f8 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -lirc-0.8.0pre1.tar.bz2 +lirc-0.8.0pre2.tar.bz2 diff --git a/lirc-0.8.0pre1-2615usb.patch b/lirc-0.8.0pre1-2615usb.patch deleted file mode 100644 index b872650..0000000 --- a/lirc-0.8.0pre1-2615usb.patch +++ /dev/null @@ -1,72 +0,0 @@ -Index: drivers/lirc_dev/lirc_dev.c -=================================================================== -RCS file: /cvsroot/lirc/lirc/drivers/lirc_dev/lirc_dev.c,v -retrieving revision 1.44 -diff -u -r1.44 lirc_dev.c ---- drivers/lirc_dev/lirc_dev.c 8 Aug 2005 06:04:48 -0000 1.44 -+++ drivers/lirc_dev/lirc_dev.c 29 Nov 2005 01:15:17 -0000 -@@ -382,7 +382,11 @@ - S_IFCHR|S_IRUSR|S_IWUSR, - DEV_LIRC "/%u", ir->p.minor); - #endif -- (void) class_device_create(lirc_class, MKDEV(IRCTL_DEV_MAJOR, ir->p.minor), -+ (void) class_device_create(lirc_class, -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,15) -+ NULL, -+#endif -+ MKDEV(IRCTL_DEV_MAJOR, ir->p.minor), - NULL, "lirc%u", ir->p.minor); - - if(p->sample_rate || p->get_queue) { -Index: drivers/lirc_imon/lirc_imon.c -=================================================================== -RCS file: /cvsroot/lirc/lirc/drivers/lirc_imon/lirc_imon.c,v -retrieving revision 1.8 -diff -u -r1.8 lirc_imon.c ---- drivers/lirc_imon/lirc_imon.c 29 Oct 2005 14:18:53 -0000 1.8 -+++ drivers/lirc_imon/lirc_imon.c 29 Nov 2005 01:15:18 -0000 -@@ -72,7 +72,7 @@ - - #define VFD_MINOR_BASE 144 /* Same as LCD */ - #define DEVFS_MODE S_IFCHR | S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH --#define DEVFS_NAME "usb/lcd%d" -+#define DEVFS_NAME "lcd%d" - - #define BUF_CHUNK_SIZE 4 - #define BUF_SIZE 128 -@@ -216,7 +216,9 @@ - static struct usb_class_driver imon_class = { - .name = DEVFS_NAME, - .fops = &vfd_fops, -+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,15) - .mode = DEVFS_MODE, -+#endif - .minor_base = VFD_MINOR_BASE, - }; - #endif -Index: drivers/lirc_sasem/lirc_sasem.c -=================================================================== -RCS file: /cvsroot/lirc/lirc/drivers/lirc_sasem/lirc_sasem.c,v -retrieving revision 1.11 -diff -u -r1.11 lirc_sasem.c ---- drivers/lirc_sasem/lirc_sasem.c 29 Oct 2005 14:18:53 -0000 1.11 -+++ drivers/lirc_sasem/lirc_sasem.c 29 Nov 2005 01:15:19 -0000 -@@ -81,7 +81,7 @@ - - #define VFD_MINOR_BASE 144 /* Same as LCD */ - #define DEVFS_MODE S_IFCHR | S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH --#define DEVFS_NAME "usb/lcd%d" -+#define DEVFS_NAME "lcd%d" - - #define BUF_CHUNK_SIZE 8 - #define BUF_SIZE 128 -@@ -204,7 +204,9 @@ - static struct usb_class_driver sasem_class = { - .name = DEVFS_NAME, - .fops = &vfd_fops, -+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,15) - .mode = DEVFS_MODE, -+#endif - .minor_base = VFD_MINOR_BASE, - }; - #endif diff --git a/lirc-cvs20051129.patch b/lirc-cvs20051129.patch deleted file mode 100644 index 3693864..0000000 --- a/lirc-cvs20051129.patch +++ /dev/null @@ -1,405 +0,0 @@ ---- lirc-0.8.0pre1/configure.in.orig 2005-11-05 18:52:50.000000000 +0200 -+++ lirc-0.8.0pre1/configure.in 2005-11-29 00:23:03.000000000 +0200 -@@ -137,6 +137,7 @@ - AC_MSG_RESULT() - - possible_drivers="(none) \ -+ (userspace) - (bte) \ - (bw6130) \ - (creative) \ -@@ -164,7 +165,7 @@ - - if test x${no_kernel} != xyes; then - possible_drivers="${possible_drivers} \ -- (any) \ -+ (all) \ - (lirc_dev) \ - (lirc_dev lirc_atiusb) \ - (lirc_dev lirc_bt829) \ -@@ -301,9 +302,9 @@ - HW_DEFAULT="hw_null" - fi - --if test "$driver" = "any"; then -+if test "$driver" = "userspace" -o "$driver" = "all"; then - AC_DEFINE(LIRC_DRIVER_ANY) -- lirc_driver="any" -+ lirc_driver=$driver - - any_possible_drivers=`echo ${possible_drivers} | sed -e's/ /-/g' \ - -e's/)-(/ /g' -e's/(//g' -e's/)//g' \ -@@ -1039,7 +1040,7 @@ - AC_MSG_ERROR([*** you need to first install the caraca package - before you can use this driver]) - ;; -- any|lirc_*) -+ all|lirc_*) - AC_MSG_ERROR([*** you need to have the Linux kernel source installed - for this driver]) - ;; -@@ -1078,6 +1079,7 @@ - - if test "$lirc_driver" = "none" || \ - test "$lirc_driver" = "alsa_usb" || \ -+ test "$lirc_driver" = "userspace" || \ - test "$lirc_driver" = "atilibusb" || \ - test "$lirc_driver" = "audio" || \ - test "$lirc_driver" = "audio_alsa" || \ -@@ -1085,7 +1087,7 @@ - test "$lirc_driver" = "irman" || \ - test "$lirc_driver" = "irman_sw"; then - lirc_driver= --elif test "$lirc_driver" = "any"; then -+elif test "$lirc_driver" = "all"; then - lirc_driver="lirc_dev \ - lirc_atiusb \ - lirc_bt829 \ -@@ -1316,7 +1318,7 @@ - ]) - - echo --if test "$driver" = "any"; then -+if test "$driver" = "all"; then - echo "All kernel modules will be built." - elif test "$driver" = "mediafocusI"; then - echo "You will have to use the MediaFocus driver from:" ---- lirc-0.8.0pre1/drivers/lirc_bt829/lirc_bt829.c.orig 2005-02-19 17:12:58.000000000 +0200 -+++ lirc-0.8.0pre1/drivers/lirc_bt829/lirc_bt829.c 2005-11-29 00:21:39.000000000 +0200 -@@ -65,7 +65,8 @@ - }while(0) - - static int atir_minor; --static unsigned long pci_addr_phys, pci_addr_lin; -+static unsigned long pci_addr_phys; -+static unsigned char *pci_addr_lin; - - static struct lirc_plugin atir_plugin; - -@@ -81,7 +82,7 @@ - my_dev = (struct pci_dev *)pci_find_device(PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_264VT,NULL); - if ( my_dev ) { - printk(KERN_ERR "ATIR: Using device: %s\n", -- pci_pretty_name(my_dev)); -+ pci_name(my_dev)); - pci_addr_phys = 0; - if ( my_dev->resource[0].flags & IORESOURCE_MEM ) { - pci_addr_phys = my_dev->resource[0].start; -@@ -161,7 +162,7 @@ - - static int atir_init_start(void) - { -- pci_addr_lin = (unsigned long)ioremap(pci_addr_phys + DATA_PCI_OFF,0x400); -+ pci_addr_lin = ioremap(pci_addr_phys + DATA_PCI_OFF,0x400); - if ( pci_addr_lin == 0 ) { - printk(KERN_INFO "atir: pci mem must be mapped\n"); - return 0; -@@ -363,7 +364,8 @@ - - static unsigned int read_index(unsigned char index) - { -- unsigned int addr, value; -+ unsigned char *addr; -+ unsigned int value; - // addr = pci_addr_lin + DATA_PCI_OFF + ((index & 0xFF) << 2); - addr = pci_addr_lin + ((index & 0xFF) << 2); - value = readl(addr); -@@ -372,7 +374,7 @@ - - static void write_index(unsigned char index,unsigned int reg_val) - { -- unsigned int addr; -+ unsigned char *addr; - addr = pci_addr_lin + ((index & 0xFF) << 2); - writel(reg_val,addr); - } ---- lirc-0.8.0pre1/drivers/kcompat.h.orig 2005-10-29 17:18:53.000000000 +0300 -+++ lirc-0.8.0pre1/drivers/kcompat.h 2005-11-29 00:21:39.000000000 +0200 -@@ -187,9 +187,12 @@ - #define local_irq_restore(flags) do{ restore_flags(flags); } while(0) - #endif - --#if !defined(pci_pretty_name) --#define pci_pretty_name(dev) ((dev)->name) --#endif -+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,22) -+static inline char *pci_name(struct pci_dev *pdev) -+{ -+ return pdev->slot_name; -+} -+#endif//Kernel<2.4.22 - - /*************************** I2C specific *****************************/ - #include ---- lirc-0.8.0pre1/tools/lirc_client.h.orig 2005-11-01 21:12:16.000000000 +0200 -+++ lirc-0.8.0pre1/tools/lirc_client.h 2005-11-29 00:21:39.000000000 +0200 -@@ -14,6 +14,8 @@ - #ifndef LIRC_CLIENT_H - #define LIRC_CLIENT_H - -+#include -+ - #ifdef __cplusplus - extern "C" { - #endif -@@ -91,6 +93,7 @@ - int lirc_code2charprog(struct lirc_config *config,char *code,char **string, - char **prog); - size_t lirc_getsocketname(const char *filename, char *buf, size_t size); -+const char *lirc_getmode(struct lirc_config *config); - - /* new interface for transmit */ - int lirc_send_command(int sockfd, const char *command, char *buf, size_t *buf_len, int *ret_status); ---- lirc-0.8.0pre1/tools/lirc_client.c.orig 2005-11-01 21:12:16.000000000 +0200 -+++ lirc-0.8.0pre1/tools/lirc_client.c 2005-11-29 00:21:39.000000000 +0200 -@@ -1723,7 +1723,7 @@ - char *new_buffer; - - packet_size+=PACKET_SIZE; -- new_buffer=(char *) realloc(lirc_buffer,packet_size); -+ new_buffer=(char *) realloc(lirc_buffer,packet_size+1); - if(new_buffer==NULL) - { - return(-1); -@@ -1767,6 +1767,33 @@ - return strlen(filename)+2; - } - -+const char *lirc_getmode(struct lirc_config *config) -+{ -+ if(config->sockfd!=-1) -+ { -+ static char buf[LIRC_PACKET_SIZE]; -+ size_t buf_len = LIRC_PACKET_SIZE; -+ int success; -+ int ret; -+ -+ ret = lirc_send_command(config->sockfd, "GETMODE\n", -+ buf, &buf_len, &success); -+ if(success == LIRC_RET_SUCCESS) -+ { -+ if(ret > 0) -+ { -+ return buf; -+ } -+ else -+ { -+ return NULL; -+ } -+ } -+ return NULL; -+ } -+ return config->current_mode; -+} -+ - static const char *lirc_read_string(int fd) - { - static char buffer[LIRC_PACKET_SIZE+1]=""; ---- lirc-0.8.0pre1/tools/lirc_clientd.c.orig 2005-11-01 21:12:16.000000000 +0200 -+++ lirc-0.8.0pre1/tools/lirc_clientd.c 2005-11-29 00:21:39.000000000 +0200 -@@ -67,6 +67,7 @@ - - static int code_func(int fd,char *message,char *arguments); - static int ident_func(int fd,char *message,char *arguments); -+static int getmode_func(int fd,char *message,char *arguments); - static int send_result(int fd, char *message, const char *result); - static int send_success(int fd,char *message); - -@@ -74,6 +75,7 @@ - { - {"CODE",code_func}, - {"IDENT",ident_func}, -+ {"GETMODE",getmode_func}, - {NULL,NULL} - /* - {"DEBUG",debug}, -@@ -114,7 +116,10 @@ - do {} while(0) - #endif - --const char *progname="lirc_clientd " VERSION; -+#define logprintf syslog -+#define logperror(prio,s) if((s)!=NULL) syslog(prio,"%s: %m\n",(char *) s); else syslog(prio,"%m\n") -+ -+const char *progname="lirc_clientd"; - - static sig_atomic_t term=0; - static int termsig; -@@ -122,53 +127,12 @@ - static struct client_data clis[MAX_CLIENTS]; - - static int daemonized=0; --static FILE *lf=NULL; --static const char *hostname=""; - - static struct lirc_config *config; - - static int send_error(int fd,char *message,char *format_str, ...); - static int handle_input(); - --void logprintf(int prio,char *format_str, ...) --{ -- time_t current; -- char *currents; -- va_list ap; -- -- current=time(¤t); -- currents=ctime(¤t); -- -- if(lf) fprintf(lf,"%15.15s %s %s: ",currents+4,hostname,progname); -- if(!daemonized) fprintf(stderr,"%s: ",progname); -- va_start(ap,format_str); -- if(lf) -- { -- if(prio==LOG_WARNING) fprintf(lf,"WARNING: "); -- vfprintf(lf,format_str,ap); -- fputc('\n',lf);fflush(lf); -- } -- if(!daemonized) -- { -- if(prio==LOG_WARNING) fprintf(stderr,"WARNING: "); -- vfprintf(stderr,format_str,ap); -- fputc('\n',stderr);fflush(stderr); -- } -- va_end(ap); --} -- --void logperror(int prio,const char *s) --{ -- if(s!=NULL) -- { -- logprintf(prio,"%s: %s",s,strerror(errno)); -- } -- else -- { -- logprintf(prio,"%s",strerror(errno)); -- } --} -- - static inline int max(int a,int b) - { - return(a>b ? a:b); -@@ -554,6 +518,16 @@ - return(send_success(fd,message)); - } - -+static int getmode_func(int fd,char *message,char *arguments) -+{ -+ LOGPRINTF(2, "GETMODE %s", arguments); -+ if(lirc_getmode(config)) -+ { -+ return send_result(fd, message, lirc_getmode(config)); -+ } -+ return(send_success(fd,message)); -+} -+ - static int send_result(int fd, char *message, const char *result) - { - char *count = "1\n"; -@@ -938,7 +912,7 @@ - printf("\t -o --output=socket\t\toutput socket filename\n"); - return(EXIT_SUCCESS); - case 'v': -- printf("%s\n",progname); -+ printf("%s %s\n",progname,VERSION); - return(EXIT_SUCCESS); - case 'p': - if(oatoi(optarg)==-1) -@@ -988,7 +962,6 @@ - return EXIT_FAILURE; - } - -- LOGPRINTF(3, "fork"); - /* fork */ - if(daemon(0,0)==-1) - { -@@ -1001,8 +974,7 @@ - } - daemonized=1; - -- lf = fopen("/tmp/lirc_clientd.log", "a"); -- -+ openlog(progname, LOG_CONS|LOG_PID, LOG_USER); - umask(0); - signal(SIGPIPE,SIG_IGN); - -@@ -1013,8 +985,10 @@ - sigaction(SIGINT,&act,NULL); - sigaction(SIGHUP,&act,NULL); - -+ logprintf(LOG_NOTICE, "%s started", progname); - loop(socket, lircdfd); - -+ closelog(); - shutdown(socket, 2); - close(socket); - lirc_freeconfig(config); ---- lirc-0.8.0pre1/configure.orig 2005-11-05 18:55:58.000000000 +0200 -+++ lirc-0.8.0pre1/configure 2005-11-29 00:24:39.000000000 +0200 -@@ -7995,6 +7995,7 @@ - echo "$ac_t""" 1>&6 - - possible_drivers="(none) \ -+ (userspace) \ - (bte) \ - (bw6130) \ - (creative) \ -@@ -8022,7 +8023,7 @@ - - if test x${no_kernel} != xyes; then - possible_drivers="${possible_drivers} \ -- (any) \ -+ (all) \ - (lirc_dev) \ - (lirc_dev lirc_atiusb) \ - (lirc_dev lirc_bt829) \ -@@ -8568,12 +8569,12 @@ - HW_DEFAULT="hw_null" - fi - --if test "$driver" = "any"; then -+if test "$driver" = "userspace" -o "$driver" = "all"; then - cat >> confdefs.h <<\EOF - #define LIRC_DRIVER_ANY 1 - EOF - -- lirc_driver="any" -+ lirc_driver=$driver - - any_possible_drivers=`echo ${possible_drivers} | sed -e's/ /-/g' \ - -e's/)-(/ /g' -e's/(//g' -e's/)//g' \ -@@ -9332,7 +9333,7 @@ - { echo "configure: error: *** you need to first install the caraca package - before you can use this driver" 1>&2; exit 1; } - ;; -- any|lirc_*) -+ all|lirc_*) - { echo "configure: error: *** you need to have the Linux kernel source installed - for this driver" 1>&2; exit 1; } - ;; -@@ -9370,6 +9371,7 @@ - - if test "$lirc_driver" = "none" || \ - test "$lirc_driver" = "alsa_usb" || \ -+ test "$lirc_driver" = "userspace" || \ - test "$lirc_driver" = "atilibusb" || \ - test "$lirc_driver" = "audio" || \ - test "$lirc_driver" = "audio_alsa" || \ -@@ -9377,7 +9379,7 @@ - test "$lirc_driver" = "irman" || \ - test "$lirc_driver" = "irman_sw"; then - lirc_driver= --elif test "$lirc_driver" = "any"; then -+elif test "$lirc_driver" = "all"; then - lirc_driver="lirc_dev \ - lirc_atiusb \ - lirc_bt829 \ -@@ -10245,7 +10247,7 @@ - - - echo --if test "$driver" = "any"; then -+if test "$driver" = "all"; then - echo "All kernel modules will be built." - elif test "$driver" = "mediafocusI"; then - echo "You will have to use the MediaFocus driver from:" diff --git a/lirc.spec b/lirc.spec index 537e989..06a90cc 100644 --- a/lirc.spec +++ b/lirc.spec @@ -16,19 +16,17 @@ Name: lirc Version: 0.8.0 -Release: 0.2.pre1%{?dist} +Release: 0.2.pre2%{?dist} Summary: The Linux Infrared Remote Control package Group: System Environment/Daemons License: GPL URL: http://www.lirc.org/ #Source0: http://download.sourceforge.net/lirc/%{name}-%{version}.tar.bz2 -Source0: http://lirc.sf.net/software/snapshots/lirc-0.8.0pre1.tar.bz2 +Source0: http://lirc.sf.net/software/snapshots/lirc-0.8.0pre2.tar.bz2 Source1: %{name}.init Source2: %{name}.sysconfig Patch0: %{name}-optflags.patch -Patch1: %{name}-cvs20051129.patch -Patch2: %{name}-0.8.0pre1-2615usb.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %if 0%{!?_with_modules:1} @@ -78,18 +76,24 @@ LIRC kernel modules built for kernel %prep -%setup -q -n %{name}-%{version}pre1 +%setup -q -n %{name}-%{version}pre2 %patch0 -p1 -%patch1 -p1 -%patch2 + +# *cough* echo %{kver} | grep -q _FC5 && \ - sed -i -e s/2,6,15/2,6,14/ drivers/lirc_{dev,imon,sasem}/lirc_*.c # *cough* + sed -i -e 's/KERNEL_VERSION(2,\s*6,\s*15)/KERNEL_VERSION(2,6,14)/' \ + drivers/kcompat.h drivers/lirc_{imon,sasem}/lirc_*.c + chmod 644 contrib/* -# cmdir: unknown symbols + +sed -i -e 's/\r//' remotes/{imon,hercules}/lircd.conf* + +# cmdir: unknown symbols (cmdir_{read,write}, set_tx_channels) # gpio: missing drivers/media/video/{bttv,bttvp}.h in kernel-devel for drv in cmdir gpio ; do sed -i -e "/^\\s*(lirc_dev lirc_$drv)/d" -e "/^\\s*lirc_$drv/d" configure* done + touch -r aclocal.m4 configure.in # avoid autofoo re-run @@ -179,7 +183,7 @@ depmod -ae -F /boot/System.map-%{kver} %{kver} >/dev/null || : %{_bindir}/*mode2 %{_sbindir}/lirc*d %{_libdir}/liblirc_client.so.* -%{_mandir}/man1/ir*.1* +%{_mandir}/man1/*ir*.1* %{_mandir}/man1/*mode2*.1* %{_mandir}/man8/lirc*d.8* %ghost /dev/lirc* @@ -198,6 +202,10 @@ depmod -ae -F /boot/System.map-%{kver} %{kver} >/dev/null || : %changelog +* Wed Dec 14 2005 Ville Skyttä - 0.8.0-0.2.pre2 +- 0.8.0pre2, kernel >= 2.6.15 USB patch applied upstream. +- lirc_clientd renamed to lircrcd. + * Tue Nov 29 2005 Ville Skyttä - 0.8.0-0.2.pre1 - Pull security fix for the new lirc_clientd from upstream CVS, and while at it, some other useful post-0.8.0pre1 changes. diff --git a/sources b/sources index e3dd4de..0c0f7ea 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -d115ec757ee1f3b25071f24c8256ee31 lirc-0.8.0pre1.tar.bz2 +80aaee5c1b5815f115b1e14d49f36cd5 lirc-0.8.0pre2.tar.bz2 From 58b3320709fd5c8fe551e077f1fdf342424695f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Tue, 27 Dec 2005 20:13:13 +0000 Subject: [PATCH 012/204] - Split kernel modules into separate package. - Disable debugging features. --- lirc.spec | 85 +++++++++---------------------------------------------- 1 file changed, 13 insertions(+), 72 deletions(-) diff --git a/lirc.spec b/lirc.spec index 06a90cc..e55f90c 100644 --- a/lirc.spec +++ b/lirc.spec @@ -1,18 +1,12 @@ -# Driver TODO, sometime maybe: -# - caraca (req: caraca, http://caraca.sf.net/) -# - irman: (req: libirman, http://lirc.sf.net/software/snapshots/) -# Other TODO: +# TODO: +# - caraca driver (req: caraca, http://caraca.sf.net/) +# - irman driver (req: libirman, http://lirc.sf.net/software/snapshots/) # - move to -devel (?): irw, *mode2, others? # note: xmode2 inflicts a dependency on X, and smode2 on svgalib # - does someone actually need xmode2/smode2 for something? +# - bcond_without for alsa, portaudio, x? # - don't run as root and/or create dedicated group, reduce fifo permissions? # - Fixup /etc/lirc(m)d.conf %%ghost'ification, existence after erase etc. -# - Verify that the kernel modules work and correct /dev entries get created -# automagically with proper permissions etc. - -%{!?kver: %{expand: %%define kver %(uname -r)}} -%define ksrc %{_usrsrc}/kernels/%{kver}-%{_target_cpu} -%define mdir /lib/modules/%{kver}/extra Name: lirc Version: 0.8.0 @@ -29,14 +23,12 @@ Source2: %{name}.sysconfig Patch0: %{name}-optflags.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -%if 0%{!?_with_modules:1} BuildRequires: %{__perl} BuildRequires: alsa-lib-devel BuildRequires: libXt-devel BuildRequires: libusb-devel BuildRequires: portaudio-devel >= 18 Build%{?_with_svgalib:Requires}%{!?_with_svgalib:Conflicts}: svgalib-devel -%endif Requires(post): /sbin/chkconfig Requires(post): /sbin/ldconfig Requires(preun): /sbin/chkconfig @@ -57,43 +49,12 @@ Requires: %{name} = %{version}-%{release} %description devel %{summary}. -%package -n kernel-module-%{name}-%{kver} -Summary: Kernel modules for LIRC -Group: System Environment/Kernel -Provides: kernel-module -Provides: kernel-module-%{name} = %{version} -%if 0%{?_with_modules:1} -BuildRequires: kernel-devel-%{_target_cpu} = %{kver} -%endif -Requires: %{name} = %{version} -Requires: module-init-tools -Requires: kernel-%{_target_cpu} = %{kver} -Requires: udev - -%description -n kernel-module-%{name}-%{kver} -LIRC kernel modules built for kernel -%{kver} (%{_target_cpu}). - %prep %setup -q -n %{name}-%{version}pre2 %patch0 -p1 - -# *cough* -echo %{kver} | grep -q _FC5 && \ - sed -i -e 's/KERNEL_VERSION(2,\s*6,\s*15)/KERNEL_VERSION(2,6,14)/' \ - drivers/kcompat.h drivers/lirc_{imon,sasem}/lirc_*.c - chmod 644 contrib/* - sed -i -e 's/\r//' remotes/{imon,hercules}/lircd.conf* - -# cmdir: unknown symbols (cmdir_{read,write}, set_tx_channels) -# gpio: missing drivers/media/video/{bttv,bttvp}.h in kernel-devel -for drv in cmdir gpio ; do - sed -i -e "/^\\s*(lirc_dev lirc_$drv)/d" -e "/^\\s*lirc_$drv/d" configure* -done - touch -r aclocal.m4 configure.in # avoid autofoo re-run @@ -101,31 +62,18 @@ touch -r aclocal.m4 configure.in # avoid autofoo re-run %configure \ --disable-static \ --disable-dependency-tracking \ - --enable-debug \ --enable-sandboxed \ --with-syslog=LOG_DAEMON \ -%if 0%{?_with_modules:1} - --with-kerneldir=%{ksrc} \ - --with-moduledir=%{mdir}/%{name} \ - --with-driver=all -make %{?_smp_mflags} -C drivers -%else --with-driver=userspace make %{?_smp_mflags} -%endif %install rm -rf $RPM_BUILD_ROOT __docs -%if 0%{?_with_modules:1} -make install DESTDIR=$RPM_BUILD_ROOT -C drivers -# executable here to allow stripping, fixed later in %%files -chmod +x $RPM_BUILD_ROOT%{mdir}/%{name}/*.ko - -%else make install DESTDIR=$RPM_BUILD_ROOT %{!?_with_svgalib:rm $RPM_BUILD_ROOT%{_mandir}/man1/smode2.1*} + install -Dpm 755 %{SOURCE1} $RPM_BUILD_ROOT%{_initrddir}/lirc %{__perl} -pi -e \ 's|/etc/|%{_sysconfdir}/|g ; @@ -133,16 +81,19 @@ install -Dpm 755 %{SOURCE1} $RPM_BUILD_ROOT%{_initrddir}/lirc s|/usr/sbin/|%{_sbindir}/|g' \ $RPM_BUILD_ROOT%{_initrddir}/lirc install -Dpm 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/lirc + mkdir __docs cp -pR doc contrib __docs cd __docs rm -rf doc/Makefile* doc/.libs doc/man* contrib/lirc.* contrib/sendxevent.c cd .. + touch $RPM_BUILD_ROOT%{_sysconfdir}/lirc{d,md}.conf + install -dm 755 $RPM_BUILD_ROOT/dev touch $RPM_BUILD_ROOT/dev/lirc{d,m} + rm $RPM_BUILD_ROOT%{_libdir}/liblirc_client.la -%endif %clean @@ -153,9 +104,6 @@ rm -rf $RPM_BUILD_ROOT /sbin/ldconfig /sbin/chkconfig --add lirc -%post -n kernel-module-%{name}-%{kver} -depmod -ae -F /boot/System.map-%{kver} %{kver} >/dev/null || : - %preun if [ $1 -eq 0 ] ; then %{_initrddir}/lirc stop >/dev/null || : @@ -168,11 +116,7 @@ if [ $1 -gt 0 ] ; then %{_initrddir}/lirc try-restart >/dev/null || : fi -%postun -n kernel-module-%{name}-%{kver} -depmod -ae -F /boot/System.map-%{kver} %{kver} >/dev/null || : - -%if 0%{!?_with_modules:1} %files %defattr(-,root,root,-) %doc ANNOUNCE AUTHORS ChangeLog COPYING NEWS README TODO remotes __docs/* @@ -192,16 +136,13 @@ depmod -ae -F /boot/System.map-%{kver} %{kver} >/dev/null || : %defattr(-,root,root,-) %{_includedir}/lirc/ %{_libdir}/liblirc_client.so -%endif - -%if 0%{?_with_modules:1} -%files -n kernel-module-%{name}-%{kver} -%defattr(644,root,root,755) -%{mdir}/ -%endif %changelog +* Tue Dec 27 2005 Ville Skyttä +- Split kernel modules into separate package. +- Disable debugging features. + * Wed Dec 14 2005 Ville Skyttä - 0.8.0-0.2.pre2 - 0.8.0pre2, kernel >= 2.6.15 USB patch applied upstream. - lirc_clientd renamed to lircrcd. From 1344e6642d652eaad12457355761bf83d8572d40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Sun, 1 Jan 2006 18:42:40 +0000 Subject: [PATCH 013/204] - 0.8.0pre3. --- .cvsignore | 2 +- lirc.spec | 9 ++++++--- sources | 2 +- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.cvsignore b/.cvsignore index c1cf0f8..22dfb69 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -lirc-0.8.0pre2.tar.bz2 +lirc-0.8.0pre3.tar.bz2 diff --git a/lirc.spec b/lirc.spec index e55f90c..f02e27c 100644 --- a/lirc.spec +++ b/lirc.spec @@ -10,14 +10,14 @@ Name: lirc Version: 0.8.0 -Release: 0.2.pre2%{?dist} +Release: 0.2.pre3%{?dist} Summary: The Linux Infrared Remote Control package Group: System Environment/Daemons License: GPL URL: http://www.lirc.org/ #Source0: http://download.sourceforge.net/lirc/%{name}-%{version}.tar.bz2 -Source0: http://lirc.sf.net/software/snapshots/lirc-0.8.0pre2.tar.bz2 +Source0: http://lirc.sf.net/software/snapshots/lirc-0.8.0pre3.tar.bz2 Source1: %{name}.init Source2: %{name}.sysconfig Patch0: %{name}-optflags.patch @@ -51,7 +51,7 @@ Requires: %{name} = %{version}-%{release} %prep -%setup -q -n %{name}-%{version}pre2 +%setup -q -n %{name}-%{version}pre3 %patch0 -p1 chmod 644 contrib/* sed -i -e 's/\r//' remotes/{imon,hercules}/lircd.conf* @@ -139,6 +139,9 @@ fi %changelog +* Sun Jan 1 2006 Ville Skyttä - 0.8.0-0.2.pre3 +- 0.8.0pre3. + * Tue Dec 27 2005 Ville Skyttä - Split kernel modules into separate package. - Disable debugging features. diff --git a/sources b/sources index 0c0f7ea..4060008 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -80aaee5c1b5815f115b1e14d49f36cd5 lirc-0.8.0pre2.tar.bz2 +c20cf756b0b5cad96437bc25e81b166a lirc-0.8.0pre3.tar.bz2 From e9e569ca99b883208885faa1c01097ba90e0e550 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Sat, 14 Jan 2006 19:34:32 +0000 Subject: [PATCH 014/204] - 0.8.0pre4. --- .cvsignore | 2 +- lirc.spec | 9 ++++++--- sources | 2 +- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.cvsignore b/.cvsignore index 22dfb69..a0e3e71 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -lirc-0.8.0pre3.tar.bz2 +lirc-0.8.0pre4.tar.bz2 diff --git a/lirc.spec b/lirc.spec index f02e27c..ffb382e 100644 --- a/lirc.spec +++ b/lirc.spec @@ -10,14 +10,14 @@ Name: lirc Version: 0.8.0 -Release: 0.2.pre3%{?dist} +Release: 0.2.pre4%{?dist} Summary: The Linux Infrared Remote Control package Group: System Environment/Daemons License: GPL URL: http://www.lirc.org/ #Source0: http://download.sourceforge.net/lirc/%{name}-%{version}.tar.bz2 -Source0: http://lirc.sf.net/software/snapshots/lirc-0.8.0pre3.tar.bz2 +Source0: http://lirc.sf.net/software/snapshots/lirc-0.8.0pre4.tar.bz2 Source1: %{name}.init Source2: %{name}.sysconfig Patch0: %{name}-optflags.patch @@ -51,7 +51,7 @@ Requires: %{name} = %{version}-%{release} %prep -%setup -q -n %{name}-%{version}pre3 +%setup -q -n %{name}-%{version}pre4 %patch0 -p1 chmod 644 contrib/* sed -i -e 's/\r//' remotes/{imon,hercules}/lircd.conf* @@ -139,6 +139,9 @@ fi %changelog +* Sat Jan 14 2006 Ville Skyttä - 0.8.0-0.2.pre4 +- 0.8.0pre4. + * Sun Jan 1 2006 Ville Skyttä - 0.8.0-0.2.pre3 - 0.8.0pre3. diff --git a/sources b/sources index 4060008..477c438 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -c20cf756b0b5cad96437bc25e81b166a lirc-0.8.0pre3.tar.bz2 +8e69494b32a14d7513499bd7d4a350d2 lirc-0.8.0pre4.tar.bz2 From c4d0fb1354b75977c2d5fd4b56a32c0aac0db689 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Sat, 21 Jan 2006 15:13:25 +0000 Subject: [PATCH 015/204] - 0.8.0. --- .cvsignore | 2 +- lirc.spec | 10 ++++++---- sources | 2 +- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.cvsignore b/.cvsignore index a0e3e71..d6c541a 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -lirc-0.8.0pre4.tar.bz2 +lirc-0.8.0.tar.bz2 diff --git a/lirc.spec b/lirc.spec index ffb382e..6745cf2 100644 --- a/lirc.spec +++ b/lirc.spec @@ -10,14 +10,13 @@ Name: lirc Version: 0.8.0 -Release: 0.2.pre4%{?dist} +Release: 2%{?dist} Summary: The Linux Infrared Remote Control package Group: System Environment/Daemons License: GPL URL: http://www.lirc.org/ -#Source0: http://download.sourceforge.net/lirc/%{name}-%{version}.tar.bz2 -Source0: http://lirc.sf.net/software/snapshots/lirc-0.8.0pre4.tar.bz2 +Source0: http://download.sourceforge.net/lirc/%{name}-%{version}.tar.bz2 Source1: %{name}.init Source2: %{name}.sysconfig Patch0: %{name}-optflags.patch @@ -51,7 +50,7 @@ Requires: %{name} = %{version}-%{release} %prep -%setup -q -n %{name}-%{version}pre4 +%setup -q %patch0 -p1 chmod 644 contrib/* sed -i -e 's/\r//' remotes/{imon,hercules}/lircd.conf* @@ -139,6 +138,9 @@ fi %changelog +* Sat Jan 21 2006 Ville Skyttä - 0.8.0-2 +- 0.8.0. + * Sat Jan 14 2006 Ville Skyttä - 0.8.0-0.2.pre4 - 0.8.0pre4. diff --git a/sources b/sources index 477c438..285dc1e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -8e69494b32a14d7513499bd7d4a350d2 lirc-0.8.0pre4.tar.bz2 +0bf28bf82c7766a462f90927b6bf3af1 lirc-0.8.0.tar.bz2 From c3a0c1a83c861b463c47e437cca43c05b9e139e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Tue, 14 Feb 2006 20:29:59 +0000 Subject: [PATCH 016/204] - Avoid standard rpaths on lib64 archs. --- lirc-0.8.0-rpath64.patch | 22 ++++++++++++++++++++++ lirc.spec | 9 +++++++-- 2 files changed, 29 insertions(+), 2 deletions(-) create mode 100644 lirc-0.8.0-rpath64.patch diff --git a/lirc-0.8.0-rpath64.patch b/lirc-0.8.0-rpath64.patch new file mode 100644 index 0000000..b0ecfeb --- /dev/null +++ b/lirc-0.8.0-rpath64.patch @@ -0,0 +1,22 @@ +--- lirc-0.8.0/configure~ 2006-01-21 11:03:45.000000000 +0200 ++++ lirc-0.8.0/configure 2006-02-14 22:19:00.000000000 +0200 +@@ -4282,7 +4282,7 @@ + shlibpath_overrides_runpath=unknown + version_type=none + dynamic_linker="$host_os ld.so" +-sys_lib_dlsearch_path_spec="/lib /usr/lib" ++sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" + + case $host_os in +--- lirc-0.8.0/aclocal.m4~ 2006-01-21 11:03:43.000000000 +0200 ++++ lirc-0.8.0/aclocal.m4 2006-02-14 22:19:11.000000000 +0200 +@@ -2531,7 +2531,7 @@ + shlibpath_overrides_runpath=unknown + version_type=none + dynamic_linker="$host_os ld.so" +-sys_lib_dlsearch_path_spec="/lib /usr/lib" ++sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" + + case $host_os in diff --git a/lirc.spec b/lirc.spec index 6745cf2..e99481b 100644 --- a/lirc.spec +++ b/lirc.spec @@ -10,7 +10,7 @@ Name: lirc Version: 0.8.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: The Linux Infrared Remote Control package Group: System Environment/Daemons @@ -20,6 +20,7 @@ Source0: http://download.sourceforge.net/lirc/%{name}-%{version}.tar.bz2 Source1: %{name}.init Source2: %{name}.sysconfig Patch0: %{name}-optflags.patch +Patch1: %{name}-0.8.0-rpath64.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: %{__perl} @@ -52,9 +53,10 @@ Requires: %{name} = %{version}-%{release} %prep %setup -q %patch0 -p1 +%patch1 -p1 chmod 644 contrib/* sed -i -e 's/\r//' remotes/{imon,hercules}/lircd.conf* -touch -r aclocal.m4 configure.in # avoid autofoo re-run +touch -r acconfig.h aclocal.m4 configure.in # avoid autofoo re-run %build @@ -138,6 +140,9 @@ fi %changelog +* Tue Feb 14 2006 Ville Skyttä - 0.8.0-3 +- Avoid standard rpaths on lib64 archs. + * Sat Jan 21 2006 Ville Skyttä - 0.8.0-2 - 0.8.0. From 15c053a6d0174783cc0f539b286bb081be075fdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Sun, 2 Jul 2006 09:02:42 +0000 Subject: [PATCH 017/204] - 0.8.1pre1. - Add rpmbuild options for enabling/disabling ALSA, portaudio and/or X support, ALSA and X enabled by default, portaudio not. - Split most of the documentation to -doc subpackage. - Install irman2lirc as non-doc. --- .cvsignore | 2 +- lirc.spec | 91 ++++++++++++++++++++++++++++++++++++++++++++++-------- sources | 2 +- 3 files changed, 80 insertions(+), 15 deletions(-) diff --git a/.cvsignore b/.cvsignore index d6c541a..8d80460 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -lirc-0.8.0.tar.bz2 +lirc-0.8.1pre1.tar.bz2 diff --git a/lirc.spec b/lirc.spec index e99481b..7dfaa0e 100644 --- a/lirc.spec +++ b/lirc.spec @@ -4,19 +4,25 @@ # - move to -devel (?): irw, *mode2, others? # note: xmode2 inflicts a dependency on X, and smode2 on svgalib # - does someone actually need xmode2/smode2 for something? -# - bcond_without for alsa, portaudio, x? +# - split into -libs and -utils (daemons in main package)? # - don't run as root and/or create dedicated group, reduce fifo permissions? # - Fixup /etc/lirc(m)d.conf %%ghost'ification, existence after erase etc. +%bcond_without alsa +%bcond_with portaudio +%bcond_with svgalib +%bcond_without x + Name: lirc -Version: 0.8.0 -Release: 3%{?dist} +Version: 0.8.1 +Release: 0.1.pre1%{?dist} Summary: The Linux Infrared Remote Control package Group: System Environment/Daemons License: GPL URL: http://www.lirc.org/ -Source0: http://download.sourceforge.net/lirc/%{name}-%{version}.tar.bz2 +#Source0: http://download.sourceforge.net/lirc/%{name}-%{version}.tar.bz2 +Source0: http://lirc.sourceforge.net/software/snapshots/%{name}-%{version}pre1.tar.bz2 Source1: %{name}.init Source2: %{name}.sysconfig Patch0: %{name}-optflags.patch @@ -24,11 +30,19 @@ Patch1: %{name}-0.8.0-rpath64.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: %{__perl} -BuildRequires: alsa-lib-devel -BuildRequires: libXt-devel BuildRequires: libusb-devel +%if %{with alsa} +BuildRequires: alsa-lib-devel +%endif +%if %{with portaudio} BuildRequires: portaudio-devel >= 18 -Build%{?_with_svgalib:Requires}%{!?_with_svgalib:Conflicts}: svgalib-devel +%endif +%if %{with svgalib} +BuildRequires: svgalib-devel +%endif +%if %{with x} +BuildRequires: libXt-devel +%endif Requires(post): /sbin/chkconfig Requires(post): /sbin/ldconfig Requires(preun): /sbin/chkconfig @@ -47,15 +61,44 @@ Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel -%{summary}. +LIRC is a package that allows you to decode and send infra-red and +other signals of many (but not all) commonly used remote controls. +Included applications include daemons which decode the received +signals as well as user space applications which allow controlling a +computer with a remote control. This package includes files for +developing applications that use LIRC. + +%package doc +Summary: LIRC documentation +Group: Documentation + +%description doc +LIRC is a package that allows you to decode and send infra-red and +other signals of many (but not all) commonly used remote controls. +Included applications include daemons which decode the received +signals as well as user space applications which allow controlling a +computer with a remote control. This package contains LIRC +documentation and a collection of remote control configuration files. %prep -%setup -q +%setup -q -n %{name}-%{version}pre1 %patch0 -p1 %patch1 -p1 chmod 644 contrib/* -sed -i -e 's/\r//' remotes/{imon,hercules}/lircd.conf* +sed -i -e 's|/usr/local/etc/|/etc/|' contrib/irman2lirc +sed -i -e 's/\r//' remotes/hercules/lircd.conf.smarttv_stereo +sed -i -e 's|/sbin/init.d/lircd|%{_initrddir}/lirc|' contrib/lircs +# *cough* I wish there was a good way to disable alsa/portaudio/svgalib... +%if ! %{with alsa} +sed -i -e 's/asoundlib.h/ALSA_DISABLED/g' configure* +%endif +%if ! %{with portaudio} +sed -i -e 's/portaudio.h/PORTAUDIO_DISABLED/g' configure* +%endif +%if ! %{with svgalib} +sed -i -e 's/vga.h/SVGALIB_DISABLED/g' configure* +%endif touch -r acconfig.h aclocal.m4 configure.in # avoid autofoo re-run @@ -64,6 +107,9 @@ touch -r acconfig.h aclocal.m4 configure.in # avoid autofoo re-run --disable-static \ --disable-dependency-tracking \ --enable-sandboxed \ +%if ! %{with x} + --without-x \ +%endif --with-syslog=LOG_DAEMON \ --with-driver=userspace make %{?_smp_mflags} @@ -73,7 +119,14 @@ make %{?_smp_mflags} rm -rf $RPM_BUILD_ROOT __docs make install DESTDIR=$RPM_BUILD_ROOT -%{!?_with_svgalib:rm $RPM_BUILD_ROOT%{_mandir}/man1/smode2.1*} +install -pm 755 contrib/irman2lirc $RPM_BUILD_ROOT%{_bindir} +%if ! %{with svgalib} +rm -f $RPM_BUILD_ROOT%{_mandir}/man1/smode2.1* +%endif +%if ! %{with x} +rm -f $RPM_BUILD_ROOT%{_mandir}/man1/irxevent.1* +rm -f $RPM_BUILD_ROOT%{_mandir}/man1/xmode2.1* +%endif install -Dpm 755 %{SOURCE1} $RPM_BUILD_ROOT%{_initrddir}/lirc %{__perl} -pi -e \ @@ -86,7 +139,8 @@ install -Dpm 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/lirc mkdir __docs cp -pR doc contrib __docs cd __docs -rm -rf doc/Makefile* doc/.libs doc/man* contrib/lirc.* contrib/sendxevent.c +rm -rf doc/Makefile* doc/.libs doc/man* +rm -rf contrib/irman2lirc contrib/lirc.* contrib/sendxevent.c cd .. touch $RPM_BUILD_ROOT%{_sysconfdir}/lirc{d,md}.conf @@ -120,7 +174,7 @@ fi %files %defattr(-,root,root,-) -%doc ANNOUNCE AUTHORS ChangeLog COPYING NEWS README TODO remotes __docs/* +%doc ANNOUNCE AUTHORS ChangeLog COPYING NEWS README TODO %ghost %config(noreplace) %{_sysconfdir}/lirc*d.conf %config(noreplace) %{_sysconfdir}/sysconfig/lirc %{_initrddir}/lirc @@ -138,8 +192,19 @@ fi %{_includedir}/lirc/ %{_libdir}/liblirc_client.so +%files doc +%defattr(-,root,root,-) +%doc __docs/* remotes/ + %changelog +* Sat Jul 1 2006 Ville Skyttä - 0.8.1-0.1.pre1 +- 0.8.1pre1. +- Add rpmbuild options for enabling/disabling ALSA, portaudio and/or X + support, ALSA and X enabled by default, portaudio not. +- Split most of the documentation to -doc subpackage. +- Install irman2lirc as non-doc. + * Tue Feb 14 2006 Ville Skyttä - 0.8.0-3 - Avoid standard rpaths on lib64 archs. diff --git a/sources b/sources index 285dc1e..d1f3d86 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -0bf28bf82c7766a462f90927b6bf3af1 lirc-0.8.0.tar.bz2 +acb6340078bde9628f5ae848fec0583c lirc-0.8.1pre1.tar.bz2 From a969894d7d032223087e9cd114292aa05cb5697e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Sun, 27 Aug 2006 20:39:04 +0000 Subject: [PATCH 018/204] http://fedoraproject.org/wiki/Extras/Schedule/FC6MassRebuild --- needs.rebuild | 1 + 1 file changed, 1 insertion(+) create mode 100644 needs.rebuild diff --git a/needs.rebuild b/needs.rebuild new file mode 100644 index 0000000..815fd29 --- /dev/null +++ b/needs.rebuild @@ -0,0 +1 @@ +http://fedoraproject.org/wiki/Extras/Schedule/FC6MassRebuild From b6176575f8a3c2e01904b8070a5be627e3de2ada Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Mon, 28 Aug 2006 16:36:47 +0000 Subject: [PATCH 019/204] - Rebuild. --- lirc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lirc.spec b/lirc.spec index 7dfaa0e..0469adb 100644 --- a/lirc.spec +++ b/lirc.spec @@ -15,7 +15,7 @@ Name: lirc Version: 0.8.1 -Release: 0.1.pre1%{?dist} +Release: 0.2.pre1%{?dist} Summary: The Linux Infrared Remote Control package Group: System Environment/Daemons @@ -198,6 +198,9 @@ fi %changelog +* Mon Aug 28 2006 Ville Skyttä - 0.8.1-0.2.pre1 +- Rebuild. + * Sat Jul 1 2006 Ville Skyttä - 0.8.1-0.1.pre1 - 0.8.1pre1. - Add rpmbuild options for enabling/disabling ALSA, portaudio and/or X From 51963c18357cd64d27b33c6bc0f42502063d50f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Tue, 29 Aug 2006 15:58:02 +0000 Subject: [PATCH 020/204] Rebuilt. --- needs.rebuild | 1 - 1 file changed, 1 deletion(-) delete mode 100644 needs.rebuild diff --git a/needs.rebuild b/needs.rebuild deleted file mode 100644 index 815fd29..0000000 --- a/needs.rebuild +++ /dev/null @@ -1 +0,0 @@ -http://fedoraproject.org/wiki/Extras/Schedule/FC6MassRebuild From 285123d93e7e9966f7829ca46d768c74aeb5dfbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Sun, 15 Oct 2006 20:24:14 +0000 Subject: [PATCH 021/204] - 0.8.1pre2, optflags patch no longer needed. --- .cvsignore | 2 +- lirc-0.8.0-rpath64.patch | 22 ---------------------- lirc-optflags.patch | 18 ------------------ lirc.spec | 19 ++++++++++++------- sources | 2 +- 5 files changed, 14 insertions(+), 49 deletions(-) delete mode 100644 lirc-0.8.0-rpath64.patch delete mode 100644 lirc-optflags.patch diff --git a/.cvsignore b/.cvsignore index 8d80460..092791f 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -lirc-0.8.1pre1.tar.bz2 +lirc-0.8.1pre2.tar.bz2 diff --git a/lirc-0.8.0-rpath64.patch b/lirc-0.8.0-rpath64.patch deleted file mode 100644 index b0ecfeb..0000000 --- a/lirc-0.8.0-rpath64.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- lirc-0.8.0/configure~ 2006-01-21 11:03:45.000000000 +0200 -+++ lirc-0.8.0/configure 2006-02-14 22:19:00.000000000 +0200 -@@ -4282,7 +4282,7 @@ - shlibpath_overrides_runpath=unknown - version_type=none - dynamic_linker="$host_os ld.so" --sys_lib_dlsearch_path_spec="/lib /usr/lib" -+sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" - - case $host_os in ---- lirc-0.8.0/aclocal.m4~ 2006-01-21 11:03:43.000000000 +0200 -+++ lirc-0.8.0/aclocal.m4 2006-02-14 22:19:11.000000000 +0200 -@@ -2531,7 +2531,7 @@ - shlibpath_overrides_runpath=unknown - version_type=none - dynamic_linker="$host_os ld.so" --sys_lib_dlsearch_path_spec="/lib /usr/lib" -+sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" - - case $host_os in diff --git a/lirc-optflags.patch b/lirc-optflags.patch deleted file mode 100644 index 0f7707c..0000000 --- a/lirc-optflags.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- lirc-0.7.2/configure.in.optflags 2005-08-14 17:53:43.000000000 +0300 -+++ lirc-0.7.2/configure.in 2005-08-14 17:54:18.000000000 +0300 -@@ -17,5 +17,5 @@ - AM_CONFIG_HEADER(config.h) - --CFLAGS="-O2 -g -Wall" -+CFLAGS="$CFLAGS -Wall" - - dnl Checks for programs. ---- lirc-0.7.2/configure.optflags 2005-08-14 17:53:50.000000000 +0300 -+++ lirc-0.7.2/configure 2005-08-14 17:54:07.000000000 +0300 -@@ -1076,5 +1076,5 @@ - - --CFLAGS="-O2 -g -Wall" -+CFLAGS="$CFLAGS -Wall" - - # Extract the first word of "gcc", so it can be a program name with args. diff --git a/lirc.spec b/lirc.spec index 0469adb..36031bd 100644 --- a/lirc.spec +++ b/lirc.spec @@ -1,6 +1,7 @@ # TODO: # - caraca driver (req: caraca, http://caraca.sf.net/) # - irman driver (req: libirman, http://lirc.sf.net/software/snapshots/) +# - iguanaIR driver (req: http://iguanaworks.net/ir/usb/installation.shtml) # - move to -devel (?): irw, *mode2, others? # note: xmode2 inflicts a dependency on X, and smode2 on svgalib # - does someone actually need xmode2/smode2 for something? @@ -15,18 +16,16 @@ Name: lirc Version: 0.8.1 -Release: 0.2.pre1%{?dist} +Release: 0.2.pre2%{?dist} Summary: The Linux Infrared Remote Control package Group: System Environment/Daemons License: GPL URL: http://www.lirc.org/ #Source0: http://download.sourceforge.net/lirc/%{name}-%{version}.tar.bz2 -Source0: http://lirc.sourceforge.net/software/snapshots/%{name}-%{version}pre1.tar.bz2 +Source0: http://lirc.sourceforge.net/software/snapshots/%{name}-%{version}pre2.tar.bz2 Source1: %{name}.init Source2: %{name}.sysconfig -Patch0: %{name}-optflags.patch -Patch1: %{name}-0.8.0-rpath64.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: %{__perl} @@ -82,13 +81,16 @@ documentation and a collection of remote control configuration files. %prep -%setup -q -n %{name}-%{version}pre1 -%patch0 -p1 -%patch1 -p1 +%setup -q -n %{name}-%{version}pre2 chmod 644 contrib/* sed -i -e 's|/usr/local/etc/|/etc/|' contrib/irman2lirc sed -i -e 's/\r//' remotes/hercules/lircd.conf.smarttv_stereo sed -i -e 's|/sbin/init.d/lircd|%{_initrddir}/lirc|' contrib/lircs +for f in remotes/chronos/lircd.conf.chronos \ + remotes/creative/lircd.conf.livedrive remotes/atiusb/lircd.conf.atiusb ; do + iconv -f iso-8859-1 -t utf-8 $f > $f.utf8 ; mv $f.utf8 $f +done +sed -i -e 's|"/lib /usr/lib |"/%{_lib} %{_libdir} |' configure # lib64 rpath # *cough* I wish there was a good way to disable alsa/portaudio/svgalib... %if ! %{with alsa} sed -i -e 's/asoundlib.h/ALSA_DISABLED/g' configure* @@ -198,6 +200,9 @@ fi %changelog +* Sun Oct 15 2006 Ville Skyttä - 0.8.1-0.2.pre2 +- 0.8.1pre2, optflags patch no longer needed. + * Mon Aug 28 2006 Ville Skyttä - 0.8.1-0.2.pre1 - Rebuild. diff --git a/sources b/sources index d1f3d86..6cef89c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -acb6340078bde9628f5ae848fec0583c lirc-0.8.1pre1.tar.bz2 +c8c1f5f692222050bcbafbf1ba6a1217 lirc-0.8.1pre2.tar.bz2 From cc59c06e9613c172b0012b9d2790be1981dc3a6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Thu, 30 Nov 2006 20:52:55 +0000 Subject: [PATCH 022/204] - 0.8.1pre3. --- .cvsignore | 2 +- lirc.spec | 9 ++++++--- sources | 2 +- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.cvsignore b/.cvsignore index 092791f..31243c4 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -lirc-0.8.1pre2.tar.bz2 +lirc-0.8.1pre3.tar.bz2 diff --git a/lirc.spec b/lirc.spec index 36031bd..c803a36 100644 --- a/lirc.spec +++ b/lirc.spec @@ -16,14 +16,14 @@ Name: lirc Version: 0.8.1 -Release: 0.2.pre2%{?dist} +Release: 0.2.pre3%{?dist} Summary: The Linux Infrared Remote Control package Group: System Environment/Daemons License: GPL URL: http://www.lirc.org/ #Source0: http://download.sourceforge.net/lirc/%{name}-%{version}.tar.bz2 -Source0: http://lirc.sourceforge.net/software/snapshots/%{name}-%{version}pre2.tar.bz2 +Source0: http://lirc.sourceforge.net/software/snapshots/%{name}-%{version}pre3.tar.bz2 Source1: %{name}.init Source2: %{name}.sysconfig BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -81,7 +81,7 @@ documentation and a collection of remote control configuration files. %prep -%setup -q -n %{name}-%{version}pre2 +%setup -q -n %{name}-%{version}pre3 chmod 644 contrib/* sed -i -e 's|/usr/local/etc/|/etc/|' contrib/irman2lirc sed -i -e 's/\r//' remotes/hercules/lircd.conf.smarttv_stereo @@ -200,6 +200,9 @@ fi %changelog +* Thu Nov 30 2006 Ville Skyttä - 0.8.1-0.2.pre3 +- 0.8.1pre3. + * Sun Oct 15 2006 Ville Skyttä - 0.8.1-0.2.pre2 - 0.8.1pre2, optflags patch no longer needed. diff --git a/sources b/sources index 6cef89c..bc84f4a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -c8c1f5f692222050bcbafbf1ba6a1217 lirc-0.8.1pre2.tar.bz2 +68ea2f504f45e528ee8b5d3ff23c5181 lirc-0.8.1pre3.tar.bz2 From a42399dcbaa9034ad7aa8a635bff0687a50ba3a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Tue, 12 Dec 2006 21:28:17 +0000 Subject: [PATCH 023/204] - 0.8.1pre4. --- .cvsignore | 2 +- lirc.spec | 9 ++++++--- sources | 2 +- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.cvsignore b/.cvsignore index 31243c4..2037b30 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -lirc-0.8.1pre3.tar.bz2 +lirc-0.8.1pre4.tar.bz2 diff --git a/lirc.spec b/lirc.spec index c803a36..5393ec3 100644 --- a/lirc.spec +++ b/lirc.spec @@ -16,14 +16,14 @@ Name: lirc Version: 0.8.1 -Release: 0.2.pre3%{?dist} +Release: 0.2.pre4%{?dist} Summary: The Linux Infrared Remote Control package Group: System Environment/Daemons License: GPL URL: http://www.lirc.org/ #Source0: http://download.sourceforge.net/lirc/%{name}-%{version}.tar.bz2 -Source0: http://lirc.sourceforge.net/software/snapshots/%{name}-%{version}pre3.tar.bz2 +Source0: http://lirc.sourceforge.net/software/snapshots/%{name}-%{version}pre4.tar.bz2 Source1: %{name}.init Source2: %{name}.sysconfig BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -81,7 +81,7 @@ documentation and a collection of remote control configuration files. %prep -%setup -q -n %{name}-%{version}pre3 +%setup -q -n %{name}-%{version}pre4 chmod 644 contrib/* sed -i -e 's|/usr/local/etc/|/etc/|' contrib/irman2lirc sed -i -e 's/\r//' remotes/hercules/lircd.conf.smarttv_stereo @@ -200,6 +200,9 @@ fi %changelog +* Tue Dec 12 2006 Ville Skyttä - 0.8.1-0.2.pre4 +- 0.8.1pre4. + * Thu Nov 30 2006 Ville Skyttä - 0.8.1-0.2.pre3 - 0.8.1pre3. diff --git a/sources b/sources index bc84f4a..6b3a7da 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -68ea2f504f45e528ee8b5d3ff23c5181 lirc-0.8.1pre3.tar.bz2 +6dc1435946bec20ffbfbd103ddb1e2a0 lirc-0.8.1pre4.tar.bz2 From 203f33574aa958d1b482f2eb98e220228fddccb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Sat, 30 Dec 2006 13:08:46 +0000 Subject: [PATCH 024/204] - 0.8.1pre5. --- .cvsignore | 2 +- lirc.spec | 9 ++++++--- sources | 2 +- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.cvsignore b/.cvsignore index 2037b30..d24cec7 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -lirc-0.8.1pre4.tar.bz2 +lirc-0.8.1pre5.tar.bz2 diff --git a/lirc.spec b/lirc.spec index 5393ec3..a83c023 100644 --- a/lirc.spec +++ b/lirc.spec @@ -16,14 +16,14 @@ Name: lirc Version: 0.8.1 -Release: 0.2.pre4%{?dist} +Release: 0.2.pre5%{?dist} Summary: The Linux Infrared Remote Control package Group: System Environment/Daemons License: GPL URL: http://www.lirc.org/ #Source0: http://download.sourceforge.net/lirc/%{name}-%{version}.tar.bz2 -Source0: http://lirc.sourceforge.net/software/snapshots/%{name}-%{version}pre4.tar.bz2 +Source0: http://lirc.sourceforge.net/software/snapshots/%{name}-%{version}pre5.tar.bz2 Source1: %{name}.init Source2: %{name}.sysconfig BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -81,7 +81,7 @@ documentation and a collection of remote control configuration files. %prep -%setup -q -n %{name}-%{version}pre4 +%setup -q -n %{name}-%{version}pre5 chmod 644 contrib/* sed -i -e 's|/usr/local/etc/|/etc/|' contrib/irman2lirc sed -i -e 's/\r//' remotes/hercules/lircd.conf.smarttv_stereo @@ -200,6 +200,9 @@ fi %changelog +* Sat Dec 30 2006 Ville Skyttä - 0.8.1-0.2.pre5 +- 0.8.1pre5. + * Tue Dec 12 2006 Ville Skyttä - 0.8.1-0.2.pre4 - 0.8.1pre4. diff --git a/sources b/sources index 6b3a7da..9245d01 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -6dc1435946bec20ffbfbd103ddb1e2a0 lirc-0.8.1pre4.tar.bz2 +9a00b010ef4869173c9f8f91257ffe20 lirc-0.8.1pre5.tar.bz2 From 3453c0dd0a041f7b54105a81921c5484e2b82ce4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Sun, 7 Jan 2007 13:58:28 +0000 Subject: [PATCH 025/204] - 0.8.1. --- .cvsignore | 2 +- lirc.spec | 10 ++++++---- sources | 2 +- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.cvsignore b/.cvsignore index d24cec7..465531d 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -lirc-0.8.1pre5.tar.bz2 +lirc-0.8.1.tar.bz2 diff --git a/lirc.spec b/lirc.spec index a83c023..90b44ee 100644 --- a/lirc.spec +++ b/lirc.spec @@ -16,14 +16,13 @@ Name: lirc Version: 0.8.1 -Release: 0.2.pre5%{?dist} +Release: 1%{?dist} Summary: The Linux Infrared Remote Control package Group: System Environment/Daemons License: GPL URL: http://www.lirc.org/ -#Source0: http://download.sourceforge.net/lirc/%{name}-%{version}.tar.bz2 -Source0: http://lirc.sourceforge.net/software/snapshots/%{name}-%{version}pre5.tar.bz2 +Source0: http://downloads.sf.net/lirc/%{name}-%{version}.tar.bz2 Source1: %{name}.init Source2: %{name}.sysconfig BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -81,7 +80,7 @@ documentation and a collection of remote control configuration files. %prep -%setup -q -n %{name}-%{version}pre5 +%setup -q chmod 644 contrib/* sed -i -e 's|/usr/local/etc/|/etc/|' contrib/irman2lirc sed -i -e 's/\r//' remotes/hercules/lircd.conf.smarttv_stereo @@ -200,6 +199,9 @@ fi %changelog +* Sun Jan 7 2007 Ville Skyttä - 0.8.1-1 +- 0.8.1. + * Sat Dec 30 2006 Ville Skyttä - 0.8.1-0.2.pre5 - 0.8.1pre5. diff --git a/sources b/sources index 9245d01..3a02b86 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -9a00b010ef4869173c9f8f91257ffe20 lirc-0.8.1pre5.tar.bz2 +3a42083fc6c54797351e52c77537c586 lirc-0.8.1.tar.bz2 From 71d0dcc941290528202b1f13be1adffd2ba12fc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Fri, 18 May 2007 17:31:52 +0000 Subject: [PATCH 026/204] - 0.8.2pre2. --- .cvsignore | 2 +- lirc.spec | 12 ++++++++---- sources | 2 +- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.cvsignore b/.cvsignore index 465531d..9966059 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -lirc-0.8.1.tar.bz2 +lirc-0.8.2pre2.tar.bz2 diff --git a/lirc.spec b/lirc.spec index 90b44ee..79d7ba4 100644 --- a/lirc.spec +++ b/lirc.spec @@ -15,14 +15,15 @@ %bcond_without x Name: lirc -Version: 0.8.1 -Release: 1%{?dist} +Version: 0.8.2 +Release: 0.1.pre2%{?dist} Summary: The Linux Infrared Remote Control package Group: System Environment/Daemons License: GPL URL: http://www.lirc.org/ -Source0: http://downloads.sf.net/lirc/%{name}-%{version}.tar.bz2 +#Source0: http://downloads.sourceforge.net/lirc/%{name}-%{version}.tar.bz2 +Source0: http://lirc.sourceforge.net/software/snapshots/lirc-%{version}pre2.tar.bz2 Source1: %{name}.init Source2: %{name}.sysconfig BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -80,7 +81,7 @@ documentation and a collection of remote control configuration files. %prep -%setup -q +%setup -q -n %{name}-%{version}pre2 chmod 644 contrib/* sed -i -e 's|/usr/local/etc/|/etc/|' contrib/irman2lirc sed -i -e 's/\r//' remotes/hercules/lircd.conf.smarttv_stereo @@ -199,6 +200,9 @@ fi %changelog +* Fri May 18 2007 Ville Skyttä - 0.8.2-0.1.pre2 +- 0.8.2pre2. + * Sun Jan 7 2007 Ville Skyttä - 0.8.1-1 - 0.8.1. diff --git a/sources b/sources index 3a02b86..9a5ffd7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -3a42083fc6c54797351e52c77537c586 lirc-0.8.1.tar.bz2 +574d09ccea8162cacac7fd1be4331860 lirc-0.8.2pre2.tar.bz2 From cd4f79636f73639f8f8f452b587cda64931d387c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Wed, 6 Jun 2007 16:00:34 +0000 Subject: [PATCH 027/204] - 0.8.2pre3. - Fix up linefeeds and char encodings of more docs. --- .cvsignore | 2 +- lirc.spec | 16 +++++++++++----- sources | 2 +- 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/.cvsignore b/.cvsignore index 9966059..ed32c97 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -lirc-0.8.2pre2.tar.bz2 +lirc-0.8.2pre3.tar.bz2 diff --git a/lirc.spec b/lirc.spec index 79d7ba4..ec8e96a 100644 --- a/lirc.spec +++ b/lirc.spec @@ -16,14 +16,14 @@ Name: lirc Version: 0.8.2 -Release: 0.1.pre2%{?dist} +Release: 0.1.pre3%{?dist} Summary: The Linux Infrared Remote Control package Group: System Environment/Daemons License: GPL URL: http://www.lirc.org/ #Source0: http://downloads.sourceforge.net/lirc/%{name}-%{version}.tar.bz2 -Source0: http://lirc.sourceforge.net/software/snapshots/lirc-%{version}pre2.tar.bz2 +Source0: http://lirc.sourceforge.net/software/snapshots/lirc-%{version}pre3.tar.bz2 Source1: %{name}.init Source2: %{name}.sysconfig BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -81,13 +81,15 @@ documentation and a collection of remote control configuration files. %prep -%setup -q -n %{name}-%{version}pre2 +%setup -q -n %{name}-%{version}pre3 chmod 644 contrib/* sed -i -e 's|/usr/local/etc/|/etc/|' contrib/irman2lirc -sed -i -e 's/\r//' remotes/hercules/lircd.conf.smarttv_stereo +sed -i -e 's/\r//' remotes/hercules/lircd.conf.smarttv_stereo \ + remotes/adstech/lircd.conf.usbx-707 sed -i -e 's|/sbin/init.d/lircd|%{_initrddir}/lirc|' contrib/lircs for f in remotes/chronos/lircd.conf.chronos \ - remotes/creative/lircd.conf.livedrive remotes/atiusb/lircd.conf.atiusb ; do + remotes/creative/lircd.conf.livedrive remotes/atiusb/lircd.conf.atiusb \ + NEWS ChangeLog AUTHORS contrib/lircrc ; do iconv -f iso-8859-1 -t utf-8 $f > $f.utf8 ; mv $f.utf8 $f done sed -i -e 's|"/lib /usr/lib |"/%{_lib} %{_libdir} |' configure # lib64 rpath @@ -200,6 +202,10 @@ fi %changelog +* Wed Jun 6 2007 Ville Skyttä - 0.8.2-0.1.pre3 +- 0.8.2pre3. +- Fix up linefeeds and char encodings of more docs. + * Fri May 18 2007 Ville Skyttä - 0.8.2-0.1.pre2 - 0.8.2pre2. diff --git a/sources b/sources index 9a5ffd7..e13d44b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -574d09ccea8162cacac7fd1be4331860 lirc-0.8.2pre2.tar.bz2 +a9f5586cb95a17d175990510ccc39566 lirc-0.8.2pre3.tar.bz2 From 3c80c36b39e9b6d8782e4523979e8e1889795768 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Sun, 10 Jun 2007 08:28:44 +0000 Subject: [PATCH 028/204] - 0.8.2. --- .cvsignore | 2 +- lirc.spec | 15 ++++++++++----- sources | 2 +- 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/.cvsignore b/.cvsignore index ed32c97..b0e86d8 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -lirc-0.8.2pre3.tar.bz2 +lirc-0.8.2.tar.bz2 diff --git a/lirc.spec b/lirc.spec index ec8e96a..ef07112 100644 --- a/lirc.spec +++ b/lirc.spec @@ -16,14 +16,13 @@ Name: lirc Version: 0.8.2 -Release: 0.1.pre3%{?dist} +Release: 1%{?dist} Summary: The Linux Infrared Remote Control package Group: System Environment/Daemons License: GPL URL: http://www.lirc.org/ -#Source0: http://downloads.sourceforge.net/lirc/%{name}-%{version}.tar.bz2 -Source0: http://lirc.sourceforge.net/software/snapshots/lirc-%{version}pre3.tar.bz2 +Source0: http://downloads.sourceforge.net/lirc/%{name}-%{version}.tar.bz2 Source1: %{name}.init Source2: %{name}.sysconfig BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -81,7 +80,7 @@ documentation and a collection of remote control configuration files. %prep -%setup -q -n %{name}-%{version}pre3 +%setup -q chmod 644 contrib/* sed -i -e 's|/usr/local/etc/|/etc/|' contrib/irman2lirc sed -i -e 's/\r//' remotes/hercules/lircd.conf.smarttv_stereo \ @@ -132,6 +131,8 @@ rm -f $RPM_BUILD_ROOT%{_mandir}/man1/irxevent.1* rm -f $RPM_BUILD_ROOT%{_mandir}/man1/xmode2.1* %endif +install -Dpm 644 doc/lirc.hwdb $RPM_BUILD_ROOT%{_datadir}/lirc/lirc.hwdb + install -Dpm 755 %{SOURCE1} $RPM_BUILD_ROOT%{_initrddir}/lirc %{__perl} -pi -e \ 's|/etc/|%{_sysconfdir}/|g ; @@ -143,7 +144,7 @@ install -Dpm 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/lirc mkdir __docs cp -pR doc contrib __docs cd __docs -rm -rf doc/Makefile* doc/.libs doc/man* +rm -rf doc/Makefile* doc/.libs doc/man* doc/lirc.hwdb rm -rf contrib/irman2lirc contrib/lirc.* contrib/sendxevent.c cd .. @@ -186,6 +187,7 @@ fi %{_bindir}/*mode2 %{_sbindir}/lirc*d %{_libdir}/liblirc_client.so.* +%{_datadir}/lirc/ %{_mandir}/man1/*ir*.1* %{_mandir}/man1/*mode2*.1* %{_mandir}/man8/lirc*d.8* @@ -202,6 +204,9 @@ fi %changelog +* Sun Jun 10 2007 Ville Skyttä - 0.8.2-1 +- 0.8.2. + * Wed Jun 6 2007 Ville Skyttä - 0.8.2-0.1.pre3 - 0.8.2pre3. - Fix up linefeeds and char encodings of more docs. diff --git a/sources b/sources index e13d44b..20b9996 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -a9f5586cb95a17d175990510ccc39566 lirc-0.8.2pre3.tar.bz2 +83e7060a6693b81075c178d7e3b215af lirc-0.8.2.tar.bz2 From 61175736b593e05f30bae18e00d74ec6b2aad99e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Thu, 16 Aug 2007 09:16:35 +0000 Subject: [PATCH 029/204] - License: GPLv2+ --- lirc.init | 8 ++++++++ lirc.spec | 8 ++++++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/lirc.init b/lirc.init index 8062616..4946651 100644 --- a/lirc.init +++ b/lirc.init @@ -10,6 +10,14 @@ # config: /etc/lircmd.conf # pidfile: /var/run/lircd.pid +### BEGIN INIT INFO +# Provides: lirc +# Should-Start: $syslog $network +# Should-Stop: $syslog $network +# Short-Description: Linux Infrared Remote Control daemon +# Description: Enables remote control devices through LIRC. +### END INIT INFO + # Source function library. . /etc/init.d/functions diff --git a/lirc.spec b/lirc.spec index ef07112..8c6ab45 100644 --- a/lirc.spec +++ b/lirc.spec @@ -2,6 +2,7 @@ # - caraca driver (req: caraca, http://caraca.sf.net/) # - irman driver (req: libirman, http://lirc.sf.net/software/snapshots/) # - iguanaIR driver (req: http://iguanaworks.net/ir/usb/installation.shtml) +# -> would cause license change to "GPLv2" # - move to -devel (?): irw, *mode2, others? # note: xmode2 inflicts a dependency on X, and smode2 on svgalib # - does someone actually need xmode2/smode2 for something? @@ -16,11 +17,11 @@ Name: lirc Version: 0.8.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: The Linux Infrared Remote Control package Group: System Environment/Daemons -License: GPL +License: GPLv2+ URL: http://www.lirc.org/ Source0: http://downloads.sourceforge.net/lirc/%{name}-%{version}.tar.bz2 Source1: %{name}.init @@ -204,6 +205,9 @@ fi %changelog +* Wed Aug 15 2007 Ville Skyttä - 0.8.2-2 +- License: GPLv2+ + * Sun Jun 10 2007 Ville Skyttä - 0.8.2-1 - 0.8.2. From 1cf3fcfdf880913ae1472c74084184bab5ea2a70 Mon Sep 17 00:00:00 2001 From: Jarod Wilson Date: Thu, 18 Oct 2007 20:55:01 +0000 Subject: [PATCH 030/204] - 0.8.3pre1 - adds Mac IR support, resolves bz #284291 --- .cvsignore | 1 + lirc.spec | 14 ++++++++++---- sources | 2 +- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/.cvsignore b/.cvsignore index b0e86d8..f7ef0a8 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1,2 @@ lirc-0.8.2.tar.bz2 +lirc-0.8.3pre1.tar.bz2 diff --git a/lirc.spec b/lirc.spec index 8c6ab45..f8f6184 100644 --- a/lirc.spec +++ b/lirc.spec @@ -14,16 +14,18 @@ %bcond_with portaudio %bcond_with svgalib %bcond_without x +%define pre pre1 Name: lirc -Version: 0.8.2 -Release: 2%{?dist} +Version: 0.8.3 +Release: 0.1.%{?pre}%{?dist} Summary: The Linux Infrared Remote Control package Group: System Environment/Daemons License: GPLv2+ URL: http://www.lirc.org/ -Source0: http://downloads.sourceforge.net/lirc/%{name}-%{version}.tar.bz2 +#Source0: http://downloads.sourceforge.net/lirc/%{name}-%{version}.tar.bz2 +Source0: http://lirc.sourceforge.net/software/snapshots/%{name}-%{version}%{pre}.tar.bz2 Source1: %{name}.init Source2: %{name}.sysconfig BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -81,7 +83,7 @@ documentation and a collection of remote control configuration files. %prep -%setup -q +%setup -q -n %{name}-%{version}%{?pre} chmod 644 contrib/* sed -i -e 's|/usr/local/etc/|/etc/|' contrib/irman2lirc sed -i -e 's/\r//' remotes/hercules/lircd.conf.smarttv_stereo \ @@ -205,6 +207,10 @@ fi %changelog +* Thu Oct 18 2007 Jarod Wilson - 0.8.3-0.1.pre1 +- 0.8.3pre1 +- adds Mac IR support, resolves bz #284291 + * Wed Aug 15 2007 Ville Skyttä - 0.8.2-2 - License: GPLv2+ diff --git a/sources b/sources index 20b9996..2df78fb 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -83e7060a6693b81075c178d7e3b215af lirc-0.8.2.tar.bz2 +1fe9ab0a8e4fe2113040f6c576e51759 lirc-0.8.3pre1.tar.bz2 From e6acbb565a793cb0de650bfce064fb9ab63c2739 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Thu, 14 Feb 2008 18:58:02 +0000 Subject: [PATCH 031/204] - Split libraries into -libs subpackage. - Refresh autotools re-run avoidance hack. --- lirc.spec | 46 ++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 38 insertions(+), 8 deletions(-) diff --git a/lirc.spec b/lirc.spec index f8f6184..7dab4a2 100644 --- a/lirc.spec +++ b/lirc.spec @@ -6,7 +6,7 @@ # - move to -devel (?): irw, *mode2, others? # note: xmode2 inflicts a dependency on X, and smode2 on svgalib # - does someone actually need xmode2/smode2 for something? -# - split into -libs and -utils (daemons in main package)? +# - split utils into subpackage (keep daemons in main package) # - don't run as root and/or create dedicated group, reduce fifo permissions? # - Fixup /etc/lirc(m)d.conf %%ghost'ification, existence after erase etc. @@ -14,11 +14,11 @@ %bcond_with portaudio %bcond_with svgalib %bcond_without x -%define pre pre1 +%define pre pre1 Name: lirc Version: 0.8.3 -Release: 0.1.%{?pre}%{?dist} +Release: 0.2%{?pre:.%{pre}}%{?dist} Summary: The Linux Infrared Remote Control package Group: System Environment/Daemons @@ -44,6 +44,7 @@ BuildRequires: svgalib-devel %if %{with x} BuildRequires: libXt-devel %endif +Requires: %{name}-libs = %{version}-%{release} Requires(post): /sbin/chkconfig Requires(post): /sbin/ldconfig Requires(preun): /sbin/chkconfig @@ -56,10 +57,22 @@ Included applications include daemons which decode the received signals as well as user space applications which allow controlling a computer with a remote control. +%package libs +Summary: LIRC libraries +Group: System Environment/Libraries + +%description libs +LIRC is a package that allows you to decode and send infra-red and +other signals of many (but not all) commonly used remote controls. +Included applications include daemons which decode the received +signals as well as user space applications which allow controlling a +computer with a remote control. This package includes shared libraries +that applications use to interface with LIRC. + %package devel Summary: Development files for LIRC Group: Development/Libraries -Requires: %{name} = %{version}-%{release} +Requires: %{name}-libs = %{version}-%{release} %description devel LIRC is a package that allows you to decode and send infra-red and @@ -84,17 +97,24 @@ documentation and a collection of remote control configuration files. %prep %setup -q -n %{name}-%{version}%{?pre} + chmod 644 contrib/* + sed -i -e 's|/usr/local/etc/|/etc/|' contrib/irman2lirc + sed -i -e 's/\r//' remotes/hercules/lircd.conf.smarttv_stereo \ remotes/adstech/lircd.conf.usbx-707 + sed -i -e 's|/sbin/init.d/lircd|%{_initrddir}/lirc|' contrib/lircs + for f in remotes/chronos/lircd.conf.chronos \ remotes/creative/lircd.conf.livedrive remotes/atiusb/lircd.conf.atiusb \ NEWS ChangeLog AUTHORS contrib/lircrc ; do iconv -f iso-8859-1 -t utf-8 $f > $f.utf8 ; mv $f.utf8 $f done + sed -i -e 's|"/lib /usr/lib |"/%{_lib} %{_libdir} |' configure # lib64 rpath + # *cough* I wish there was a good way to disable alsa/portaudio/svgalib... %if ! %{with alsa} sed -i -e 's/asoundlib.h/ALSA_DISABLED/g' configure* @@ -105,7 +125,8 @@ sed -i -e 's/portaudio.h/PORTAUDIO_DISABLED/g' configure* %if ! %{with svgalib} sed -i -e 's/vga.h/SVGALIB_DISABLED/g' configure* %endif -touch -r acconfig.h aclocal.m4 configure.in # avoid autofoo re-run + +touch -r acconfig.h aclocal.m4 configure.ac # avoid autofoo re-run %build @@ -164,9 +185,10 @@ rm -rf $RPM_BUILD_ROOT %post -/sbin/ldconfig /sbin/chkconfig --add lirc +%post libs -p /sbin/ldconfig + %preun if [ $1 -eq 0 ] ; then %{_initrddir}/lirc stop >/dev/null || : @@ -174,11 +196,12 @@ if [ $1 -eq 0 ] ; then fi %postun -/sbin/ldconfig if [ $1 -gt 0 ] ; then %{_initrddir}/lirc try-restart >/dev/null || : fi +%postun libs -p /sbin/ldconfig + %files %defattr(-,root,root,-) @@ -189,13 +212,16 @@ fi %{_bindir}/*ir* %{_bindir}/*mode2 %{_sbindir}/lirc*d -%{_libdir}/liblirc_client.so.* %{_datadir}/lirc/ %{_mandir}/man1/*ir*.1* %{_mandir}/man1/*mode2*.1* %{_mandir}/man8/lirc*d.8* %ghost /dev/lirc* +%files libs +%defattr(-,root,root,-) +%{_libdir}/liblirc_client.so.* + %files devel %defattr(-,root,root,-) %{_includedir}/lirc/ @@ -207,6 +233,10 @@ fi %changelog +* Tue Feb 12 2008 Ville Skyttä - 0.8.3-0.2.pre1 +- Split libraries into -libs subpackage. +- Refresh autotools re-run avoidance hack. + * Thu Oct 18 2007 Jarod Wilson - 0.8.3-0.1.pre1 - 0.8.3pre1 - adds Mac IR support, resolves bz #284291 From 4ffbb7aadfebf93ca4424e3fac5471499b93a85d Mon Sep 17 00:00:00 2001 From: Jarod Wilson Date: Mon, 7 Apr 2008 00:29:02 +0000 Subject: [PATCH 032/204] - Update to 0.8.3pre2 --- .cvsignore | 1 + lirc.spec | 9 ++++++--- sources | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.cvsignore b/.cvsignore index f7ef0a8..41e0381 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1,2 +1,3 @@ lirc-0.8.2.tar.bz2 lirc-0.8.3pre1.tar.bz2 +lirc-0.8.3pre2.tar.bz2 diff --git a/lirc.spec b/lirc.spec index 7dab4a2..563a75f 100644 --- a/lirc.spec +++ b/lirc.spec @@ -14,11 +14,11 @@ %bcond_with portaudio %bcond_with svgalib %bcond_without x -%define pre pre1 +%define pre pre2 Name: lirc Version: 0.8.3 -Release: 0.2%{?pre:.%{pre}}%{?dist} +Release: 0.3%{?pre:.%{pre}}%{?dist} Summary: The Linux Infrared Remote Control package Group: System Environment/Daemons @@ -126,7 +126,7 @@ sed -i -e 's/portaudio.h/PORTAUDIO_DISABLED/g' configure* sed -i -e 's/vga.h/SVGALIB_DISABLED/g' configure* %endif -touch -r acconfig.h aclocal.m4 configure.ac # avoid autofoo re-run +touch -r aclocal.m4 configure.ac # avoid autofoo re-run %build @@ -233,6 +233,9 @@ fi %changelog +* Sun Apr 06 2008 Jarod Wilson - 0.8.3-0.3.pre2 +- Update to 0.8.3pre2 + * Tue Feb 12 2008 Ville Skyttä - 0.8.3-0.2.pre1 - Split libraries into -libs subpackage. - Refresh autotools re-run avoidance hack. diff --git a/sources b/sources index 2df78fb..c973c13 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -1fe9ab0a8e4fe2113040f6c576e51759 lirc-0.8.3pre1.tar.bz2 +4152aeaa826e066ae7c37bdf5059e537 lirc-0.8.3pre2.tar.bz2 From 075a07873759177077f4412a99cd1f5247729c2c Mon Sep 17 00:00:00 2001 From: Jarod Wilson Date: Sun, 27 Apr 2008 17:29:33 +0000 Subject: [PATCH 033/204] - Update to 0.8.3pre3 --- lirc.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lirc.spec b/lirc.spec index 563a75f..4b897bb 100644 --- a/lirc.spec +++ b/lirc.spec @@ -14,11 +14,11 @@ %bcond_with portaudio %bcond_with svgalib %bcond_without x -%define pre pre2 +%define pre pre3 Name: lirc Version: 0.8.3 -Release: 0.3%{?pre:.%{pre}}%{?dist} +Release: 0.4%{?pre:.%{pre}}%{?dist} Summary: The Linux Infrared Remote Control package Group: System Environment/Daemons @@ -233,6 +233,9 @@ fi %changelog +* Sun Apr 27 2008 Jarod Wilson - 0.8.3-0.4.pre3 +- Update to 0.8.3pre3 + * Sun Apr 06 2008 Jarod Wilson - 0.8.3-0.3.pre2 - Update to 0.8.3pre2 From 211d95e4b40642e4fcbaad4fc081b0dae85e4c04 Mon Sep 17 00:00:00 2001 From: Jarod Wilson Date: Sun, 27 Apr 2008 17:32:45 +0000 Subject: [PATCH 034/204] Oops, update sources.. --- .cvsignore | 1 + sources | 1 + 2 files changed, 2 insertions(+) diff --git a/.cvsignore b/.cvsignore index 41e0381..b6d94f4 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1,3 +1,4 @@ lirc-0.8.2.tar.bz2 lirc-0.8.3pre1.tar.bz2 lirc-0.8.3pre2.tar.bz2 +lirc-0.8.3pre3.tar.bz2 diff --git a/sources b/sources index c973c13..cc8abba 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ 4152aeaa826e066ae7c37bdf5059e537 lirc-0.8.3pre2.tar.bz2 +516b00fc3f5b11b791ae345fbd7ea754 lirc-0.8.3pre3.tar.bz2 From c3203b814745593eb784e7d5bcaf875fe46f9e0d Mon Sep 17 00:00:00 2001 From: Jarod Wilson Date: Sun, 4 May 2008 18:08:35 +0000 Subject: [PATCH 035/204] - Update to 0.8.3 release --- .cvsignore | 5 +---- lirc.spec | 11 +++++++---- sources | 3 +-- 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/.cvsignore b/.cvsignore index b6d94f4..b567347 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1,4 +1 @@ -lirc-0.8.2.tar.bz2 -lirc-0.8.3pre1.tar.bz2 -lirc-0.8.3pre2.tar.bz2 -lirc-0.8.3pre3.tar.bz2 +lirc-0.8.3.tar.bz2 diff --git a/lirc.spec b/lirc.spec index 4b897bb..59054b2 100644 --- a/lirc.spec +++ b/lirc.spec @@ -14,18 +14,18 @@ %bcond_with portaudio %bcond_with svgalib %bcond_without x -%define pre pre3 +#define pre pre3 Name: lirc Version: 0.8.3 -Release: 0.4%{?pre:.%{pre}}%{?dist} +Release: 1%{?pre:.%{pre}}%{?dist} Summary: The Linux Infrared Remote Control package Group: System Environment/Daemons License: GPLv2+ URL: http://www.lirc.org/ -#Source0: http://downloads.sourceforge.net/lirc/%{name}-%{version}.tar.bz2 -Source0: http://lirc.sourceforge.net/software/snapshots/%{name}-%{version}%{pre}.tar.bz2 +Source0: http://downloads.sourceforge.net/lirc/%{name}-%{version}.tar.bz2 +#Source0: http://lirc.sourceforge.net/software/snapshots/%{name}-%{version}%{pre}.tar.bz2 Source1: %{name}.init Source2: %{name}.sysconfig BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -233,6 +233,9 @@ fi %changelog +* Sun May 04 2008 Jarod Wilson - 0.8.3-1 +- Update to 0.8.3 release + * Sun Apr 27 2008 Jarod Wilson - 0.8.3-0.4.pre3 - Update to 0.8.3pre3 diff --git a/sources b/sources index cc8abba..d3ad5e4 100644 --- a/sources +++ b/sources @@ -1,2 +1 @@ -4152aeaa826e066ae7c37bdf5059e537 lirc-0.8.3pre2.tar.bz2 -516b00fc3f5b11b791ae345fbd7ea754 lirc-0.8.3pre3.tar.bz2 +8e78eeded7b31e5ad02e328970437c0f lirc-0.8.3.tar.bz2 From a7224d291362f351617179a38343081910c53a98 Mon Sep 17 00:00:00 2001 From: Jarod Wilson Date: Mon, 12 May 2008 22:13:46 +0000 Subject: [PATCH 036/204] - Include upstream patch for lircd.conf remote include directives (#442248) - Include upstream patch to validate transmit buffers --- lirc.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/lirc.spec b/lirc.spec index 59054b2..6b9fa4e 100644 --- a/lirc.spec +++ b/lirc.spec @@ -18,7 +18,7 @@ Name: lirc Version: 0.8.3 -Release: 1%{?pre:.%{pre}}%{?dist} +Release: 2%{?pre:.%{pre}}%{?dist} Summary: The Linux Infrared Remote Control package Group: System Environment/Daemons @@ -28,6 +28,8 @@ Source0: http://downloads.sourceforge.net/lirc/%{name}-%{version}.tar.bz2 #Source0: http://lirc.sourceforge.net/software/snapshots/%{name}-%{version}%{pre}.tar.bz2 Source1: %{name}.init Source2: %{name}.sysconfig +Patch0: lirc-0.8.3-remote-includes-directive.patch +Patch1: lirc-0.8.3-validate-transmit-buffer.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: %{__perl} @@ -97,6 +99,8 @@ documentation and a collection of remote control configuration files. %prep %setup -q -n %{name}-%{version}%{?pre} +%patch0 -p1 -b .incl +%patch1 -p1 -b .xbuf chmod 644 contrib/* @@ -233,6 +237,10 @@ fi %changelog +* Mon May 12 2008 Jarod Wilson - 0.8.3-2 +- Include upstream patch for lircd.conf remote include directives (#442248) +- Include upstream patch to validate transmit buffers + * Sun May 04 2008 Jarod Wilson - 0.8.3-1 - Update to 0.8.3 release From 2968a4b0aac4be17885b5107c2b3d2b8270224b8 Mon Sep 17 00:00:00 2001 From: Jarod Wilson Date: Mon, 12 May 2008 22:15:58 +0000 Subject: [PATCH 037/204] Helps to cvs add the patches... --- lirc-0.8.3-remote-includes-directive.patch | 341 +++++++++++++++++++++ lirc-0.8.3-validate-transmit-buffer.patch | 58 ++++ 2 files changed, 399 insertions(+) create mode 100644 lirc-0.8.3-remote-includes-directive.patch create mode 100644 lirc-0.8.3-validate-transmit-buffer.patch diff --git a/lirc-0.8.3-remote-includes-directive.patch b/lirc-0.8.3-remote-includes-directive.patch new file mode 100644 index 0000000..988ecec --- /dev/null +++ b/lirc-0.8.3-remote-includes-directive.patch @@ -0,0 +1,341 @@ +diff -Naurp lirc-0.8.3.orig/daemons/config_file.c lirc-0.8.3/daemons/config_file.c +--- lirc-0.8.3.orig/daemons/config_file.c 2007-07-29 14:20:06.000000000 -0400 ++++ lirc-0.8.3/daemons/config_file.c 2008-05-12 18:02:32.000000000 -0400 +@@ -1,4 +1,4 @@ +-/* $Id: config_file.c,v 5.27 2007/07/29 18:20:06 lirc Exp $ */ ++/* $Id: config_file.c,v 5.28 2008/05/09 18:40:59 lirc Exp $ */ + + /**************************************************************************** + ** config_file.c *********************************************************** +@@ -20,6 +20,7 @@ + #include + #include + #include ++#include + #include + #include + #include +@@ -32,9 +33,14 @@ + #include "config_file.h" + + #define LINE_LEN 1024 ++#define MAX_INCLUDES 10 + +-int line; +-int parse_error; ++const char *whitespace = " \t"; ++ ++static int line; ++static int parse_error; ++ ++static struct ir_remote * read_config_recursive(FILE *f, const char *name, int depth); + + void **init_void_array(struct void_array *ar,size_t chunk_size, size_t item_size) + { +@@ -643,7 +649,84 @@ struct ir_remote *sort_by_bit_count(stru + return top; + } + +-struct ir_remote * read_config(FILE *f) ++static const char *lirc_parse_include(char *s) ++{ ++ char *last; ++ size_t len; ++ ++ len=strlen(s); ++ if(len<2) ++ { ++ return NULL; ++ } ++ last = s+len-1; ++ while(last > s && strchr(whitespace, *last) != NULL) ++ { ++ last--; ++ } ++ if(last <= s) ++ { ++ return NULL; ++ } ++ if(*s!='"' && *s!='<') ++ { ++ return NULL; ++ } ++ if(*s=='"' && *last!='"') ++ { ++ return NULL; ++ } ++ else if(*s=='<' && *last!='>') ++ { ++ return NULL; ++ } ++ *last = 0; ++ memmove(s, s+1, len-2+1); /* terminating 0 is copied, and ++ maybe more, but we don't care */ ++ return s; ++} ++ ++static const char *lirc_parse_relative(char *dst, size_t dst_size, ++ const char *child, const char *current) ++{ ++ char *dir; ++ size_t dirlen; ++ ++ if (!current) ++ return child; ++ ++ /* Not a relative path */ ++ if (*child == '/') ++ return child; ++ ++ if(strlen(current) >= dst_size) ++ { ++ return NULL; ++ } ++ strcpy(dst, current); ++ dir = dirname(dst); ++ dirlen = strlen(dir); ++ if(dir != dst) ++ { ++ memmove(dst, dir, dirlen + 1); ++ } ++ ++ if(dirlen + 1 + strlen(child) + 1 > dst_size) ++ { ++ return NULL; ++ } ++ strcat(dst, "/"); ++ strcat(dst, child); ++ ++ return dst; ++} ++ ++struct ir_remote * read_config(FILE *f, const char *name) ++{ ++ return read_config_recursive(f, name, 0); ++} ++ ++static struct ir_remote * read_config_recursive(FILE *f, const char *name, int depth) + { + char buf[LINE_LEN+1], *key, *val, *val2; + int len,argc; +@@ -656,6 +739,7 @@ struct ir_remote * read_config(FILE *f) + + line=0; + parse_error=0; ++ LOGPRINTF(2, "parsing '%s'", name); + + while(fgets(buf,LINE_LEN,f)!=NULL) + { +@@ -683,14 +767,74 @@ struct ir_remote * read_config(FILE *f) + if(buf[0]=='#'){ + continue; + } +- key=strtok(buf," \t"); ++ key=strtok(buf, whitespace); + /* ignore empty lines */ + if(key==NULL) continue; +- val=strtok(NULL, " \t"); ++ val=strtok(NULL, whitespace); + if(val!=NULL){ +- val2=strtok(NULL, " \t"); ++ val2=strtok(NULL, whitespace); + LOGPRINTF(3,"\"%s\" \"%s\"",key,val); +- if (strcasecmp("begin",key)==0){ ++ if (strcasecmp("include",key)==0){ ++ FILE* childFile; ++ const char *childName; ++ const char *fullPath; ++ char result[FILENAME_MAX+1]; ++ ++ ++ if (depth > MAX_INCLUDES) { ++ logprintf(LOG_ERR,"error opening child file defined at %s:%d",name,line); ++ logprintf(LOG_ERR,"too many files included"); ++ parse_error=-1; ++ break; ++ } ++ ++ childName = lirc_parse_include(val); ++ if (!childName){ ++ logprintf(LOG_ERR,"error parsing child file value defined at line %d:",line); ++ logprintf(LOG_ERR,"invalid quoting"); ++ parse_error=-1; ++ break; ++ } ++ ++ fullPath = lirc_parse_relative(result, sizeof(result), childName, name); ++ if (!fullPath) { ++ logprintf(LOG_ERR,"error composing relative file path defined at line %d:",line); ++ logprintf(LOG_ERR,"resulting path too long"); ++ parse_error=-1; ++ break; ++ } ++ ++ childFile = fopen(fullPath, "r"); ++ if (childFile == NULL){ ++ logprintf(LOG_ERR,"error opening child file '%s' defined at line %d:",fullPath, line); ++ logprintf(LOG_ERR,"ignoring this child file for now."); ++ } ++ else{ ++ int save_line = line; ++ ++ if (!top_rem){ ++ /* create first remote */ ++ LOGPRINTF(2,"creating first remote"); ++ rem = read_config_recursive(childFile, fullPath, depth + 1); ++ if(rem != (void *) -1 && rem != NULL) { ++ top_rem = rem; ++ } else { ++ rem = NULL; ++ } ++ }else{ ++ /* create new remote */ ++ LOGPRINTF(2,"creating next remote"); ++ rem->next=read_config_recursive(childFile, fullPath, depth + 1); ++ if(rem->next != (void *) -1 && rem->next != NULL) { ++ rem=rem->next; ++ } else { ++ rem->next = NULL; ++ } ++ } ++ fclose(childFile); ++ line = save_line; ++ } ++ }else if (strcasecmp("begin",key)==0){ + if (strcasecmp("codes", val)==0){ + /* init codes mode */ + LOGPRINTF(2," begin codes"); +@@ -744,7 +888,7 @@ struct ir_remote * read_config(FILE *f) + + if(val2[0]=='#') break; /* comment */ + node=defineNode(code, val2); +- val2=strtok(NULL, " \t"); ++ val2=strtok(NULL, whitespace); + } + code->current=NULL; + add_void_array(&codes_list, code); +@@ -822,7 +966,7 @@ struct ir_remote * read_config(FILE *f) + + if(val2[0]=='#') break; /* comment */ + node=defineNode(code, val2); +- val2=strtok(NULL, " \t"); ++ val2=strtok(NULL, whitespace); + } + code->current=NULL; + add_void_array(&codes_list, code); +@@ -842,7 +986,7 @@ struct ir_remote * read_config(FILE *f) + case ID_remote: + argc=defineRemote(key, val, val2, rem); + if(!parse_error && ((argc==1 && val2!=NULL) || +- (argc==2 && val2!=NULL && strtok(NULL," \t")!=NULL))) ++ (argc==2 && val2!=NULL && strtok(NULL, whitespace)!=NULL))) + { + logprintf(LOG_WARNING,"garbage after '%s'" + " token in line %d ignored", +@@ -857,7 +1001,7 @@ struct ir_remote * read_config(FILE *f) + + if(val2[0]=='#') break; /* comment */ + node=defineNode(code, val2); +- val2=strtok(NULL, " \t"); ++ val2=strtok(NULL, whitespace); + } + code->current=NULL; + add_void_array(&codes_list, code); +@@ -905,7 +1049,7 @@ struct ir_remote * read_config(FILE *f) + break; + } + } +- while ((val=strtok(NULL," \t"))){ ++ while ((val=strtok(NULL, whitespace))){ + if (!addSignal(&signals, val)) break; + } + } +@@ -950,7 +1094,15 @@ struct ir_remote * read_config(FILE *f) + } + } + if (parse_error){ ++ static int print_error = 1; ++ ++ if(print_error) { ++ logprintf(LOG_ERR, "reading of file '%s' failed", ++ name); ++ print_error = 0; ++ } + free_config(top_rem); ++ if(depth == 0) print_error = 1; + return((void *) -1); + } + /* kick reverse flag */ +diff -Naurp lirc-0.8.3.orig/daemons/config_file.h lirc-0.8.3/daemons/config_file.h +--- lirc-0.8.3.orig/daemons/config_file.h 2006-01-28 13:36:44.000000000 -0500 ++++ lirc-0.8.3/daemons/config_file.h 2008-05-12 18:02:22.000000000 -0400 +@@ -1,4 +1,4 @@ +-/* $Id: config_file.h,v 5.10 2006/01/28 18:36:44 lirc Exp $ */ ++/* $Id: config_file.h,v 5.11 2008/05/09 18:40:59 lirc Exp $ */ + + /**************************************************************************** + ** config_file.h *********************************************************** +@@ -86,7 +86,7 @@ int addSignal(struct void_array *signals + struct ir_ncode * defineCode(char *key, char *val, struct ir_ncode *code); + struct ir_code_node *defineNode(struct ir_ncode *code, const char *val); + int defineRemote(char * key, char * val, char *val2, struct ir_remote *rem); +-struct ir_remote *read_config(FILE *f); ++struct ir_remote *read_config(FILE *f, const char *name); + void free_config(struct ir_remote *remotes); + + #endif +diff -Naurp lirc-0.8.3.orig/daemons/irrecord.c lirc-0.8.3/daemons/irrecord.c +--- lirc-0.8.3.orig/daemons/irrecord.c 2008-02-14 15:42:56.000000000 -0500 ++++ lirc-0.8.3/daemons/irrecord.c 2008-05-12 18:03:51.000000000 -0400 +@@ -1,4 +1,4 @@ +-/* $Id: irrecord.c,v 5.69 2008/02/14 20:42:56 lirc Exp $ */ ++/* $Id: irrecord.c,v 5.71 2008/05/09 18:40:59 lirc Exp $ */ + + /**************************************************************************** + ** irrecord.c ************************************************************** +@@ -311,7 +311,7 @@ int main(int argc,char **argv) + progname, filename, progname); + exit(EXIT_FAILURE); + } +- remotes=read_config(fin); ++ remotes=read_config(fin, filename); + fclose(fin); + if(remotes==(void *) -1 || remotes==NULL) + { +@@ -748,7 +748,7 @@ int main(int argc,char **argv) + if(hw.deinit_func) hw.deinit_func(); + exit(EXIT_FAILURE); + } +- remotes=read_config(fin); ++ remotes=read_config(fin,filename); + fclose(fin); + if(remotes==NULL) + { +diff -Naurp lirc-0.8.3.orig/daemons/lircd.c lirc-0.8.3/daemons/lircd.c +--- lirc-0.8.3.orig/daemons/lircd.c 2008-03-30 10:53:06.000000000 -0400 ++++ lirc-0.8.3/daemons/lircd.c 2008-05-12 18:02:12.000000000 -0400 +@@ -1,4 +1,4 @@ +-/* $Id: lircd.c,v 5.76 2008/03/30 14:53:06 lirc Exp $ */ ++/* $Id: lircd.c,v 5.77 2008/05/09 18:40:59 lirc Exp $ */ + + /**************************************************************************** + ** lircd.c ***************************************************************** +@@ -406,7 +406,7 @@ void config(void) + logperror(LOG_ERR,NULL); + return; + } +- config_remotes=read_config(fd); ++ config_remotes=read_config(fd, configfile); + fclose(fd); + if(config_remotes==(void *) -1) + { +diff -Naurp lirc-0.8.3.orig/NEWS lirc-0.8.3/NEWS +--- lirc-0.8.3.orig/NEWS 2008-05-12 17:59:40.000000000 -0400 ++++ lirc-0.8.3/NEWS 2008-05-12 18:05:04.000000000 -0400 +@@ -1,3 +1,6 @@ ++0.8.4-CVS: future ++ * support for include directive in lircd.conf ++ + 0.8.3: 05/04/08 + * added support for Samsung USB IR Receiver (Robert Schedel) + * added support for Soundgraph iMON IR/LCD (Dean Harding) diff --git a/lirc-0.8.3-validate-transmit-buffer.patch b/lirc-0.8.3-validate-transmit-buffer.patch new file mode 100644 index 0000000..4eb0715 --- /dev/null +++ b/lirc-0.8.3-validate-transmit-buffer.patch @@ -0,0 +1,58 @@ +--- transmit.c 2007/07/29 18:20:13 5.27 ++++ transmit.c 2008/05/11 13:29:47 5.28 +@@ -1,4 +1,4 @@ +-/* $Id: transmit.c,v 5.27 2007/07/29 18:20:13 lirc Exp $ */ ++/* $Id: transmit.c,v 5.28 2008/05/11 13:29:47 lirc Exp $ */ + + /**************************************************************************** + ** transmit.c ************************************************************** +@@ -116,6 +116,34 @@ + return(0); + } + ++static int check_send_buffer(void) ++{ ++ int i; ++ ++ if (send_buffer.wptr == 0) ++ { ++ LOGPRINTF(1, "nothing to send"); ++ return(0); ++ } ++ for (i = 0; i < send_buffer.wptr; i++) ++ { ++ if(send_buffer.data[i] == 0) ++ { ++ if(i%2) ++ { ++ LOGPRINTF(1, "invalid space: %d", i); ++ } ++ else ++ { ++ LOGPRINTF(1, "invalid pulse: %d", i); ++ } ++ return 0; ++ } ++ } ++ ++ return 1; ++} ++ + static inline void flush_send_buffer(void) + { + if(send_buffer.pendingp>0) +@@ -500,5 +528,13 @@ + goto init_send_loop; + } + LOGPRINTF(3, "transmit buffer ready"); +- return(1); ++ if(!check_send_buffer()) ++ { ++ logprintf(LOG_ERR, "invalid send buffer"); ++ logprintf(LOG_ERR, ++ "this remote configuration cannot be used " ++ "to transmit"); ++ return 0; ++ } ++ return 1; + } From 89675d7bc3e374cade157d78307a80f84c91e76a Mon Sep 17 00:00:00 2001 From: Jarod Wilson Date: Mon, 2 Jun 2008 18:57:47 +0000 Subject: [PATCH 038/204] - Add additional required patches for gnome-lirc-properties (#442248) - Put remote definitions in their own sub-package (#442328) --- lirc-0.8.3-validate-transmit-buffer.patch | 4 +- lirc-add-resume-switch-to-irrecord.patch | 109 ++++++++++++++++++ ...w-instead-of-conf-as-filename-suffix.patch | 28 +++++ lirc.spec | 33 +++++- 4 files changed, 169 insertions(+), 5 deletions(-) create mode 100644 lirc-add-resume-switch-to-irrecord.patch create mode 100644 lirc-use-new-instead-of-conf-as-filename-suffix.patch diff --git a/lirc-0.8.3-validate-transmit-buffer.patch b/lirc-0.8.3-validate-transmit-buffer.patch index 4eb0715..6db6c1d 100644 --- a/lirc-0.8.3-validate-transmit-buffer.patch +++ b/lirc-0.8.3-validate-transmit-buffer.patch @@ -1,5 +1,5 @@ ---- transmit.c 2007/07/29 18:20:13 5.27 -+++ transmit.c 2008/05/11 13:29:47 5.28 +--- lirc/daemons/transmit.c 2007/07/29 18:20:13 5.27 ++++ lirc/daemons/transmit.c 2008/05/11 13:29:47 5.28 @@ -1,4 +1,4 @@ -/* $Id: transmit.c,v 5.27 2007/07/29 18:20:13 lirc Exp $ */ +/* $Id: transmit.c,v 5.28 2008/05/11 13:29:47 lirc Exp $ */ diff --git a/lirc-add-resume-switch-to-irrecord.patch b/lirc-add-resume-switch-to-irrecord.patch new file mode 100644 index 0000000..fc234f4 --- /dev/null +++ b/lirc-add-resume-switch-to-irrecord.patch @@ -0,0 +1,109 @@ +From d5f3f9853d87c319c33ade71811c225db11855f7 Mon Sep 17 00:00:00 2001 +From: Mathias Hasselmann +Date: Wed, 13 Feb 2008 21:23:43 +0100 +Subject: Add --resume switch to irrecord. + +This switch asks irrecord to take hardware parameters from the provided +template file, instead of trying to interactively discover them. + +This change is needed for gnome-lirc-properties to allow it having a +self-contained key-code learning mode, that's consistent with +gnome-keybinding-properties. + +The 'remotes==NULL' check for LIRC_MODE_MODE2 seems to indicate, that its +author had a similar behaviour in mind. Still I prefer having that switch, +instead of silently switching to --resume behaviour when a templates file +was found, for backwards compability and for being able to detect that +feature. +--- + daemons/irrecord.c | 17 ++++++++++++----- + 1 files changed, 12 insertions(+), 5 deletions(-) + +diff --git a/daemons/irrecord.c b/daemons/irrecord.c +index df03c7b..a2420a8 100644 +--- a/daemons/irrecord.c ++++ b/daemons/irrecord.c +@@ -192,6 +192,7 @@ int main(int argc,char **argv) + lirc_t min_remaining_gap, max_remaining_gap; + int force; + int retries; ++ int resume; + struct ir_remote *remotes=NULL; + char *device=NULL; + #ifdef DEBUG +@@ -200,6 +201,7 @@ int main(int argc,char **argv) + + progname=argv[0]; + force=0; ++ resume=0; + hw_choose_driver(NULL); + while(1) + { +@@ -211,6 +213,7 @@ int main(int argc,char **argv) + {"device",required_argument,NULL,'d'}, + {"driver",required_argument,NULL,'H'}, + {"force",no_argument,NULL,'f'}, ++ {"resume",no_argument,NULL,'r'}, + #ifdef DEBUG + {"pre",no_argument,NULL,'p'}, + {"post",no_argument,NULL,'P'}, +@@ -221,9 +224,9 @@ int main(int argc,char **argv) + {0, 0, 0, 0} + }; + #ifdef DEBUG +- c = getopt_long(argc,argv,"hvd:H:fpPtiT",long_options,NULL); ++ c = getopt_long(argc,argv,"hvd:H:frpPtiT",long_options,NULL); + #else +- c = getopt_long(argc,argv,"hvd:H:f",long_options,NULL); ++ c = getopt_long(argc,argv,"hvd:H:fr",long_options,NULL); + #endif + if(c==-1) + break; +@@ -234,6 +237,7 @@ int main(int argc,char **argv) + printf("\t -h --help\t\tdisplay this message\n"); + printf("\t -v --version\t\tdisplay version\n"); + printf("\t -f --force\t\tforce raw mode\n"); ++ printf("\t -r --resume\t\tcontinue recording\n"); + printf("\t -H --driver=driver\tuse given driver\n"); + printf("\t -d --device=device\tread from given device\n"); + exit(EXIT_SUCCESS); +@@ -254,6 +258,9 @@ int main(int argc,char **argv) + case 'f': + force=1; + break; ++ case 'r': ++ resume=1; ++ break; + #ifdef DEBUG + case 'p': + get_pre=1; +@@ -460,7 +467,7 @@ int main(int argc,char **argv) + switch(hw.rec_mode) + { + case LIRC_MODE_MODE2: +- if(remotes==NULL && !get_lengths(&remote,force)) ++ if((!remotes || !resume) && !get_lengths(&remote,force)) + { + if(remote.gap==0) + { +@@ -494,7 +501,7 @@ int main(int argc,char **argv) + case LIRC_MODE_LIRCCODE: + if(hw.rec_mode==LIRC_MODE_CODE) remote.bits=CHAR_BIT; + else remote.bits=hw.code_length; +- if(!get_gap_length(&remote)) ++ if((!remotes || !resume) && !get_gap_length(&remote)) + { + fprintf(stderr,"%s: gap not found," + " can't continue\n",progname); +@@ -767,7 +774,7 @@ int main(int argc,char **argv) + exit(EXIT_FAILURE); + } + +- if(!has_toggle_bit_mask(remotes)) ++ if((!remotes || !resume) && !has_toggle_bit_mask(remotes)) + { + get_toggle_bit_mask(remotes); + } +-- +1.5.3.7 + diff --git a/lirc-use-new-instead-of-conf-as-filename-suffix.patch b/lirc-use-new-instead-of-conf-as-filename-suffix.patch new file mode 100644 index 0000000..54d9ba9 --- /dev/null +++ b/lirc-use-new-instead-of-conf-as-filename-suffix.patch @@ -0,0 +1,28 @@ +From 3e45e512719feccaa16edfd208273bade4f724e4 Mon Sep 17 00:00:00 2001 +From: Mathias Hasselmann +Date: Wed, 13 Feb 2008 21:16:09 +0100 +Subject: Use '.new' instead of '.conf' as filename suffix in template mode, + and append that the suffix to 'filename_new' instead of 'filename', + to prevent a buffer overrun for 'argv[optind]'. + +--- + daemons/irrecord.c | 3 ++- + 1 files changed, 2 insertions(+), 1 deletions(-) + +diff --git a/daemons/irrecord.c b/daemons/irrecord.c +index ea298e3..df03c7b 100644 +--- a/daemons/irrecord.c ++++ b/daemons/irrecord.c +@@ -364,7 +364,7 @@ int main(int argc,char **argv) + exit(EXIT_FAILURE); + } + strcpy(filename_new, filename); +- strcat(filename_new, ".conf"); ++ strcat(filename_new,".new"); + filename = filename_new; + } + fout=fopen(filename,"w"); + if(fout==NULL) +-- +1.5.3.7 + diff --git a/lirc.spec b/lirc.spec index 6b9fa4e..9def1c4 100644 --- a/lirc.spec +++ b/lirc.spec @@ -18,7 +18,7 @@ Name: lirc Version: 0.8.3 -Release: 2%{?pre:.%{pre}}%{?dist} +Release: 3%{?pre:.%{pre}}%{?dist} Summary: The Linux Infrared Remote Control package Group: System Environment/Daemons @@ -30,6 +30,8 @@ Source1: %{name}.init Source2: %{name}.sysconfig Patch0: lirc-0.8.3-remote-includes-directive.patch Patch1: lirc-0.8.3-validate-transmit-buffer.patch +Patch2: lirc-use-new-instead-of-conf-as-filename-suffix.patch +Patch3: lirc-add-resume-switch-to-irrecord.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: %{__perl} @@ -94,13 +96,27 @@ other signals of many (but not all) commonly used remote controls. Included applications include daemons which decode the received signals as well as user space applications which allow controlling a computer with a remote control. This package contains LIRC -documentation and a collection of remote control configuration files. +documentation. + +%package remotes +Summary: LIRC remote definitions +Group: System Environment/Daemons + +%description remotes +LIRC is a package that allows you to decode and send infra-red and +other signals of many (but not all) commonly used remote controls. +Included applications include daemons which decode the received +signals as well as user space applications which allow controlling a +computer with a remote control. This package contains a collection +of remote control configuration files. %prep %setup -q -n %{name}-%{version}%{?pre} %patch0 -p1 -b .incl %patch1 -p1 -b .xbuf +%patch2 -p1 -b .suf +%patch3 -p1 -b .res chmod 644 contrib/* @@ -183,6 +199,8 @@ touch $RPM_BUILD_ROOT/dev/lirc{d,m} rm $RPM_BUILD_ROOT%{_libdir}/liblirc_client.la +# Put remote definitions in place +cp -ar remotes $RPM_BUILD_ROOT%{_datadir}/lirc-remotes %clean rm -rf $RPM_BUILD_ROOT @@ -233,10 +251,19 @@ fi %files doc %defattr(-,root,root,-) -%doc __docs/* remotes/ +%doc __docs/* + +%files remotes +%defattr(-,root,root,-) +%dir %{_datadir}/lirc-remotes +%{_datadir}/lirc-remotes/* %changelog +* Mon Jun 02 2008 Jarod Wilson - 0.8.3-3 +- Add additional required patches for gnome-lirc-properties (#442248) +- Put remote definitions in their own sub-package (#442328) + * Mon May 12 2008 Jarod Wilson - 0.8.3-2 - Include upstream patch for lircd.conf remote include directives (#442248) - Include upstream patch to validate transmit buffers From 9600db33438dd032098ef9777963d1b88e728713 Mon Sep 17 00:00:00 2001 From: Jarod Wilson Date: Mon, 23 Jun 2008 18:06:40 +0000 Subject: [PATCH 039/204] - Drop resume switch patch, no longer required - Add support for config option style used by gnome-lirc-properties (#442341) --- lirc-add-resume-switch-to-irrecord.patch | 109 ----------------------- lirc.init | 33 ++++++- lirc.spec | 8 +- lirc.sysconfig | 16 +++- 4 files changed, 50 insertions(+), 116 deletions(-) delete mode 100644 lirc-add-resume-switch-to-irrecord.patch diff --git a/lirc-add-resume-switch-to-irrecord.patch b/lirc-add-resume-switch-to-irrecord.patch deleted file mode 100644 index fc234f4..0000000 --- a/lirc-add-resume-switch-to-irrecord.patch +++ /dev/null @@ -1,109 +0,0 @@ -From d5f3f9853d87c319c33ade71811c225db11855f7 Mon Sep 17 00:00:00 2001 -From: Mathias Hasselmann -Date: Wed, 13 Feb 2008 21:23:43 +0100 -Subject: Add --resume switch to irrecord. - -This switch asks irrecord to take hardware parameters from the provided -template file, instead of trying to interactively discover them. - -This change is needed for gnome-lirc-properties to allow it having a -self-contained key-code learning mode, that's consistent with -gnome-keybinding-properties. - -The 'remotes==NULL' check for LIRC_MODE_MODE2 seems to indicate, that its -author had a similar behaviour in mind. Still I prefer having that switch, -instead of silently switching to --resume behaviour when a templates file -was found, for backwards compability and for being able to detect that -feature. ---- - daemons/irrecord.c | 17 ++++++++++++----- - 1 files changed, 12 insertions(+), 5 deletions(-) - -diff --git a/daemons/irrecord.c b/daemons/irrecord.c -index df03c7b..a2420a8 100644 ---- a/daemons/irrecord.c -+++ b/daemons/irrecord.c -@@ -192,6 +192,7 @@ int main(int argc,char **argv) - lirc_t min_remaining_gap, max_remaining_gap; - int force; - int retries; -+ int resume; - struct ir_remote *remotes=NULL; - char *device=NULL; - #ifdef DEBUG -@@ -200,6 +201,7 @@ int main(int argc,char **argv) - - progname=argv[0]; - force=0; -+ resume=0; - hw_choose_driver(NULL); - while(1) - { -@@ -211,6 +213,7 @@ int main(int argc,char **argv) - {"device",required_argument,NULL,'d'}, - {"driver",required_argument,NULL,'H'}, - {"force",no_argument,NULL,'f'}, -+ {"resume",no_argument,NULL,'r'}, - #ifdef DEBUG - {"pre",no_argument,NULL,'p'}, - {"post",no_argument,NULL,'P'}, -@@ -221,9 +224,9 @@ int main(int argc,char **argv) - {0, 0, 0, 0} - }; - #ifdef DEBUG -- c = getopt_long(argc,argv,"hvd:H:fpPtiT",long_options,NULL); -+ c = getopt_long(argc,argv,"hvd:H:frpPtiT",long_options,NULL); - #else -- c = getopt_long(argc,argv,"hvd:H:f",long_options,NULL); -+ c = getopt_long(argc,argv,"hvd:H:fr",long_options,NULL); - #endif - if(c==-1) - break; -@@ -234,6 +237,7 @@ int main(int argc,char **argv) - printf("\t -h --help\t\tdisplay this message\n"); - printf("\t -v --version\t\tdisplay version\n"); - printf("\t -f --force\t\tforce raw mode\n"); -+ printf("\t -r --resume\t\tcontinue recording\n"); - printf("\t -H --driver=driver\tuse given driver\n"); - printf("\t -d --device=device\tread from given device\n"); - exit(EXIT_SUCCESS); -@@ -254,6 +258,9 @@ int main(int argc,char **argv) - case 'f': - force=1; - break; -+ case 'r': -+ resume=1; -+ break; - #ifdef DEBUG - case 'p': - get_pre=1; -@@ -460,7 +467,7 @@ int main(int argc,char **argv) - switch(hw.rec_mode) - { - case LIRC_MODE_MODE2: -- if(remotes==NULL && !get_lengths(&remote,force)) -+ if((!remotes || !resume) && !get_lengths(&remote,force)) - { - if(remote.gap==0) - { -@@ -494,7 +501,7 @@ int main(int argc,char **argv) - case LIRC_MODE_LIRCCODE: - if(hw.rec_mode==LIRC_MODE_CODE) remote.bits=CHAR_BIT; - else remote.bits=hw.code_length; -- if(!get_gap_length(&remote)) -+ if((!remotes || !resume) && !get_gap_length(&remote)) - { - fprintf(stderr,"%s: gap not found," - " can't continue\n",progname); -@@ -767,7 +774,7 @@ int main(int argc,char **argv) - exit(EXIT_FAILURE); - } - -- if(!has_toggle_bit_mask(remotes)) -+ if((!remotes || !resume) && !has_toggle_bit_mask(remotes)) - { - get_toggle_bit_mask(remotes); - } --- -1.5.3.7 - diff --git a/lirc.init b/lirc.init index 4946651..b68b6ad 100644 --- a/lirc.init +++ b/lirc.init @@ -30,9 +30,40 @@ prog2=$(basename $exec2) lockfile=/var/lock/subsys/lirc +build_lirc_args () +{ + local LIRC_ARGS="$*" + + # For remote only detection support, we need + # LIRC_DEVICE undefined + if [ -z "$LIRC_DEVICE" ] ; then + for dev in /dev/lirc0; do + if [ -c $dev ]; then + LIRC_DEVICE="$dev" + break + fi + done + fi + + # If we have a LIRC_DEVICE or LIRC_DRIVER defined (either because + # no devices were defined, OR if we explicitly did), then + # populate LIRC_ARGS + if [ ! -z "$LIRC_DEVICE" ] || [ ! -z "$LIRC_DRIVER" ]; then + if [ -n "$LIRC_DEVICE" ] && [ "$LIRC_DEVICE" != "none" ]; then + LIRC_ARGS="--device=$LIRC_DEVICE $LIRC_ARGS" + fi + if [ -n "$LIRC_DRIVER" ] && [ "$LIRC_DRIVER" != "none" ]; then + LIRC_ARGS="--driver=$LIRC_DRIVER $LIRC_ARGS" + fi + fi + echo $LIRC_ARGS +} + start() { + LIRC_ARGS=`build_lirc_args $LIRC_ARGS` + echo -n $"Starting infrared remote control daemon ($prog): " - daemon $exec $LIRCD_OPTIONS + daemon $exec $LIRC_ARGS $LIRCD_OPTIONS retval=$? echo status $prog >/dev/null 2>&1 diff --git a/lirc.spec b/lirc.spec index 9def1c4..30a95eb 100644 --- a/lirc.spec +++ b/lirc.spec @@ -18,7 +18,7 @@ Name: lirc Version: 0.8.3 -Release: 3%{?pre:.%{pre}}%{?dist} +Release: 4%{?pre:.%{pre}}%{?dist} Summary: The Linux Infrared Remote Control package Group: System Environment/Daemons @@ -31,7 +31,6 @@ Source2: %{name}.sysconfig Patch0: lirc-0.8.3-remote-includes-directive.patch Patch1: lirc-0.8.3-validate-transmit-buffer.patch Patch2: lirc-use-new-instead-of-conf-as-filename-suffix.patch -Patch3: lirc-add-resume-switch-to-irrecord.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: %{__perl} @@ -116,7 +115,6 @@ of remote control configuration files. %patch0 -p1 -b .incl %patch1 -p1 -b .xbuf %patch2 -p1 -b .suf -%patch3 -p1 -b .res chmod 644 contrib/* @@ -260,6 +258,10 @@ fi %changelog +* Mon Jun 23 2008 Jarod Wilson - 0.8.3-4 +- Drop resume switch patch, no longer required +- Add support for config option style used by gnome-lirc-properties (#442341) + * Mon Jun 02 2008 Jarod Wilson - 0.8.3-3 - Add additional required patches for gnome-lirc-properties (#442248) - Put remote definitions in their own sub-package (#442328) diff --git a/lirc.sysconfig b/lirc.sysconfig index 049e13f..a9ce795 100644 --- a/lirc.sysconfig +++ b/lirc.sysconfig @@ -1,13 +1,23 @@ # Note: in addition to these parameters, you need to have working -*- sh -*- # configuration file for lircd (and lircmd if enabled). -# Options to lircd(8). Typically, at least a remote controller driver -# ("-H foo") needs to be specified here. Run "/usr/sbin/lircd -H help" to get -# a listing of supported drivers. +# Options to lircd(8). Typically, this will be empty, as which driver to use +# should be specified using the LIRC_DRIVER variable below. LIRCD_OPTIONS="" +# The infrared receiver (and/or transmitter) driver to be used by lircd(8), +# similar to passing "-H driver" to lircd(8). +# Run "/usr/sbin/lircd -H help" to get a listing of supported drivers. +LIRC_DRIVER="" + +# Which lirc device will be used by lircd(8). +# This is the same as passing "-d device" to lircd. +# An empty value will use the default /dev/lirc device. +LIRC_DEVICE="" + # If "yes", the init script will try to start lircmd(8) too. ENABLE_LIRCMD="no" # Options to lircmd(8). LIRCMD_OPTIONS="" + From c73c3bd6e69db8ec30396214c9cfbcbef613643a Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Thu, 14 Aug 2008 09:12:29 +0000 Subject: [PATCH 040/204] - Add huge patch to fix the majority of remotes to have sensible keycodes, so they work out-of-the-box (#457273) --- lirc.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/lirc.spec b/lirc.spec index 30a95eb..3802885 100644 --- a/lirc.spec +++ b/lirc.spec @@ -18,7 +18,7 @@ Name: lirc Version: 0.8.3 -Release: 4%{?pre:.%{pre}}%{?dist} +Release: 5%{?pre:.%{pre}}%{?dist} Summary: The Linux Infrared Remote Control package Group: System Environment/Daemons @@ -31,6 +31,9 @@ Source2: %{name}.sysconfig Patch0: lirc-0.8.3-remote-includes-directive.patch Patch1: lirc-0.8.3-validate-transmit-buffer.patch Patch2: lirc-use-new-instead-of-conf-as-filename-suffix.patch +# https://bugzilla.redhat.com/show_bug.cgi?id=457273 +# http://thread.gmane.org/gmane.comp.hardware.lirc/6884 +Patch3: lirc-0.8.3-fix-remote-keycodes.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: %{__perl} @@ -115,6 +118,7 @@ of remote control configuration files. %patch0 -p1 -b .incl %patch1 -p1 -b .xbuf %patch2 -p1 -b .suf +%patch3 -p1 -b .keycode chmod 644 contrib/* @@ -159,7 +163,6 @@ touch -r aclocal.m4 configure.ac # avoid autofoo re-run --with-driver=userspace make %{?_smp_mflags} - %install rm -rf $RPM_BUILD_ROOT __docs @@ -258,6 +261,10 @@ fi %changelog +* Thu Aug 14 2008 - Bastien Nocera - 0.8.3-5 +- Add huge patch to fix the majority of remotes to have sensible keycodes, + so they work out-of-the-box (#457273) + * Mon Jun 23 2008 Jarod Wilson - 0.8.3-4 - Drop resume switch patch, no longer required - Add support for config option style used by gnome-lirc-properties (#442341) From 6a6e021cffccfe405a43c5ad78dcb0380da71c0a Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Thu, 14 Aug 2008 09:21:43 +0000 Subject: [PATCH 041/204] - Add huge patch to fix the majority of remotes to have sensible keycodes, so they work out-of-the-box (#457273) --- lirc-0.8.3-fix-remote-keycodes.patch | 4661 ++++++++++++++++++++++++++ lirc.spec | 3 +- 2 files changed, 4663 insertions(+), 1 deletion(-) create mode 100644 lirc-0.8.3-fix-remote-keycodes.patch diff --git a/lirc-0.8.3-fix-remote-keycodes.patch b/lirc-0.8.3-fix-remote-keycodes.patch new file mode 100644 index 0000000..26024b8 --- /dev/null +++ b/lirc-0.8.3-fix-remote-keycodes.patch @@ -0,0 +1,4661 @@ +diff -upr lirc-0.8.3.orig/remotes/adaptec/lircd.conf.AVC-2410 lirc-0.8.3/remotes/adaptec/lircd.conf.AVC-2410 +--- lirc-0.8.3.orig/remotes/adaptec/lircd.conf.AVC-2410 2005-03-28 10:25:36.000000000 +0100 ++++ lirc-0.8.3/remotes/adaptec/lircd.conf.AVC-2410 2008-08-12 16:14:40.000000000 +0100 +@@ -29,30 +29,30 @@ begin remote + Live 0x00000000000025DA + Timeshift 0x00000000000017E8 + Scan 0x00000000000018e7 +- Power 0x00000000000009f6 +- 1 0x00000000000026D9 +- 2 0x00000000000019E6 +- 3 0x00000000000010EF +- 4 0x00000000000027D8 +- 5 0x00000000000020DF +- 6 0x00000000000011EE +- 7 0x00000000000028D7 +- 8 0x00000000000021DE +- 9 0x00000000000012ED +- 0 0x00000000000022DD +- Mute 0x00000000000013EC ++ KEY_POWER 0x00000000000009f6 ++ KEY_1 0x00000000000026D9 ++ KEY_2 0x00000000000019E6 ++ KEY_3 0x00000000000010EF ++ KEY_4 0x00000000000027D8 ++ KEY_5 0x00000000000020DF ++ KEY_6 0x00000000000011EE ++ KEY_7 0x00000000000028D7 ++ KEY_8 0x00000000000021DE ++ KEY_9 0x00000000000012ED ++ KEY_0 0x00000000000022DD ++ KEY_MUTE 0x00000000000013EC + Full 0x00000000000029D6 +- Play 0x00000000000030CF +- Stop 0x00000000000023DC +- Skip 0x00000000000024DB +- Replay 0x00000000000014EB +- Rewind 0x00000000000031CE +- Forward 0x00000000000015EA +- Ch+ 0x00000000000001FE +- Ch- 0x00000000000005FA +- Vol+ 0x00000000000004FB +- Vol- 0x00000000000002FD +- Enter 0x00000000000003FC ++ KEY_PLAY 0x00000000000030CF ++ KEY_STOP 0x00000000000023DC ++ KEY_NEXT 0x00000000000024DB ++ KEY_AGAIN 0x00000000000014EB ++ KEY_REWIND 0x00000000000031CE ++ KEY_FORWARD 0x00000000000015EA ++ KEY_CHANNELUP 0x00000000000001FE ++ KEY_CHANNELDOWN 0x00000000000005FA ++ KEY_VOLUMEUP 0x00000000000004FB ++ KEY_VOLUMEDOWN 0x00000000000002FD ++ KEY_ENTER 0x00000000000003FC + OSD 0x00000000000032CD + cc 0x00000000000016E9 + end codes +diff -upr lirc-0.8.3.orig/remotes/adstech/lircd.conf.usbx-707 lirc-0.8.3/remotes/adstech/lircd.conf.usbx-707 +--- lirc-0.8.3.orig/remotes/adstech/lircd.conf.usbx-707 2008-08-12 16:13:39.000000000 +0100 ++++ lirc-0.8.3/remotes/adstech/lircd.conf.usbx-707 2008-08-12 16:14:39.000000000 +0100 +@@ -26,50 +26,50 @@ begin remote + toggle_bit_mask 0x0 + + begin codes +- Power 0x02FD5BA400 +- Mute 0x02FD5FA000 +- 1 0x02FD57A800 +- 2 0x02FD4FB000 +- 3 0x02FD53AC00 +- 4 0x02FD56A900 +- 5 0x02FD4EB100 +- 6 0x02FD5EA100 +- 7 0x02FD54AB00 +- 8 0x02FD4CB300 +- 9 0x02FD5CA300 +- Jump 0x02FD55AA00 +- 0 0x02FD4DB200 +- Search 0x02FD5DA200 ++ KEY_POWER 0x02FD5BA400 ++ KEY_MUTE 0x02FD5FA000 ++ KEY_1 0x02FD57A800 ++ KEY_2 0x02FD4FB000 ++ KEY_3 0x02FD53AC00 ++ KEY_4 0x02FD56A900 ++ KEY_5 0x02FD4EB100 ++ KEY_6 0x02FD5EA100 ++ KEY_7 0x02FD54AB00 ++ KEY_8 0x02FD4CB300 ++ KEY_9 0x02FD5CA300 ++ 0x02FD55AA00 ++ KEY_0 0x02FD4DB200 ++ 0x02FD5DA200 + Guide 0x02FD17E800 +- Up 0x02FD0FF000 +- Menu 0x02FD1FE000 +- Left 0x02FD16E900 +- Enter 0x02FD0EF100 +- Right 0x02FD1EE100 +- Info 0x02FD5AA500 +- Down 0x02FD46B900 +- Exit 0x02FD52AD00 +- Replay 0x02FD59A600 +- Skip 0x02FD51AE00 +- Rewind 0x02FD58A700 +- Play 0x02FD44BB00 +- Forward 0x02FD50AF00 +- Stop 0x02FD07F800 +- Record 0x02FD1BE400 ++ KEY_UP 0x02FD0FF000 ++ KEY_MENU 0x02FD1FE000 ++ KEY_LEFT 0x02FD16E900 ++ KEY_ENTER 0x02FD0EF100 ++ KEY_RIGHT 0x02FD1EE100 ++ KEY_INFO 0x02FD5AA500 ++ KEY_DOWN 0x02FD46B900 ++ 0x02FD52AD00 ++ KEY_AGAIN 0x02FD59A600 ++ KEY_NEXT 0x02FD51AE00 ++ KEY_REWIND 0x02FD58A700 ++ KEY_PLAY 0x02FD44BB00 ++ KEY_FORWARD 0x02FD50AF00 ++ KEY_STOP 0x02FD07F800 ++ KEY_RECORD 0x02FD1BE400 + Live 0x02FD13EC00 +- A 0x02FD0AF500 +- DVD 0x02FD06F900 +- B 0x02FD12ED00 ++ KEY_A 0x02FD0AF500 ++ KEY_DVD 0x02FD06F900 ++ KEY_B 0x02FD12ED00 + Photo 0x02FD48B700 +- Video 0x02FD40BF00 +- Music 0x02FD19E600 +- Ch+ 0x02FD0BF400 +- Ch- 0x02FD08F700 ++ KEY_VIDEO 0x02FD40BF00 ++ KEY_AUDIO 0x02FD19E600 ++ KEY_CHANNELUP 0x02FD0BF400 ++ KEY_CHANNELDOWN 0x02FD08F700 + S1 0x02FD03FC00 + S2 0x02FD01FE00 + S3 0x02FD00FF00 +- Vol+ 0x02FD15EA00 +- Vol- 0x02FD1CE300 ++ KEY_VOLUMEUP 0x02FD15EA00 ++ KEY_VOLUMEDOWN 0x02FD1CE300 + end codes + + end remote +diff -upr lirc-0.8.3.orig/remotes/animax/lircd.conf.animax lirc-0.8.3/remotes/animax/lircd.conf.animax +--- lirc-0.8.3.orig/remotes/animax/lircd.conf.animax 1999-04-29 22:30:59.000000000 +0100 ++++ lirc-0.8.3/remotes/animax/lircd.conf.animax 2008-08-12 16:14:40.000000000 +0100 +@@ -38,79 +38,79 @@ begin remote + + begin codes + CD_DOWN 0x000000000000DB24 +- CD_UP 0x0000000000005BA4 ++ KEY_CD 0x0000000000005BA4 + TV_DOWN 0x000000000000DC23 +- TV_UP 0x0000000000005CA3 ++ KEY_TV 0x0000000000005CA3 + PHONE_DOWN 0x000000000000DD22 +- PHONE_UP 0x0000000000005DA2 ++ KEY_PHONE 0x0000000000005DA2 + RADIO_DOWN 0x000000000000DE21 +- RADIO_UP 0x0000000000005EA1 ++ KEY_RADIO 0x0000000000005EA1 + VIDEO_DOWN 0x000000000000DF20 +- VIDEO_UP 0x0000000000005FA0 ++ KEY_VIDEO 0x0000000000005FA0 + AUX1_DOWN 0x000000000000E01F +- AUX1_UP 0x000000000000609F ++ KEY_AUX 0x000000000000609F + MAIL_DOWN 0x000000000000E11E +- MAIL_UP 0x000000000000619E ++ KEY_MAIL 0x000000000000619E + AUX2_DOWN 0x000000000000E21D + AUX2_UP 0x000000000000629D + POWER_DOWN 0x000000000000E31C +- POWER_UP 0x000000000000639C ++ KEY_POWER 0x000000000000639C + LEFT_MOUSE_BUTTON_TOUCH_DOWN 0x000000000000E41B + LEFT_MOUSE_BUTTON_TOUCH_UP 0x000000000000649B + REWIND_DOWN 0x000000000000E51A +- REWIND_UP 0x000000000000659A ++ KEY_REWIND 0x000000000000659A + PLAY_DOWN 0x000000000000E619 +- PLAY_UP 0x0000000000006699 ++ KEY_PLAY 0x0000000000006699 + FORWARD_DOWN 0x000000000000E718 +- FORWARD_UP 0x0000000000006798 ++ KEY_FORWARD 0x0000000000006798 + SKIP_BACKWARD_DOWN 0x000000000000E817 + SKIP_BACKWARD 0x0000000000006897 + STOP_DOWN 0x000000000000E916 +- STOP_UP 0x0000000000006996 ++ KEY_STOP 0x0000000000006996 + SKIP_FORWARD_DOWN 0x000000000000EA15 + SKIP_FORWARD_UP 0x0000000000006A95 + CHANNEL_UP_DOWN 0x000000000000EB14 +- CHANNEL_UP_UP 0x0000000000006B94 ++ KEY_CHANNELUP 0x0000000000006B94 + MENU_DOWN 0x000000000000EC13 +- MENU_UP 0x0000000000006C93 ++ KEY_MENU 0x0000000000006C93 + VOLUME_UP_DOWN 0x000000000000ED12 +- VOLUME_UP_UP 0x0000000000006D92 ++ KEY_VOLUMEUP 0x0000000000006D92 + BLUE_BUTTON_DOWN 0x000000000000EE11 +- BLUE_BUTTON_UP 0x0000000000006E91 ++ KEY_BLUE 0x0000000000006E91 + MUTE_DOWN 0x000000000000EF10 +- MUTE_UP 0x0000000000006F90 ++ KEY_MUTE 0x0000000000006F90 + VOLUME_DOWN_DOWN 0x000000000000F00F +- VOLUME_DOWN_UP 0x000000000000708F ++ KEY_VOLUMEDOWN 0x000000000000708F + RED_BUTTON_DOWN 0x000000000000F10E +- RED_BUTTON_UP 0x000000000000718E ++ KEY_RED 0x000000000000718E + GREEN_BUTTON_DOWN 0x000000000000F20D +- GREEN_BUTTON_UP 0x000000000000728D ++ KEY_GREEN 0x000000000000728D + CHANNEL_DOWN_DOWN 0x000000000000F30C +- CHANNEL_DOWN_UP 0x000000000000738C ++ KEY_CHANNELDOWN 0x000000000000738C + 1_DOWN 0x000000000000F40B +- 1_UP 0x000000000000748B ++ KEY_1 0x000000000000748B + 2_DOWN 0x000000000000F50A +- 2_UP 0x000000000000758A ++ KEY_2 0x000000000000758A + 3_DOWN 0x000000000000F609 +- 3_UP 0x0000000000007689 ++ KEY_3 0x0000000000007689 + 4_DOWN 0x000000000000F708 +- 4_UP 0x0000000000007788 ++ KEY_4 0x0000000000007788 + 5_DOWN 0x000000000000F807 +- 5_UP 0x0000000000007887 ++ KEY_5 0x0000000000007887 + 6_DOWN 0x000000000000F906 +- 6_UP 0x0000000000007986 ++ KEY_6 0x0000000000007986 + 7_DOWN 0x000000000000FA05 +- 7_UP 0x0000000000007A85 ++ KEY_7 0x0000000000007A85 + 8_DOWN 0x000000000000FB04 +- 8_UP 0x0000000000007B84 ++ KEY_8 0x0000000000007B84 + 9_DOWN 0x000000000000FC03 +- 9_UP 0x0000000000007C83 ++ KEY_9 0x0000000000007C83 + SLASH_DOWN 0x000000000000FD02 +- SLASH_UP 0x0000000000007D82 ++ KEY_SLASH 0x0000000000007D82 + 0_DOWN 0x000000000000FE01 +- 0_UP 0x0000000000007E81 ++ KEY_0 0x0000000000007E81 + MINUS_DOWN 0x000000000000FF00 +- MINUS_UP 0x0000000000007F80 ++ KEY_KPMINUS 0x0000000000007F80 + end codes + + end remote +diff -upr lirc-0.8.3.orig/remotes/apple/lircd.conf.macmini lirc-0.8.3/remotes/apple/lircd.conf.macmini +--- lirc-0.8.3.orig/remotes/apple/lircd.conf.macmini 2007-12-13 12:30:38.000000000 +0000 ++++ lirc-0.8.3/remotes/apple/lircd.conf.macmini 2008-08-12 16:14:39.000000000 +0100 +@@ -23,12 +23,12 @@ begin remote + gap 211995 + + begin codes +- 1 0x09 +- 2 0x06 +- 3 0x0A +- 4 0x0C +- 5 0x05 +- 6 0x03 ++ KEY_1 0x09 ++ KEY_2 0x06 ++ KEY_3 0x0A ++ KEY_4 0x0C ++ KEY_5 0x05 ++ KEY_6 0x03 + end codes + + end remote +diff -upr lirc-0.8.3.orig/remotes/asus/lircd.conf.asus lirc-0.8.3/remotes/asus/lircd.conf.asus +--- lirc-0.8.3.orig/remotes/asus/lircd.conf.asus 2007-02-20 04:09:47.000000000 +0000 ++++ lirc-0.8.3/remotes/asus/lircd.conf.asus 2008-08-12 16:14:39.000000000 +0100 +@@ -19,38 +19,38 @@ begin remote + toggle_bit 0 + + begin codes +- 0 0x0000000000000000 +- 1 0x0000000000000008 +- 2 0x0000000000000010 +- 3 0x0000000000000018 +- 4 0x0000000000000020 +- 5 0x0000000000000028 +- 6 0x0000000000000030 +- 7 0x0000000000000038 +- 8 0x0000000000000040 +- 9 0x0000000000000048 +- PREV 0x0000000000000050 +- ENTER 0x0000000000000058 +- CH+ 0x0000000000000060 +- CH- 0x0000000000000068 +- VOL+ 0x0000000000000070 +- VOL- 0x0000000000000078 +- MAXIMIZE 0x0000000000000080 +- MUTE 0x0000000000000088 +- POWER 0x0000000000000090 +- MENU 0x0000000000000098 +- UP 0x00000000000000A0 +- DOWN 0x00000000000000A8 +- LEFT 0x00000000000000B0 +- RIGHT 0x00000000000000B8 ++ KEY_0 0x0000000000000000 ++ KEY_1 0x0000000000000008 ++ KEY_2 0x0000000000000010 ++ KEY_3 0x0000000000000018 ++ KEY_4 0x0000000000000020 ++ KEY_5 0x0000000000000028 ++ KEY_6 0x0000000000000030 ++ KEY_7 0x0000000000000038 ++ KEY_8 0x0000000000000040 ++ KEY_9 0x0000000000000048 ++ KEY_PREVIOUS 0x0000000000000050 ++ KEY_ENTER 0x0000000000000058 ++ KEY_CHANNELUP 0x0000000000000060 ++ KEY_CHANNELDOWN 0x0000000000000068 ++ KEY_VOLUMEUP 0x0000000000000070 ++ KEY_VOLUMEDOWN 0x0000000000000078 ++ KEY_MAX 0x0000000000000080 ++ KEY_MUTE 0x0000000000000088 ++ KEY_POWER 0x0000000000000090 ++ KEY_MENU 0x0000000000000098 ++ KEY_UP 0x00000000000000A0 ++ KEY_DOWN 0x00000000000000A8 ++ KEY_LEFT 0x00000000000000B0 ++ KEY_RIGHT 0x00000000000000B8 + CAPTION 0x00000000000000C0 + MTS/SAP 0x00000000000000C8 + DISPLAY 0x00000000000000D0 + SCAN 0x00000000000000D8 +- RED 0x00000000000000E0 +- GREEN 0x00000000000000E8 +- YELLOW 0x00000000000000F0 +- BLUE 0x00000000000000F8 ++ KEY_RED 0x00000000000000E0 ++ KEY_GREEN 0x00000000000000E8 ++ KEY_YELLOW 0x00000000000000F0 ++ KEY_BLUE 0x00000000000000F8 + end codes + + end remote +diff -upr lirc-0.8.3.orig/remotes/asus/lircd.conf.asusdh lirc-0.8.3/remotes/asus/lircd.conf.asusdh +--- lirc-0.8.3.orig/remotes/asus/lircd.conf.asusdh 2007-07-08 15:01:27.000000000 +0100 ++++ lirc-0.8.3/remotes/asus/lircd.conf.asusdh 2008-08-12 16:14:39.000000000 +0100 +@@ -14,17 +14,17 @@ begin remote + post_data_bits 0 + + begin codes +- POWER 0x01 ++ KEY_POWER 0x01 + QUICK_POWER 0x02 + NOISE_OFF 0x03 + WIFI 0x04 + AP_LAUNCH 0x05 +- MAXIMIZE 0x06 +- PLUS 0x07 ++ KEY_MAX 0x06 ++ 0x07 + REV 0x08 +- PLAY/PAUSE 0x09 +- FWD 0x0A +- MINUS 0x0B ++ 0x09 ++ KEY_FORWARD 0x0A ++ 0x0B + end codes + + end remote +diff -upr lirc-0.8.3.orig/remotes/asus/lircd.conf.digimatrix lirc-0.8.3/remotes/asus/lircd.conf.digimatrix +--- lirc-0.8.3.orig/remotes/asus/lircd.conf.digimatrix 2005-09-06 18:12:17.000000000 +0100 ++++ lirc-0.8.3/remotes/asus/lircd.conf.digimatrix 2008-08-12 16:14:39.000000000 +0100 +@@ -28,43 +28,43 @@ begin remote + + + begin codes +- up 0x000000000000E817 +- down 0x00000000000018E7 +- enter 0x000000000000D02F +- left 0x0000000000009867 +- right 0x00000000000058A7 +- 1 0x00000000000000FF +- 2 0x000000000000807F +- 3 0x00000000000040BF +- 4 0x000000000000C03F +- 5 0x00000000000020DF +- 6 0x000000000000A05F +- 7 0x000000000000609F +- 8 0x000000000000E01F +- 9 0x00000000000010EF +- 0 0x000000000000906F +- on_off 0x000000000000B04F ++ KEY_UP 0x000000000000E817 ++ KEY_DOWN 0x00000000000018E7 ++ KEY_ENTER 0x000000000000D02F ++ KEY_LEFT 0x0000000000009867 ++ KEY_RIGHT 0x00000000000058A7 ++ KEY_1 0x00000000000000FF ++ KEY_2 0x000000000000807F ++ KEY_3 0x00000000000040BF ++ KEY_4 0x000000000000C03F ++ KEY_5 0x00000000000020DF ++ KEY_6 0x000000000000A05F ++ KEY_7 0x000000000000609F ++ KEY_8 0x000000000000E01F ++ KEY_9 0x00000000000010EF ++ KEY_0 0x000000000000906F ++ KEY_POWER 0x000000000000B04F + dvd_vcd 0x000000000000F00F +- tv 0x00000000000008F7 ++ KEY_TV 0x00000000000008F7 + os_start 0x00000000000030CF + photo 0x00000000000048B7 +- home 0x00000000000044BB +- back 0x000000000000A857 +- ch+ 0x000000000000B847 +- stop 0x000000000000946B +- play 0x000000000000C43B +- vol+ 0x000000000000F807 +- ch- 0x0000000000007887 ++ KEY_HOME 0x00000000000044BB ++ KEY_BACK 0x000000000000A857 ++ KEY_CHANNELUP 0x000000000000B847 ++ KEY_STOP 0x000000000000946B ++ KEY_PLAY 0x000000000000C43B ++ KEY_VOLUMEUP 0x000000000000F807 ++ KEY_CHANNELDOWN 0x0000000000007887 + step- 0x000000000000E41B + step+ 0x000000000000649B +- vol- 0x00000000000004FB +- pause 0x00000000000024DB +- pre 0x00000000000014EB +- next 0x000000000000A45B +- mute 0x000000000000847B +- rec 0x000000000000D42B +- subtitle 0x000000000000C837 +- menu 0x00000000000038C7 ++ KEY_VOLUMEDOWN 0x00000000000004FB ++ KEY_PAUSE 0x00000000000024DB ++ KEY_PREVIOUS 0x00000000000014EB ++ KEY_NEXT 0x000000000000A45B ++ KEY_MUTE 0x000000000000847B ++ KEY_RECORD 0x000000000000D42B ++ KEY_SUBTITLE 0x000000000000C837 ++ KEY_MENU 0x00000000000038C7 + dvd_audio 0x00000000000050AF + ui_size 0x0000000000008877 + ui_on_off 0x00000000000028D7 +diff -upr lirc-0.8.3.orig/remotes/atiusb/lircd.conf.atilibusb lirc-0.8.3/remotes/atiusb/lircd.conf.atilibusb +--- lirc-0.8.3.orig/remotes/atiusb/lircd.conf.atilibusb 2007-09-14 20:45:18.000000000 +0100 ++++ lirc-0.8.3/remotes/atiusb/lircd.conf.atilibusb 2008-08-12 16:14:39.000000000 +0100 +@@ -30,58 +30,58 @@ begin remote + + + begin codes +- stop 0x000231 +- pause 0x000230 +- fforward 0x000228 +- rec 0x000237 +- rewind 0x000229 +- play 0x00022C +- d 0x00027B +- c 0x00027A +- e 0x00027C +- f 0x00027D +- right 0x00025B +- left 0x00025A +- up 0x000258 +- down 0x000259 +- ok 0x00025C +- info 0x0002F9 ++ KEY_STOP 0x000231 ++ KEY_PAUSE 0x000230 ++ 0x000228 ++ KEY_RECORD 0x000237 ++ KEY_REWIND 0x000229 ++ KEY_PLAY 0x00022C ++ KEY_D 0x00027B ++ KEY_C 0x00027A ++ KEY_E 0x00027C ++ KEY_F 0x00027D ++ KEY_RIGHT 0x00025B ++ KEY_LEFT 0x00025A ++ KEY_UP 0x000258 ++ KEY_DOWN 0x000259 ++ KEY_OK 0x00025C ++ KEY_INFO 0x0002F9 + timer 0x000296 +- menu 0x000254 ++ KEY_MENU 0x000254 + check 0x000282 +- 0 0x000200 +- 1 0x000201 +- 2 0x000202 +- 3 0x000203 +- 4 0x000204 +- 5 0x000205 +- 6 0x000206 +- 7 0x000207 +- 8 0x000208 +- 9 0x000209 +- volup 0x000210 +- voldown 0x000211 +- mute 0x00020D +- chup 0x000220 +- chdown 0x000221 ++ KEY_0 0x000200 ++ KEY_1 0x000201 ++ KEY_2 0x000202 ++ KEY_3 0x000203 ++ KEY_4 0x000204 ++ KEY_5 0x000205 ++ KEY_6 0x000206 ++ KEY_7 0x000207 ++ KEY_8 0x000208 ++ KEY_9 0x000209 ++ KEY_VOLUMEUP 0x000210 ++ KEY_VOLUMEDOWN 0x000211 ++ KEY_MUTE 0x00020D ++ KEY_CHANNELUP 0x000220 ++ KEY_CHANNELDOWN 0x000221 + mouse_up 0x0001FF + mouse_down 0x0002FF +- mouse_left 0x0020FF +- mouse_right 0x0010FF +- mouse_up_right 0x0011FF ++ BTN_LEFT 0x0020FF ++ BTN_RIGHT 0x0010FF ++ BTN_RIGHT 0x0011FF + mouse_down_right 0x0012FF +- mouse_up_left 0x0021FF ++ BTN_LEFT 0x0021FF + mouse_down_left 0x0022FF + right_click 0x0002AA + left_click 0x0002A9 + hand 0x0002D0 + shrink_resize 0x0002D5 + ? 0x0002BE +- dvd 0x000238 +- tv 0x000239 +- a 0x000278 +- b 0x000279 +- power 0x00020C ++ KEY_DVD 0x000238 ++ KEY_TV 0x000239 ++ KEY_A 0x000278 ++ KEY_B 0x000279 ++ KEY_POWER 0x00020C + end codes + + end remote +diff -upr lirc-0.8.3.orig/remotes/atiusb/lircd.conf.atiusb lirc-0.8.3/remotes/atiusb/lircd.conf.atiusb +--- lirc-0.8.3.orig/remotes/atiusb/lircd.conf.atiusb 2008-08-12 16:13:39.000000000 +0100 ++++ lirc-0.8.3/remotes/atiusb/lircd.conf.atiusb 2008-08-12 16:14:39.000000000 +0100 +@@ -37,54 +37,54 @@ begin remote + + + begin codes +- A 0x000000000000F500 +- B 0x000000000000F601 +- C 0x0000000000000E19 +- D 0x000000000000101B +- E 0x0000000000001621 +- F 0x0000000000001823 +- TV 0x000000000000F803 +- DVD 0x000000000000F904 +- WEB 0x000000000000FA05 ++ KEY_A 0x000000000000F500 ++ KEY_B 0x000000000000F601 ++ KEY_C 0x0000000000000E19 ++ KEY_D 0x000000000000101B ++ KEY_E 0x0000000000001621 ++ KEY_F 0x0000000000001823 ++ KEY_TV 0x000000000000F803 ++ KEY_DVD 0x000000000000F904 ++ KEY_WWW 0x000000000000FA05 + BOOK 0x000000000000FB06 + HAND 0x000000000000FC07 +- POWER 0x000000000000F702 +- MOUSE_LEFT_BTN 0x0000000000006D78 +- MOUSE_RIGHT_BTN 0x000000000000717C ++ KEY_POWER 0x000000000000F702 ++ BTN_LEFT 0x0000000000006D78 ++ BTN_RIGHT 0x000000000000717C + MOUSE_UP 0x0000000000006772 + MOUSE_DOWN 0x0000000000006B76 +- MOUSE_LEFT 0x0000000000006C77 +- MOUSE_RIGHT 0x0000000000006B76 +- VOL_UP 0x000000000000FD08 +- VOL_DOWN 0x000000000000FE09 +- MUTE 0x000000000000FF0A +- CH_UP 0x000000000000000B +- CH_DOWN 0x000000000000010C +- 1 0x000000000000020D +- 2 0x000000000000030E +- 3 0x000000000000040F +- 4 0x0000000000000510 +- 5 0x0000000000000611 +- 6 0x0000000000000712 +- 7 0x0000000000000813 +- 8 0x0000000000000914 +- 9 0x0000000000000A15 +- 0 0x0000000000000C17 +- LIST 0x0000000000000B16 ++ BTN_LEFT 0x0000000000006C77 ++ BTN_RIGHT 0x0000000000006B76 ++ KEY_VOLUMEUP 0x000000000000FD08 ++ KEY_VOLUMEDOWN 0x000000000000FE09 ++ KEY_MUTE 0x000000000000FF0A ++ KEY_CHANNELUP 0x000000000000000B ++ KEY_CHANNELDOWN 0x000000000000010C ++ KEY_1 0x000000000000020D ++ KEY_2 0x000000000000030E ++ KEY_3 0x000000000000040F ++ KEY_4 0x0000000000000510 ++ KEY_5 0x0000000000000611 ++ KEY_6 0x0000000000000712 ++ KEY_7 0x0000000000000813 ++ KEY_8 0x0000000000000914 ++ KEY_9 0x0000000000000A15 ++ KEY_0 0x0000000000000C17 ++ KEY_LIST 0x0000000000000B16 + CHECK 0x0000000000000D18 +- UP 0x0000000000000F1A +- DOWN 0x0000000000001722 +- LEFT 0x000000000000121D +- RIGHT 0x000000000000141F +- OK 0x000000000000131E ++ KEY_UP 0x0000000000000F1A ++ KEY_DOWN 0x0000000000001722 ++ KEY_LEFT 0x000000000000121D ++ KEY_RIGHT 0x000000000000141F ++ KEY_OK 0x000000000000131E + TIMER 0x000000000000111C +- MAX 0x0000000000001520 +- REWIND 0x0000000000001924 +- PLAY 0x0000000000001A25 +- FFWD 0x0000000000001B26 +- REC 0x0000000000001C27 +- STOP 0x0000000000001D28 +- PAUSE 0x0000000000001E29 ++ KEY_MAX 0x0000000000001520 ++ KEY_REWIND 0x0000000000001924 ++ KEY_PLAY 0x0000000000001A25 ++ KEY_FASTFORWARD 0x0000000000001B26 ++ KEY_RECORD 0x0000000000001C27 ++ KEY_STOP 0x0000000000001D28 ++ KEY_PAUSE 0x0000000000001E29 + end codes + + end remote +diff -upr lirc-0.8.3.orig/remotes/avermedia/lircd.conf.avermedia lirc-0.8.3/remotes/avermedia/lircd.conf.avermedia +--- lirc-0.8.3.orig/remotes/avermedia/lircd.conf.avermedia 2001-01-11 07:54:25.000000000 +0000 ++++ lirc-0.8.3/remotes/avermedia/lircd.conf.avermedia 2008-08-12 16:14:40.000000000 +0100 +@@ -34,37 +34,37 @@ begin remote + + + begin codes +- TV 0x0000000000006897 +- FM 0x000000000000A857 +- EXIT 0x00000000000048B7 ++ KEY_TV 0x0000000000006897 ++ KEY_RADIO 0x000000000000A857 ++ KEY_EXIT 0x00000000000048B7 + DISPLAY 0x00000000000030CF + FREEZE 0x00000000000028D7 + CAPTURE 0x0000000000008877 +- VIDEO 0x00000000000038C7 +- 1 0x000000000000807F +- 2 0x00000000000040BF +- 3 0x000000000000C03F +- AUDIO 0x00000000000018E7 +- 4 0x00000000000020DF +- 5 0x000000000000A05F +- 6 0x000000000000609F ++ KEY_VIDEO 0x00000000000038C7 ++ KEY_1 0x000000000000807F ++ KEY_2 0x00000000000040BF ++ KEY_3 0x000000000000C03F ++ KEY_AUDIO 0x00000000000018E7 ++ KEY_4 0x00000000000020DF ++ KEY_5 0x000000000000A05F ++ KEY_6 0x000000000000609F + FULLSCREEN 0x000000000000F00F +- 7 0x000000000000E01F +- 8 0x00000000000010EF +- 9 0x000000000000906F ++ KEY_7 0x000000000000E01F ++ KEY_8 0x00000000000010EF ++ KEY_9 0x000000000000906F + LOOP 0x000000000000C837 +- 0 0x00000000000050AF +- LEFTARROW 0x00000000000000FF +- RIGHTARROW 0x000000000000E817 +- MUTE 0x00000000000008F7 ++ KEY_0 0x00000000000050AF ++ KEY_LEFT 0x00000000000000FF ++ KEY_RIGHT 0x000000000000E817 ++ KEY_MUTE 0x00000000000008F7 + COLOR 0x000000000000B04F +- PREVIEW 0x000000000000708F +- CHANNELUP 0x000000000000D827 +- VOL_UP 0x00000000000058A7 ++ KEY_PREVIOUS 0x000000000000708F ++ KEY_CHANNELUP 0x000000000000D827 ++ KEY_VOLUMEUP 0x00000000000058A7 + AUTOSCAN 0x000000000000B847 +- ENTER 0x0000000000009867 +- CHANNELDOWN 0x000000000000F807 +- VOL_DOWN 0x0000000000007887 ++ KEY_ENTER 0x0000000000009867 ++ KEY_CHANNELDOWN 0x000000000000F807 ++ KEY_VOLUMEDOWN 0x0000000000007887 + end codes + + end remote +diff -upr lirc-0.8.3.orig/remotes/avermedia/lircd.conf.avermedia98 lirc-0.8.3/remotes/avermedia/lircd.conf.avermedia98 +--- lirc-0.8.3.orig/remotes/avermedia/lircd.conf.avermedia98 2001-01-10 22:08:00.000000000 +0000 ++++ lirc-0.8.3/remotes/avermedia/lircd.conf.avermedia98 2008-08-12 16:14:40.000000000 +0100 +@@ -29,49 +29,49 @@ begin remote + + begin codes + TV/FM 0x0000000000000023 +- CD 0x0000000000000022 ++ KEY_CD 0x0000000000000022 + # TELETEXT 0x000000000000C03F +- POWER 0x0000000000000027 ++ KEY_POWER 0x0000000000000027 + +- 1 0x0000000000000018 +- 2 0x0000000000000010 +- 3 0x0000000000000008 +- VIDEO 0x0000000000000000 +- +- 4 0x0000000000000019 +- 5 0x0000000000000011 +- 6 0x0000000000000009 +- AUDIO 0x0000000000000001 +- +- 7 0x000000000000001A +- 8 0x0000000000000012 +- 9 0x000000000000000A ++ KEY_1 0x0000000000000018 ++ KEY_2 0x0000000000000010 ++ KEY_3 0x0000000000000008 ++ KEY_VIDEO 0x0000000000000000 ++ ++ KEY_4 0x0000000000000019 ++ KEY_5 0x0000000000000011 ++ KEY_6 0x0000000000000009 ++ KEY_AUDIO 0x0000000000000001 ++ ++ KEY_7 0x000000000000001A ++ KEY_8 0x0000000000000012 ++ KEY_9 0x000000000000000A + FULLSCREEN 0x0000000000000002 + +- 0 0x000000000000001B ++ KEY_0 0x000000000000001B + DISPLAY 0x0000000000000013 + COLOR 0x000000000000000B + LOOP 0x0000000000000003 + + UNLABELED 0x000000000000001C +- LEFT 0x0000000000000014 +- RIGHT 0x000000000000000C +- PREVIEW 0x0000000000000004 ++ KEY_LEFT 0x0000000000000014 ++ KEY_RIGHT 0x000000000000000C ++ KEY_PREVIOUS 0x0000000000000004 + + AUTOSCAN 0x000000000000001D + FREEZE 0x0000000000000015 + CAPTURE 0x000000000000000D +- MUTE 0x0000000000000005 ++ KEY_MUTE 0x0000000000000005 + +- RED 0x000000000000001E +- VOL_DOWN 0x0000000000000016 +- VOL_UP 0x000000000000000E +- YELLOW 0x0000000000000006 +- +- GREEN 0x000000000000001F +- CH_DOWN 0x0000000000000017 +- CH_UP 0x000000000000000F +- BLUE 0x0000000000000007 ++ KEY_RED 0x000000000000001E ++ KEY_VOLUMEDOWN 0x0000000000000016 ++ KEY_VOLUMEUP 0x000000000000000E ++ KEY_YELLOW 0x0000000000000006 ++ ++ KEY_GREEN 0x000000000000001F ++ KEY_CHANNELDOWN 0x0000000000000017 ++ KEY_CHANNELUP 0x000000000000000F ++ KEY_BLUE 0x0000000000000007 + end codes + + end remote +diff -upr lirc-0.8.3.orig/remotes/avermedia/lircd.conf.vdomate lirc-0.8.3/remotes/avermedia/lircd.conf.vdomate +--- lirc-0.8.3.orig/remotes/avermedia/lircd.conf.vdomate 2002-10-25 21:42:55.000000000 +0100 ++++ lirc-0.8.3/remotes/avermedia/lircd.conf.vdomate 2008-08-12 16:14:40.000000000 +0100 +@@ -27,33 +27,33 @@ begin remote + + + begin codes +- power 0x0000000040BF00FF +- one 0x0000000040BFA05F +- two 0x0000000040BF609F +- three 0x0000000040BFE01F +- four 0x0000000040BF906F +- five 0x0000000040BF50AF +- six 0x0000000040BFD02F +- seven 0x0000000040BFB04F +- eight 0x0000000040BF708F +- nine 0x0000000040BFF00F +- zero 0x0000000040BF8877 +- video 0x0000000040BF20DF ++ KEY_POWER 0x0000000040BF00FF ++ KEY_1 0x0000000040BFA05F ++ KEY_2 0x0000000040BF609F ++ KEY_3 0x0000000040BFE01F ++ KEY_4 0x0000000040BF906F ++ KEY_5 0x0000000040BF50AF ++ KEY_6 0x0000000040BFD02F ++ KEY_7 0x0000000040BFB04F ++ KEY_8 0x0000000040BF708F ++ KEY_9 0x0000000040BFF00F ++ KEY_0 0x0000000040BF8877 ++ KEY_VIDEO 0x0000000040BF20DF + fullscreen 0x0000000040BF30CF + display 0x0000000040BF48B7 + color 0x0000000040BFC837 + loop 0x0000000040BF08F7 + coloup 0x0000000040BF6897 + colordn 0x0000000040BFE817 +- preview 0x0000000040BF28D7 ++ KEY_PREVIOUS 0x0000000040BF28D7 + autoscan 0x0000000040BF9867 + freeze 0x0000000040BF58A7 + capture 0x0000000040BFD827 +- mute 0x0000000040BF18E7 +- volumeup 0x0000000040BF7887 +- volumedown 0x0000000040BFF807 +- chnldown 0x00000000C03F40BF +- chnlup 0x00000000C03FC03F ++ KEY_MUTE 0x0000000040BF18E7 ++ KEY_VOLUMEUP 0x0000000040BF7887 ++ KEY_VOLUMEDOWN 0x0000000040BFF807 ++ KEY_CHANNELDOWN 0x00000000C03F40BF ++ KEY_CHANNELUP 0x00000000C03FC03F + end codes + + end remote +diff -upr lirc-0.8.3.orig/remotes/bestbuy/lircd.conf.bestbuy lirc-0.8.3/remotes/bestbuy/lircd.conf.bestbuy +--- lirc-0.8.3.orig/remotes/bestbuy/lircd.conf.bestbuy 2001-04-25 21:07:50.000000000 +0100 ++++ lirc-0.8.3/remotes/bestbuy/lircd.conf.bestbuy 2008-08-12 16:14:39.000000000 +0100 +@@ -26,36 +26,36 @@ begin remote + + + begin codes +- 0 0x0000000000000000 +- 1 0x0000000000000001 +- 2 0x0000000000000002 +- 3 0x0000000000000003 +- 4 0x0000000000000004 +- 5 0x0000000000000005 +- 6 0x0000000000000006 +- 7 0x0000000000000007 +- 8 0x0000000000000008 +- 9 0x0000000000000009 +- TV 0x000000000000001C +- POWER 0x0000000000000012 +- VIDEO 0x0000000000000011 +- PREVIEW 0x000000000000000F +- MUTE 0x0000000000000013 ++ KEY_0 0x0000000000000000 ++ KEY_1 0x0000000000000001 ++ KEY_2 0x0000000000000002 ++ KEY_3 0x0000000000000003 ++ KEY_4 0x0000000000000004 ++ KEY_5 0x0000000000000005 ++ KEY_6 0x0000000000000006 ++ KEY_7 0x0000000000000007 ++ KEY_8 0x0000000000000008 ++ KEY_9 0x0000000000000009 ++ KEY_TV 0x000000000000001C ++ KEY_POWER 0x0000000000000012 ++ KEY_VIDEO 0x0000000000000011 ++ KEY_PREVIOUS 0x000000000000000F ++ KEY_MUTE 0x0000000000000013 + SCAN 0x0000000000000010 +- CHANNEL_UP 0x000000000000001A +- CHANNEL_DOWN 0x000000000000001E +- VOL_UP 0x000000000000001B +- VOL_DOWN 0x000000000000001F ++ KEY_CHANNELUP 0x000000000000001A ++ KEY_CHANNELDOWN 0x000000000000001E ++ KEY_VOLUMEUP 0x000000000000001B ++ KEY_VOLUMEDOWN 0x000000000000001F + LOOP 0x000000000000000A + 100 0x0000000000000017 +- ZOOM 0x000000000000000D +- RECORD 0x000000000000000E +- STOP 0x000000000000001D +- PLAY 0x0000000000000019 ++ KEY_ZOOM 0x000000000000000D ++ KEY_RECORD 0x000000000000000E ++ KEY_STOP 0x000000000000001D ++ KEY_PLAY 0x0000000000000019 + FREEZE 0x0000000000000016 + COLOR 0x0000000000000014 +- LEFT 0x0000000000000018 +- RIGHT 0x000000000000000C ++ KEY_LEFT 0x0000000000000018 ++ KEY_RIGHT 0x000000000000000C + end codes + + end remote +diff -upr lirc-0.8.3.orig/remotes/bestbuy/lircd.conf.bestbuy2 lirc-0.8.3/remotes/bestbuy/lircd.conf.bestbuy2 +--- lirc-0.8.3.orig/remotes/bestbuy/lircd.conf.bestbuy2 2005-10-29 21:10:15.000000000 +0100 ++++ lirc-0.8.3/remotes/bestbuy/lircd.conf.bestbuy2 2008-08-12 16:14:39.000000000 +0100 +@@ -27,29 +27,29 @@ begin remote + begin codes + TV/FM 0x0000000000000043 + SCAN 0x0000000000000047 +- ZOOM 0x000000000000005C +- POWER 0x000000000000005E +- 1 0x0000000000000041 +- 2 0x000000000000004B +- 3 0x000000000000005B +- VOL+ 0x000000000000005F +- 4 0x0000000000000045 +- 5 0x0000000000000049 +- 6 0x0000000000000055 +- VOL- 0x0000000000000057 +- 7 0x0000000000000046 +- 8 0x000000000000004A +- 9 0x0000000000000052 +- CH+ 0x0000000000000056 +- 0 0x0000000000000042 ++ KEY_ZOOM 0x000000000000005C ++ KEY_POWER 0x000000000000005E ++ KEY_1 0x0000000000000041 ++ KEY_2 0x000000000000004B ++ KEY_3 0x000000000000005B ++ KEY_VOLUMEUP 0x000000000000005F ++ KEY_4 0x0000000000000045 ++ KEY_5 0x0000000000000049 ++ KEY_6 0x0000000000000055 ++ KEY_VOLUMEDOWN 0x0000000000000057 ++ KEY_7 0x0000000000000046 ++ KEY_8 0x000000000000004A ++ KEY_9 0x0000000000000052 ++ KEY_CHANNELUP 0x0000000000000056 ++ KEY_0 0x0000000000000042 + LOOP 0x0000000000000053 + +100 0x0000000000000050 +- CH- 0x0000000000000054 ++ KEY_CHANNELDOWN 0x0000000000000054 + SOURCE 0x0000000000000040 +- MUTE 0x0000000000000058 +- - 0x0000000000000044 ++ KEY_MUTE 0x0000000000000058 ++ KEY_KPMINUS 0x0000000000000044 + FUNCTION 0x000000000000004E +- + 0x000000000000004C ++ KEY_KPPLUS 0x000000000000004C + RESET 0x000000000000004D + FREEZE 0x000000000000004F + end codes +diff -upr lirc-0.8.3.orig/remotes/caraca/lircd.conf.caraca lirc-0.8.3/remotes/caraca/lircd.conf.caraca +--- lirc-0.8.3.orig/remotes/caraca/lircd.conf.caraca 2000-08-25 20:21:17.000000000 +0100 ++++ lirc-0.8.3/remotes/caraca/lircd.conf.caraca 2008-08-12 16:14:40.000000000 +0100 +@@ -17,29 +17,29 @@ begin remote + bits 16 + + begin codes +- POWER 0x3ff3 +- 1 0x3ffe +- 2 0x3ffd +- 3 0x3ffc +- 4 0x3ffb +- 5 0x3ffa +- 6 0x3ff9 +- 7 0x3ff8 +- 8 0x3ff7 +- 9 0x3ff6 +- 0 0x3ff5 +- PAUSE 0x3fcf +- EJECT 0x3fe2 ++ KEY_POWER 0x3ff3 ++ KEY_1 0x3ffe ++ KEY_2 0x3ffd ++ KEY_3 0x3ffc ++ KEY_4 0x3ffb ++ KEY_5 0x3ffa ++ KEY_6 0x3ff9 ++ KEY_7 0x3ff8 ++ KEY_8 0x3ff7 ++ KEY_9 0x3ff6 ++ KEY_0 0x3ff5 ++ KEY_PAUSE 0x3fcf ++ KEY_EJECTCD 0x3fe2 + SEEK- 0x3fcd +- PLAY 0x3fca ++ KEY_PLAY 0x3fca + SEEK+ 0x3fcb +- RECORD 0x3fd2 +- STOP 0x3fc9 +- CH- 0x3fde +- CH+ 0x3fdf +- VOL- 0x3fee +- VOL+ 0x3fef +- MUTE 0x3ff2 ++ KEY_RECORD 0x3fd2 ++ KEY_STOP 0x3fc9 ++ KEY_CHANNELDOWN 0x3fde ++ KEY_CHANNELUP 0x3fdf ++ KEY_VOLUMEDOWN 0x3fee ++ KEY_VOLUMEUP 0x3fef ++ KEY_MUTE 0x3ff2 + TV/FM 0x3fe3 + end codes + +diff -upr lirc-0.8.3.orig/remotes/chronos/lircd.conf.chronos lirc-0.8.3/remotes/chronos/lircd.conf.chronos +--- lirc-0.8.3.orig/remotes/chronos/lircd.conf.chronos 2008-08-12 16:13:39.000000000 +0100 ++++ lirc-0.8.3/remotes/chronos/lircd.conf.chronos 2008-08-12 16:14:39.000000000 +0100 +@@ -20,37 +20,37 @@ begin remote + toggle_bit 0 + + begin codes +- POWER 0x0000000000000000 +- MOUSE_MODE 0x0000000000000010 ++ KEY_POWER 0x0000000000000000 ++ BTN_MODE 0x0000000000000010 + FULL_SCREEN 0x0000000000000008 +- CH+ 0x0000000000000009 +- CH- 0x0000000000000019 +- 1 0x0000000000000018 +- 2 0x0000000000000004 +- 3 0x0000000000000014 +- 4 0x000000000000001C +- 5 0x0000000000000002 +- 6 0x0000000000000012 +- 7 0x000000000000001A +- 8 0x0000000000000006 +- 9 0x0000000000000016 +- 0 0x000000000000001E +- VOL+ 0x0000000000000005 +- VOL- 0x000000000000001D ++ KEY_CHANNELUP 0x0000000000000009 ++ KEY_CHANNELDOWN 0x0000000000000019 ++ KEY_1 0x0000000000000018 ++ KEY_2 0x0000000000000004 ++ KEY_3 0x0000000000000014 ++ KEY_4 0x000000000000001C ++ KEY_5 0x0000000000000002 ++ KEY_6 0x0000000000000012 ++ KEY_7 0x000000000000001A ++ KEY_8 0x0000000000000006 ++ KEY_9 0x0000000000000016 ++ KEY_0 0x000000000000001E ++ KEY_VOLUMEUP 0x0000000000000005 ++ KEY_VOLUMEDOWN 0x000000000000001D + SOURCE 0x0000000000000003 +- MUTE 0x000000000000001B +- AUDIO 0x0000000000000015 +- VIDEO 0x0000000000000011 +- CANCEL 0x000000000000001F +- ENTER 0x0000000000000001 +- ESC 0x000000000000000B ++ KEY_MUTE 0x000000000000001B ++ KEY_AUDIO 0x0000000000000015 ++ KEY_VIDEO 0x0000000000000011 ++ KEY_CANCEL 0x000000000000001F ++ KEY_ENTER 0x0000000000000001 ++ KEY_ESC 0x000000000000000B + RECALL 0x000000000000000C + AIR_CATV 0x000000000000000E + INC 0x000000000000000A + DEC 0x000000000000000D + BOX 0x0000000000000017 +- DOWN_ARROW 0x0000000000000013 +- LEFT_ARROW_TERM 0x000000000000000F +- RIGHT_ARROW_TERM 0x0000000000000007 ++ KEY_DOWN 0x0000000000000013 ++ KEY_LEFT 0x000000000000000F ++ KEY_RIGHT 0x0000000000000007 + end codes + end remote +diff -upr lirc-0.8.3.orig/remotes/cph03x/lircd.conf.cph03x lirc-0.8.3/remotes/cph03x/lircd.conf.cph03x +--- lirc-0.8.3.orig/remotes/cph03x/lircd.conf.cph03x 2001-06-14 16:49:16.000000000 +0100 ++++ lirc-0.8.3/remotes/cph03x/lircd.conf.cph03x 2008-08-12 16:14:40.000000000 +0100 +@@ -32,39 +32,39 @@ begin remote + repeat_bit 0 + + begin codes +- 0 0x00000000000000FF +- 1 0x000000000000807F +- 2 0x00000000000040BF +- 3 0x000000000000C03F +- 4 0x00000000000020DF +- 5 0x000000000000A05F +- 6 0x000000000000609F +- 7 0x000000000000E01F +- 8 0x00000000000010EF +- 9 0x000000000000906F ++ KEY_0 0x00000000000000FF ++ KEY_1 0x000000000000807F ++ KEY_2 0x00000000000040BF ++ KEY_3 0x000000000000C03F ++ KEY_4 0x00000000000020DF ++ KEY_5 0x000000000000A05F ++ KEY_6 0x000000000000609F ++ KEY_7 0x000000000000E01F ++ KEY_8 0x00000000000010EF ++ KEY_9 0x000000000000906F + LOOP 0x00000000000050AF + # unused + FINE_UP(PLUS) 0x00000000000030CF +- ZOOM 0x000000000000B04F +- RECORD 0x000000000000708F +- PREVIEW 0x000000000000F00F ++ KEY_ZOOM 0x000000000000B04F ++ KEY_RECORD 0x000000000000708F ++ KEY_PREVIOUS 0x000000000000F00F + + SCAN 0x00000000000008F7 +- VIDEO 0x0000000000008877 +- POWER 0x00000000000048B7 +- MUTE 0x000000000000C837 ++ KEY_VIDEO 0x0000000000008877 ++ KEY_POWER 0x00000000000048B7 ++ KEY_MUTE 0x000000000000C837 + COLOR 0x00000000000028D7 + #unused + FREEZE 0x0000000000006897 + 100 0x000000000000E817 + FINE_DOWN(MINUS) 0x00000000000018E7 +- PLAY 0x0000000000009867 +- CH_UP 0x00000000000058A7 +- VOL_UP 0x000000000000D827 +- TV 0x00000000000038C7 +- STOP 0x000000000000B847 +- CH_DOWN 0x0000000000007887 +- VOL_DOWN 0x000000000000F807 ++ KEY_PLAY 0x0000000000009867 ++ KEY_CHANNELUP 0x00000000000058A7 ++ KEY_VOLUMEUP 0x000000000000D827 ++ KEY_TV 0x00000000000038C7 ++ KEY_STOP 0x000000000000B847 ++ KEY_CHANNELDOWN 0x0000000000007887 ++ KEY_VOLUMEDOWN 0x000000000000F807 + end codes + + end remote +diff -upr lirc-0.8.3.orig/remotes/creative/lircd.conf.alsa_usb lirc-0.8.3/remotes/creative/lircd.conf.alsa_usb +--- lirc-0.8.3.orig/remotes/creative/lircd.conf.alsa_usb 2008-01-26 09:01:16.000000000 +0000 ++++ lirc-0.8.3/remotes/creative/lircd.conf.alsa_usb 2008-08-12 16:14:40.000000000 +0100 +@@ -34,38 +34,38 @@ begin remote + + + begin codes +- Power 0x000000000000619E +- 1 0x0000000000008B74 +- 2 0x0000000000008F70 +- 3 0x000000000000906F +- 4 0x0000000000008A75 +- 5 0x000000000000847B +- 6 0x0000000000007887 +- 7 0x0000000000008976 +- 8 0x000000000000837C +- 9 0x0000000000007788 +- 0 0x000000000000807F ++ KEY_POWER 0x000000000000619E ++ KEY_1 0x0000000000008B74 ++ KEY_2 0x0000000000008F70 ++ KEY_3 0x000000000000906F ++ KEY_4 0x0000000000008A75 ++ KEY_5 0x000000000000847B ++ KEY_6 0x0000000000007887 ++ KEY_7 0x0000000000008976 ++ KEY_8 0x000000000000837C ++ KEY_9 0x0000000000007788 ++ KEY_0 0x000000000000807F + CMSS 0x000000000000718E + EAX 0x0000000000008C73 +- Mute 0x0000000000006E91 +- Vol_Down 0x000000000000639C +- Vol_Up 0x000000000000629D +- Up 0x0000000000007B84 +- Left 0x0000000000008778 +- Ok 0x000000000000817E +- Right 0x000000000000758A +- Down 0x0000000000008D72 ++ KEY_MUTE 0x0000000000006E91 ++ KEY_VOLUMEDOWN 0x000000000000639C ++ KEY_VOLUMEUP 0x000000000000629D ++ KEY_UP 0x0000000000007B84 ++ KEY_LEFT 0x0000000000008778 ++ KEY_OK 0x000000000000817E ++ KEY_RIGHT 0x000000000000758A ++ KEY_DOWN 0x0000000000008D72 + Return 0x0000000000008E71 + Start 0x0000000000008877 +- Cancel 0x0000000000007C83 +- Rec 0x000000000000738C +- Options 0x000000000000827D ++ KEY_CANCEL 0x0000000000007C83 ++ KEY_RECORD 0x000000000000738C ++ KEY_OPTION 0x000000000000827D + Display 0x0000000000007689 +- Previous 0x0000000000007F80 +- Play 0x0000000000007986 +- Next 0x0000000000007A85 +- Slow 0x0000000000007D82 +- Stop 0x000000000000857A ++ KEY_PREVIOUS 0x0000000000007F80 ++ KEY_PLAY 0x0000000000007986 ++ KEY_NEXT 0x0000000000007A85 ++ KEY_SLOW 0x0000000000007D82 ++ KEY_STOP 0x000000000000857A + Step 0x0000000000007E81 + end codes + +diff -upr lirc-0.8.3.orig/remotes/creative/lircd.conf.breakoutbox lirc-0.8.3/remotes/creative/lircd.conf.breakoutbox +--- lirc-0.8.3.orig/remotes/creative/lircd.conf.breakoutbox 2007-02-20 04:08:04.000000000 +0000 ++++ lirc-0.8.3/remotes/creative/lircd.conf.breakoutbox 2008-08-12 16:14:40.000000000 +0100 +@@ -19,37 +19,37 @@ begin remote + begin codes + DVD/CD 0x0000000000000001 + DVR/TV 0x0000000000000000 +- MENU 0x0000000000000003 +- LANG 0x0000000000000005 ++ KEY_MENU 0x0000000000000003 ++ KEY_LANGUAGE 0x0000000000000005 + PLAYLIST 0x0000000000000011 +- BACKWARD 0x000000000000000A +- PLAY 0x0000000000000008 +- FORWARD 0x000000000000000F ++ KEY_REWIND 0x000000000000000A ++ KEY_PLAY 0x0000000000000008 ++ KEY_FORWARD 0x000000000000000F + LAST 0x0000000000000002 +- STOP 0x0000000000000007 +- NEXT 0x0000000000000006 +- MUTE 0x0000000000000014 ++ KEY_STOP 0x0000000000000007 ++ KEY_NEXT 0x0000000000000006 ++ KEY_MUTE 0x0000000000000014 + STEP 0x0000000000000009 +- UP 0x000000000000000C +- LEFT 0x000000000000000B +- RIGHT 0x000000000000000D +- DOWN 0x000000000000000E +- VOL+ 0x0000000000000012 +- VOL- 0x0000000000000015 +- OK 0x0000000000000011 ++ KEY_UP 0x000000000000000C ++ KEY_LEFT 0x000000000000000B ++ KEY_RIGHT 0x000000000000000D ++ KEY_DOWN 0x000000000000000E ++ KEY_VOLUMEUP 0x0000000000000012 ++ KEY_VOLUMEDOWN 0x0000000000000015 ++ KEY_OK 0x0000000000000011 + ANGLE+ 0x0000000000000010 + ANGLE- 0x0000000000000013 +- REC 0x0000000000000004 +- 1 0x0000000000000016 +- 2 0x0000000000000017 +- 3 0x0000000000000018 +- 4 0x0000000000000019 +- 5 0x000000000000001A +- 6 0x000000000000001B +- 7 0x000000000000001C +- 8 0x000000000000001D +- 9 0x000000000000001E +- 0 0x000000000000001F ++ KEY_RECORD 0x0000000000000004 ++ KEY_1 0x0000000000000016 ++ KEY_2 0x0000000000000017 ++ KEY_3 0x0000000000000018 ++ KEY_4 0x0000000000000019 ++ KEY_5 0x000000000000001A ++ KEY_6 0x000000000000001B ++ KEY_7 0x000000000000001C ++ KEY_8 0x000000000000001D ++ KEY_9 0x000000000000001E ++ KEY_0 0x000000000000001F + end codes + + end remote +diff -upr lirc-0.8.3.orig/remotes/creative/lircd.conf.creative lirc-0.8.3/remotes/creative/lircd.conf.creative +--- lirc-0.8.3.orig/remotes/creative/lircd.conf.creative 2007-03-10 20:15:49.000000000 +0000 ++++ lirc-0.8.3/remotes/creative/lircd.conf.creative 2008-08-12 16:14:40.000000000 +0100 +@@ -23,30 +23,30 @@ begin remote + toggle_bit 0 + + begin codes +- play 0x19e6 +- stop 0x1ae5 +- pause 0x1be4 +- eject 0x1ce3 ++ KEY_PLAY 0x19e6 ++ KEY_STOP 0x1ae5 ++ KEY_PAUSE 0x1be4 ++ KEY_EJECTCD 0x1ce3 + last 0x1de2 + rrev 0x1ee1 +- ffwd 0x1fe0 +- next 0x20df +- 1 0x21de +- 2 0x22dd +- 3 0x23dc ++ KEY_FASTFORWARD 0x1fe0 ++ KEY_NEXT 0x20df ++ KEY_1 0x21de ++ KEY_2 0x22dd ++ KEY_3 0x23dc + shift 0x24db +- 4 0x25da +- 5 0x26d9 +- 6 0x27d8 ++ KEY_4 0x25da ++ KEY_5 0x26d9 ++ KEY_6 0x27d8 + mouse 0x28d7 +- 7 0x29d6 +- 8 0x2ad5 +- 9 0x2bd4 +- vol+ 0x2cd3 ++ KEY_7 0x29d6 ++ KEY_8 0x2ad5 ++ KEY_9 0x2bd4 ++ KEY_VOLUMEUP 0x2cd3 + start 0x2dd2 +- 0 0x2ed1 +- mute 0x2fd0 +- vol- 0x30cf ++ KEY_0 0x2ed1 ++ KEY_MUTE 0x2fd0 ++ KEY_VOLUMEDOWN 0x30cf + end codes + + end remote +diff -upr lirc-0.8.3.orig/remotes/creative/lircd.conf.infracd lirc-0.8.3/remotes/creative/lircd.conf.infracd +--- lirc-0.8.3.orig/remotes/creative/lircd.conf.infracd 2003-05-07 18:30:41.000000000 +0100 ++++ lirc-0.8.3/remotes/creative/lircd.conf.infracd 2008-08-12 16:14:40.000000000 +0100 +@@ -30,30 +30,30 @@ begin remote + + + begin codes +- PAUSE 0x00000000000001FE +- PLAY 0x00000000000002FD +- STOP 0x00000000000003FC +- REW 0x00000000000005FA +- PREV 0x00000000000006F9 +- FF 0x00000000000007F8 +- MENU 0x00000000000004FB ++ KEY_PAUSE 0x00000000000001FE ++ KEY_PLAY 0x00000000000002FD ++ KEY_STOP 0x00000000000003FC ++ KEY_REWIND 0x00000000000005FA ++ KEY_PREVIOUS 0x00000000000006F9 ++ KEY_FASTFORWARD 0x00000000000007F8 ++ KEY_MENU 0x00000000000004FB + MOUSE 0x00000000000008F7 +- 1 0x00000000000009F6 +- 2 0x0000000000000AF5 +- 3 0x0000000000000BF4 +- 4 0x0000000000000DF2 +- 5 0x0000000000000EF1 +- 6 0x0000000000000FF0 +- 7 0x00000000000011EE +- 8 0x00000000000012ED +- 9 0x00000000000013EC +- 0 0x00000000000016E9 +- MUTE 0x0000000000000CF3 +- VOL_UP 0x00000000000010EF +- VOL_DOWN 0x00000000000014EB ++ KEY_1 0x00000000000009F6 ++ KEY_2 0x0000000000000AF5 ++ KEY_3 0x0000000000000BF4 ++ KEY_4 0x0000000000000DF2 ++ KEY_5 0x0000000000000EF1 ++ KEY_6 0x0000000000000FF0 ++ KEY_7 0x00000000000011EE ++ KEY_8 0x00000000000012ED ++ KEY_9 0x00000000000013EC ++ KEY_0 0x00000000000016E9 ++ KEY_MUTE 0x0000000000000CF3 ++ KEY_VOLUMEUP 0x00000000000010EF ++ KEY_VOLUMEDOWN 0x00000000000014EB + SHIFT 0x00000000000015EA +- ENTER 0x00000000000017E8 +- ZOOM 0x00000000000018E7 ++ KEY_ENTER 0x00000000000017E8 ++ KEY_ZOOM 0x00000000000018E7 + end codes + + end remote +diff -upr lirc-0.8.3.orig/remotes/creative/lircd.conf.livedrive lirc-0.8.3/remotes/creative/lircd.conf.livedrive +--- lirc-0.8.3.orig/remotes/creative/lircd.conf.livedrive 2008-08-12 16:13:39.000000000 +0100 ++++ lirc-0.8.3/remotes/creative/lircd.conf.livedrive 2008-08-12 16:14:40.000000000 +0100 +@@ -29,40 +29,40 @@ begin remote + + + begin codes +- 1 0x0000000000008B74 +- 2 0x0000000000008F70 +- 3 0x000000000000906F +- 4 0x0000000000008A75 +- 5 0x000000000000847B +- 6 0x0000000000007887 +- 7 0x0000000000008976 +- 8 0x000000000000837C +- 9 0x0000000000007788 +- 0 0x000000000000807F +- stop 0x000000000000857A +- play 0x0000000000007986 +- pause 0x0000000000007986 +- slow 0x0000000000007D82 ++ KEY_1 0x0000000000008B74 ++ KEY_2 0x0000000000008F70 ++ KEY_3 0x000000000000906F ++ KEY_4 0x0000000000008A75 ++ KEY_5 0x000000000000847B ++ KEY_6 0x0000000000007887 ++ KEY_7 0x0000000000008976 ++ KEY_8 0x000000000000837C ++ KEY_9 0x0000000000007788 ++ KEY_0 0x000000000000807F ++ KEY_STOP 0x000000000000857A ++ KEY_PLAY 0x0000000000007986 ++ KEY_PAUSE 0x0000000000007986 ++ KEY_SLOW 0x0000000000007D82 + step 0x0000000000007E81 +- prev 0x0000000000007F80 +- next 0x0000000000007A85 +- mute 0x0000000000006E91 +- vol- 0x000000000000639C +- vol+ 0x000000000000629D ++ KEY_PREVIOUS 0x0000000000007F80 ++ KEY_NEXT 0x0000000000007A85 ++ KEY_MUTE 0x0000000000006E91 ++ KEY_VOLUMEDOWN 0x000000000000639C ++ KEY_VOLUMEUP 0x000000000000629D + eax 0x0000000000008C73 +- options 0x000000000000827D ++ KEY_OPTION 0x000000000000827D + display 0x0000000000007689 + return 0x0000000000008E71 + start 0x0000000000008877 +- close 0x0000000000007C83 +- up 0x0000000000007B84 +- down 0x0000000000008D72 +- left 0x0000000000008778 +- right 0x000000000000758A +- ok 0x000000000000817E +- power 0x000000000000619e ++ KEY_CLOSE 0x0000000000007C83 ++ KEY_UP 0x0000000000007B84 ++ KEY_DOWN 0x0000000000008D72 ++ KEY_LEFT 0x0000000000008778 ++ KEY_RIGHT 0x000000000000758A ++ KEY_OK 0x000000000000817E ++ KEY_POWER 0x000000000000619e + cmss 0x000000000000718e +- record 0x000000000000738c ++ KEY_RECORD 0x000000000000738c + + end codes + +diff -upr lirc-0.8.3.orig/remotes/dvico/lircd.conf.fusionHDTV lirc-0.8.3/remotes/dvico/lircd.conf.fusionHDTV +--- lirc-0.8.3.orig/remotes/dvico/lircd.conf.fusionHDTV 2006-05-06 05:38:39.000000000 +0100 ++++ lirc-0.8.3/remotes/dvico/lircd.conf.fusionHDTV 2008-08-12 16:14:39.000000000 +0100 +@@ -22,42 +22,42 @@ begin remote + toggle_bit 0 + + begin codes +- 1 0x00000000000011F9 +- 2 0x00000000000012F9 +- 3 0x00000000000013F9 +- 4 0x00000000000014F9 +- 5 0x00000000000015F9 +- 6 0x00000000000016F9 +- 7 0x00000000000017F9 +- 8 0x00000000000018F9 +- 9 0x00000000000019F9 +- 0 0x00000000000010F9 +- power 0x0000000000000AF9 ++ KEY_1 0x00000000000011F9 ++ KEY_2 0x00000000000012F9 ++ KEY_3 0x00000000000013F9 ++ KEY_4 0x00000000000014F9 ++ KEY_5 0x00000000000015F9 ++ KEY_6 0x00000000000016F9 ++ KEY_7 0x00000000000017F9 ++ KEY_8 0x00000000000018F9 ++ KEY_9 0x00000000000019F9 ++ KEY_0 0x00000000000010F9 ++ KEY_POWER 0x0000000000000AF9 + pcoff 0x0000000000000CF9 +- camera 0x0000000000001AF9 +- record 0x0000000000001BF9 +- chup 0x00000000000000F9 +- chdown 0x00000000000001F9 +- volup 0x00000000000002F9 +- voldown 0x00000000000003F9 +- playpause 0x0000000000001FF9 +- rew 0x0000000000001CF9 +- stop 0x0000000000001EF9 +- ff 0x0000000000001DF9 +- folder 0x00000000000040F9 ++ KEY_CAMERA 0x0000000000001AF9 ++ KEY_RECORD 0x0000000000001BF9 ++ KEY_CHANNELUP 0x00000000000000F9 ++ KEY_CHANNELDOWN 0x00000000000001F9 ++ KEY_VOLUMEUP 0x00000000000002F9 ++ KEY_VOLUMEDOWN 0x00000000000003F9 ++ KEY_PLAYPAUSE 0x0000000000001FF9 ++ KEY_REWIND 0x0000000000001CF9 ++ KEY_STOP 0x0000000000001EF9 ++ KEY_FASTFORWARD 0x0000000000001DF9 ++ KEY_DIRECTORY 0x00000000000040F9 + atvdtv 0x00000000000006F9 + dvhs 0x00000000000041F9 +- menu 0x00000000000008F9 ++ KEY_MENU 0x00000000000008F9 + aspect 0x00000000000007F9 +- zoom 0x00000000000004F9 +- epg 0x0000000000000BF9 +- mute 0x0000000000000DF9 +- back 0x0000000000000EF9 ++ KEY_ZOOM 0x00000000000004F9 ++ KEY_EPG 0x0000000000000BF9 ++ KEY_MUTE 0x0000000000000DF9 ++ KEY_BACK 0x0000000000000EF9 + hd 0x0000000000000FF9 +- red 0x00000000000005F9 +- green 0x00000000000009F9 +- yellow 0x00000000000042F9 +- blue 0x00000000000043F9 ++ KEY_RED 0x00000000000005F9 ++ KEY_GREEN 0x00000000000009F9 ++ KEY_YELLOW 0x00000000000042F9 ++ KEY_BLUE 0x00000000000043F9 + end codes + + end remote +diff -upr lirc-0.8.3.orig/remotes/ea65/lircd.conf.ea65 lirc-0.8.3/remotes/ea65/lircd.conf.ea65 +--- lirc-0.8.3.orig/remotes/ea65/lircd.conf.ea65 2004-11-20 13:43:48.000000000 +0000 ++++ lirc-0.8.3/remotes/ea65/lircd.conf.ea65 2008-08-12 16:14:39.000000000 +0100 +@@ -18,53 +18,53 @@ begin remote + htpc 0x0011811b + dvd/vcd 0x00128100 + cd/mp3 0x00138152 +- fm 0x00158111 +- video 0x0016810f ++ KEY_RADIO 0x00158111 ++ KEY_VIDEO 0x0016810f + +- 1 0x0041810b +- 2 0x00428115 +- 3 0x00438112 +- 4 0x00448141 +- 5 0x00458119 +- 6 0x00468116 +- 7 0x00478150 +- 8 0x0048811a +- 9 0x00498155 ++ KEY_1 0x0041810b ++ KEY_2 0x00428115 ++ KEY_3 0x00438112 ++ KEY_4 0x00448141 ++ KEY_5 0x00458119 ++ KEY_6 0x00468116 ++ KEY_7 0x00478150 ++ KEY_8 0x0048811a ++ KEY_9 0x00498155 + * 0x00328156 +- 0 0x00408158 ++ KEY_0 0x00408158 + # 0x0030814d + +- menu 0x00188104 +- exit 0x001d8154 +- enter 0x001e8101 +- up 0x00198159 +- down 0x001a811c +- left 0x001c8102 +- right 0x001b815d ++ KEY_MENU 0x00188104 ++ KEY_EXIT 0x001d8154 ++ KEY_ENTER 0x001e8101 ++ KEY_UP 0x00198159 ++ KEY_DOWN 0x001a811c ++ KEY_LEFT 0x001c8102 ++ KEY_RIGHT 0x001b815d + +- vol+ 0x00298103 +- vol- 0x002a814e +- ch+ 0x002c8113 +- ch- 0x002d8117 +- mute 0x00288105 ++ KEY_VOLUMEUP 0x00298103 ++ KEY_VOLUMEDOWN 0x002a814e ++ KEY_CHANNELUP 0x002c8113 ++ KEY_CHANNELDOWN 0x002d8117 ++ KEY_MUTE 0x00288105 + tune+ 0x002e8144 + tune- 0x002f8148 + mem 0x00318145 + scan 0x00278151 + + display 0x0034811f +- eject 0x0035815c +- rwnd 0x00228118 +- ffwd 0x00218110 +- rec 0x002b810a +- repeate 0x0038815a +- prev 0x00238107 +- next 0x00248114 ++ KEY_EJECTCD 0x0035815c ++ KEY_REWIND 0x00228118 ++ KEY_FASTFORWARD 0x00218110 ++ KEY_RECORD 0x002b810a ++ KEY_AGAIN 0x0038815a ++ KEY_PREVIOUS 0x00238107 ++ KEY_NEXT 0x00248114 + time/shift 0x00338108 +- stop 0x0020811d +- play/pause 0x001f8109 ++ KEY_STOP 0x0020811d ++ KEY_PLAYPAUSE 0x001f8109 + +- play-pause 0x0080811d ++ KEY_PLAYPAUSE 0x0080811d + stop-eject 0x00238107 + mode- 0x00ff1080 + mode+ 0x00ff1180 +diff -upr lirc-0.8.3.orig/remotes/ericsson/lircd.conf.bte lirc-0.8.3/remotes/ericsson/lircd.conf.bte +--- lirc-0.8.3.orig/remotes/ericsson/lircd.conf.bte 2005-03-25 20:40:25.000000000 +0000 ++++ lirc-0.8.3/remotes/ericsson/lircd.conf.bte 2008-08-12 16:14:39.000000000 +0100 +@@ -15,38 +15,38 @@ begin remote + bits 16 + + begin codes +- 0 0x0030 +- 1 0x0031 +- 2 0x0032 +- 3 0x0033 +- 4 0x0034 +- 5 0x0035 +- 6 0x0036 +- 7 0x0037 +- 8 0x0038 +- 9 0x0039 +- STAR 0x002a # '*' +- HASH 0x0023 # '#' +- UP 0x005e # '^' +- DOWN 0x0076 # 'v' +- LEFT 0x003c # '<' +- RIGHT 0x003e # '>' +- CANCEL 0x0063 # 'c' +- VOL_UP 0x0075 # 'u' +- VOL_DOWN 0x0064 # 'd' ++ KEY_0 0x0030 ++ KEY_1 0x0031 ++ KEY_2 0x0032 ++ KEY_3 0x0033 ++ KEY_4 0x0034 ++ KEY_5 0x0035 ++ KEY_6 0x0036 ++ KEY_7 0x0037 ++ KEY_8 0x0038 ++ KEY_9 0x0039 ++ 0x002a # '*' ++ 0x0023 # '#' ++ KEY_UP 0x005e # '^' ++ KEY_DOWN 0x0076 # 'v' ++ KEY_LEFT 0x003c # '<' ++ KEY_RIGHT 0x003e # '>' ++ KEY_CANCEL 0x0063 # 'c' ++ KEY_VOLUMEUP 0x0075 # 'u' ++ KEY_VOLUMEDOWN 0x0064 # 'd' + + # t520m + NO 0x0065 # 'e' +- YES 0x0073 # 's' +- OPTION 0x004c # 'L' +- MEMO 0x0047 # 'G' - hides dialog widget! ++ 0x0073 # 's' ++ 0x004c # 'L' ++ 0x0047 # 'G' - hides dialog widget! + + # t630 + F_LEFT 0x005b # '[' + F_RIGHT 0x005d # ']' - triggers 'e' + J_CLICK 0x3a4a # ':J' - triggers 'e' + RETURN 0x3a52 # ':R' - triggers 'e' +- CAMERA 0x3a43 # ':C' ++ 0x3a43 # ':C' + WAP 0x3a4f # ':O' + + end codes +diff -upr lirc-0.8.3.orig/remotes/hauppauge/lircd.conf.hauppauge lirc-0.8.3/remotes/hauppauge/lircd.conf.hauppauge +--- lirc-0.8.3.orig/remotes/hauppauge/lircd.conf.hauppauge 2005-10-05 21:28:15.000000000 +0100 ++++ lirc-0.8.3/remotes/hauppauge/lircd.conf.hauppauge 2008-08-12 16:14:39.000000000 +0100 +@@ -27,25 +27,25 @@ begin remote + repeat_bit 2 + + begin codes +- TV 0x000000000000100F +- RADIO 0x000000000000100C ++ KEY_TV 0x000000000000100F ++ KEY_RADIO 0x000000000000100C + FULL_SCREEN 0x000000000000102E +- CH+ 0x0000000000001020 +- CH- 0x0000000000001021 +- VOL- 0x0000000000001011 +- VOL+ 0x0000000000001010 +- MUTE 0x000000000000100D ++ KEY_CHANNELUP 0x0000000000001020 ++ KEY_CHANNELDOWN 0x0000000000001021 ++ KEY_VOLUMEDOWN 0x0000000000001011 ++ KEY_VOLUMEUP 0x0000000000001010 ++ KEY_MUTE 0x000000000000100D + SOURCE 0x0000000000001022 +- 1 0x0000000000001001 +- 2 0x0000000000001002 +- 3 0x0000000000001003 +- 4 0x0000000000001004 +- 5 0x0000000000001005 +- 6 0x0000000000001006 +- 7 0x0000000000001007 +- 8 0x0000000000001008 +- 9 0x0000000000001009 +- 0 0x0000000000001000 ++ KEY_1 0x0000000000001001 ++ KEY_2 0x0000000000001002 ++ KEY_3 0x0000000000001003 ++ KEY_4 0x0000000000001004 ++ KEY_5 0x0000000000001005 ++ KEY_6 0x0000000000001006 ++ KEY_7 0x0000000000001007 ++ KEY_8 0x0000000000001008 ++ KEY_9 0x0000000000001009 ++ KEY_0 0x0000000000001000 + RESERVED 0x000000000000101E + MINIMIZE 0x0000000000001026 + end codes +diff -upr lirc-0.8.3.orig/remotes/hercules/lircd.conf.smarttv_stereo lirc-0.8.3/remotes/hercules/lircd.conf.smarttv_stereo +--- lirc-0.8.3.orig/remotes/hercules/lircd.conf.smarttv_stereo 2008-08-12 16:13:39.000000000 +0100 ++++ lirc-0.8.3/remotes/hercules/lircd.conf.smarttv_stereo 2008-08-12 16:14:39.000000000 +0100 +@@ -26,36 +26,36 @@ begin remote + + + begin codes +- POWER 0x00000000000048B7 +- MUTE 0x000000000000C837 +- PREVIEW 0x000000000000F00F ++ KEY_POWER 0x00000000000048B7 ++ KEY_MUTE 0x000000000000C837 ++ KEY_PREVIOUS 0x000000000000F00F + FULLSCREEN 0x00000000000038C7 + AV/TV 0x0000000000008877 + TELETEXT 0x00000000000008F7 +- 1 0x000000000000807F +- 2 0x00000000000040BF +- 3 0x000000000000C03F +- 4 0x00000000000020DF +- 5 0x000000000000A05F +- 6 0x000000000000609F +- 7 0x000000000000E01F +- 8 0x00000000000010EF +- 9 0x000000000000906F +- 0 0x00000000000000FF ++ KEY_1 0x000000000000807F ++ KEY_2 0x00000000000040BF ++ KEY_3 0x000000000000C03F ++ KEY_4 0x00000000000020DF ++ KEY_5 0x000000000000A05F ++ KEY_6 0x000000000000609F ++ KEY_7 0x000000000000E01F ++ KEY_8 0x00000000000010EF ++ KEY_9 0x000000000000906F ++ KEY_0 0x00000000000000FF + SNAPSHOT 0x00000000000050AF + 100+ 0x000000000000E817 +- CH+ 0x00000000000058A7 +- CH- 0x0000000000007887 +- VOL+ 0x000000000000D827 +- VOL- 0x000000000000F807 +- PAUSE 0x000000000000B04F +- RECORD 0x000000000000708F +- STOP 0x000000000000B847 +- PLAY 0x0000000000009867 ++ KEY_CHANNELUP 0x00000000000058A7 ++ KEY_CHANNELDOWN 0x0000000000007887 ++ KEY_VOLUMEUP 0x000000000000D827 ++ KEY_VOLUMEDOWN 0x000000000000F807 ++ KEY_PAUSE 0x000000000000B04F ++ KEY_RECORD 0x000000000000708F ++ KEY_STOP 0x000000000000B847 ++ KEY_PLAY 0x0000000000009867 + TV_REPLAY 0x0000000000006897 + TIME_SHIFT 0x00000000000028D7 +- SEEK_BACK 0x00000000000018E7 +- SEEK_FWD 0x00000000000030CF ++ KEY_BACK 0x00000000000018E7 ++ KEY_FORWARD 0x00000000000030CF + end codes + + end remote +diff -upr lirc-0.8.3.orig/remotes/imon/lircd.conf.imon lirc-0.8.3/remotes/imon/lircd.conf.imon +--- lirc-0.8.3.orig/remotes/imon/lircd.conf.imon 2005-04-16 18:05:49.000000000 +0100 ++++ lirc-0.8.3/remotes/imon/lircd.conf.imon 2008-08-12 16:14:39.000000000 +0100 +@@ -29,48 +29,48 @@ begin remote + duty_cycle 33 + + begin codes +- App.Exit 0x00000000000000FF +- Power 0x000000000000807F +- 1 0x00000000000040BF +- 2 0x000000000000C03F +- 3 0x00000000000020DF +- 4 0x000000000000A05F +- 5 0x000000000000609F +- 6 0x000000000000E01F +- 7 0x00000000000010EF +- 8 0x000000000000906F +- 9 0x00000000000050AF +- 0 0x000000000000D02F ++ KEY_EXIT 0x00000000000000FF ++ KEY_POWER 0x000000000000807F ++ KEY_1 0x00000000000040BF ++ KEY_2 0x000000000000C03F ++ KEY_3 0x00000000000020DF ++ KEY_4 0x000000000000A05F ++ KEY_5 0x000000000000609F ++ KEY_6 0x000000000000E01F ++ KEY_7 0x00000000000010EF ++ KEY_8 0x000000000000906F ++ KEY_9 0x00000000000050AF ++ KEY_0 0x000000000000D02F + Windows 0x00000000000030CF +- Menu 0x000000000000B04F ++ KEY_MENU 0x000000000000B04F + App.Launcher 0x000000000000708F + Function 0x000000000000F00F + Task.Switcher 0x00000000000008F7 +- Back 0x0000000000008877 +- Select 0x00000000000048B7 +- Eject 0x0000000000009867 +- Delete 0x00000000000018E7 +- Up 0x000000000000C837 +- Right 0x0000000000006897 +- Down 0x000000000000E817 +- Left 0x00000000000028D7 +- Enter 0x000000000000A857 +- Vol- 0x00000000000058A7 +- Vol+ 0x000000000000D827 +- Mute 0x00000000000038C7 +- Play 0x000000000000B847 +- Pause 0x0000000000007887 +- Prev 0x000000000000F807 +- Next 0x00000000000002FD +- Rew 0x000000000000827D +- Fwd 0x00000000000042BD +- Stop 0x000000000000C23D +- Open 0x00000000000022DD +- Rec 0x000000000000A25D +- Bookmark 0x000000000000629D ++ KEY_BACK 0x0000000000008877 ++ KEY_SELECT 0x00000000000048B7 ++ KEY_EJECTCD 0x0000000000009867 ++ KEY_DELETE 0x00000000000018E7 ++ KEY_UP 0x000000000000C837 ++ KEY_RIGHT 0x0000000000006897 ++ KEY_DOWN 0x000000000000E817 ++ KEY_LEFT 0x00000000000028D7 ++ KEY_ENTER 0x000000000000A857 ++ KEY_VOLUMEDOWN 0x00000000000058A7 ++ KEY_VOLUMEUP 0x000000000000D827 ++ KEY_MUTE 0x00000000000038C7 ++ KEY_PLAY 0x000000000000B847 ++ KEY_PAUSE 0x0000000000007887 ++ KEY_PREVIOUS 0x000000000000F807 ++ KEY_NEXT 0x00000000000002FD ++ KEY_REWIND 0x000000000000827D ++ KEY_FORWARD 0x00000000000042BD ++ KEY_STOP 0x000000000000C23D ++ KEY_OPEN 0x00000000000022DD ++ KEY_RECORD 0x000000000000A25D ++ KEY_BOOKMARKS 0x000000000000629D + Thumbnail 0x000000000000E21D + Aspect 0x00000000000012ED +- DVD.Menu 0x000000000000926D ++ KEY_DVD 0x000000000000926D + DVD.Caption 0x00000000000052AD + DVD.Language 0x000000000000D22D + Full.Screen 0x00000000000032CD +diff -upr lirc-0.8.3.orig/remotes/imon/lircd.conf.imon-2.4g lirc-0.8.3/remotes/imon/lircd.conf.imon-2.4g +--- lirc-0.8.3.orig/remotes/imon/lircd.conf.imon-2.4g 2007-03-18 10:23:34.000000000 +0000 ++++ lirc-0.8.3/remotes/imon/lircd.conf.imon-2.4g 2008-08-12 16:14:39.000000000 +0100 +@@ -20,69 +20,69 @@ begin remote + + + begin codes +- Power 0xBB4403FC ++ KEY_POWER 0xBB4403FC + +- RAppExit 0xBB4431CE +- REject 0xBB4432CD +- RAppLauncher 0xBB4437C8 +- RTaskSwitcher 0xBB4439C6 +- RBack 0xBB443DC2 +- RSelect 0xBB443FC0 +- RChannelUp 0xBB443EC1 +- RChannelDown 0xBB4443BC +- RVolumeUp 0xBB4445BA +- RVolumeDown 0xBB4444BB +- RNext 0xBB444CB3 +- RPrev 0xBB444DB2 +- RFf 0xBB444FB0 +- RRew 0xBB444EB1 +- RI 0xBB4450AF +- RMute 0xBB4449B6 +- RTv 0xBB444AB5 +- RMenu 0xBB444BB4 +- R1 0xBB4434CB +- R2 0xBB4435CA +- R3 0xBB4436C9 +- R4 0xBB443AC5 +- R5 0xBB443BC4 +- R6 0xBB443CC3 +- R7 0xBB4440BF +- R8 0xBB4441BE +- R9 0xBB4442BD +- RSkipBack 0xBB4446B9 +- R0 0xBB4447B8 +- RSkipFwd 0xBB4448B7 ++ 0xBB4431CE ++ 0xBB4432CD ++ 0xBB4437C8 ++ 0xBB4439C6 ++ 0xBB443DC2 ++ 0xBB443FC0 ++ 0xBB443EC1 ++ 0xBB4443BC ++ 0xBB4445BA ++ 0xBB4444BB ++ 0xBB444CB3 ++ 0xBB444DB2 ++ 0xBB444FB0 ++ 0xBB444EB1 ++ 0xBB4450AF ++ 0xBB4449B6 ++ 0xBB444AB5 ++ 0xBB444BB4 ++ 0xBB4434CB ++ 0xBB4435CA ++ 0xBB4436C9 ++ 0xBB443AC5 ++ 0xBB443BC4 ++ 0xBB443CC3 ++ 0xBB4440BF ++ 0xBB4441BE ++ 0xBB4442BD ++ 0xBB4446B9 ++ 0xBB4447B8 ++ 0xBB4448B7 + +- GAppExit 0xBB4401FE +- GEject 0xBB4402FD +- GAppLauncher 0xBB4407F8 +- GTaskSwitcher 0xBB4409F6 +- GBack 0xBB440DF2 +- GSelect 0xBB440FF0 +- GChannelUp 0xBB440EF1 +- GChannelDown 0xBB4413EC +- GVolumeUp 0xBB4415EA +- GVolumeDown 0xBB4414EB +- GNext 0xBB441CE3 +- GPrev 0xBB441DE2 +- GFf 0xBB441FE0 +- GRew 0xBB441EE1 +- GI 0xBB4420DF +- GMute 0xBB4419E6 +- GTv 0xBB441AE5 +- GMenu 0xBB441BE4 +- G1 0xBB4404FB +- G2 0xBB4405FA +- G3 0xBB4406F9 +- G4 0xBB440AF5 +- G5 0xBB440BF4 +- G6 0xBB440CF3 +- G7 0xBB4410EF +- G8 0xBB4411EE +- G9 0xBB4412ED +- GSkipBack 0xBB4416E9 +- G0 0xBB4417E8 +- GSkipFwd 0xBB4418E7 ++ 0xBB4401FE ++ 0xBB4402FD ++ 0xBB4407F8 ++ 0xBB4409F6 ++ 0xBB440DF2 ++ 0xBB440FF0 ++ 0xBB440EF1 ++ 0xBB4413EC ++ 0xBB4415EA ++ 0xBB4414EB ++ 0xBB441CE3 ++ 0xBB441DE2 ++ 0xBB441FE0 ++ 0xBB441EE1 ++ 0xBB4420DF ++ 0xBB4419E6 ++ 0xBB441AE5 ++ 0xBB441BE4 ++ 0xBB4404FB ++ 0xBB4405FA ++ 0xBB4406F9 ++ 0xBB440AF5 ++ 0xBB440BF4 ++ 0xBB440CF3 ++ 0xBB4410EF ++ 0xBB4411EE ++ 0xBB4412ED ++ 0xBB4416E9 ++ 0xBB4417E8 ++ 0xBB4418E7 + end codes + + end remote +diff -upr lirc-0.8.3.orig/remotes/imon/lircd.conf.imon-knob lirc-0.8.3/remotes/imon/lircd.conf.imon-knob +--- lirc-0.8.3.orig/remotes/imon/lircd.conf.imon-knob 2006-12-29 13:03:50.000000000 +0000 ++++ lirc-0.8.3/remotes/imon/lircd.conf.imon-knob 2008-08-12 16:14:39.000000000 +0100 +@@ -23,67 +23,67 @@ begin remote + + + begin codes +- AppExit 0x288195B7 +- Power 0x289115B7 +- Record 0x298115B7 +- Play 0x2A8115B7 +- Open 0x29B195B7 +- KnobVolUp 0x000100FF +- KnobVolDown 0x010000FF +- KnobMute 0x000008FF +- Rewind 0x2A8195B7 +- Pause 0x2A9115B7 +- FastForward 0x2B8115B7 +- PrevChapter 0x2B9115B7 +- Stop 0x2B9715B7 +- NextChapter 0x298195BF ++ KEY_EXIT 0x288195B7 ++ KEY_POWER 0x289115B7 ++ KEY_RECORD 0x298115B7 ++ KEY_PLAY 0x2A8115B7 ++ KEY_OPEN 0x29B195B7 ++ KEY_VOLUMEUP 0x000100FF ++ KEY_VOLUMEDOWN 0x010000FF ++ KEY_MUTE 0x000008FF ++ KEY_REWIND 0x2A8195B7 ++ KEY_PAUSE 0x2A9115B7 ++ KEY_FASTFORWARD 0x2B8115B7 ++ KEY_PREVIOUS 0x2B9115B7 ++ KEY_STOP 0x2B9715B7 ++ KEY_NEXT 0x298195BF + WindowsKey 0x2B8195B7 +- Backspace 0x28A115B7 ++ KEY_BACKSPACE 0x28A115B7 + MouseKeyboard 0x299115B7 + SelectSpace 0x2A9315B7 + MouseMenu 0x28B715B7 +- MouseRightClick 0x688481B7 +- Enter 0x28A195B7 +- MouseLeftClick 0x688301B7 +- CursorLeft 0x6ABA81B7 +- CursorUp 0x6902F9B7 +- CursorRight 0x68A281B7 +- CursorDown 0x6882A1B7 +- Esc 0x2BB715B7 +- Eject 0x299395B7 ++ BTN_RIGHT 0x688481B7 ++ KEY_ENTER 0x28A195B7 ++ BTN_LEFT 0x688301B7 ++ KEY_LEFT 0x6ABA81B7 ++ KEY_UP 0x6902F9B7 ++ KEY_RIGHT 0x68A281B7 ++ KEY_DOWN 0x6882A1B7 ++ KEY_ESC 0x2BB715B7 ++ KEY_EJECTCD 0x299395B7 + AppLauncher 0x29B715B7 + MultiMon 0x2AB195B7 + TaskSwitcher 0x2A9395B7 +- Mute 0x2B9595B7 +- VolUp 0x28A395B7 +- VolDown 0x28A595B7 +- ChUp 0x289395B7 +- ChDown 0x288795B7 ++ KEY_MUTE 0x2B9595B7 ++ KEY_VOLUMEUP 0x28A395B7 ++ KEY_VOLUMEDOWN 0x28A595B7 ++ KEY_CHANNELUP 0x289395B7 ++ KEY_CHANNELDOWN 0x288795B7 + Timer 0x2B8395B7 +- 1 0x28B595B7 +- 2 0x2BB195B7 +- 3 0x28B195B7 +- 4 0x2A8595B7 +- 5 0x299595B7 +- 6 0x2AA595B7 +- 7 0x2B9395B7 +- 8 0x2A8515B7 +- 9 0x2AA115B7 ++ KEY_1 0x28B595B7 ++ KEY_2 0x2BB195B7 ++ KEY_3 0x28B195B7 ++ KEY_4 0x2A8595B7 ++ KEY_5 0x299595B7 ++ KEY_6 0x2AA595B7 ++ KEY_7 0x2B9395B7 ++ KEY_8 0x2A8515B7 ++ KEY_9 0x2AA115B7 + ShiftTab 0x28B515B7 +- 0 0x2BA595BF +- Tab 0x29A115B7 +- MyMovie 0x2B8515B7 +- MyMusic 0x299195B7 ++ KEY_0 0x2BA595BF ++ KEY_TAB 0x29A115B7 ++ KEY_VIDEO 0x2B8515B7 ++ KEY_AUDIO 0x299195B7 + MyPhoto 0x2BA115B7 +- MyTV 0x28A515B7 +- Bookmark 0x288515B7 ++ KEY_TV 0x28A515B7 ++ KEY_BOOKMARKS 0x288515B7 + Thumbnail 0x2AB715BF + AspectRatio 0x29A595B7 + FullScreen 0x2AA395BF +- MyDVD 0x29A295B7 +- Menu 0x2BA385B7 ++ KEY_DVD 0x29A295B7 ++ KEY_MENU 0x2BA385B7 + Caption 0x298595B7 +- Language 0x2B8595B7 ++ KEY_LANGUAGE 0x2B8595B7 + end codes + + end remote +diff -upr lirc-0.8.3.orig/remotes/imon/lircd.conf.imon-pad lirc-0.8.3/remotes/imon/lircd.conf.imon-pad +--- lirc-0.8.3.orig/remotes/imon/lircd.conf.imon-pad 2006-11-28 03:18:23.000000000 +0000 ++++ lirc-0.8.3/remotes/imon/lircd.conf.imon-pad 2008-08-12 16:14:39.000000000 +0100 +@@ -24,65 +24,65 @@ begin remote + + + begin codes +- AppExit 0x288195B7 +- Record 0x298115B7 +- Play 0x2A8115B7 ++ KEY_EXIT 0x288195B7 ++ KEY_RECORD 0x298115B7 ++ KEY_PLAY 0x2A8115B7 + SlowMotion 0x29B195B7 +- Rewind 0x2A8195B7 +- Pause 0x2A9115B7 +- FastForward 0x2B8115B7 +- PrevChapter 0x2B9115B7 +- Stop 0x2B9715B7 +- NextChapter 0x298195B7 +- Esc 0x2BB715B7 +- Eject 0x299395B7 ++ KEY_REWIND 0x2A8195B7 ++ KEY_PAUSE 0x2A9115B7 ++ KEY_FASTFORWARD 0x2B8115B7 ++ KEY_PREVIOUS 0x2B9115B7 ++ KEY_STOP 0x2B9715B7 ++ KEY_NEXT 0x298195B7 ++ KEY_ESC 0x2BB715B7 ++ KEY_EJECTCD 0x299395B7 + AppLauncher 0x29B715B7 + MultiMon 0x2AB195B7 + TaskSwitcher 0x2A9395B7 +- Mute 0x2B9595B7 +- Vol+ 0x28A395B7 +- Vol- 0x28A595B7 +- Ch+ 0x289395B7 +- Ch- 0x288795B7 ++ KEY_MUTE 0x2B9595B7 ++ KEY_VOLUMEUP 0x28A395B7 ++ KEY_VOLUMEDOWN 0x28A595B7 ++ KEY_CHANNELUP 0x289395B7 ++ KEY_CHANNELDOWN 0x288795B7 + Timer 0x2B8395B7 +- 1 0x28B595B7 +- 2 0x2BB195B7 +- 3 0x28B195B7 +- 4 0x2A8595B7 +- 5 0x299595B7 +- 6 0x2AA595B7 +- 7 0x2B9395B7 +- 8 0x2A8515B7 +- 9 0x2AA115B7 +- 0 0x2BA595B7 ++ KEY_1 0x28B595B7 ++ KEY_2 0x2BB195B7 ++ KEY_3 0x28B195B7 ++ KEY_4 0x2A8595B7 ++ KEY_5 0x299595B7 ++ KEY_6 0x2AA595B7 ++ KEY_7 0x2B9395B7 ++ KEY_8 0x2A8515B7 ++ KEY_9 0x2AA115B7 ++ KEY_0 0x2BA595B7 + ShiftTab 0x28B515B7 +- Tab 0x29A115B7 +- MyMovie 0x2B8515B7 +- MyMusic 0x299195B7 ++ KEY_TAB 0x29A115B7 ++ KEY_VIDEO 0x2B8515B7 ++ KEY_AUDIO 0x299195B7 + MyPhoto 0x2BA115B7 +- MyTV 0x28A515B7 +- Bookmark 0x288515B7 ++ KEY_TV 0x28A515B7 ++ KEY_BOOKMARKS 0x288515B7 + Thumbnail 0x2AB715B7 + AspectRatio 0x29A595B7 + FullScreen 0x2AA395B7 +- MyDVD 0x29A295B7 +- Menu 0x2BA385B7 ++ KEY_DVD 0x29A295B7 ++ KEY_MENU 0x2BA385B7 + Caption 0x298595B7 +- Language 0x2B8595B7 ++ KEY_LANGUAGE 0x2B8595B7 + MouseKeyboard 0x299115B7 + SelectSpace 0x2A9315B7 + MouseMenu 0x28B715B7 +- MouseRightClick 0x688481B7 +- Enter 0x28A195B7 +- MouseLeftClick 0x688301B7 ++ BTN_RIGHT 0x688481B7 ++ KEY_ENTER 0x28A195B7 ++ BTN_LEFT 0x688301B7 + WindowsKey 0x2B8195B7 +- Backspace 0x28A115B7 ++ KEY_BACKSPACE 0x28A115B7 + # Corrin added +- Space 0x2B9B15F7 +- Up 0xEB53F9B7 +- Left 0x6ABAFFBF +- Down 0x6F9ECBB7 +- Right 0x69A281B7 ++ KEY_SPACE 0x2B9B15F7 ++ KEY_UP 0xEB53F9B7 ++ KEY_LEFT 0x6ABAFFBF ++ KEY_DOWN 0x6F9ECBB7 ++ KEY_RIGHT 0x69A281B7 + + end codes + +diff -upr lirc-0.8.3.orig/remotes/imon/lircd.conf.imon-rsc lirc-0.8.3/remotes/imon/lircd.conf.imon-rsc +--- lirc-0.8.3.orig/remotes/imon/lircd.conf.imon-rsc 2007-02-18 08:36:27.000000000 +0000 ++++ lirc-0.8.3/remotes/imon/lircd.conf.imon-rsc 2008-08-12 16:14:39.000000000 +0100 +@@ -27,48 +27,48 @@ begin remote + gap 100000 + + begin codes +- App.Exit 0x00000000000008F7 +- Power 0x000000000000F40B ++ KEY_EXIT 0x00000000000008F7 ++ KEY_POWER 0x000000000000F40B + ScreenSaver 0x00000000000052AD + Timer 0x000000000000926D +- 1 0x0000000000002AD5 +- 2 0x000000000000AA55 +- 3 0x0000000000006A95 +- 4 0x000000000000EA15 +- 5 0x0000000000001AE5 +- 6 0x0000000000009A65 +- 7 0x0000000000005AA5 +- 8 0x000000000000DA25 +- 9 0x0000000000003AC5 +- 0 0x000000000000BA45 ++ KEY_1 0x0000000000002AD5 ++ KEY_2 0x000000000000AA55 ++ KEY_3 0x0000000000006A95 ++ KEY_4 0x000000000000EA15 ++ KEY_5 0x0000000000001AE5 ++ KEY_6 0x0000000000009A65 ++ KEY_7 0x0000000000005AA5 ++ KEY_8 0x000000000000DA25 ++ KEY_9 0x0000000000003AC5 ++ KEY_0 0x000000000000BA45 + Desktop 0x000000000000817E +- Max/Res 0x00000000000041BE +- Esc 0x00000000000012ED ++ KEY_MAX 0x00000000000041BE ++ KEY_ESC 0x00000000000012ED + Windows 0x000000000000D22D +- Menu 0x000000000000C13E ++ KEY_MENU 0x000000000000C13E + App.Launcher 0x000000000000A25D + Function 0x00000000000021DE + Task.Switcher 0x000000000000629D +- Backspace 0x000000000000A15E ++ KEY_BACKSPACE 0x000000000000A15E + Mouse/Keyboard 0x000000000000619E +- Space 0x000000000000E11E ++ KEY_SPACE 0x000000000000E11E + Shift.Tab 0x0000000000007887 +- Enter 0x00000000000019E6 +- Tab 0x000000000000F807 +- L.Click 0x000000000000d827 ++ KEY_ENTER 0x00000000000019E6 ++ KEY_TAB 0x000000000000F807 ++ BTN_LEFT 0x000000000000d827 + DragNDrop 0x0000000000006897 +- R.Click 0x000000000000b847 +- Mute 0x00000000000011ee +- Vol- 0x0000000000007a85 +- Vol+ 0x000000000000fa05 +- Play 0x00000000000032cd +- Pause 0x000000000000b24d +- Open 0x000000000000f20d +- Prev 0x0000000000000af5 +- Next 0x0000000000008a75 +- Stop 0x000000000000728d +- Rew 0x0000000000004ab5 +- F.Fwd 0x000000000000ca35 ++ BTN_RIGHT 0x000000000000b847 ++ KEY_MUTE 0x00000000000011ee ++ KEY_VOLUMEDOWN 0x0000000000007a85 ++ KEY_VOLUMEUP 0x000000000000fa05 ++ KEY_PLAY 0x00000000000032cd ++ KEY_PAUSE 0x000000000000b24d ++ KEY_OPEN 0x000000000000f20d ++ KEY_PREVIOUS 0x0000000000000af5 ++ KEY_NEXT 0x0000000000008a75 ++ KEY_STOP 0x000000000000728d ++ KEY_REWIND 0x0000000000004ab5 ++ KEY_FORWARD 0x000000000000ca35 + Full.Screen 0x000000000000916e + end codes + +diff -upr lirc-0.8.3.orig/remotes/iodata/lircd.conf.gvbctv5pci lirc-0.8.3/remotes/iodata/lircd.conf.gvbctv5pci +--- lirc-0.8.3.orig/remotes/iodata/lircd.conf.gvbctv5pci 2003-06-07 23:00:12.000000000 +0100 ++++ lirc-0.8.3/remotes/iodata/lircd.conf.gvbctv5pci 2008-08-12 16:14:40.000000000 +0100 +@@ -26,41 +26,41 @@ begin remote + + + begin codes +- TV 0x0000000000000042 +- FM 0x0000000000000022 +- EPG 0x0000000000000062 +- POWER 0x0000000000000002 +- 1 0x0000000000000052 +- 2 0x0000000000000032 +- 3 0x0000000000000072 +- 4 0x000000000000004A +- 5 0x000000000000002A +- 6 0x000000000000006A +- 7 0x000000000000005A +- 8 0x000000000000003A +- 9 0x000000000000007A ++ KEY_TV 0x0000000000000042 ++ KEY_RADIO 0x0000000000000022 ++ KEY_EPG 0x0000000000000062 ++ KEY_POWER 0x0000000000000002 ++ KEY_1 0x0000000000000052 ++ KEY_2 0x0000000000000032 ++ KEY_3 0x0000000000000072 ++ KEY_4 0x000000000000004A ++ KEY_5 0x000000000000002A ++ KEY_6 0x000000000000006A ++ KEY_7 0x000000000000005A ++ KEY_8 0x000000000000003A ++ KEY_9 0x000000000000007A + 10 0x0000000000000046 + 11 0x0000000000000026 + 12 0x0000000000000066 + LIVE 0x0000000000000012 + TIME_SHIFT 0x000000000000000A +- PLAY 0x000000000000001A ++ KEY_PLAY 0x000000000000001A + MULTI 0x0000000000000006 +- VIDEO 0x0000000000000056 +- SVIDEO 0x000000000000004E +- CHANNEL_PLUS 0x0000000000000036 +- CHANNEL_MINUS 0x000000000000002E +- VOLUME_PLUS 0x0000000000000076 +- VOLUME_MINUS 0x000000000000006E +- MUTE 0x0000000000000016 ++ KEY_VIDEO 0x0000000000000056 ++ KEY_VIDEO 0x000000000000004E ++ KEY_CHANNELUP 0x0000000000000036 ++ KEY_CHANNELDOWN 0x000000000000002E ++ KEY_VOLUMEUP 0x0000000000000076 ++ KEY_VOLUMEDOWN 0x000000000000006E ++ KEY_MUTE 0x0000000000000016 + PICTURE_SIZE 0x000000000000000E +- PAUSE 0x000000000000005E +- HALT 0x000000000000003E +- RECORD 0x000000000000007E +- STOP 0x000000000000001E +- REWIND 0x0000000000000043 ++ KEY_PAUSE 0x000000000000005E ++ KEY_POWER 0x000000000000003E ++ KEY_RECORD 0x000000000000007E ++ KEY_STOP 0x000000000000001E ++ KEY_REWIND 0x0000000000000043 + START 0x0000000000000023 +- FORWARD 0x0000000000000063 ++ KEY_FORWARD 0x0000000000000063 + SYNC 0x0000000000000003 + end codes + +diff -upr lirc-0.8.3.orig/remotes/kanam_accent/lircd.conf.IR-100 lirc-0.8.3/remotes/kanam_accent/lircd.conf.IR-100 +--- lirc-0.8.3.orig/remotes/kanam_accent/lircd.conf.IR-100 2007-02-13 04:18:53.000000000 +0000 ++++ lirc-0.8.3/remotes/kanam_accent/lircd.conf.IR-100 2008-08-12 16:14:40.000000000 +0100 +@@ -29,47 +29,47 @@ begin remote + + + begin codes +- power 0x62260942 +- eject 0x62662409 +- 1 0x62662209 +- 2 0x22642209 +- 3 0x62641142 +- 4 0x62644209 +- 5 0x22624209 +- 6 0x62629142 +- 7 0x62628942 +- 8 0x22646409 +- 9 0x62646609 +- 0 0x22464226 +- win_key 0x62664226 +- menu_key 0x62660942 +- vol- 0x22896642 +- vol+ 0x62622609 +- esc 0x22662609 +- up 0x22916642 +- close 0x22994642 +- left 0x22994242 ++ KEY_POWER 0x62260942 ++ KEY_EJECTCD 0x62662409 ++ KEY_1 0x62662209 ++ KEY_2 0x22642209 ++ KEY_3 0x62641142 ++ KEY_4 0x62644209 ++ KEY_5 0x22624209 ++ KEY_6 0x62629142 ++ KEY_7 0x62628942 ++ KEY_8 0x22646409 ++ KEY_9 0x62646609 ++ KEY_0 0x22464226 ++ 0x62664226 ++ 0x62660942 ++ KEY_VOLUMEDOWN 0x22896642 ++ KEY_VOLUMEUP 0x62622609 ++ KEY_ESC 0x22662609 ++ KEY_UP 0x22916642 ++ KEY_CLOSE 0x22994642 ++ KEY_LEFT 0x22994242 + ent 0x22892642 +- right 0x22914642 +- prev 0x62996242 +- down 0x22192699 +- next 0x22660942 +- mute 0x22622409 ++ KEY_RIGHT 0x22914642 ++ KEY_PREVIOUS 0x62996242 ++ KEY_DOWN 0x22192699 ++ KEY_NEXT 0x22660942 ++ KEY_MUTE 0x22622409 + step 0x62994C42 +- play 0x22246426 +- stop 0x6246894C ++ KEY_PLAY 0x22246426 ++ KEY_STOP 0x6246894C + winamp 0x62426409 +- mediaplayer 0x22664409 ++ 0x22664409 + hdtv 0x22992642 +- cdplayer 0x62664609 +- windvd 0x62992299 +- powerdvd 0x62912242 +- internet 0x62264626 ++ 0x62664609 ++ 0x62992299 ++ 0x62912242 ++ KEY_WWW 0x62264626 + email 0x22998C99 +- b1 0x22264426 +- b2 0x22426209 +- b3 0x62896442 +- b4 0x22096642 ++ 0x22264426 ++ 0x22426209 ++ 0x62896442 ++ 0x22096642 + end codes + + end remote +diff -upr lirc-0.8.3.orig/remotes/knc_one/lircd.conf.knc_one lirc-0.8.3/remotes/knc_one/lircd.conf.knc_one +--- lirc-0.8.3.orig/remotes/knc_one/lircd.conf.knc_one 2001-04-24 22:20:41.000000000 +0100 ++++ lirc-0.8.3/remotes/knc_one/lircd.conf.knc_one 2008-08-12 16:14:40.000000000 +0100 +@@ -26,37 +26,37 @@ begin remote + + begin codes + TV/FM 0x000000000000001C +- OK 0x0000000000000015 +- F1 0x000000000000000B +- POWER 0x0000000000000012 ++ KEY_OK 0x0000000000000015 ++ KEY_F1 0x000000000000000B ++ KEY_POWER 0x0000000000000012 + AV/TV 0x0000000000000011 + TELETEXT 0x000000000000000F + FULLSCREEN 0x0000000000000013 +- MUTE 0x0000000000000010 +- 1 0x0000000000000001 +- 2 0x0000000000000002 +- 3 0x0000000000000003 +- 4 0x0000000000000004 +- 5 0x0000000000000005 +- 6 0x0000000000000006 +- 7 0x0000000000000007 +- 8 0x0000000000000008 +- 9 0x0000000000000009 +- 0 0x0000000000000000 +- CH+ 0x000000000000001A +- CH- 0x000000000000001E +- VOL+ 0x000000000000001B +- VOL- 0x000000000000001F ++ KEY_MUTE 0x0000000000000010 ++ KEY_1 0x0000000000000001 ++ KEY_2 0x0000000000000002 ++ KEY_3 0x0000000000000003 ++ KEY_4 0x0000000000000004 ++ KEY_5 0x0000000000000005 ++ KEY_6 0x0000000000000006 ++ KEY_7 0x0000000000000007 ++ KEY_8 0x0000000000000008 ++ KEY_9 0x0000000000000009 ++ KEY_0 0x0000000000000000 ++ KEY_CHANNELUP 0x000000000000001A ++ KEY_CHANNELDOWN 0x000000000000001E ++ KEY_VOLUMEUP 0x000000000000001B ++ KEY_VOLUMEDOWN 0x000000000000001F + SNAPSHOT 0x000000000000000A + 100+ 0x0000000000000017 +- RECORD 0x000000000000000D +- PAUSE 0x000000000000000E +- PLAY 0x000000000000001D +- STOP 0x0000000000000019 +- MENU 0x0000000000000016 +- ESC 0x0000000000000014 +- - 0x0000000000000018 +- + 0x000000000000000C ++ KEY_RECORD 0x000000000000000D ++ KEY_PAUSE 0x000000000000000E ++ KEY_PLAY 0x000000000000001D ++ KEY_STOP 0x0000000000000019 ++ KEY_MENU 0x0000000000000016 ++ KEY_ESC 0x0000000000000014 ++ KEY_KPMINUS 0x0000000000000018 ++ KEY_KPPLUS 0x000000000000000C + end codes + + end remote +diff -upr lirc-0.8.3.orig/remotes/kworld/lircd.conf.kworld lirc-0.8.3/remotes/kworld/lircd.conf.kworld +--- lirc-0.8.3.orig/remotes/kworld/lircd.conf.kworld 2005-04-01 21:28:05.000000000 +0100 ++++ lirc-0.8.3/remotes/kworld/lircd.conf.kworld 2008-08-12 16:14:40.000000000 +0100 +@@ -29,36 +29,36 @@ begin remote + + + begin codes +- power 0x0000000000007887 ++ KEY_POWER 0x0000000000007887 + source 0x000000000000E01F + scan 0x00000000000038C7 +- mute 0x00000000000018E7 ++ KEY_MUTE 0x00000000000018E7 + tv/fm 0x000000000000C03F +- 1 0x000000000000807F +- 2 0x000000000000D02F +- 3 0x000000000000D827 ++ KEY_1 0x000000000000807F ++ KEY_2 0x000000000000D02F ++ KEY_3 0x000000000000D827 + fm_scan+ 0x000000000000F807 +- 4 0x000000000000A05F +- 5 0x000000000000906F +- 6 0x000000000000A857 ++ KEY_4 0x000000000000A05F ++ KEY_5 0x000000000000906F ++ KEY_6 0x000000000000A857 + fm_scan- 0x000000000000E817 +- 7 0x000000000000609F +- 8 0x00000000000050AF +- 9 0x00000000000048B7 ++ KEY_7 0x000000000000609F ++ KEY_8 0x00000000000050AF ++ KEY_9 0x00000000000048B7 + fm_freq+ 0x00000000000030CF +- 0 0x00000000000040BF +- + 0x00000000000008F7 ++ KEY_0 0x00000000000040BF ++ KEY_KPPLUS 0x00000000000008F7 + recall 0x000000000000C837 + fm-freq- 0x00000000000020DF +- record 0x00000000000000FF +- stop 0x00000000000010EF +- play 0x0000000000008877 ++ KEY_RECORD 0x00000000000000FF ++ KEY_STOP 0x00000000000010EF ++ KEY_PLAY 0x0000000000008877 + minimze 0x000000000000F00F +- ch+ 0x000000000000F807 +- zoom 0x0000000000009867 +- vol- 0x00000000000028D7 +- ch- 0x000000000000E817 +- vol+ 0x0000000000006897 ++ KEY_CHANNELUP 0x000000000000F807 ++ KEY_ZOOM 0x0000000000009867 ++ KEY_VOLUMEDOWN 0x00000000000028D7 ++ KEY_CHANNELDOWN 0x000000000000E817 ++ KEY_VOLUMEUP 0x0000000000006897 + snapshot 0x00000000000058A7 + mts 0x000000000000B04F + function- 0x00000000000020DF +diff -upr lirc-0.8.3.orig/remotes/leadtek/lircd.conf.PVR2000 lirc-0.8.3/remotes/leadtek/lircd.conf.PVR2000 +--- lirc-0.8.3.orig/remotes/leadtek/lircd.conf.PVR2000 2006-12-19 06:02:58.000000000 +0000 ++++ lirc-0.8.3/remotes/leadtek/lircd.conf.PVR2000 2008-08-12 16:14:39.000000000 +0100 +@@ -18,54 +18,54 @@ begin remote + gap 120000 + + begin codes +- POWER 0x0000000000000070 +- TV 0x0000000000000026 +- FM 0x0000000000000027 +- DVD 0x0000000000000028 +- RED 0x000000000000003B +- GREEN 0x000000000000003C +- YELLOW 0x000000000000003D +- BLUE 0x000000000000003E ++ KEY_POWER 0x0000000000000070 ++ KEY_TV 0x0000000000000026 ++ KEY_RADIO 0x0000000000000027 ++ KEY_DVD 0x0000000000000028 ++ KEY_RED 0x000000000000003B ++ KEY_GREEN 0x000000000000003C ++ KEY_YELLOW 0x000000000000003D ++ KEY_BLUE 0x000000000000003E + TELETEXT 0x000000000000006F +- SLEEP 0x0000000000000030 +- MUTE 0x0000000000000064 ++ KEY_SLEEP 0x0000000000000030 ++ KEY_MUTE 0x0000000000000064 + BOSS_KEY 0x0000000000000039 +- CH_UP 0x000000000000007C +- CH_DOWN 0x0000000000000060 +- VOL_DOWN 0x0000000000000078 +- VOL_UP 0x0000000000000074 +- ENTER 0x0000000000000063 ++ KEY_CHANNELUP 0x000000000000007C ++ KEY_CHANNELDOWN 0x0000000000000060 ++ KEY_VOLUMEDOWN 0x0000000000000078 ++ KEY_VOLUMEUP 0x0000000000000074 ++ KEY_ENTER 0x0000000000000063 + CC 0x0000000000000020 + FULLSCREEN 0x0000000000000073 +- MENU 0x000000000000003F ++ KEY_MENU 0x000000000000003F + SCAN 0x0000000000000021 +- REPLAY 0x0000000000000032 +- PLAY 0x0000000000000033 +- SKIP 0x0000000000000034 ++ KEY_AGAIN 0x0000000000000032 ++ KEY_PLAY 0x0000000000000033 ++ KEY_NEXT 0x0000000000000034 + OSD 0x0000000000000022 +- BACK 0x0000000000000024 +- STOP 0x0000000000000036 +- FORWARD 0x0000000000000025 +- LANGUAGE 0x0000000000000023 +- 1 0x0000000000000075 +- 2 0x0000000000000076 +- 3 0x0000000000000077 +- 4 0x0000000000000079 +- 5 0x000000000000007A +- 6 0x000000000000007B +- 7 0x000000000000007D +- 8 0x000000000000007E +- 9 0x000000000000007F +- 0 0x0000000000000062 +- . 0x0000000000000031 ++ KEY_BACK 0x0000000000000024 ++ KEY_STOP 0x0000000000000036 ++ KEY_FORWARD 0x0000000000000025 ++ KEY_LANGUAGE 0x0000000000000023 ++ KEY_1 0x0000000000000075 ++ KEY_2 0x0000000000000076 ++ KEY_3 0x0000000000000077 ++ KEY_4 0x0000000000000079 ++ KEY_5 0x000000000000007A ++ KEY_6 0x000000000000007B ++ KEY_7 0x000000000000007D ++ KEY_8 0x000000000000007E ++ KEY_9 0x000000000000007F ++ KEY_0 0x0000000000000062 ++ KEY_DOT 0x0000000000000031 + RECALL 0x0000000000000061 +- VIDEO 0x000000000000006E +- AUDIO 0x000000000000006B ++ KEY_VIDEO 0x000000000000006E ++ KEY_AUDIO 0x000000000000006B + DISPLAY 0x0000000000000066 + SNAPSHOT 0x0000000000000038 + PIP 0x000000000000003A + RECSTOP 0x0000000000000036 +- REC 0x0000000000000037 ++ KEY_RECORD 0x0000000000000037 + TIMESHIFT 0x0000000000000035 + + end codes +diff -upr lirc-0.8.3.orig/remotes/leadtek/lircd.conf.RM-0007 lirc-0.8.3/remotes/leadtek/lircd.conf.RM-0007 +--- lirc-0.8.3.orig/remotes/leadtek/lircd.conf.RM-0007 2002-11-09 22:34:23.000000000 +0000 ++++ lirc-0.8.3/remotes/leadtek/lircd.conf.RM-0007 2008-08-12 16:14:39.000000000 +0100 +@@ -44,43 +44,43 @@ begin remote + + begin codes + # 1st row of buttons +- POWER 0x00000000000000FF +- MENU 0x000000000000807F +- FM 0x00000000000040BF ++ KEY_POWER 0x00000000000000FF ++ KEY_MENU 0x000000000000807F ++ KEY_RADIO 0x00000000000040BF + PC/TV 0x000000000000C03F + # volume/channel +- VOL_UP 0x00000000000020DF +- VOL_DOWN 0x00000000000010EF +- CH_UP 0x00000000000030CF +- CH_DOWN 0x00000000000008F7 ++ KEY_VOLUMEUP 0x00000000000020DF ++ KEY_VOLUMEDOWN 0x00000000000010EF ++ KEY_CHANNELUP 0x00000000000030CF ++ KEY_CHANNELDOWN 0x00000000000008F7 + # numbers pad +- 1 0x000000000000A05F +- 2 0x000000000000609F +- 3 0x000000000000E01F +- 4 0x000000000000906F +- 5 0x00000000000050AF +- 6 0x000000000000D02F +- 7 0x000000000000B04F +- 8 0x000000000000708F +- 9 0x000000000000F00F ++ KEY_1 0x000000000000A05F ++ KEY_2 0x000000000000609F ++ KEY_3 0x000000000000E01F ++ KEY_4 0x000000000000906F ++ KEY_5 0x00000000000050AF ++ KEY_6 0x000000000000D02F ++ KEY_7 0x000000000000B04F ++ KEY_8 0x000000000000708F ++ KEY_9 0x000000000000F00F + RETURN 0x0000000000008877 +- 0 0x00000000000048B7 ++ KEY_0 0x00000000000048B7 + DISPLAY 0x000000000000C837 + # unknown icon buttons +- HELP 0x00000000000038C7 ++ KEY_HELP 0x00000000000038C7 + SCAN 0x000000000000A857 + OSD 0x0000000000006897 +- OPTIONS 0x000000000000E817 ++ KEY_OPTION 0x000000000000E817 + # labeled buttons +- MUTE 0x00000000000028D7 ++ KEY_MUTE 0x00000000000028D7 + MTS 0x000000000000D827 +- VIDEO 0x0000000000007887 ++ KEY_VIDEO 0x0000000000007887 + CC 0x000000000000F807 + # color dots buttons +- RED 0x00000000000018E7 +- GREEN 0x0000000000009867 +- YELLOW 0x00000000000058A7 +- BLUE 0x000000000000B847 ++ KEY_RED 0x00000000000018E7 ++ KEY_GREEN 0x0000000000009867 ++ KEY_YELLOW 0x00000000000058A7 ++ KEY_BLUE 0x000000000000B847 + end codes + + end remote +diff -upr lirc-0.8.3.orig/remotes/leadtek/lircd.conf.RM-0010 lirc-0.8.3/remotes/leadtek/lircd.conf.RM-0010 +--- lirc-0.8.3.orig/remotes/leadtek/lircd.conf.RM-0010 2006-03-21 07:11:14.000000000 +0000 ++++ lirc-0.8.3/remotes/leadtek/lircd.conf.RM-0010 2008-08-12 16:14:39.000000000 +0100 +@@ -43,69 +43,69 @@ begin remote + duty_cycle 33 + + begin codes +- POWER 0x00000000000000FF ++ KEY_POWER 0x00000000000000FF + TV/FM 0x00000000000040BF + SCAN 0x000000000000A857 + DISPLAY 0x0000000000006897 +- 1 0x000000000000A05F +- 2 0x000000000000609F +- 3 0x000000000000E01F +- 4 0x000000000000906F +- 5 0x00000000000050AF +- 6 0x000000000000D02F +- 7 0x000000000000B04F +- 8 0x000000000000708F +- 9 0x000000000000F00F +- 0 0x00000000000048B7 ++ KEY_1 0x000000000000A05F ++ KEY_2 0x000000000000609F ++ KEY_3 0x000000000000E01F ++ KEY_4 0x000000000000906F ++ KEY_5 0x00000000000050AF ++ KEY_6 0x000000000000D02F ++ KEY_7 0x000000000000B04F ++ KEY_8 0x000000000000708F ++ KEY_9 0x000000000000F00F ++ KEY_0 0x00000000000048B7 + RECALL 0x0000000000008877 +- ENTER 0x000000000000C837 ++ KEY_ENTER 0x000000000000C837 + CC 0x000000000000F807 + MTS 0x000000000000D827 + FINE_DOWN 0x0000000000009867 + FINE_UP 0x00000000000018E7 +- VIDEO 0x0000000000007887 +- MUTE 0x00000000000028D7 +- CH_UP 0x00000000000030CF +- CH_DOWN 0x00000000000008F7 +- VOL_DOWN 0x00000000000010EF +- VOL_UP 0x00000000000020DF ++ KEY_VIDEO 0x0000000000007887 ++ KEY_MUTE 0x00000000000028D7 ++ KEY_CHANNELUP 0x00000000000030CF ++ KEY_CHANNELDOWN 0x00000000000008F7 ++ KEY_VOLUMEDOWN 0x00000000000010EF ++ KEY_VOLUMEUP 0x00000000000020DF + FULLSCREEN 0x000000000000C03F + + # The following are only supported by the remote control bundled with + # the WinFast TV 2000 XP Deluxe card. + +- SLEEP 0x00000000000002FD ++ KEY_SLEEP 0x00000000000002FD + BOSS_KEY 0x000000000000926D +- RED 0x000000000000D22D +- GREEN 0x00000000000032CD +- YELLOW 0x000000000000B24D +- BLUE 0x000000000000728D ++ KEY_RED 0x000000000000D22D ++ KEY_GREEN 0x00000000000032CD ++ KEY_YELLOW 0x000000000000B24D ++ KEY_BLUE 0x000000000000728D + PIP 0x00000000000052AD +- . 0x000000000000827D +- BACK 0x00000000000042BD +- PLAY 0x000000000000C23D +- NEXT 0x00000000000022DD ++ KEY_DOT 0x000000000000827D ++ KEY_BACK 0x00000000000042BD ++ KEY_PLAY 0x000000000000C23D ++ KEY_NEXT 0x00000000000022DD + TIMESHIFT 0x000000000000A25D +- STOP 0x000000000000629D +- REC 0x000000000000E21D ++ KEY_STOP 0x000000000000629D ++ KEY_RECORD 0x000000000000E21D + SNAPSHOT 0x00000000000012ED + + # Only found on CoolCommand remote + +- REPEAT 0x000000000000884B ++ KEY_AGAIN 0x000000000000884B + TELETEXT 0x000000000000F807 +- TV 0x0000000000006A95 +- FM 0x000000000000EA15 +- DVD 0x0000000000001AE5 ++ KEY_TV 0x0000000000006A95 ++ KEY_RADIO 0x000000000000EA15 ++ KEY_DVD 0x0000000000001AE5 + CLEAR(C) 0x0000000000000AF5 +- MENU 0x000000000000F20D ++ KEY_MENU 0x000000000000F20D + CH_SURF 0x0000000000008A75 +- ENTER 0x000000000000C837 +- AUDIO 0x000000000000D827 ++ KEY_ENTER 0x000000000000C837 ++ KEY_AUDIO 0x000000000000D827 + CC 0x0000000000004AB5 +- REW 0x0000000000002AD5 +- STOP 0x000000000000629D +- FFW 0x000000000000AA55 ++ KEY_REWIND 0x0000000000002AD5 ++ KEY_STOP 0x000000000000629D ++ KEY_FASTFORWARD 0x000000000000AA55 + end codes + + end remote +diff -upr lirc-0.8.3.orig/remotes/life-view/lircd.conf.flyvideo lirc-0.8.3/remotes/life-view/lircd.conf.flyvideo +--- lirc-0.8.3.orig/remotes/life-view/lircd.conf.flyvideo 2002-11-09 22:31:38.000000000 +0000 ++++ lirc-0.8.3/remotes/life-view/lircd.conf.flyvideo 2008-08-12 16:14:40.000000000 +0100 +@@ -35,50 +35,50 @@ begin remote + duty_cycle 33 + + begin codes +- 0 0x000000000000F00F +- 1 0x000000000000C03F +- 2 0x00000000000020DF +- 3 0x000000000000A05F +- 4 0x000000000000E01F +- 5 0x00000000000010EF +- 6 0x000000000000906F +- 7 0x000000000000D02F +- 8 0x00000000000030CF +- 9 0x000000000000B04F +- POWER 0x00000000000000FF +- MOUSE_MODE 0x000000000000807F ++ KEY_0 0x000000000000F00F ++ KEY_1 0x000000000000C03F ++ KEY_2 0x00000000000020DF ++ KEY_3 0x000000000000A05F ++ KEY_4 0x000000000000E01F ++ KEY_5 0x00000000000010EF ++ KEY_6 0x000000000000906F ++ KEY_7 0x000000000000D02F ++ KEY_8 0x00000000000030CF ++ KEY_9 0x000000000000B04F ++ KEY_POWER 0x00000000000000FF ++ BTN_MODE 0x000000000000807F + FULL_SCREEN 0x00000000000040BF +- CHAN_PLUS 0x00000000000048B7 +- CHAN_MINUS 0x000000000000C837 +- CANCEL 0x000000000000F807 +- ENTER 0x00000000000008F7 +- VOL_PLUS 0x00000000000028D7 +- VOL_MINUS 0x000000000000E817 +- MENU 0x000000000000609F +- UP 0x000000000000708F +- DOWN 0x0000000000009867 +- LEFT 0x000000000000609F +- RIGHT 0x000000000000A857 ++ KEY_CHANNELUP 0x00000000000048B7 ++ KEY_CHANNELDOWN 0x000000000000C837 ++ KEY_CANCEL 0x000000000000F807 ++ KEY_ENTER 0x00000000000008F7 ++ KEY_VOLUMEUP 0x00000000000028D7 ++ KEY_VOLUMEDOWN 0x000000000000E817 ++ KEY_MENU 0x000000000000609F ++ KEY_UP 0x000000000000708F ++ KEY_DOWN 0x0000000000009867 ++ KEY_LEFT 0x000000000000609F ++ KEY_RIGHT 0x000000000000A857 + INC 0x00000000000050AF + DEC 0x0000000000006897 +- ESC 0x00000000000058A7 +- MUTE 0x000000000000D827 ++ KEY_ESC 0x00000000000058A7 ++ KEY_MUTE 0x000000000000D827 + RETURN 0x00000000000018E7 + CENTER 0x000000000000C837 + + CHANELS 0x00000000000047B8 + REV 0x0000000000008778 +- FWD 0x000000000000C738 +- VIDEO 0x0000000000008877 ++ KEY_FORWARD 0x000000000000C738 ++ KEY_VIDEO 0x0000000000008877 + + # from FlyVideo II config file +- Audio 0x000000000000A857 ++ KEY_AUDIO 0x000000000000A857 + # newly added by Jarek Zuk + SQUARE 0x000000000000B847 + TAB_LEFT 0x0000000000007887 + TAB_RIGHT 0x00000000000038C7 + CENTER 0x000000000000C837 +- LEFT 0x00000000000048B7 ++ KEY_LEFT 0x00000000000048B7 + + end codes + +diff -upr lirc-0.8.3.orig/remotes/logitech/lircd.conf.logitech lirc-0.8.3/remotes/logitech/lircd.conf.logitech +--- lirc-0.8.3.orig/remotes/logitech/lircd.conf.logitech 2000-01-18 19:10:08.000000000 +0000 ++++ lirc-0.8.3/remotes/logitech/lircd.conf.logitech 2008-08-12 16:14:40.000000000 +0100 +@@ -23,41 +23,41 @@ begin remote + repeat_bit 0 + + begin codes +- POWER 0x0000000000000002 +- 1 0x0000000000000015 +- 2 0x0000000000000016 +- 3 0x0000000000000014 +- 4 0x0000000000000018 +- 5 0x0000000000000019 +- 6 0x0000000000000017 +- 7 0x000000000000001C +- 8 0x000000000000001B +- 9 0x000000000000001A +- 0 0x000000000000001D +- PAUSE 0x0000000000000013 +- EJECT 0x0000000000000011 ++ KEY_POWER 0x0000000000000002 ++ KEY_1 0x0000000000000015 ++ KEY_2 0x0000000000000016 ++ KEY_3 0x0000000000000014 ++ KEY_4 0x0000000000000018 ++ KEY_5 0x0000000000000019 ++ KEY_6 0x0000000000000017 ++ KEY_7 0x000000000000001C ++ KEY_8 0x000000000000001B ++ KEY_9 0x000000000000001A ++ KEY_0 0x000000000000001D ++ KEY_PAUSE 0x0000000000000013 ++ KEY_EJECTCD 0x0000000000000011 + SEEK- 0x000000000000000E +- PLAY 0x000000000000000F ++ KEY_PLAY 0x000000000000000F + SEEK+ 0x0000000000000010 +- STOP 0x0000000000000012 +- HELP 0x0000000000000001 +- CH- 0x000000000000000D +- CH+ 0x000000000000000A +- VOL- 0x000000000000000C +- VOL+ 0x0000000000000009 ++ KEY_STOP 0x0000000000000012 ++ KEY_HELP 0x0000000000000001 ++ KEY_CHANNELDOWN 0x000000000000000D ++ KEY_CHANNELUP 0x000000000000000A ++ KEY_VOLUMEDOWN 0x000000000000000C ++ KEY_VOLUMEUP 0x0000000000000009 + * 0x000000000000001F + # 0x000000000000001E +- MUTE 0x000000000000000B ++ KEY_MUTE 0x000000000000000B + BUTTONL_DOWN 0x0000000000000039 + BUTTONR_DOWN 0x000000000000003A +- BUTTON_UP 0x0000000000000038 +- ENTER 0x0000000000000008 +- CLOSE 0x0000000000000023 +- TV 0x0000000000000004 ++ KEY_UP 0x0000000000000038 ++ KEY_ENTER 0x0000000000000008 ++ KEY_CLOSE 0x0000000000000023 ++ KEY_TV 0x0000000000000004 + GDE 0x0000000000000005 +- CD 0x0000000000000006 ++ KEY_CD 0x0000000000000006 + MSG 0x0000000000000007 +- PHONE 0x0000000000000003 ++ KEY_PHONE 0x0000000000000003 + MOUSE_N 0x0000000000000040 + MOUSE_NNE 0x0000000000000041 + MOUSE_NE 0x0000000000000042 +diff -upr lirc-0.8.3.orig/remotes/mceusb/lircd.conf.mceusb lirc-0.8.3/remotes/mceusb/lircd.conf.mceusb +--- lirc-0.8.3.orig/remotes/mceusb/lircd.conf.mceusb 2007-11-01 13:08:33.000000000 +0000 ++++ lirc-0.8.3/remotes/mceusb/lircd.conf.mceusb 2008-08-12 16:14:39.000000000 +0100 +@@ -58,10 +58,10 @@ begin remote + begin codes + + #unused by HP remote +- Blue 0x00007ba1 +- Yellow 0x00007ba2 +- Green 0x00007ba3 +- Red 0x00007ba4 ++ KEY_BLUE 0x00007ba1 ++ KEY_YELLOW 0x00007ba2 ++ KEY_GREEN 0x00007ba3 ++ KEY_RED 0x00007ba4 + Teletext 0x00007ba5 + + #ba6 - bae unused +@@ -75,7 +75,7 @@ begin remote + BAD 0x00007bad + BAE 0x00007bae + +- Radio 0x00007baf ++ KEY_RADIO 0x00007baf + Print 0x00007bb1 + + #bb2 - bb4 unused +@@ -83,18 +83,18 @@ begin remote + BB3 0x00007bb3 + BB4 0x00007bb4 + +- Videos 0x00007bb5 ++ KEY_VIDEO 0x00007bb5 + Pictures 0x00007bb6 + RecTV 0x00007bb7 +- Music 0x00007bb8 +- TV 0x00007bb9 ++ KEY_AUDIO 0x00007bb8 ++ KEY_TV 0x00007bb9 + + #bba - bbf unused + BBA 0x00007bba + BBB 0x00007bbb + BBC 0x00007bbc + BBD 0x00007bbd +- BBE 0x00007bbe ++ 0x00007bbe + BBF 0x00007bbf + #bc1 - bca unused + BC1 0x00007bc1 +@@ -108,7 +108,7 @@ begin remote + BC9 0x00007bc9 + BCA 0x00007bca + +- Eject 0x00007bcb ++ KEY_EJECTCD 0x00007bcb + SlideShow 0x00007bcc + Visualization 0x00007bcd + +@@ -127,50 +127,50 @@ begin remote + Aspect 0x00007bd8 + Guide 0x00007bd9 + LiveTV 0x00007bda +- DVD 0x00007bdb ++ KEY_DVD 0x00007bdb + #NoGap +- Back 0x00007bdc +- OK 0x00007bdd +- Right 0x00007bde +- Left 0x00007bdf +- Down 0x00007be0 +- Up 0x00007be1 ++ KEY_BACK 0x00007bdc ++ KEY_OK 0x00007bdd ++ KEY_RIGHT 0x00007bde ++ KEY_LEFT 0x00007bdf ++ KEY_DOWN 0x00007be0 ++ KEY_UP 0x00007be1 + #NoGap + Star 0x00007be2 + Hash 0x00007be3 + #NoGap +- Replay 0x00007be4 +- Skip 0x00007be5 +- Stop 0x00007be6 +- Pause 0x00007be7 +- Record 0x00007be8 +- Play 0x00007be9 +- Rewind 0x00007bea +- Forward 0x00007beb +-#NoGap +- ChanDown 0x00007bec +- ChanUp 0x00007bed +- VolDown 0x00007bee +- VolUp 0x00007bef ++ KEY_AGAIN 0x00007be4 ++ KEY_NEXT 0x00007be5 ++ KEY_STOP 0x00007be6 ++ KEY_PAUSE 0x00007be7 ++ KEY_RECORD 0x00007be8 ++ KEY_PLAY 0x00007be9 ++ KEY_REWIND 0x00007bea ++ KEY_FORWARD 0x00007beb ++#NoGap ++ KEY_CHANNELDOWN 0x00007bec ++ KEY_CHANNELUP 0x00007bed ++ KEY_VOLUMEDOWN 0x00007bee ++ KEY_VOLUMEUP 0x00007bef + #NoGap + More 0x00007bf0 +- Mute 0x00007bf1 +- Home 0x00007bf2 +- Power 0x00007bf3 +-#NoGap +- Enter 0x00007bf4 +- Clear 0x00007bf5 +-#NoGap +- Nine 0x00007bf6 +- Eight 0x00007bf7 +- Seven 0x00007bf8 +- Six 0x00007bf9 +- Five 0x00007bfa +- Four 0x00007bfb +- Three 0x00007bfc +- Two 0x00007bfd +- One 0x00007bfe +- Zero 0x00007bff ++ KEY_MUTE 0x00007bf1 ++ KEY_HOME 0x00007bf2 ++ KEY_POWER 0x00007bf3 ++#NoGap ++ KEY_ENTER 0x00007bf4 ++ KEY_CLEAR 0x00007bf5 ++#NoGap ++ KEY_9 0x00007bf6 ++ KEY_8 0x00007bf7 ++ KEY_7 0x00007bf8 ++ KEY_6 0x00007bf9 ++ KEY_5 0x00007bfa ++ KEY_4 0x00007bfb ++ KEY_3 0x00007bfc ++ KEY_2 0x00007bfd ++ KEY_1 0x00007bfe ++ KEY_0 0x00007bff + end codes + + end remote +diff -upr lirc-0.8.3.orig/remotes/packard_bell/lircd.conf.packard_bell lirc-0.8.3/remotes/packard_bell/lircd.conf.packard_bell +--- lirc-0.8.3.orig/remotes/packard_bell/lircd.conf.packard_bell 2001-04-24 20:26:56.000000000 +0100 ++++ lirc-0.8.3/remotes/packard_bell/lircd.conf.packard_bell 2008-08-12 16:14:40.000000000 +0100 +@@ -53,38 +53,38 @@ begin remote + repeat 9050 2250 + + begin codes +- Help 0x0000000000006F90 +- Phone 0x0000000000004FB0 ++ KEY_HELP 0x0000000000006F90 ++ KEY_PHONE 0x0000000000004FB0 + Message 0x0000000000006E91 + SRS 0x0000000000004EB1 +- CD 0x0000000000002FD0 +- Aux1 0x0000000000000FF0 ++ KEY_CD 0x0000000000002FD0 ++ KEY_AUX 0x0000000000000FF0 + Aux2 0x0000000000002ED1 + Aux3 0x0000000000000EF1 + LMB 0x00000000000023DC + RMB 0x000000000000639C +- Up 0x00000000000037C8 +- Down 0x00000000000057A8 +- Left 0x0000000000007788 +- Right 0x00000000000017E8 +- Menu 0x0000000000007B84 +- Mute 0x0000000000003BC4 +- Enter 0x00000000000047B8 +- CHUp 0x00000000000027D8 +- CHDown 0x0000000000006798 +- VolUp 0x0000000000005BA4 +- VolDown 0x0000000000001BE4 ++ KEY_UP 0x00000000000037C8 ++ KEY_DOWN 0x00000000000057A8 ++ KEY_LEFT 0x0000000000007788 ++ KEY_RIGHT 0x00000000000017E8 ++ KEY_MENU 0x0000000000007B84 ++ KEY_MUTE 0x0000000000003BC4 ++ KEY_ENTER 0x00000000000047B8 ++ KEY_CHANNELUP 0x00000000000027D8 ++ KEY_CHANNELDOWN 0x0000000000006798 ++ KEY_VOLUMEUP 0x0000000000005BA4 ++ KEY_VOLUMEDOWN 0x0000000000001BE4 + Display 0x00000000000007F8 +- One 0x0000000000005EA1 +- Two 0x0000000000001EE1 +- Three 0x0000000000000BF4 +- Four 0x0000000000007E81 +- Five 0x0000000000003EC1 +- Six 0x0000000000004BB4 +- Seven 0x0000000000005FA0 +- Eight 0x0000000000001FE0 +- Nine 0x0000000000002BD4 +- Zero 0x0000000000003FC0 ++ KEY_1 0x0000000000005EA1 ++ KEY_2 0x0000000000001EE1 ++ KEY_3 0x0000000000000BF4 ++ KEY_4 0x0000000000007E81 ++ KEY_5 0x0000000000003EC1 ++ KEY_6 0x0000000000004BB4 ++ KEY_7 0x0000000000005FA0 ++ KEY_8 0x0000000000001FE0 ++ KEY_9 0x0000000000002BD4 ++ KEY_0 0x0000000000003FC0 + Star 0x0000000000007F80 + Hash 0x0000000000006B94 + end codes +diff -upr lirc-0.8.3.orig/remotes/pcmak/lircd.conf.pcmak lirc-0.8.3/remotes/pcmak/lircd.conf.pcmak +--- lirc-0.8.3.orig/remotes/pcmak/lircd.conf.pcmak 2004-07-24 16:36:15.000000000 +0100 ++++ lirc-0.8.3/remotes/pcmak/lircd.conf.pcmak 2008-08-12 16:14:40.000000000 +0100 +@@ -23,18 +23,18 @@ begin remote + repeat_bit 0 + + begin codes +- HOME 0x0000000000000001 +- ARROW_UP 0x0000000000000002 ++ KEY_HOME 0x0000000000000001 ++ KEY_UP 0x0000000000000002 + PG_UP 0x0000000000000003 +- ARROW_LEFT 0x0000000000000004 +- ENTER 0x0000000000000005 +- ARROW_RIGHT 0x0000000000000006 +- END 0x0000000000000007 +- ARROW_DOWN 0x0000000000000008 ++ KEY_LEFT 0x0000000000000004 ++ KEY_ENTER 0x0000000000000005 ++ KEY_RIGHT 0x0000000000000006 ++ KEY_END 0x0000000000000007 ++ KEY_DOWN 0x0000000000000008 + PG_DN 0x0000000000000009 +- SPACE 0x000000000000000A +- TAB 0x000000000000000B +- ESC 0x000000000000000C ++ KEY_SPACE 0x000000000000000A ++ KEY_TAB 0x000000000000000B ++ KEY_ESC 0x000000000000000C + ALT 0x000000000000000D + PLAYLIST 0x000000000000000E + LOAD 0x000000000000000F +@@ -49,36 +49,36 @@ begin remote + FULLSCREEN 0x0000000000000018 + BUTTONL_DOWN 0x0000000000000019 + BUTTONR_DOWN 0x000000000000001A +- POWER 0x000000000000001B +- A 0x000000000000001C +- B 0x000000000000001D +- C 0x000000000000001E +- D 0x000000000000001F +- VOL_DOWN 0x0000000000000020 +- MUTE 0x0000000000000021 +- VOL_UP 0x0000000000000022 +- PLAY 0x0000000000000024 +- PREV 0x0000000000000026 +- PAUSE 0x0000000000000027 +- NEXT 0x0000000000000028 ++ KEY_POWER 0x000000000000001B ++ KEY_A 0x000000000000001C ++ KEY_B 0x000000000000001D ++ KEY_C 0x000000000000001E ++ KEY_D 0x000000000000001F ++ KEY_VOLUMEDOWN 0x0000000000000020 ++ KEY_MUTE 0x0000000000000021 ++ KEY_VOLUMEUP 0x0000000000000022 ++ KEY_PLAY 0x0000000000000024 ++ KEY_PREVIOUS 0x0000000000000026 ++ KEY_PAUSE 0x0000000000000027 ++ KEY_NEXT 0x0000000000000028 + SKIP_BACK 0x0000000000000029 +- STOP 0x000000000000002A ++ KEY_STOP 0x000000000000002A + SKIP_FORW 0x000000000000002B +- 1 0x0000000000000041 +- 2 0x0000000000000042 +- 3 0x0000000000000043 +- 4 0x0000000000000044 +- 5 0x0000000000000045 +- 6 0x0000000000000046 +- 7 0x0000000000000047 +- 8 0x0000000000000048 +- 9 0x0000000000000049 +- 0 0x000000000000004A +- sTAB 0x000000000000004B +- sESC 0x000000000000004C ++ KEY_1 0x0000000000000041 ++ KEY_2 0x0000000000000042 ++ KEY_3 0x0000000000000043 ++ KEY_4 0x0000000000000044 ++ KEY_5 0x0000000000000045 ++ KEY_6 0x0000000000000046 ++ KEY_7 0x0000000000000047 ++ KEY_8 0x0000000000000048 ++ KEY_9 0x0000000000000049 ++ KEY_0 0x000000000000004A ++ KEY_TAB 0x000000000000004B ++ KEY_ESC 0x000000000000004C + sALT 0x000000000000004D + sPLAYLIST 0x000000000000004E +- TXT 0x000000000000004F ++ KEY_TEXT 0x000000000000004F + sMOUSE_N 0x0000000000000050 + sMOUSE_NE 0x0000000000000051 + sMOUSE_E 0x0000000000000052 +@@ -87,30 +87,30 @@ begin remote + sMOUSE_SW 0x0000000000000055 + sMOUSE_W 0x0000000000000056 + sMOUSE_NW 0x0000000000000057 +- sOK 0x0000000000000058 ++ KEY_OK 0x0000000000000058 + BUTTONL_UP 0x0000000000000059 + BUTTONR_UP 0x000000000000005A +- EXIT 0x000000000000005B +- E 0x000000000000005C +- F 0x000000000000005D +- G 0x000000000000005E +- H 0x000000000000005F +- sVOL_DOWN 0x0000000000000060 +- sMUTE 0x0000000000000061 +- sVOL_UP 0x0000000000000062 +- sPLAY 0x0000000000000064 +- sPREV 0x0000000000000066 +- sPAUSE 0x0000000000000067 +- sNEXT 0x0000000000000068 ++ KEY_EXIT 0x000000000000005B ++ KEY_E 0x000000000000005C ++ KEY_F 0x000000000000005D ++ KEY_G 0x000000000000005E ++ KEY_H 0x000000000000005F ++ KEY_VOLUMEDOWN 0x0000000000000060 ++ KEY_MUTE 0x0000000000000061 ++ KEY_VOLUMEUP 0x0000000000000062 ++ KEY_PLAY 0x0000000000000064 ++ KEY_PREVIOUS 0x0000000000000066 ++ KEY_PAUSE 0x0000000000000067 ++ KEY_NEXT 0x0000000000000068 + ZOOM- 0x0000000000000069 +- HELP 0x000000000000006A ++ KEY_HELP 0x000000000000006A + ZOOM+ 0x000000000000006B +- MM_PLAY 0x000000000000002F +- MM_PREV 0x0000000000000030 +- MM_NEXT 0x0000000000000031 +- MM_PAUSE 0x000000000000005F +- MM_BACK 0x0000000000000075 +- MM_FORW 0x0000000000000079 ++ KEY_PLAY 0x000000000000002F ++ KEY_PREVIOUS 0x0000000000000030 ++ KEY_NEXT 0x0000000000000031 ++ KEY_PAUSE 0x000000000000005F ++ KEY_BACK 0x0000000000000075 ++ KEY_FORWARD 0x0000000000000079 + end codes + + end remote +diff -upr lirc-0.8.3.orig/remotes/pinnacle_systems/lircd.conf.pctv lirc-0.8.3/remotes/pinnacle_systems/lircd.conf.pctv +--- lirc-0.8.3.orig/remotes/pinnacle_systems/lircd.conf.pctv 2007-10-06 16:40:53.000000000 +0100 ++++ lirc-0.8.3/remotes/pinnacle_systems/lircd.conf.pctv 2008-08-12 16:14:40.000000000 +0100 +@@ -24,30 +24,30 @@ begin remote + toggle_bit 0 + + begin codes +- Mute 0xB53C #Mute 0x000000000000003C +- Power 0x2D2F #Power 0x000000000000002F ++ KEY_MUTE 0xB53C #Mute 0x000000000000003C ++ KEY_POWER 0x2D2F #Power 0x000000000000002F + Chan+Play 0x173F #Chan+Play 0x000000000000003F + Chan-Stop 0xC63E #Chan-Stop 0x000000000000003E + Vol+FF 0xF13B #Vol+FF 0x000000000000003B + Vol-Rew 0x643D #Vol-Rew 0x000000000000003D +- 1 0x9F31 #1 0x0000000000000031 +- 2 0x3D32 #2 0x0000000000000032 +- 3 0xEC33 #3 0x0000000000000033 +- 4 0xA834 #4 0x0000000000000034 +- 5 0x7935 #5 0x0000000000000035 +- 6 0xDB36 #6 0x0000000000000036 +- 7 0x0A37 #7 0x0000000000000037 +- 8 0x5338 #8 0x0000000000000038 +- 9 0x8239 #9 0x0000000000000039 ++ KEY_1 0x9F31 #1 0x0000000000000031 ++ KEY_2 0x3D32 #2 0x0000000000000032 ++ KEY_3 0xEC33 #3 0x0000000000000033 ++ KEY_4 0xA834 #4 0x0000000000000034 ++ KEY_5 0x7935 #5 0x0000000000000035 ++ KEY_6 0xDB36 #6 0x0000000000000036 ++ KEY_7 0x0A37 #7 0x0000000000000037 ++ KEY_8 0x5338 #8 0x0000000000000038 ++ KEY_9 0x8239 #9 0x0000000000000039 + Fullscreen 0x5E2D #Fullscreen 0x000000000000002D +- 0/AV 0x203A #0/AV 0x000000000000003A +- Info 0xCB2B #Info 0x000000000000002B +- Preview 0xFC2E #Preview 0x000000000000002E +- Record 0x3027 #Record 0x0000000000000027 +- Chan_Last 0x4325 #Chan_Last 0x0000000000000025 +- F_TV 0xE126 #F_TV 0x0000000000000026 ++ KEY_0 0x203A #0/AV 0x000000000000003A ++ KEY_INFO 0xCB2B #Info 0x000000000000002B ++ KEY_PREVIOUS 0xFC2E #Preview 0x000000000000002E ++ KEY_RECORD 0x3027 #Record 0x0000000000000027 ++ KEY_CHANNELDOWN 0x4325 #Chan_Last 0x0000000000000025 ++ KEY_TV 0xE126 #F_TV 0x0000000000000026 + F_TELETEXT 0xB829 #F_TELETEXT 0x0000000000000029 +- F_RADIO 0x1A2A #F_RADIO 0x000000000000002A ++ KEY_RADIO 0x1A2A #F_RADIO 0x000000000000002A + + # + # here are some extra buttons a new version of the remote seems to have +@@ -58,23 +58,23 @@ begin remote + # model: PCTV Remote (newest version?) + # supported devices: dongle on serial port (from TV-Card) + # +- L 0x631F #L 0x000000000000001F +- Zoom 0xB21E #Zoom 0x000000000000001E +- vol+ 0x851B #vol+ 0x000000000000001B +- vol- 0x590F #vol- 0x000000000000000F +- channel+ 0x7E17 #channel+ 0x0000000000000017 +- channel- 0xC11C #channel- 0x000000000000001C ++ KEY_L 0x631F #L 0x000000000000001F ++ KEY_ZOOM 0xB21E #Zoom 0x000000000000001E ++ KEY_VOLUMEUP 0x851B #vol+ 0x000000000000001B ++ KEY_VOLUMEDOWN 0x590F #vol- 0x000000000000000F ++ KEY_CHANNELUP 0x7E17 #channel+ 0x0000000000000017 ++ KEY_CHANNELDOWN 0xC11C #channel- 0x000000000000001C + middle 0x541A #middle 0x000000000000001A +- Menu 0x101D #Menu 0x000000000000001D +- next 0xF619 #next 0x0000000000000019 +- undo 0xAF16 #undo 0x0000000000000016 +- pause 0x0D15 #pause 0x0000000000000015 ++ KEY_MENU 0x101D #Menu 0x000000000000001D ++ KEY_NEXT 0xF619 #next 0x0000000000000019 ++ KEY_UNDO 0xAF16 #undo 0x0000000000000016 ++ KEY_PAUSE 0x0D15 #pause 0x0000000000000015 + redo 0x9813 #redo 0x0000000000000013 +- Rewind 0x880E #Rewind 0x000000000000000E +- Play 0x2A0D #Play 0x000000000000000D +- Stop 0xBF0B #Stop 0x000000000000000B +- FForward 0x4407 #FForward 0x0000000000000007 +- EPG 0x2718 #EPG 0x0000000000000018 ++ KEY_REWIND 0x880E #Rewind 0x000000000000000E ++ KEY_PLAY 0x2A0D #Play 0x000000000000000D ++ KEY_STOP 0xBF0B #Stop 0x000000000000000B ++ KEY_FASTFORWARD 0x4407 #FForward 0x0000000000000007 ++ KEY_EPG 0x2718 #EPG 0x0000000000000018 + + # here are some more buttons that seem to be mapped differently from + # the ones above +@@ -86,8 +86,8 @@ begin remote + # supported devices: serial + # + +- 9 0x0000000000000082 +- Zoom 0x00000000000000B2 ++ KEY_9 0x0000000000000082 ++ KEY_ZOOM 0x00000000000000B2 + middle 0x0000000000000014 + + +diff -upr lirc-0.8.3.orig/remotes/pixelview/lircd.conf.playtv lirc-0.8.3/remotes/pixelview/lircd.conf.playtv +--- lirc-0.8.3.orig/remotes/pixelview/lircd.conf.playtv 1999-08-04 20:18:27.000000000 +0100 ++++ lirc-0.8.3/remotes/pixelview/lircd.conf.playtv 2008-08-12 16:14:40.000000000 +0100 +@@ -13,22 +13,22 @@ begin remote + begin codes + TV/FM 0x00000000000000e7 + FULL_SCREEN 0x00000000000000bf +- CH+ 0x0000000000000049 +- CH- 0x00000000000000c1 +- VOL- 0x000000000000006a +- VOL+ 0x000000000000004a +- MUTE 0x0000000000000047 ++ KEY_CHANNELUP 0x0000000000000049 ++ KEY_CHANNELDOWN 0x00000000000000c1 ++ KEY_VOLUMEDOWN 0x000000000000006a ++ KEY_VOLUMEUP 0x000000000000004a ++ KEY_MUTE 0x0000000000000047 + SOURCE 0x00000000000000e1 +- 1 0x00000000000000e0 +- 2 0x00000000000000c8 +- 3 0x00000000000000e8 +- 4 0x0000000000000060 +- 5 0x0000000000000062 +- 6 0x00000000000000c9 +- 7 0x00000000000000c0 +- 8 0x00000000000000c2 +- 9 0x0000000000000061 +- 0 0x0000000000000040 ++ KEY_1 0x00000000000000e0 ++ KEY_2 0x00000000000000c8 ++ KEY_3 0x00000000000000e8 ++ KEY_4 0x0000000000000060 ++ KEY_5 0x0000000000000062 ++ KEY_6 0x00000000000000c9 ++ KEY_7 0x00000000000000c0 ++ KEY_8 0x00000000000000c2 ++ KEY_9 0x0000000000000061 ++ KEY_0 0x0000000000000040 + end codes + end remote + +diff -upr lirc-0.8.3.orig/remotes/pixelview/lircd.conf.playtv_bt878 lirc-0.8.3/remotes/pixelview/lircd.conf.playtv_bt878 +--- lirc-0.8.3.orig/remotes/pixelview/lircd.conf.playtv_bt878 2000-09-30 20:32:40.000000000 +0100 ++++ lirc-0.8.3/remotes/pixelview/lircd.conf.playtv_bt878 2008-08-12 16:14:40.000000000 +0100 +@@ -16,39 +16,39 @@ begin remote + repeat_bit 0 + + begin codes +- POWER 0x00000000000000aa ++ KEY_POWER 0x00000000000000aa + TV/FM 0x00000000000000e7 + TELETEXT 0x000000000000003f + SCAN 0x0000000000000041 + +/- 0x0000000000000069 +- EJECT 0x000000000000002a +- STOP 0x000000000000008a ++ KEY_EJECTCD 0x000000000000002a ++ KEY_STOP 0x000000000000008a + SOURCE 0x00000000000000e1 + STEREO 0x00000000000000df +- ENTER 0x000000000000005f +- SEEK_NEXT 0x0000000000000067 +- SEEK_FWD 0x00000000000000c7 +- CH_UP 0x0000000000000049 +- VOL_UP 0x000000000000004a ++ KEY_ENTER 0x000000000000005f ++ KEY_NEXT 0x0000000000000067 ++ KEY_FORWARD 0x00000000000000c7 ++ KEY_CHANNELUP 0x0000000000000049 ++ KEY_VOLUMEUP 0x000000000000004a + RECALL 0x0000000000000048 +- PAUSE 0x0000000000000068 +- PLAY 0x00000000000000ca +- CH_DOWN 0x00000000000000c1 +- VOL_DOWN 0x000000000000006a +- SEEK_PREV 0x000000000000000a +- SEEK_BACK 0x0000000000000042 +- ZOOM 0x00000000000000bf +- MUTE 0x0000000000000047 +- 1 0x00000000000000e0 +- 2 0x00000000000000c8 +- 3 0x00000000000000e8 +- 4 0x0000000000000060 +- 5 0x0000000000000062 +- 6 0x00000000000000c9 +- 7 0x00000000000000c0 +- 8 0x00000000000000c2 +- 9 0x0000000000000061 +- 0 0x0000000000000040 ++ KEY_PAUSE 0x0000000000000068 ++ KEY_PLAY 0x00000000000000ca ++ KEY_CHANNELDOWN 0x00000000000000c1 ++ KEY_VOLUMEDOWN 0x000000000000006a ++ KEY_PREVIOUS 0x000000000000000a ++ KEY_BACK 0x0000000000000042 ++ KEY_ZOOM 0x00000000000000bf ++ KEY_MUTE 0x0000000000000047 ++ KEY_1 0x00000000000000e0 ++ KEY_2 0x00000000000000c8 ++ KEY_3 0x00000000000000e8 ++ KEY_4 0x0000000000000060 ++ KEY_5 0x0000000000000062 ++ KEY_6 0x00000000000000c9 ++ KEY_7 0x00000000000000c0 ++ KEY_8 0x00000000000000c2 ++ KEY_9 0x0000000000000061 ++ KEY_0 0x0000000000000040 + end codes + end remote + +diff -upr lirc-0.8.3.orig/remotes/pixelview/lircd.conf.playtv_pro lirc-0.8.3/remotes/pixelview/lircd.conf.playtv_pro +--- lirc-0.8.3.orig/remotes/pixelview/lircd.conf.playtv_pro 2005-12-10 13:09:13.000000000 +0000 ++++ lirc-0.8.3/remotes/pixelview/lircd.conf.playtv_pro 2008-08-12 16:14:40.000000000 +0100 +@@ -31,15 +31,15 @@ begin remote + + begin codes + +- power 0x0000000000007887 +- zoom 0x00000000000038C7 ++ KEY_POWER 0x0000000000007887 ++ KEY_ZOOM 0x00000000000038C7 + scan 0x000000000000E01F + tv/fm 0x000000000000C03F +- vol+ 0x000000000000F807 +- vol- 0x000000000000E817 +- chan+ 0x0000000000006897 +- chan- 0x00000000000028D7 +- mute 0x00000000000018E7 ++ KEY_VOLUMEUP 0x000000000000F807 ++ KEY_VOLUMEDOWN 0x000000000000E817 ++ KEY_CHANNELUP 0x0000000000006897 ++ KEY_CHANNELDOWN 0x00000000000028D7 ++ KEY_MUTE 0x00000000000018E7 + source 0x00000000000000FF + loop 0x000000000000C837 + +100 0x00000000000008F7 +@@ -48,16 +48,16 @@ begin remote + reset 0x000000000000B04F + freeze 0x000000000000F00F + function 0x000000000000708F +- 0 0x00000000000040BF +- 1 0x000000000000807F +- 2 0x000000000000D02F +- 3 0x000000000000D827 +- 4 0x000000000000A05F +- 5 0x000000000000906F +- 6 0x000000000000A857 +- 7 0x000000000000609F +- 8 0x00000000000050AF +- 9 0x00000000000048B7 ++ KEY_0 0x00000000000040BF ++ KEY_1 0x000000000000807F ++ KEY_2 0x000000000000D02F ++ KEY_3 0x000000000000D827 ++ KEY_4 0x000000000000A05F ++ KEY_5 0x000000000000906F ++ KEY_6 0x000000000000A857 ++ KEY_7 0x000000000000609F ++ KEY_8 0x00000000000050AF ++ KEY_9 0x00000000000048B7 + + end codes + +diff -upr lirc-0.8.3.orig/remotes/pixelview/lircd.conf.remotemaster lirc-0.8.3/remotes/pixelview/lircd.conf.remotemaster +--- lirc-0.8.3.orig/remotes/pixelview/lircd.conf.remotemaster 2000-02-07 11:03:20.000000000 +0000 ++++ lirc-0.8.3/remotes/pixelview/lircd.conf.remotemaster 2008-08-12 16:14:40.000000000 +0100 +@@ -25,39 +25,39 @@ begin remote + gap 189264 + + begin codes +- 1 0x0000000000052D2F +- 2 0x0000000000052CCF +- 3 0x0000000000052CAF +- 4 0x0000000000052D37 +- 5 0x0000000000052CDF +- 6 0x000000000005359F +- 7 0x0000000000052D4F +- 8 0x0000000000052D3F +- 9 0x00000000000534DF +- 0 0x0000000000052D57 +- ENTER 0x0000000000052CD7 ++ KEY_1 0x0000000000052D2F ++ KEY_2 0x0000000000052CCF ++ KEY_3 0x0000000000052CAF ++ KEY_4 0x0000000000052D37 ++ KEY_5 0x0000000000052CDF ++ KEY_6 0x000000000005359F ++ KEY_7 0x0000000000052D4F ++ KEY_8 0x0000000000052D3F ++ KEY_9 0x00000000000534DF ++ KEY_0 0x0000000000052D57 ++ KEY_ENTER 0x0000000000052CD7 + +10 0x0000000000053537 +- POWER 0x0000000000054D5F +- MODE 0x00000000000534AF +- TAB 0x0000000000053557 +- ZOOM 0x000000000005355F ++ KEY_POWER 0x0000000000054D5F ++ KEY_MODE 0x00000000000534AF ++ KEY_TAB 0x0000000000053557 ++ KEY_ZOOM 0x000000000005355F + FREEZE 0x000000000005356F + SEEK-- 0x0000000000054DAF +- PAUSE 0x0000000000052CB7 ++ KEY_PAUSE 0x0000000000052CB7 + SEEK++ 0x00000000000534B7 + SEEK- 0x0000000000052D5F +- PLAY 0x0000000000052D9F ++ KEY_PLAY 0x0000000000052D9F + SEEK+ 0x00000000000534CF +- STOP 0x0000000000054D9F +- EJECT 0x0000000000054D6F +- F1 0x000000000005354F +- F2 0x00000000000534D7 +- F3 0x00000000000534BF +- F4 0x000000000005352F +- CH- 0x000000000005353F +- CH+ 0x00000000000535AF +- VOL- 0x0000000000052D6F +- VOL+ 0x0000000000052DAF ++ KEY_STOP 0x0000000000054D9F ++ KEY_EJECTCD 0x0000000000054D6F ++ KEY_F1 0x000000000005354F ++ KEY_F2 0x00000000000534D7 ++ KEY_F3 0x00000000000534BF ++ KEY_F4 0x000000000005352F ++ KEY_CHANNELDOWN 0x000000000005353F ++ KEY_CHANNELUP 0x00000000000535AF ++ KEY_VOLUMEDOWN 0x0000000000052D6F ++ KEY_VOLUMEUP 0x0000000000052DAF + end codes + + end remote +diff -upr lirc-0.8.3.orig/remotes/provideo/lircd.conf.pv951 lirc-0.8.3/remotes/provideo/lircd.conf.pv951 +--- lirc-0.8.3.orig/remotes/provideo/lircd.conf.pv951 2001-01-20 13:32:00.000000000 +0000 ++++ lirc-0.8.3/remotes/provideo/lircd.conf.pv951 2008-08-12 16:14:40.000000000 +0100 +@@ -31,28 +31,28 @@ begin remote + repeat_bit 0 + + begin codes +- power 0x00000000000048B7 ++ KEY_POWER 0x00000000000048B7 + air/cbl 0x000000000000D02F + pc/tv 0x0000000000008877 + source 0x000000000000F00F + mts 0x000000000000C837 +- mute 0x00000000000008F7 +- 1 0x000000000000807F +- 2 0x00000000000040BF +- 3 0x000000000000C03F +- 4 0x00000000000020DF +- 5 0x000000000000A05F +- 6 0x000000000000609F +- 7 0x000000000000E01F +- 8 0x00000000000010EF +- 9 0x000000000000906F +- 0 0x00000000000000FF ++ KEY_MUTE 0x00000000000008F7 ++ KEY_1 0x000000000000807F ++ KEY_2 0x00000000000040BF ++ KEY_3 0x000000000000C03F ++ KEY_4 0x00000000000020DF ++ KEY_5 0x000000000000A05F ++ KEY_6 0x000000000000609F ++ KEY_7 0x000000000000E01F ++ KEY_8 0x00000000000010EF ++ KEY_9 0x000000000000906F ++ KEY_0 0x00000000000000FF + +100 0x00000000000050AF + ch_rtn 0x000000000000E817 +- ch+ 0x00000000000058A7 +- ch- 0x0000000000007887 +- vol+ 0x000000000000D827 +- vol- 0x000000000000F807 ++ KEY_CHANNELUP 0x00000000000058A7 ++ KEY_CHANNELDOWN 0x0000000000007887 ++ KEY_VOLUMEUP 0x000000000000D827 ++ KEY_VOLUMEDOWN 0x000000000000F807 + func 0x0000000000009867 + ttx 0x000000000000B04F + pg+ 0x000000000000708F +diff -upr lirc-0.8.3.orig/remotes/remotec/lircd.conf.BW6130 lirc-0.8.3/remotes/remotec/lircd.conf.BW6130 +--- lirc-0.8.3.orig/remotes/remotec/lircd.conf.BW6130 2005-05-28 15:29:27.000000000 +0100 ++++ lirc-0.8.3/remotes/remotec/lircd.conf.BW6130 2008-08-12 16:14:39.000000000 +0100 +@@ -20,20 +20,20 @@ begin remote + toggle_bit 0 + + begin codes +- PRE 0x23 +- NEXT 0x24 +- 1 0X10 +- 2 0x11 +- 3 0x12 +- POWER 0x50 +- VOL+ 0x30 +- VOL- 0x31 +- L 0x42 +- R 0x44 +- PAUSE 0x22 +- PLAY 0x20 +- STOP 0x21 +- MUTE 0x32 ++ KEY_PREVIOUS 0x23 ++ KEY_NEXT 0x24 ++ KEY_1 0X10 ++ KEY_2 0x11 ++ KEY_3 0x12 ++ KEY_POWER 0x50 ++ KEY_VOLUMEUP 0x30 ++ KEY_VOLUMEDOWN 0x31 ++ KEY_L 0x42 ++ KEY_R 0x44 ++ KEY_PAUSE 0x22 ++ KEY_PLAY 0x20 ++ KEY_STOP 0x21 ++ KEY_MUTE 0x32 + MOUSE_SLOW_N 0x95 + MOUSE_SLOW_NNE 0xd1 + MOUSE_SLOW_NE 0xcd +diff -upr lirc-0.8.3.orig/remotes/samsung/lircd.conf.samsung lirc-0.8.3/remotes/samsung/lircd.conf.samsung +--- lirc-0.8.3.orig/remotes/samsung/lircd.conf.samsung 2008-03-02 19:18:40.000000000 +0000 ++++ lirc-0.8.3/remotes/samsung/lircd.conf.samsung 2008-08-12 16:14:39.000000000 +0100 +@@ -28,60 +28,60 @@ begin remote + + begin codes + ### Standard keyboard report, type 1 +- OK 0x70028 +- Right 0x7004f +- Left 0x70050 +- Up 0x70052 +- Down 0x70051 ++ KEY_OK 0x70028 ++ KEY_RIGHT 0x7004f ++ KEY_LEFT 0x70050 ++ KEY_UP 0x70052 ++ KEY_DOWN 0x70051 + + ### Standard generic desktop report, type 3 +- Power 0x10001 ++ KEY_POWER 0x10001 + + ### Propietary Samsung report, type 4 +- Mute 0xffcc0001 ++ KEY_MUTE 0xffcc0001 + Video_Archive 0xffcc0002 +- 1 0xffcc0003 +- 2 0xffcc0004 +- 3 0xffcc0005 +- Sleep 0xffcc0006 +- 4 0xffcc0007 +- 5 0xffcc0008 +- 6 0xffcc0009 +- Last 0xffcc000a +- 7 0xffcc000b +- 8 0xffcc000c +- 9 0xffcc000d +- Subtitle 0xffcc000e ++ KEY_1 0xffcc0003 ++ KEY_2 0xffcc0004 ++ KEY_3 0xffcc0005 ++ 0xffcc0006 ++ KEY_4 0xffcc0007 ++ KEY_5 0xffcc0008 ++ KEY_6 0xffcc0009 ++ 0xffcc000a ++ KEY_7 0xffcc000b ++ KEY_8 0xffcc000c ++ KEY_9 0xffcc000d ++ 0xffcc000e + Full 0xffcc000f +- 0 0xffcc0010 ++ KEY_0 0xffcc0010 + PIP 0xffcc0011 + Timer 0xffcc0012 +- Source 0xffcc0013 ++ 0xffcc0013 + TV_Menu 0xffcc0014 +- EPG 0xffcc0015 +- Text 0xffcc0016 ++ KEY_EPG 0xffcc0015 ++ KEY_TEXT 0xffcc0016 + # gap 17..1b: probably cursor keys were previously planned here +- TV 0xffcc001c +- Radio 0xffcc001d +- DVD 0xffcc001e +- Ch+ 0xffcc001f +- Menu 0xffcc0020 +- Vol+ 0xffcc0021 +- Ch- 0xffcc0022 +- Back 0xffcc0023 +- Vol- 0xffcc0024 +- Play 0xffcc0025 +- Pause 0xffcc0026 +- Stop 0xffcc0027 +- Record 0xffcc0028 +- Prev 0xffcc0029 +- Rewind 0xffcc002a +- Forward 0xffcc002b +- Next 0xffcc002c +- Red 0xffcc002d +- Green 0xffcc002e +- Yellow 0xffcc002f +- Blue 0xffcc0030 ++ KEY_TV 0xffcc001c ++ KEY_RADIO 0xffcc001d ++ KEY_DVD 0xffcc001e ++ KEY_CHANNELUP 0xffcc001f ++ KEY_MENU 0xffcc0020 ++ KEY_VOLUMEUP 0xffcc0021 ++ KEY_CHANNELDOWN 0xffcc0022 ++ KEY_BACK 0xffcc0023 ++ KEY_VOLUMEDOWN 0xffcc0024 ++ KEY_PLAY 0xffcc0025 ++ KEY_PAUSE 0xffcc0026 ++ KEY_STOP 0xffcc0027 ++ KEY_RECORD 0xffcc0028 ++ KEY_PREVIOUS 0xffcc0029 ++ KEY_REWIND 0xffcc002a ++ KEY_FORWARD 0xffcc002b ++ KEY_NEXT 0xffcc002c ++ KEY_RED 0xffcc002d ++ KEY_GREEN 0xffcc002e ++ KEY_YELLOW 0xffcc002f ++ KEY_BLUE 0xffcc0030 + end codes + + end remote +diff -upr lirc-0.8.3.orig/remotes/sasem/lircd.conf.sasem lirc-0.8.3/remotes/sasem/lircd.conf.sasem +--- lirc-0.8.3.orig/remotes/sasem/lircd.conf.sasem 2005-07-15 12:24:55.000000000 +0100 ++++ lirc-0.8.3/remotes/sasem/lircd.conf.sasem 2008-08-12 16:14:40.000000000 +0100 +@@ -33,47 +33,47 @@ begin remote + + + begin codes +- 1 0x08F7 +- 2 0x09F6 +- 3 0x0AF5 +- 4 0x10EF +- 5 0x11EE +- 6 0x12ED +- 7 0x18E7 +- 8 0x19E6 +- 9 0x1AE5 ++ KEY_1 0x08F7 ++ KEY_2 0x09F6 ++ KEY_3 0x0AF5 ++ KEY_4 0x10EF ++ KEY_5 0x11EE ++ KEY_6 0x12ED ++ KEY_7 0x18E7 ++ KEY_8 0x19E6 ++ KEY_9 0x1AE5 + start 0x40BF +- 0 0x41BE ++ KEY_0 0x41BE + full_down 0x06F9 +- vol- 0x0FF0 +- vol+ 0x0EF1 +- esc 0x05FA +- up 0x0BF4 +- close 0x07F8 +- left 0x03FC +- enter 0x13EC +- right 0x1BE4 +- prev 0x0CF3 +- down 0x43BC +- next 0x01FE +- mute 0x0DF2 ++ KEY_VOLUMEDOWN 0x0FF0 ++ KEY_VOLUMEUP 0x0EF1 ++ KEY_ESC 0x05FA ++ KEY_UP 0x0BF4 ++ KEY_CLOSE 0x07F8 ++ KEY_LEFT 0x03FC ++ KEY_ENTER 0x13EC ++ KEY_RIGHT 0x1BE4 ++ KEY_PREVIOUS 0x0CF3 ++ KEY_DOWN 0x43BC ++ KEY_NEXT 0x01FE ++ KEY_MUTE 0x0DF2 + step 0x04FB +- play_pause 0x49B6 +- stop 0x48B7 ++ KEY_PLAYPAUSE 0x49B6 ++ KEY_STOP 0x48B7 + winamp 0x1EE1 + media_player 0x15EA + hdtv 0x17E8 +- cd_player 0x16E9 ++ KEY_CD 0x16E9 + win_dvd 0x44BB + power_dvd 0x14EB +- internet 0x46B9 ++ KEY_WWW 0x46B9 + email 0x47B8 +- a 0x45BA +- b 0x1DE2 +- c 0x1CE3 +- d 0x1FE0 +- eject 0x02FD +- power 0x00FF ++ KEY_A 0x45BA ++ KEY_B 0x1DE2 ++ KEY_C 0x1CE3 ++ KEY_D 0x1FE0 ++ KEY_EJECTCD 0x02FD ++ KEY_POWER 0x00FF + end codes + + end remote +diff -upr lirc-0.8.3.orig/remotes/sigma_designs/lircd.conf.realmagic lirc-0.8.3/remotes/sigma_designs/lircd.conf.realmagic +--- lirc-0.8.3.orig/remotes/sigma_designs/lircd.conf.realmagic 2006-04-29 12:01:50.000000000 +0100 ++++ lirc-0.8.3/remotes/sigma_designs/lircd.conf.realmagic 2008-08-12 16:14:39.000000000 +0100 +@@ -30,43 +30,43 @@ begin remote + + begin codes + +- 1 0x0000000000006897 +- 2 0x000000000000E817 +- 3 0x000000000000F807 +- 4 0x00000000000058A7 +- 5 0x000000000000D827 +- 6 0x00000000000018E7 +- 7 0x00000000000002FD +- 8 0x00000000000022DD +- 9 0x00000000000038C7 +- 0 0x00000000000032CD +- VOL+ 0x000000000000A857 +- VOL- 0x0000000000009867 +- MUTE 0x0000000000007887 ++ KEY_1 0x0000000000006897 ++ KEY_2 0x000000000000E817 ++ KEY_3 0x000000000000F807 ++ KEY_4 0x00000000000058A7 ++ KEY_5 0x000000000000D827 ++ KEY_6 0x00000000000018E7 ++ KEY_7 0x00000000000002FD ++ KEY_8 0x00000000000022DD ++ KEY_9 0x00000000000038C7 ++ KEY_0 0x00000000000032CD ++ KEY_VOLUMEUP 0x000000000000A857 ++ KEY_VOLUMEDOWN 0x0000000000009867 ++ KEY_MUTE 0x0000000000007887 + L-R 0x0000000000001AE5 + VGA 0x00000000000012ED +- ENTER 0x0000000000002AD5 +- QUIT 0x00000000000000FF ++ KEY_ENTER 0x0000000000002AD5 ++ KEY_EXIT 0x00000000000000FF + PRG 0x000000000000807F +- UP 0x00000000000040BF +- DOWN 0x000000000000609F +- LEFT 0x00000000000020DF +- RIGHT 0x000000000000C03F +- SELECT 0x000000000000A05F +- MENU 0x000000000000E01F +- TITLE 0x00000000000010EF ++ KEY_UP 0x00000000000040BF ++ KEY_DOWN 0x000000000000609F ++ KEY_LEFT 0x00000000000020DF ++ KEY_RIGHT 0x000000000000C03F ++ KEY_SELECT 0x000000000000A05F ++ KEY_MENU 0x000000000000E01F ++ KEY_TITLE 0x00000000000010EF + OSD 0x000000000000906F +- LANG 0x00000000000050AF +- ANGLE 0x000000000000D02F +- SUB 0x00000000000030CF +- PAUSE 0x000000000000B04F +- STOP 0x000000000000708F +- PLAY 0x000000000000F00F +- EJECT 0x00000000000008F7 ++ KEY_LANGUAGE 0x00000000000050AF ++ KEY_ANGLE 0x000000000000D02F ++ KEY_SUBTITLE 0x00000000000030CF ++ KEY_PAUSE 0x000000000000B04F ++ KEY_STOP 0x000000000000708F ++ KEY_PLAY 0x000000000000F00F ++ KEY_EJECTCD 0x00000000000008F7 + REV 0x0000000000008877 +- FF 0x00000000000048B7 +- PREV 0x000000000000C837 +- NEXT 0x00000000000028D7 ++ KEY_FASTFORWARD 0x00000000000048B7 ++ KEY_PREVIOUS 0x000000000000C837 ++ KEY_NEXT 0x00000000000028D7 + end codes + + end remote +diff -upr lirc-0.8.3.orig/remotes/silitek/lircd.conf.silitek lirc-0.8.3/remotes/silitek/lircd.conf.silitek +--- lirc-0.8.3.orig/remotes/silitek/lircd.conf.silitek 2001-04-24 20:36:10.000000000 +0100 ++++ lirc-0.8.3/remotes/silitek/lircd.conf.silitek 2008-08-12 16:14:39.000000000 +0100 +@@ -30,68 +30,68 @@ begin remote + MOUSE_SSE 0x0000000000aa0004 + MOUSE_SE 0x0000000000aa0003 + MOUSE_SEE 0x0000000000aa0002 +- MOUSE_R_BUTTON 0x0000000000aaa0bb +- MOUSE_L_BUTTON 0x0000000000aa0abb ++ BTN_RIGHT 0x0000000000aaa0bb ++ BTN_LEFT 0x0000000000aa0abb + MOUSE_L+R_BUTTON 0x0000000000aaaabb + +- 0 0x0000000000bb4a75 +- 1 0x0000000000bbc1fe +- 2 0x0000000000bbc2fd +- 3 0x0000000000bb437c +- 4 0x0000000000bbc4fb +- 5 0x0000000000bb457a +- 6 0x0000000000bb4679 +- 7 0x0000000000bbc7f8 +- 8 0x0000000000bbc8f7 +- 9 0x0000000000bb4976 ++ KEY_0 0x0000000000bb4a75 ++ KEY_1 0x0000000000bbc1fe ++ KEY_2 0x0000000000bbc2fd ++ KEY_3 0x0000000000bb437c ++ KEY_4 0x0000000000bbc4fb ++ KEY_5 0x0000000000bb457a ++ KEY_6 0x0000000000bb4679 ++ KEY_7 0x0000000000bbc7f8 ++ KEY_8 0x0000000000bbc8f7 ++ KEY_9 0x0000000000bb4976 + * 0x0000000000bbcbf4 + # 0x0000000000bb4c73 +- REW 0x0000000000bb516e +- FWD 0x0000000000bbd0ef +- PAUSE 0x0000000000bbcef1 +- PLAY 0x0000000000bbcdf2 +- STOP 0x0000000000bb4f70 +- VOLUME_UP 0x0000000000bbd3ec +- VOLUME_DOWN 0x0000000000bb546b +- MUTE 0x0000000000bb526d ++ KEY_REWIND 0x0000000000bb516e ++ KEY_FORWARD 0x0000000000bbd0ef ++ KEY_PAUSE 0x0000000000bbcef1 ++ KEY_PLAY 0x0000000000bbcdf2 ++ KEY_STOP 0x0000000000bb4f70 ++ KEY_VOLUMEUP 0x0000000000bbd3ec ++ KEY_VOLUMEDOWN 0x0000000000bb546b ++ KEY_MUTE 0x0000000000bb526d + DISPLAY 0x0000000000bbd5ea +- CD 0x0000000000bbdae5 ++ KEY_CD 0x0000000000bbdae5 + SHOW_WIZ 0x0000000000bb5b64 + PG_UP 0x0000000000bbd6e9 + PG_DN 0x0000000000bb5768 +- BACK 0x0000000000bb5867 +- FORWARD 0x0000000000bbd9e6 +- WWW 0x0000000000bbdce3 +- CLOSE 0x0000000000bb5d62 ++ KEY_BACK 0x0000000000bb5867 ++ KEY_FORWARD 0x0000000000bbd9e6 ++ KEY_WWW 0x0000000000bbdce3 ++ KEY_CLOSE 0x0000000000bb5d62 + +- 0_UP 0x0000000000cc4a75 +- 1_UP 0x0000000000ccc1fe +- 2_UP 0x0000000000ccc2fd +- 3_UP 0x0000000000cc437c +- 4_UP 0x0000000000ccc4fb +- 5_UP 0x0000000000cc457a +- 6_UP 0x0000000000cc4679 +- 7_UP 0x0000000000ccc7f8 +- 8_UP 0x0000000000ccc8f7 +- 9_UP 0x0000000000cc4976 ++ KEY_0 0x0000000000cc4a75 ++ KEY_1 0x0000000000ccc1fe ++ KEY_2 0x0000000000ccc2fd ++ KEY_3 0x0000000000cc437c ++ KEY_4 0x0000000000ccc4fb ++ KEY_5 0x0000000000cc457a ++ KEY_6 0x0000000000cc4679 ++ KEY_7 0x0000000000ccc7f8 ++ KEY_8 0x0000000000ccc8f7 ++ KEY_9 0x0000000000cc4976 + *_UP 0x0000000000cccbf4 + #_UP 0x0000000000cc4c73 +- REW_UP 0x0000000000cc516e +- FWD_UP 0x0000000000ccd0ef +- PAUSE_UP 0x0000000000cccef1 +- PLAY_UP 0x0000000000cccdf2 +- STOP_UP 0x0000000000cc4f70 +- VOLUME_UP_UP 0x0000000000ccd3ec +- VOLUME_DOWN_UP 0x0000000000cc546b +- MUTE_UP 0x0000000000cc526d ++ KEY_REWIND 0x0000000000cc516e ++ KEY_FORWARD 0x0000000000ccd0ef ++ KEY_PAUSE 0x0000000000cccef1 ++ KEY_PLAY 0x0000000000cccdf2 ++ KEY_STOP 0x0000000000cc4f70 ++ KEY_VOLUMEUP 0x0000000000ccd3ec ++ KEY_VOLUMEDOWN 0x0000000000cc546b ++ KEY_MUTE 0x0000000000cc526d + DISPLAY_UP 0x0000000000ccd5ea +- CD_UP 0x0000000000ccdae5 ++ KEY_CD 0x0000000000ccdae5 + SHOW_WIZ_UP 0x0000000000cc5b64 + PG_UP_UP 0x0000000000ccd6e9 + PG_DN_UP 0x0000000000cc5768 +- BACK_UP 0x0000000000cc5867 +- FORWARD_UP 0x0000000000ccd9e6 +- WWW_UP 0x0000000000ccdce3 +- CLOSE_UP 0x0000000000cc5d62 ++ KEY_REWIND 0x0000000000cc5867 ++ KEY_FORWARD 0x0000000000ccd9e6 ++ KEY_WWW 0x0000000000ccdce3 ++ KEY_CLOSE 0x0000000000cc5d62 + end codes + end remote +diff -upr lirc-0.8.3.orig/remotes/streamzap/lircd.conf.streamzap lirc-0.8.3/remotes/streamzap/lircd.conf.streamzap +--- lirc-0.8.3.orig/remotes/streamzap/lircd.conf.streamzap 2005-02-12 14:20:23.000000000 +0000 ++++ lirc-0.8.3/remotes/streamzap/lircd.conf.streamzap 2008-08-12 16:14:40.000000000 +0100 +@@ -27,41 +27,41 @@ begin remote + + + begin codes +- 0 0x00 +- 1 0x01 +- 2 0x02 +- 3 0x03 +- 4 0x04 +- 5 0x05 +- 6 0x06 +- 7 0x07 +- 8 0x08 +- 9 0x09 +- POWER 0x0A +- MUTE 0x0B +- CH_UP 0x0C +- VOL_UP 0x0D +- CH_DOWN 0x0E +- VOL_DOWN 0x0F +- UP 0x10 +- LEFT 0x11 +- OK 0x12 +- RIGHT 0x13 +- DOWN 0x14 +- MENU 0x15 +- EXIT 0x16 +- PLAY 0x17 +- PAUSE 0x18 +- STOP 0x19 ++ KEY_0 0x00 ++ KEY_1 0x01 ++ KEY_2 0x02 ++ KEY_3 0x03 ++ KEY_4 0x04 ++ KEY_5 0x05 ++ KEY_6 0x06 ++ KEY_7 0x07 ++ KEY_8 0x08 ++ KEY_9 0x09 ++ KEY_POWER 0x0A ++ KEY_MUTE 0x0B ++ KEY_CHANNELUP 0x0C ++ KEY_VOLUMEUP 0x0D ++ KEY_CHANNELDOWN 0x0E ++ KEY_VOLUMEDOWN 0x0F ++ KEY_UP 0x10 ++ KEY_LEFT 0x11 ++ KEY_OK 0x12 ++ KEY_RIGHT 0x13 ++ KEY_DOWN 0x14 ++ KEY_MENU 0x15 ++ KEY_EXIT 0x16 ++ KEY_PLAY 0x17 ++ KEY_PAUSE 0x18 ++ KEY_STOP 0x19 + |<< 0x1A + >>| 0x1B +- RECORD 0x1C +- << 0x1D +- >> 0x1E +- RED 0x20 +- GREEN 0x21 +- YELLOW 0x22 +- BLUE 0x23 ++ KEY_RECORD 0x1C ++ KEY_REWIND 0x1D ++ KEY_FORWARD 0x1E ++ KEY_RED 0x20 ++ KEY_GREEN 0x21 ++ KEY_YELLOW 0x22 ++ KEY_BLUE 0x23 + end codes + + end remote +diff -upr lirc-0.8.3.orig/remotes/technisat/lircd.conf.mediafocusI lirc-0.8.3/remotes/technisat/lircd.conf.mediafocusI +--- lirc-0.8.3.orig/remotes/technisat/lircd.conf.mediafocusI 2001-02-04 13:38:09.000000000 +0000 ++++ lirc-0.8.3/remotes/technisat/lircd.conf.mediafocusI 2008-08-12 16:14:39.000000000 +0100 +@@ -30,11 +30,11 @@ begin remote + duty_cycle 33 + + begin codes +- MUTE 0x0000000000000046 +- VOL+ 0x000000000000006E +- VOL- 0x000000000000006F +- CH+ 0x0000000000000047 +- CH- 0x0000000000000048 ++ KEY_MUTE 0x0000000000000046 ++ KEY_VOLUMEUP 0x000000000000006E ++ KEY_VOLUMEDOWN 0x000000000000006F ++ KEY_CHANNELUP 0x0000000000000047 ++ KEY_CHANNELDOWN 0x0000000000000048 + end codes + + end remote +diff -upr lirc-0.8.3.orig/remotes/tekram/lircd.conf.m230 lirc-0.8.3/remotes/tekram/lircd.conf.m230 +--- lirc-0.8.3.orig/remotes/tekram/lircd.conf.m230 2002-03-28 21:26:54.000000000 +0000 ++++ lirc-0.8.3/remotes/tekram/lircd.conf.m230 2008-08-12 16:14:39.000000000 +0100 +@@ -13,36 +13,36 @@ begin remote + name M230 + bits 8 + begin codes +- 0 0x00 +- 1 0x01 +- 2 0x02 +- 3 0x03 +- 4 0x04 +- 5 0x05 +- 6 0x06 +- 7 0x07 +- 8 0x08 +- 9 0x09 ++ KEY_0 0x00 ++ KEY_1 0x01 ++ KEY_2 0x02 ++ KEY_3 0x03 ++ KEY_4 0x04 ++ KEY_5 0x05 ++ KEY_6 0x06 ++ KEY_7 0x07 ++ KEY_8 0x08 ++ KEY_9 0x09 + RECALL 0x0A +- ENTER 0x17 +- POWER 0x1C ++ KEY_ENTER 0x17 ++ KEY_POWER 0x1C + SOURCE 0x15 + PC_VID 0x12 + STILL 0x11 + TTX 0x0F + FAV 0x13 +- MUTE 0x10 +- VOL_UP 0x1A +- VOL_DN 0x1E +- CH_UP 0x1B +- CH_DN 0x1F +- PLAY 0x0D +- STOP 0x0E +- REW 0x1D +- FFW 0x19 ++ KEY_MUTE 0x10 ++ KEY_VOLUMEUP 0x1A ++ KEY_VOLUMEDOWN 0x1E ++ KEY_CHANNELUP 0x1B ++ KEY_CHANNELDOWN 0x1F ++ KEY_PLAY 0x0D ++ KEY_STOP 0x0E ++ KEY_REWIND 0x1D ++ KEY_FASTFORWARD 0x19 + ADD_ER 0x16 + FUNC 0x14 +- F_PLUS 0x18 +- F_MINUS 0x0C ++ KEY_KPPLUS 0x18 ++ KEY_KPMINUS 0x0C + end codes + end remote +diff -upr lirc-0.8.3.orig/remotes/vlsystem/lircd.conf.mplay lirc-0.8.3/remotes/vlsystem/lircd.conf.mplay +--- lirc-0.8.3.orig/remotes/vlsystem/lircd.conf.mplay 2007-12-22 12:33:17.000000000 +0000 ++++ lirc-0.8.3/remotes/vlsystem/lircd.conf.mplay 2008-08-12 16:14:40.000000000 +0100 +@@ -27,42 +27,42 @@ begin remote + Movies 0x40 + Television 0x46 + Photos 0x45 +- Music 0x56 +- 1 0x4d +- 2 0x4e +- 3 0x4f +- 4 0x50 +- 5 0x51 +- 6 0x52 +- 7 0x53 +- 8 0x03 +- 9 0x07 +- 0 0x4c +- Vol+ 0x0a +- Vol- 0x0e ++ KEY_AUDIO 0x56 ++ KEY_1 0x4d ++ KEY_2 0x4e ++ KEY_3 0x4f ++ KEY_4 0x50 ++ KEY_5 0x51 ++ KEY_6 0x52 ++ KEY_7 0x53 ++ KEY_8 0x03 ++ KEY_9 0x07 ++ KEY_0 0x4c ++ KEY_VOLUMEUP 0x0a ++ KEY_VOLUMEDOWN 0x0e + Ch+_Lang 0x12 + Ch-_Page 0x16 + Guide 0x0f +- Back 0x0b +- Tv 0x13 +- Ok 0x42 +- Up 0x19 +- Left 0x54 +- Right 0x43 +- Down 0x1d ++ KEY_BACK 0x0b ++ 0x13 ++ KEY_OK 0x42 ++ KEY_UP 0x19 ++ KEY_LEFT 0x54 ++ KEY_RIGHT 0x43 ++ KEY_DOWN 0x1d + Exit_Click 0x1f + Task_Quick 0x17 + Run_DClick 0x1b +- Rew 0x0d +- Play 0x09 +- Ffwd 0x15 +- Prev 0x1a +- Stop 0x01 +- Next 0x1e +- Pause 0x05 +- Mute 0x4a ++ KEY_REWIND 0x0d ++ KEY_PLAY 0x09 ++ 0x15 ++ KEY_PREVIOUS 0x1a ++ KEY_STOP 0x01 ++ KEY_NEXT 0x1e ++ KEY_PAUSE 0x05 ++ KEY_MUTE 0x4a + Warp_Mouse 0x47 +- Rec 0x11 ++ KEY_RECORD 0x11 + DVD_Zoom 0x14 + Detail 0x4b + end codes +diff -upr lirc-0.8.3.orig/remotes/x10/lircd.conf.mouseremote lirc-0.8.3/remotes/x10/lircd.conf.mouseremote +--- lirc-0.8.3.orig/remotes/x10/lircd.conf.mouseremote 2005-01-22 10:40:43.000000000 +0000 ++++ lirc-0.8.3/remotes/x10/lircd.conf.mouseremote 2008-08-12 16:14:40.000000000 +0100 +@@ -24,42 +24,42 @@ begin remote + gap 140000 + + begin codes +- POWER 0x000000000000000F +- PC 0x000000000000002B ++ KEY_POWER 0x000000000000000F ++ KEY_PC 0x000000000000002B + LAST 0x000000000000004F +- CHANUP 0x0000000000000002 +- CHANDOWN 0x0000000000000003 +- VOLUP 0x0000000000000006 +- VOLDOWN 0x0000000000000007 +- MUTE 0x0000000000000005 +- 1 0x0000000000000041 +- 2 0x0000000000000042 +- 3 0x0000000000000043 +- 4 0x0000000000000044 +- 5 0x0000000000000045 +- 6 0x0000000000000046 +- 7 0x0000000000000047 +- 8 0x0000000000000048 +- 9 0x0000000000000049 +- 0 0x0000000000000040 +- ENTER 0x000000000000004a ++ KEY_CHANNELUP 0x0000000000000002 ++ KEY_CHANNELDOWN 0x0000000000000003 ++ KEY_VOLUMEUP 0x0000000000000006 ++ KEY_VOLUMEDOWN 0x0000000000000007 ++ KEY_MUTE 0x0000000000000005 ++ KEY_1 0x0000000000000041 ++ KEY_2 0x0000000000000042 ++ KEY_3 0x0000000000000043 ++ KEY_4 0x0000000000000044 ++ KEY_5 0x0000000000000045 ++ KEY_6 0x0000000000000046 ++ KEY_7 0x0000000000000047 ++ KEY_8 0x0000000000000048 ++ KEY_9 0x0000000000000049 ++ KEY_0 0x0000000000000040 ++ KEY_ENTER 0x000000000000004a + ADOTB 0x000000000000005D +- REWIND 0x000000000000001C +- PLAY 0x000000000000000D +- FFWD 0x000000000000001D +- STOP 0x000000000000000E +- PAUSE 0x000000000000004E +- RECORD 0x00000000000000FF +- ENTER 0x000000000000004A ++ KEY_REWIND 0x000000000000001C ++ KEY_PLAY 0x000000000000000D ++ KEY_FASTFORWARD 0x000000000000001D ++ KEY_STOP 0x000000000000000E ++ KEY_PAUSE 0x000000000000004E ++ KEY_RECORD 0x00000000000000FF ++ KEY_ENTER 0x000000000000004A + LAST 0x000000000000004F + DISP 0x000000000000005C + SHIFT 0x000000000000006B + GUIDE 0x000000000000006D +- SELECT 0x0000000000000093 +- PHONE 0x000000000000004B +- WEB 0x000000000000008B +- CD 0x00000000000000AB +- DVD 0x00000000000000CB ++ KEY_SELECT 0x0000000000000093 ++ KEY_PHONE 0x000000000000004B ++ KEY_WWW 0x000000000000008B ++ KEY_CD 0x00000000000000AB ++ KEY_DVD 0x00000000000000CB + MOUSE_SLOW_N 0x0000000000000110 + MOUSE_SLOW_NNE 0x0000000000000131 + MOUSE_SLOW_NE 0x0000000000000111 +@@ -110,7 +110,7 @@ begin remote + MOUSE_FAST_NNW 0x0000000000000539 + BUTTONR_DOWN 0x0000000000000801 + BUTTONL_DOWN 0x0000000000000804 +- BUTTON_UP 0x0000000000000800 ++ KEY_UP 0x0000000000000800 + end codes + + end remote +diff -upr lirc-0.8.3.orig/remotes/x10/lircd.conf.mp3anywhere lirc-0.8.3/remotes/x10/lircd.conf.mp3anywhere +--- lirc-0.8.3.orig/remotes/x10/lircd.conf.mp3anywhere 2007-07-01 08:09:11.000000000 +0100 ++++ lirc-0.8.3/remotes/x10/lircd.conf.mp3anywhere 2008-08-12 16:14:40.000000000 +0100 +@@ -22,43 +22,43 @@ begin remote + gap 140000 + + begin codes +- POWER 0x00000000000000F0 +- PC 0x00000000000000D4 ++ KEY_POWER 0x00000000000000F0 ++ KEY_PC 0x00000000000000D4 + LAST 0x00000000000000F2 +- CHANUP 0x0000000000000040 +- CHANDOWN 0x00000000000000C0 +- VOLUP 0x0000000000000060 +- VOLDOWN 0x00000000000000E0 +- MUTE 0x00000000000000A0 +- ONE 0x0000000000000082 +- TWO 0x0000000000000042 +- THREE 0x00000000000000C2 +- FOUR 0x0000000000000022 +- FIVE 0x00000000000000A2 +- SIX 0x0000000000000062 +- SEVEN 0x00000000000000E2 +- EIGHT 0x0000000000000012 +- NINE 0x0000000000000092 +- ZERO 0x0000000000000002 +- ENTER 0x0000000000000052 ++ KEY_CHANNELUP 0x0000000000000040 ++ KEY_CHANNELDOWN 0x00000000000000C0 ++ KEY_VOLUMEUP 0x0000000000000060 ++ KEY_VOLUMEDOWN 0x00000000000000E0 ++ KEY_MUTE 0x00000000000000A0 ++ KEY_1 0x0000000000000082 ++ KEY_2 0x0000000000000042 ++ KEY_3 0x00000000000000C2 ++ KEY_4 0x0000000000000022 ++ KEY_5 0x00000000000000A2 ++ KEY_6 0x0000000000000062 ++ KEY_7 0x00000000000000E2 ++ KEY_8 0x0000000000000012 ++ KEY_9 0x0000000000000092 ++ KEY_0 0x0000000000000002 ++ KEY_ENTER 0x0000000000000052 + ADOTB 0x00000000000000BA +- A 0x000000000000003A +- B 0x00000000000000D8 +- C 0x00000000000000D6 +- D 0x00000000000000D4 +- MENU 0x00000000000000B6 +- EXIT 0x00000000000000C9 +- UP 0x00000000000000D5 +- DOWN 0x00000000000000D3 +- LEFT 0x00000000000000D2 +- RIGHT 0x00000000000000D1 +- OK 0x0000000000000052 +- REWIND 0x0000000000000038 +- PLAY 0x00000000000000B0 +- FFWD 0x00000000000000B8 +- RECORD 0x00000000000000FF +- STOP 0x0000000000000070 +- PAUSE 0x0000000000000072 ++ KEY_A 0x000000000000003A ++ KEY_B 0x00000000000000D8 ++ KEY_C 0x00000000000000D6 ++ KEY_D 0x00000000000000D4 ++ KEY_MENU 0x00000000000000B6 ++ KEY_EXIT 0x00000000000000C9 ++ KEY_UP 0x00000000000000D5 ++ KEY_DOWN 0x00000000000000D3 ++ KEY_LEFT 0x00000000000000D2 ++ KEY_RIGHT 0x00000000000000D1 ++ KEY_OK 0x0000000000000052 ++ KEY_REWIND 0x0000000000000038 ++ KEY_PLAY 0x00000000000000B0 ++ KEY_FASTFORWARD 0x00000000000000B8 ++ KEY_RECORD 0x00000000000000FF ++ KEY_STOP 0x0000000000000070 ++ KEY_PAUSE 0x0000000000000072 + end codes + + end remote diff --git a/lirc.spec b/lirc.spec index 3802885..a912787 100644 --- a/lirc.spec +++ b/lirc.spec @@ -118,7 +118,6 @@ of remote control configuration files. %patch0 -p1 -b .incl %patch1 -p1 -b .xbuf %patch2 -p1 -b .suf -%patch3 -p1 -b .keycode chmod 644 contrib/* @@ -150,6 +149,8 @@ sed -i -e 's/vga.h/SVGALIB_DISABLED/g' configure* touch -r aclocal.m4 configure.ac # avoid autofoo re-run +# Do this after, as we're touching the remote definitions earlier +%patch3 -p1 -b .keycode %build %configure \ From 7208a572af974e8811f8b527e969e2a583bfcc5b Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Thu, 14 Aug 2008 15:41:38 +0000 Subject: [PATCH 042/204] - Make lircd not exit when there's no device available, so that the daemon is running as expected when the hardware is plugged back in (#440231) --- lirc-dont-exit.patch | 20 ++++++++++++++++++++ lirc.spec | 11 ++++++++++- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 lirc-dont-exit.patch diff --git a/lirc-dont-exit.patch b/lirc-dont-exit.patch new file mode 100644 index 0000000..2e71411 --- /dev/null +++ b/lirc-dont-exit.patch @@ -0,0 +1,20 @@ +Index: daemons/lircd.c +=================================================================== +RCS file: /cvsroot/lirc/lirc/daemons/lircd.c,v +retrieving revision 5.77 +diff -u -p -u -p -r5.77 lircd.c +--- daemons/lircd.c 9 May 2008 18:40:59 -0000 5.77 ++++ daemons/lircd.c 14 Aug 2008 08:56:50 -0000 +@@ -518,7 +518,11 @@ void add_client(int sock) + shutdown(clis[0],2); + close(clis[0]); + clin=0; +- dosigterm(SIGTERM); ++ /* Don't exit here, otherwise lirc bails out, ++ * and lircd exits, making it impossible to ++ * connect to when we have a device actually ++ * plugged in. ++ dosigterm(SIGTERM); */ + } + } + } diff --git a/lirc.spec b/lirc.spec index a912787..8544e6e 100644 --- a/lirc.spec +++ b/lirc.spec @@ -18,7 +18,7 @@ Name: lirc Version: 0.8.3 -Release: 5%{?pre:.%{pre}}%{?dist} +Release: 6%{?pre:.%{pre}}%{?dist} Summary: The Linux Infrared Remote Control package Group: System Environment/Daemons @@ -34,6 +34,9 @@ Patch2: lirc-use-new-instead-of-conf-as-filename-suffix.patch # https://bugzilla.redhat.com/show_bug.cgi?id=457273 # http://thread.gmane.org/gmane.comp.hardware.lirc/6884 Patch3: lirc-0.8.3-fix-remote-keycodes.patch +# https://bugzilla.redhat.com/show_bug.cgi?id=440231 +# http://thread.gmane.org/gmane.comp.hardware.lirc/6889 +Patch4: lirc-dont-exit.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: %{__perl} @@ -118,6 +121,7 @@ of remote control configuration files. %patch0 -p1 -b .incl %patch1 -p1 -b .xbuf %patch2 -p1 -b .suf +%patch4 -p0 -b .exit chmod 644 contrib/* @@ -262,6 +266,11 @@ fi %changelog +* Thu Aug 14 2008 - Bastien Nocera - 0.8.3-6 +- Make lircd not exit when there's no device available, so that the + daemon is running as expected when the hardware is plugged back in + (#440231) + * Thu Aug 14 2008 - Bastien Nocera - 0.8.3-5 - Add huge patch to fix the majority of remotes to have sensible keycodes, so they work out-of-the-box (#457273) From 382ec19477c609228fa2d22dd43245ac9a62101c Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Fri, 22 Aug 2008 23:30:44 +0000 Subject: [PATCH 043/204] Update patch to match upstream --- lirc-dont-exit.patch | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/lirc-dont-exit.patch b/lirc-dont-exit.patch index 2e71411..9485dba 100644 --- a/lirc-dont-exit.patch +++ b/lirc-dont-exit.patch @@ -1,20 +1,20 @@ -Index: daemons/lircd.c -=================================================================== -RCS file: /cvsroot/lirc/lirc/daemons/lircd.c,v -retrieving revision 5.77 -diff -u -p -u -p -r5.77 lircd.c ---- daemons/lircd.c 9 May 2008 18:40:59 -0000 5.77 -+++ daemons/lircd.c 14 Aug 2008 08:56:50 -0000 -@@ -518,7 +518,11 @@ void add_client(int sock) - shutdown(clis[0],2); - close(clis[0]); - clin=0; +--- daemons/lircd.c 2008/05/09 18:40:59 5.77 ++++ daemons/lircd.c 2008/08/21 18:39:25 5.78 +@@ -515,10 +515,13 @@ + { + if(!hw.init_func()) + { +- shutdown(clis[0],2); +- close(clis[0]); +- clin=0; - dosigterm(SIGTERM); -+ /* Don't exit here, otherwise lirc bails out, -+ * and lircd exits, making it impossible to -+ * connect to when we have a device actually -+ * plugged in. -+ dosigterm(SIGTERM); */ ++ logprintf(LOG_WARNING, ++ "Failed to initialize hardware"); ++ /* Don't exit here, otherwise lirc ++ * bails out, and lircd exits, making ++ * it impossible to connect to when we ++ * have a device actually plugged ++ * in. */ } } } From 46db3b83c3ddb6e84ba44fce1eac1b865f0e36fb Mon Sep 17 00:00:00 2001 From: Jarod Wilson Date: Tue, 16 Sep 2008 13:36:23 +0000 Subject: [PATCH 044/204] - Fix multilib upgrade path from F8 (Nicolas Chauvet, #462435) --- lirc.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lirc.spec b/lirc.spec index 8544e6e..56c25ca 100644 --- a/lirc.spec +++ b/lirc.spec @@ -18,7 +18,7 @@ Name: lirc Version: 0.8.3 -Release: 6%{?pre:.%{pre}}%{?dist} +Release: 7%{?pre:.%{pre}}%{?dist} Summary: The Linux Infrared Remote Control package Group: System Environment/Daemons @@ -69,6 +69,8 @@ computer with a remote control. %package libs Summary: LIRC libraries Group: System Environment/Libraries +# Fix old F8 multilib upgrade path issue +Obsoletes: %{name} < 0.8.3 %description libs LIRC is a package that allows you to decode and send infra-red and @@ -266,6 +268,9 @@ fi %changelog +* Tue Sep 16 2008 - Jarod Wilson - 0.8.3-7 +- Fix multilib upgrade path from F8 (Nicolas Chauvet, #462435) + * Thu Aug 14 2008 - Bastien Nocera - 0.8.3-6 - Make lircd not exit when there's no device available, so that the daemon is running as expected when the hardware is plugged back in From 17c5bcd5c9e46c8d4d1dd1b3b739a21e22dbaf91 Mon Sep 17 00:00:00 2001 From: Jarod Wilson Date: Wed, 24 Sep 2008 22:15:49 +0000 Subject: [PATCH 045/204] - Update to 0.8.4pre1 - Drop upstream patches - Adds support for the CommandIR II userspace driver --- .cvsignore | 1 + hw_commandir.h | 175 +++++ lirc-0.8.3-remote-includes-directive.patch | 341 ---------- lirc-0.8.3-validate-transmit-buffer.patch | 58 -- ...rc-0.8.4-standardize-remote-keycodes.patch | 637 +++++++----------- ...w-instead-of-conf-as-filename-suffix.patch | 22 +- lirc.spec | 34 +- sources | 2 +- 8 files changed, 457 insertions(+), 813 deletions(-) create mode 100644 hw_commandir.h delete mode 100644 lirc-0.8.3-remote-includes-directive.patch delete mode 100644 lirc-0.8.3-validate-transmit-buffer.patch rename lirc-0.8.3-fix-remote-keycodes.patch => lirc-0.8.4-standardize-remote-keycodes.patch (88%) diff --git a/.cvsignore b/.cvsignore index b567347..ea39d26 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1,2 @@ lirc-0.8.3.tar.bz2 +lirc-0.8.4pre1.tar.bz2 diff --git a/hw_commandir.h b/hw_commandir.h new file mode 100644 index 0000000..2280f6c --- /dev/null +++ b/hw_commandir.h @@ -0,0 +1,175 @@ + +/**************************************************************************** + ** hw_commandir.h ********************************************************** + **************************************************************************** + * + * Copyright (C) 1999 Christoph Bartelmus + * -- Original hw_default.h + * Modified for CommandIR Transceivers, April-June 2008, Matthew Bodkin + * + */ + +#ifndef HW_COMMANDIR_H +#define HW_COMMANDIR_H + +#define RX_BUFFER_SIZE 1024 +#define TX_BUFFER_SIZE 1024 +#define TX_QUEUE 1 +#define RX_QUEUE 0 +#define MAX_COMMANDIRS 4 +#define MAX_COMMAND 8192 + +/* transmitter channel control */ +#define MAX_DEVICES 4 +#define MAX_CHANNELS 16 +#define DEVICE_CHANNELS 4 +#define MAX_MASK 0xffff +#define MAX_SIGNALQ 100 + +/* CommandIR control codes */ +#define CHANNEL_EN_MASK 1 +#define FREQ_HEADER 2 +#define MCU_CTRL_SIZE 3 +#define TX_HEADER 7 +#define TX_HEADER_NEW 8 +/* New for CommandIR II */ + +#define READ_INPUTS 10 +#define PROC_SET 11 +#define INIT_FUNCTION 12 +#define RX_SELECT 13 +#define TX_COMMANDIR_II 14 +/* Internal to driver */ +#define TX_LIRC_T 15 +#define FREQ_HEADER_LIRC 16 +#define RXDECODE_HEADER_LIRC 17 +#define INIT_HEADER_LIRC 18 +#define DEINIT_HEADER_LIRC 19 +#define GET_VERSION 20 + +#define COMMANDIR_2_PULSE_MASK 0x8000 +#define COMMANDIR_2_OVERFLOW_MASK 0x4000 + +#define DEFAULT_PULSE_WIDTH 13 + +#define USB_CMDIR_VENDOR_ID 0x10c4 +#define USB_CMDIR_PRODUCT_ID 0x0003 +#define USB_CMDIR_MINOR_BASE 192 + +#define HW_COMMANDIR_MINI 1 +#define HW_COMMANDIR_2 2 +#define HW_COMMANDIR_UNKNOWN 127 + +#define MAX_HW_MINI_PACKET 64 + +// CommandIR has lots of buffer room, we don't need to poll constantly +#define USB_TIMEOUT_MS 5000 +#define USB_TIMEOUT_US 1000 +#define WAIT_BETWEEN_READS_US 10000 +#define MAX_WAIT_BETWEEN_READS_US 5000000 +#define MIN_WAIT_BETWEEN_READS_US 5000 + +#define USB_MAX_BUSES 8 +#define USB_MAX_BUSDEV 127 + +#define RX_HEADER_DATA 0x01 +#define RX_HEADER_EVENTS 0x02 +#define RX_HEADER_TXAVAIL 0x03 + + +// We keep CommandIR's OPEN even on -deinit for speed and to monitor +// Other non-LIRC events (plugin, suspend, etc) +#define USB_KEEP_WARM 1 + +// CommandIR lircd.conf event driven code definitions +#define LIRCCODE_GAP 125000 +#define JACK_PLUG_1 0x01 +#define JACK_PLUG_2 0x02 +#define JACK_PLUG_3 0x03 +#define JACK_PLUG_4 0x04 +#define JACK_PLUG_5 0x11 +#define JACK_PLUG_6 0x12 +#define JACK_PLUG_7 0x13 +#define JACK_PLUG_8 0x14 +#define JACK_PLUG_9 0x21 +#define JACK_PLUG_10 0x22 +#define JACK_PLUG_11 0x23 +#define JACK_PLUG_12 0x24 +#define JACK_PLUG_13 0x31 +#define JACK_PLUG_14 0x32 +#define JACK_PLUG_15 0x33 +#define JACK_PLUG_16 0x34 + +#define JACK_UNPLUG_1 0x05 +#define JACK_UNPLUG_2 0x06 +#define JACK_UNPLUG_3 0x07 +#define JACK_UNPLUG_4 0x08 +#define JACK_UNPLUG_5 0x15 +#define JACK_UNPLUG_6 0x16 +#define JACK_UNPLUG_7 0x17 +#define JACK_UNPLUG_8 0x18 +#define JACK_UNPLUG_9 0x25 +#define JACK_UNPLUG_10 0x26 +#define JACK_UNPLUG_11 0x27 +#define JACK_UNPLUG_12 0x28 +#define JACK_UNPLUG_13 0x35 +#define JACK_UNPLUG_14 0x36 +#define JACK_UNPLUG_15 0x37 +#define JACK_UNPLUG_16 0x38 + +#define SELECT_TX_INTERNAL 0x09 +#define SELECT_TX_ExTERNAL 0x0A + +#define SELECT_TX_ON_1 0x0D +#define SELECT_TX_ON_2 0x1D +#define SELECT_TX_ON_3 0x2D +#define SELECT_TX_ON_4 0x3D + +#define JACK_PLUG_RX_1 0x0B +#define JACK_UNPLUG_RX_1 0x0C +#define JACK_PLUG_RX_2 0x1B +#define JACK_UNPLUG_RX_2 0x1C +#define JACK_PLUG_RX_3 0x2B +#define JACK_UNPLUG_RX_3 0x2C +#define JACK_PLUG_RX_4 0x3B +#define JACK_UNPLUG_RX_4 0x3C + +#define COMMANDIR_PLUG_1 0x41 +#define COMMANDIR_PLUG_2 0x42 +#define COMMANDIR_PLUG_3 0x43 +#define COMMANDIR_PLUG_4 0x44 + +#define COMMANDIR_UNPLUG_1 0x45 +#define COMMANDIR_UNPLUG_2 0x46 +#define COMMANDIR_UNPLUG_3 0x47 +#define COMMANDIR_UNPLUG_4 0x48 + +#define COMMANDIR_REORDERED 0x50 +#define COMMANDIR_READY 0x51 +#define COMMANDIR_STOPPED 0x52 +#define COMMANDIR_POLL_FASTER 0x53 +#define COMMANDIR_POLL_SLOWER 0x54 + +#define SETTRANSMITTERS_1 0xf0 +#define SETTRANSMITTERS_2 0xf1 +#define SETTRANSMITTERS_3 0xf2 +#define SETTRANSMITTERS_4 0xf3 +#define SETTRANSMITTERS_5 0xf4 +#define SETTRANSMITTERS_6 0xf5 +#define SETTRANSMITTERS_7 0xf6 +#define SETTRANSMITTERS_8 0xf7 +#define SETTRANSMITTERS_9 0xf8 +#define SETTRANSMITTERS_10 0xf9 +#define SETTRANSMITTERS_11 0xfa +#define SETTRANSMITTERS_12 0xfb +#define SETTRANSMITTERS_13 0xfc +#define SETTRANSMITTERS_14 0xfd +#define SETTRANSMITTERS_15 0xfe +#define SETTRANSMITTERS_16 0xff + +// What's in a returning data packet +#define COMMANDIR_RX_EVENTS 0x02 +#define COMMANDIR_RX_DATA 0x01 + + +#endif diff --git a/lirc-0.8.3-remote-includes-directive.patch b/lirc-0.8.3-remote-includes-directive.patch deleted file mode 100644 index 988ecec..0000000 --- a/lirc-0.8.3-remote-includes-directive.patch +++ /dev/null @@ -1,341 +0,0 @@ -diff -Naurp lirc-0.8.3.orig/daemons/config_file.c lirc-0.8.3/daemons/config_file.c ---- lirc-0.8.3.orig/daemons/config_file.c 2007-07-29 14:20:06.000000000 -0400 -+++ lirc-0.8.3/daemons/config_file.c 2008-05-12 18:02:32.000000000 -0400 -@@ -1,4 +1,4 @@ --/* $Id: config_file.c,v 5.27 2007/07/29 18:20:06 lirc Exp $ */ -+/* $Id: config_file.c,v 5.28 2008/05/09 18:40:59 lirc Exp $ */ - - /**************************************************************************** - ** config_file.c *********************************************************** -@@ -20,6 +20,7 @@ - #include - #include - #include -+#include - #include - #include - #include -@@ -32,9 +33,14 @@ - #include "config_file.h" - - #define LINE_LEN 1024 -+#define MAX_INCLUDES 10 - --int line; --int parse_error; -+const char *whitespace = " \t"; -+ -+static int line; -+static int parse_error; -+ -+static struct ir_remote * read_config_recursive(FILE *f, const char *name, int depth); - - void **init_void_array(struct void_array *ar,size_t chunk_size, size_t item_size) - { -@@ -643,7 +649,84 @@ struct ir_remote *sort_by_bit_count(stru - return top; - } - --struct ir_remote * read_config(FILE *f) -+static const char *lirc_parse_include(char *s) -+{ -+ char *last; -+ size_t len; -+ -+ len=strlen(s); -+ if(len<2) -+ { -+ return NULL; -+ } -+ last = s+len-1; -+ while(last > s && strchr(whitespace, *last) != NULL) -+ { -+ last--; -+ } -+ if(last <= s) -+ { -+ return NULL; -+ } -+ if(*s!='"' && *s!='<') -+ { -+ return NULL; -+ } -+ if(*s=='"' && *last!='"') -+ { -+ return NULL; -+ } -+ else if(*s=='<' && *last!='>') -+ { -+ return NULL; -+ } -+ *last = 0; -+ memmove(s, s+1, len-2+1); /* terminating 0 is copied, and -+ maybe more, but we don't care */ -+ return s; -+} -+ -+static const char *lirc_parse_relative(char *dst, size_t dst_size, -+ const char *child, const char *current) -+{ -+ char *dir; -+ size_t dirlen; -+ -+ if (!current) -+ return child; -+ -+ /* Not a relative path */ -+ if (*child == '/') -+ return child; -+ -+ if(strlen(current) >= dst_size) -+ { -+ return NULL; -+ } -+ strcpy(dst, current); -+ dir = dirname(dst); -+ dirlen = strlen(dir); -+ if(dir != dst) -+ { -+ memmove(dst, dir, dirlen + 1); -+ } -+ -+ if(dirlen + 1 + strlen(child) + 1 > dst_size) -+ { -+ return NULL; -+ } -+ strcat(dst, "/"); -+ strcat(dst, child); -+ -+ return dst; -+} -+ -+struct ir_remote * read_config(FILE *f, const char *name) -+{ -+ return read_config_recursive(f, name, 0); -+} -+ -+static struct ir_remote * read_config_recursive(FILE *f, const char *name, int depth) - { - char buf[LINE_LEN+1], *key, *val, *val2; - int len,argc; -@@ -656,6 +739,7 @@ struct ir_remote * read_config(FILE *f) - - line=0; - parse_error=0; -+ LOGPRINTF(2, "parsing '%s'", name); - - while(fgets(buf,LINE_LEN,f)!=NULL) - { -@@ -683,14 +767,74 @@ struct ir_remote * read_config(FILE *f) - if(buf[0]=='#'){ - continue; - } -- key=strtok(buf," \t"); -+ key=strtok(buf, whitespace); - /* ignore empty lines */ - if(key==NULL) continue; -- val=strtok(NULL, " \t"); -+ val=strtok(NULL, whitespace); - if(val!=NULL){ -- val2=strtok(NULL, " \t"); -+ val2=strtok(NULL, whitespace); - LOGPRINTF(3,"\"%s\" \"%s\"",key,val); -- if (strcasecmp("begin",key)==0){ -+ if (strcasecmp("include",key)==0){ -+ FILE* childFile; -+ const char *childName; -+ const char *fullPath; -+ char result[FILENAME_MAX+1]; -+ -+ -+ if (depth > MAX_INCLUDES) { -+ logprintf(LOG_ERR,"error opening child file defined at %s:%d",name,line); -+ logprintf(LOG_ERR,"too many files included"); -+ parse_error=-1; -+ break; -+ } -+ -+ childName = lirc_parse_include(val); -+ if (!childName){ -+ logprintf(LOG_ERR,"error parsing child file value defined at line %d:",line); -+ logprintf(LOG_ERR,"invalid quoting"); -+ parse_error=-1; -+ break; -+ } -+ -+ fullPath = lirc_parse_relative(result, sizeof(result), childName, name); -+ if (!fullPath) { -+ logprintf(LOG_ERR,"error composing relative file path defined at line %d:",line); -+ logprintf(LOG_ERR,"resulting path too long"); -+ parse_error=-1; -+ break; -+ } -+ -+ childFile = fopen(fullPath, "r"); -+ if (childFile == NULL){ -+ logprintf(LOG_ERR,"error opening child file '%s' defined at line %d:",fullPath, line); -+ logprintf(LOG_ERR,"ignoring this child file for now."); -+ } -+ else{ -+ int save_line = line; -+ -+ if (!top_rem){ -+ /* create first remote */ -+ LOGPRINTF(2,"creating first remote"); -+ rem = read_config_recursive(childFile, fullPath, depth + 1); -+ if(rem != (void *) -1 && rem != NULL) { -+ top_rem = rem; -+ } else { -+ rem = NULL; -+ } -+ }else{ -+ /* create new remote */ -+ LOGPRINTF(2,"creating next remote"); -+ rem->next=read_config_recursive(childFile, fullPath, depth + 1); -+ if(rem->next != (void *) -1 && rem->next != NULL) { -+ rem=rem->next; -+ } else { -+ rem->next = NULL; -+ } -+ } -+ fclose(childFile); -+ line = save_line; -+ } -+ }else if (strcasecmp("begin",key)==0){ - if (strcasecmp("codes", val)==0){ - /* init codes mode */ - LOGPRINTF(2," begin codes"); -@@ -744,7 +888,7 @@ struct ir_remote * read_config(FILE *f) - - if(val2[0]=='#') break; /* comment */ - node=defineNode(code, val2); -- val2=strtok(NULL, " \t"); -+ val2=strtok(NULL, whitespace); - } - code->current=NULL; - add_void_array(&codes_list, code); -@@ -822,7 +966,7 @@ struct ir_remote * read_config(FILE *f) - - if(val2[0]=='#') break; /* comment */ - node=defineNode(code, val2); -- val2=strtok(NULL, " \t"); -+ val2=strtok(NULL, whitespace); - } - code->current=NULL; - add_void_array(&codes_list, code); -@@ -842,7 +986,7 @@ struct ir_remote * read_config(FILE *f) - case ID_remote: - argc=defineRemote(key, val, val2, rem); - if(!parse_error && ((argc==1 && val2!=NULL) || -- (argc==2 && val2!=NULL && strtok(NULL," \t")!=NULL))) -+ (argc==2 && val2!=NULL && strtok(NULL, whitespace)!=NULL))) - { - logprintf(LOG_WARNING,"garbage after '%s'" - " token in line %d ignored", -@@ -857,7 +1001,7 @@ struct ir_remote * read_config(FILE *f) - - if(val2[0]=='#') break; /* comment */ - node=defineNode(code, val2); -- val2=strtok(NULL, " \t"); -+ val2=strtok(NULL, whitespace); - } - code->current=NULL; - add_void_array(&codes_list, code); -@@ -905,7 +1049,7 @@ struct ir_remote * read_config(FILE *f) - break; - } - } -- while ((val=strtok(NULL," \t"))){ -+ while ((val=strtok(NULL, whitespace))){ - if (!addSignal(&signals, val)) break; - } - } -@@ -950,7 +1094,15 @@ struct ir_remote * read_config(FILE *f) - } - } - if (parse_error){ -+ static int print_error = 1; -+ -+ if(print_error) { -+ logprintf(LOG_ERR, "reading of file '%s' failed", -+ name); -+ print_error = 0; -+ } - free_config(top_rem); -+ if(depth == 0) print_error = 1; - return((void *) -1); - } - /* kick reverse flag */ -diff -Naurp lirc-0.8.3.orig/daemons/config_file.h lirc-0.8.3/daemons/config_file.h ---- lirc-0.8.3.orig/daemons/config_file.h 2006-01-28 13:36:44.000000000 -0500 -+++ lirc-0.8.3/daemons/config_file.h 2008-05-12 18:02:22.000000000 -0400 -@@ -1,4 +1,4 @@ --/* $Id: config_file.h,v 5.10 2006/01/28 18:36:44 lirc Exp $ */ -+/* $Id: config_file.h,v 5.11 2008/05/09 18:40:59 lirc Exp $ */ - - /**************************************************************************** - ** config_file.h *********************************************************** -@@ -86,7 +86,7 @@ int addSignal(struct void_array *signals - struct ir_ncode * defineCode(char *key, char *val, struct ir_ncode *code); - struct ir_code_node *defineNode(struct ir_ncode *code, const char *val); - int defineRemote(char * key, char * val, char *val2, struct ir_remote *rem); --struct ir_remote *read_config(FILE *f); -+struct ir_remote *read_config(FILE *f, const char *name); - void free_config(struct ir_remote *remotes); - - #endif -diff -Naurp lirc-0.8.3.orig/daemons/irrecord.c lirc-0.8.3/daemons/irrecord.c ---- lirc-0.8.3.orig/daemons/irrecord.c 2008-02-14 15:42:56.000000000 -0500 -+++ lirc-0.8.3/daemons/irrecord.c 2008-05-12 18:03:51.000000000 -0400 -@@ -1,4 +1,4 @@ --/* $Id: irrecord.c,v 5.69 2008/02/14 20:42:56 lirc Exp $ */ -+/* $Id: irrecord.c,v 5.71 2008/05/09 18:40:59 lirc Exp $ */ - - /**************************************************************************** - ** irrecord.c ************************************************************** -@@ -311,7 +311,7 @@ int main(int argc,char **argv) - progname, filename, progname); - exit(EXIT_FAILURE); - } -- remotes=read_config(fin); -+ remotes=read_config(fin, filename); - fclose(fin); - if(remotes==(void *) -1 || remotes==NULL) - { -@@ -748,7 +748,7 @@ int main(int argc,char **argv) - if(hw.deinit_func) hw.deinit_func(); - exit(EXIT_FAILURE); - } -- remotes=read_config(fin); -+ remotes=read_config(fin,filename); - fclose(fin); - if(remotes==NULL) - { -diff -Naurp lirc-0.8.3.orig/daemons/lircd.c lirc-0.8.3/daemons/lircd.c ---- lirc-0.8.3.orig/daemons/lircd.c 2008-03-30 10:53:06.000000000 -0400 -+++ lirc-0.8.3/daemons/lircd.c 2008-05-12 18:02:12.000000000 -0400 -@@ -1,4 +1,4 @@ --/* $Id: lircd.c,v 5.76 2008/03/30 14:53:06 lirc Exp $ */ -+/* $Id: lircd.c,v 5.77 2008/05/09 18:40:59 lirc Exp $ */ - - /**************************************************************************** - ** lircd.c ***************************************************************** -@@ -406,7 +406,7 @@ void config(void) - logperror(LOG_ERR,NULL); - return; - } -- config_remotes=read_config(fd); -+ config_remotes=read_config(fd, configfile); - fclose(fd); - if(config_remotes==(void *) -1) - { -diff -Naurp lirc-0.8.3.orig/NEWS lirc-0.8.3/NEWS ---- lirc-0.8.3.orig/NEWS 2008-05-12 17:59:40.000000000 -0400 -+++ lirc-0.8.3/NEWS 2008-05-12 18:05:04.000000000 -0400 -@@ -1,3 +1,6 @@ -+0.8.4-CVS: future -+ * support for include directive in lircd.conf -+ - 0.8.3: 05/04/08 - * added support for Samsung USB IR Receiver (Robert Schedel) - * added support for Soundgraph iMON IR/LCD (Dean Harding) diff --git a/lirc-0.8.3-validate-transmit-buffer.patch b/lirc-0.8.3-validate-transmit-buffer.patch deleted file mode 100644 index 6db6c1d..0000000 --- a/lirc-0.8.3-validate-transmit-buffer.patch +++ /dev/null @@ -1,58 +0,0 @@ ---- lirc/daemons/transmit.c 2007/07/29 18:20:13 5.27 -+++ lirc/daemons/transmit.c 2008/05/11 13:29:47 5.28 -@@ -1,4 +1,4 @@ --/* $Id: transmit.c,v 5.27 2007/07/29 18:20:13 lirc Exp $ */ -+/* $Id: transmit.c,v 5.28 2008/05/11 13:29:47 lirc Exp $ */ - - /**************************************************************************** - ** transmit.c ************************************************************** -@@ -116,6 +116,34 @@ - return(0); - } - -+static int check_send_buffer(void) -+{ -+ int i; -+ -+ if (send_buffer.wptr == 0) -+ { -+ LOGPRINTF(1, "nothing to send"); -+ return(0); -+ } -+ for (i = 0; i < send_buffer.wptr; i++) -+ { -+ if(send_buffer.data[i] == 0) -+ { -+ if(i%2) -+ { -+ LOGPRINTF(1, "invalid space: %d", i); -+ } -+ else -+ { -+ LOGPRINTF(1, "invalid pulse: %d", i); -+ } -+ return 0; -+ } -+ } -+ -+ return 1; -+} -+ - static inline void flush_send_buffer(void) - { - if(send_buffer.pendingp>0) -@@ -500,5 +528,13 @@ - goto init_send_loop; - } - LOGPRINTF(3, "transmit buffer ready"); -- return(1); -+ if(!check_send_buffer()) -+ { -+ logprintf(LOG_ERR, "invalid send buffer"); -+ logprintf(LOG_ERR, -+ "this remote configuration cannot be used " -+ "to transmit"); -+ return 0; -+ } -+ return 1; - } diff --git a/lirc-0.8.3-fix-remote-keycodes.patch b/lirc-0.8.4-standardize-remote-keycodes.patch similarity index 88% rename from lirc-0.8.3-fix-remote-keycodes.patch rename to lirc-0.8.4-standardize-remote-keycodes.patch index 26024b8..acef796 100644 --- a/lirc-0.8.3-fix-remote-keycodes.patch +++ b/lirc-0.8.4-standardize-remote-keycodes.patch @@ -1,6 +1,6 @@ -diff -upr lirc-0.8.3.orig/remotes/adaptec/lircd.conf.AVC-2410 lirc-0.8.3/remotes/adaptec/lircd.conf.AVC-2410 ---- lirc-0.8.3.orig/remotes/adaptec/lircd.conf.AVC-2410 2005-03-28 10:25:36.000000000 +0100 -+++ lirc-0.8.3/remotes/adaptec/lircd.conf.AVC-2410 2008-08-12 16:14:40.000000000 +0100 +diff -Naurp lirc-0.8.4pre1.orig/remotes/adaptec/lircd.conf.AVC-2410 lirc-0.8.4pre1/remotes/adaptec/lircd.conf.AVC-2410 +--- lirc-0.8.4pre1.orig/remotes/adaptec/lircd.conf.AVC-2410 2005-03-28 04:25:36.000000000 -0500 ++++ lirc-0.8.4pre1/remotes/adaptec/lircd.conf.AVC-2410 2008-09-24 17:06:37.000000000 -0400 @@ -29,30 +29,30 @@ begin remote Live 0x00000000000025DA Timeshift 0x00000000000017E8 @@ -55,9 +55,9 @@ diff -upr lirc-0.8.3.orig/remotes/adaptec/lircd.conf.AVC-2410 lirc-0.8.3/remotes OSD 0x00000000000032CD cc 0x00000000000016E9 end codes -diff -upr lirc-0.8.3.orig/remotes/adstech/lircd.conf.usbx-707 lirc-0.8.3/remotes/adstech/lircd.conf.usbx-707 ---- lirc-0.8.3.orig/remotes/adstech/lircd.conf.usbx-707 2008-08-12 16:13:39.000000000 +0100 -+++ lirc-0.8.3/remotes/adstech/lircd.conf.usbx-707 2008-08-12 16:14:39.000000000 +0100 +diff -Naurp lirc-0.8.4pre1.orig/remotes/adstech/lircd.conf.usbx-707 lirc-0.8.4pre1/remotes/adstech/lircd.conf.usbx-707 +--- lirc-0.8.4pre1.orig/remotes/adstech/lircd.conf.usbx-707 2008-09-24 17:05:54.000000000 -0400 ++++ lirc-0.8.4pre1/remotes/adstech/lircd.conf.usbx-707 2008-09-24 17:06:37.000000000 -0400 @@ -26,50 +26,50 @@ begin remote toggle_bit_mask 0x0 @@ -147,9 +147,9 @@ diff -upr lirc-0.8.3.orig/remotes/adstech/lircd.conf.usbx-707 lirc-0.8.3/remotes end codes end remote -diff -upr lirc-0.8.3.orig/remotes/animax/lircd.conf.animax lirc-0.8.3/remotes/animax/lircd.conf.animax ---- lirc-0.8.3.orig/remotes/animax/lircd.conf.animax 1999-04-29 22:30:59.000000000 +0100 -+++ lirc-0.8.3/remotes/animax/lircd.conf.animax 2008-08-12 16:14:40.000000000 +0100 +diff -Naurp lirc-0.8.4pre1.orig/remotes/animax/lircd.conf.animax lirc-0.8.4pre1/remotes/animax/lircd.conf.animax +--- lirc-0.8.4pre1.orig/remotes/animax/lircd.conf.animax 1999-04-29 17:30:59.000000000 -0400 ++++ lirc-0.8.4pre1/remotes/animax/lircd.conf.animax 2008-09-24 17:06:37.000000000 -0400 @@ -38,79 +38,79 @@ begin remote begin codes @@ -263,31 +263,31 @@ diff -upr lirc-0.8.3.orig/remotes/animax/lircd.conf.animax lirc-0.8.3/remotes/an end codes end remote -diff -upr lirc-0.8.3.orig/remotes/apple/lircd.conf.macmini lirc-0.8.3/remotes/apple/lircd.conf.macmini ---- lirc-0.8.3.orig/remotes/apple/lircd.conf.macmini 2007-12-13 12:30:38.000000000 +0000 -+++ lirc-0.8.3/remotes/apple/lircd.conf.macmini 2008-08-12 16:14:39.000000000 +0100 -@@ -23,12 +23,12 @@ begin remote - gap 211995 +diff -Naurp lirc-0.8.4pre1.orig/remotes/apple/lircd.conf.macmini lirc-0.8.4pre1/remotes/apple/lircd.conf.macmini +--- lirc-0.8.4pre1.orig/remotes/apple/lircd.conf.macmini 2008-05-31 17:29:12.000000000 -0400 ++++ lirc-0.8.4pre1/remotes/apple/lircd.conf.macmini 2008-09-24 17:10:31.000000000 -0400 +@@ -26,12 +26,12 @@ begin remote + ignore_mask 0x0000ff01 begin codes -- 1 0x09 -- 2 0x06 -- 3 0x0A -- 4 0x0C -- 5 0x05 -- 6 0x03 -+ KEY_1 0x09 -+ KEY_2 0x06 -+ KEY_3 0x0A -+ KEY_4 0x0C -+ KEY_5 0x05 -+ KEY_6 0x03 +- VOLUP 0x0B +- VOLDOWN 0x0D +- BACKWARD 0x08 +- FORWARD 0x07 +- PLAY 0x04 +- MENU 0x02 ++ KEY_VOLUMEUP 0x0B ++ KEY_VOLUMEDOWN 0x0D ++ KEY_REWIND 0x08 ++ KEY_FORWARD 0x07 ++ KEY_PLAY 0x04 ++ KEY_MENU 0x02 end codes end remote -diff -upr lirc-0.8.3.orig/remotes/asus/lircd.conf.asus lirc-0.8.3/remotes/asus/lircd.conf.asus ---- lirc-0.8.3.orig/remotes/asus/lircd.conf.asus 2007-02-20 04:09:47.000000000 +0000 -+++ lirc-0.8.3/remotes/asus/lircd.conf.asus 2008-08-12 16:14:39.000000000 +0100 +diff -Naurp lirc-0.8.4pre1.orig/remotes/asus/lircd.conf.asus lirc-0.8.4pre1/remotes/asus/lircd.conf.asus +--- lirc-0.8.4pre1.orig/remotes/asus/lircd.conf.asus 2007-02-19 23:09:47.000000000 -0500 ++++ lirc-0.8.4pre1/remotes/asus/lircd.conf.asus 2008-09-24 17:06:37.000000000 -0400 @@ -19,38 +19,38 @@ begin remote toggle_bit 0 @@ -355,9 +355,9 @@ diff -upr lirc-0.8.3.orig/remotes/asus/lircd.conf.asus lirc-0.8.3/remotes/asus/l end codes end remote -diff -upr lirc-0.8.3.orig/remotes/asus/lircd.conf.asusdh lirc-0.8.3/remotes/asus/lircd.conf.asusdh ---- lirc-0.8.3.orig/remotes/asus/lircd.conf.asusdh 2007-07-08 15:01:27.000000000 +0100 -+++ lirc-0.8.3/remotes/asus/lircd.conf.asusdh 2008-08-12 16:14:39.000000000 +0100 +diff -Naurp lirc-0.8.4pre1.orig/remotes/asus/lircd.conf.asusdh lirc-0.8.4pre1/remotes/asus/lircd.conf.asusdh +--- lirc-0.8.4pre1.orig/remotes/asus/lircd.conf.asusdh 2007-07-08 10:01:27.000000000 -0400 ++++ lirc-0.8.4pre1/remotes/asus/lircd.conf.asusdh 2008-09-24 17:06:37.000000000 -0400 @@ -14,17 +14,17 @@ begin remote post_data_bits 0 @@ -382,9 +382,9 @@ diff -upr lirc-0.8.3.orig/remotes/asus/lircd.conf.asusdh lirc-0.8.3/remotes/asus end codes end remote -diff -upr lirc-0.8.3.orig/remotes/asus/lircd.conf.digimatrix lirc-0.8.3/remotes/asus/lircd.conf.digimatrix ---- lirc-0.8.3.orig/remotes/asus/lircd.conf.digimatrix 2005-09-06 18:12:17.000000000 +0100 -+++ lirc-0.8.3/remotes/asus/lircd.conf.digimatrix 2008-08-12 16:14:39.000000000 +0100 +diff -Naurp lirc-0.8.4pre1.orig/remotes/asus/lircd.conf.digimatrix lirc-0.8.4pre1/remotes/asus/lircd.conf.digimatrix +--- lirc-0.8.4pre1.orig/remotes/asus/lircd.conf.digimatrix 2005-09-06 13:12:17.000000000 -0400 ++++ lirc-0.8.4pre1/remotes/asus/lircd.conf.digimatrix 2008-09-24 17:06:37.000000000 -0400 @@ -28,43 +28,43 @@ begin remote @@ -461,9 +461,9 @@ diff -upr lirc-0.8.3.orig/remotes/asus/lircd.conf.digimatrix lirc-0.8.3/remotes/ dvd_audio 0x00000000000050AF ui_size 0x0000000000008877 ui_on_off 0x00000000000028D7 -diff -upr lirc-0.8.3.orig/remotes/atiusb/lircd.conf.atilibusb lirc-0.8.3/remotes/atiusb/lircd.conf.atilibusb ---- lirc-0.8.3.orig/remotes/atiusb/lircd.conf.atilibusb 2007-09-14 20:45:18.000000000 +0100 -+++ lirc-0.8.3/remotes/atiusb/lircd.conf.atilibusb 2008-08-12 16:14:39.000000000 +0100 +diff -Naurp lirc-0.8.4pre1.orig/remotes/atiusb/lircd.conf.atilibusb lirc-0.8.4pre1/remotes/atiusb/lircd.conf.atilibusb +--- lirc-0.8.4pre1.orig/remotes/atiusb/lircd.conf.atilibusb 2008-06-17 02:47:55.000000000 -0400 ++++ lirc-0.8.4pre1/remotes/atiusb/lircd.conf.atilibusb 2008-09-24 17:06:37.000000000 -0400 @@ -30,58 +30,58 @@ begin remote @@ -564,9 +564,9 @@ diff -upr lirc-0.8.3.orig/remotes/atiusb/lircd.conf.atilibusb lirc-0.8.3/remotes end codes end remote -diff -upr lirc-0.8.3.orig/remotes/atiusb/lircd.conf.atiusb lirc-0.8.3/remotes/atiusb/lircd.conf.atiusb ---- lirc-0.8.3.orig/remotes/atiusb/lircd.conf.atiusb 2008-08-12 16:13:39.000000000 +0100 -+++ lirc-0.8.3/remotes/atiusb/lircd.conf.atiusb 2008-08-12 16:14:39.000000000 +0100 +diff -Naurp lirc-0.8.4pre1.orig/remotes/atiusb/lircd.conf.atiusb lirc-0.8.4pre1/remotes/atiusb/lircd.conf.atiusb +--- lirc-0.8.4pre1.orig/remotes/atiusb/lircd.conf.atiusb 2008-09-24 17:05:54.000000000 -0400 ++++ lirc-0.8.4pre1/remotes/atiusb/lircd.conf.atiusb 2008-09-24 17:06:37.000000000 -0400 @@ -37,54 +37,54 @@ begin remote @@ -664,9 +664,9 @@ diff -upr lirc-0.8.3.orig/remotes/atiusb/lircd.conf.atiusb lirc-0.8.3/remotes/at end codes end remote -diff -upr lirc-0.8.3.orig/remotes/avermedia/lircd.conf.avermedia lirc-0.8.3/remotes/avermedia/lircd.conf.avermedia ---- lirc-0.8.3.orig/remotes/avermedia/lircd.conf.avermedia 2001-01-11 07:54:25.000000000 +0000 -+++ lirc-0.8.3/remotes/avermedia/lircd.conf.avermedia 2008-08-12 16:14:40.000000000 +0100 +diff -Naurp lirc-0.8.4pre1.orig/remotes/avermedia/lircd.conf.avermedia lirc-0.8.4pre1/remotes/avermedia/lircd.conf.avermedia +--- lirc-0.8.4pre1.orig/remotes/avermedia/lircd.conf.avermedia 2001-01-11 02:54:25.000000000 -0500 ++++ lirc-0.8.4pre1/remotes/avermedia/lircd.conf.avermedia 2008-09-24 17:06:37.000000000 -0400 @@ -34,37 +34,37 @@ begin remote @@ -729,9 +729,9 @@ diff -upr lirc-0.8.3.orig/remotes/avermedia/lircd.conf.avermedia lirc-0.8.3/remo end codes end remote -diff -upr lirc-0.8.3.orig/remotes/avermedia/lircd.conf.avermedia98 lirc-0.8.3/remotes/avermedia/lircd.conf.avermedia98 ---- lirc-0.8.3.orig/remotes/avermedia/lircd.conf.avermedia98 2001-01-10 22:08:00.000000000 +0000 -+++ lirc-0.8.3/remotes/avermedia/lircd.conf.avermedia98 2008-08-12 16:14:40.000000000 +0100 +diff -Naurp lirc-0.8.4pre1.orig/remotes/avermedia/lircd.conf.avermedia98 lirc-0.8.4pre1/remotes/avermedia/lircd.conf.avermedia98 +--- lirc-0.8.4pre1.orig/remotes/avermedia/lircd.conf.avermedia98 2001-01-10 17:08:00.000000000 -0500 ++++ lirc-0.8.4pre1/remotes/avermedia/lircd.conf.avermedia98 2008-09-24 17:06:37.000000000 -0400 @@ -29,49 +29,49 @@ begin remote begin codes @@ -811,9 +811,9 @@ diff -upr lirc-0.8.3.orig/remotes/avermedia/lircd.conf.avermedia98 lirc-0.8.3/re end codes end remote -diff -upr lirc-0.8.3.orig/remotes/avermedia/lircd.conf.vdomate lirc-0.8.3/remotes/avermedia/lircd.conf.vdomate ---- lirc-0.8.3.orig/remotes/avermedia/lircd.conf.vdomate 2002-10-25 21:42:55.000000000 +0100 -+++ lirc-0.8.3/remotes/avermedia/lircd.conf.vdomate 2008-08-12 16:14:40.000000000 +0100 +diff -Naurp lirc-0.8.4pre1.orig/remotes/avermedia/lircd.conf.vdomate lirc-0.8.4pre1/remotes/avermedia/lircd.conf.vdomate +--- lirc-0.8.4pre1.orig/remotes/avermedia/lircd.conf.vdomate 2002-10-25 16:42:55.000000000 -0400 ++++ lirc-0.8.4pre1/remotes/avermedia/lircd.conf.vdomate 2008-09-24 17:06:37.000000000 -0400 @@ -27,33 +27,33 @@ begin remote @@ -866,9 +866,9 @@ diff -upr lirc-0.8.3.orig/remotes/avermedia/lircd.conf.vdomate lirc-0.8.3/remote end codes end remote -diff -upr lirc-0.8.3.orig/remotes/bestbuy/lircd.conf.bestbuy lirc-0.8.3/remotes/bestbuy/lircd.conf.bestbuy ---- lirc-0.8.3.orig/remotes/bestbuy/lircd.conf.bestbuy 2001-04-25 21:07:50.000000000 +0100 -+++ lirc-0.8.3/remotes/bestbuy/lircd.conf.bestbuy 2008-08-12 16:14:39.000000000 +0100 +diff -Naurp lirc-0.8.4pre1.orig/remotes/bestbuy/lircd.conf.bestbuy lirc-0.8.4pre1/remotes/bestbuy/lircd.conf.bestbuy +--- lirc-0.8.4pre1.orig/remotes/bestbuy/lircd.conf.bestbuy 2001-04-25 16:07:50.000000000 -0400 ++++ lirc-0.8.4pre1/remotes/bestbuy/lircd.conf.bestbuy 2008-09-24 17:06:37.000000000 -0400 @@ -26,36 +26,36 @@ begin remote @@ -931,9 +931,9 @@ diff -upr lirc-0.8.3.orig/remotes/bestbuy/lircd.conf.bestbuy lirc-0.8.3/remotes/ end codes end remote -diff -upr lirc-0.8.3.orig/remotes/bestbuy/lircd.conf.bestbuy2 lirc-0.8.3/remotes/bestbuy/lircd.conf.bestbuy2 ---- lirc-0.8.3.orig/remotes/bestbuy/lircd.conf.bestbuy2 2005-10-29 21:10:15.000000000 +0100 -+++ lirc-0.8.3/remotes/bestbuy/lircd.conf.bestbuy2 2008-08-12 16:14:39.000000000 +0100 +diff -Naurp lirc-0.8.4pre1.orig/remotes/bestbuy/lircd.conf.bestbuy2 lirc-0.8.4pre1/remotes/bestbuy/lircd.conf.bestbuy2 +--- lirc-0.8.4pre1.orig/remotes/bestbuy/lircd.conf.bestbuy2 2005-10-29 16:10:15.000000000 -0400 ++++ lirc-0.8.4pre1/remotes/bestbuy/lircd.conf.bestbuy2 2008-09-24 17:06:37.000000000 -0400 @@ -27,29 +27,29 @@ begin remote begin codes TV/FM 0x0000000000000043 @@ -983,9 +983,9 @@ diff -upr lirc-0.8.3.orig/remotes/bestbuy/lircd.conf.bestbuy2 lirc-0.8.3/remotes RESET 0x000000000000004D FREEZE 0x000000000000004F end codes -diff -upr lirc-0.8.3.orig/remotes/caraca/lircd.conf.caraca lirc-0.8.3/remotes/caraca/lircd.conf.caraca ---- lirc-0.8.3.orig/remotes/caraca/lircd.conf.caraca 2000-08-25 20:21:17.000000000 +0100 -+++ lirc-0.8.3/remotes/caraca/lircd.conf.caraca 2008-08-12 16:14:40.000000000 +0100 +diff -Naurp lirc-0.8.4pre1.orig/remotes/caraca/lircd.conf.caraca lirc-0.8.4pre1/remotes/caraca/lircd.conf.caraca +--- lirc-0.8.4pre1.orig/remotes/caraca/lircd.conf.caraca 2000-08-25 15:21:17.000000000 -0400 ++++ lirc-0.8.4pre1/remotes/caraca/lircd.conf.caraca 2008-09-24 17:06:37.000000000 -0400 @@ -17,29 +17,29 @@ begin remote bits 16 @@ -1037,9 +1037,9 @@ diff -upr lirc-0.8.3.orig/remotes/caraca/lircd.conf.caraca lirc-0.8.3/remotes/ca TV/FM 0x3fe3 end codes -diff -upr lirc-0.8.3.orig/remotes/chronos/lircd.conf.chronos lirc-0.8.3/remotes/chronos/lircd.conf.chronos ---- lirc-0.8.3.orig/remotes/chronos/lircd.conf.chronos 2008-08-12 16:13:39.000000000 +0100 -+++ lirc-0.8.3/remotes/chronos/lircd.conf.chronos 2008-08-12 16:14:39.000000000 +0100 +diff -Naurp lirc-0.8.4pre1.orig/remotes/chronos/lircd.conf.chronos lirc-0.8.4pre1/remotes/chronos/lircd.conf.chronos +--- lirc-0.8.4pre1.orig/remotes/chronos/lircd.conf.chronos 2008-09-24 17:05:54.000000000 -0400 ++++ lirc-0.8.4pre1/remotes/chronos/lircd.conf.chronos 2008-09-24 17:06:37.000000000 -0400 @@ -20,37 +20,37 @@ begin remote toggle_bit 0 @@ -1103,9 +1103,9 @@ diff -upr lirc-0.8.3.orig/remotes/chronos/lircd.conf.chronos lirc-0.8.3/remotes/ + KEY_RIGHT 0x0000000000000007 end codes end remote -diff -upr lirc-0.8.3.orig/remotes/cph03x/lircd.conf.cph03x lirc-0.8.3/remotes/cph03x/lircd.conf.cph03x ---- lirc-0.8.3.orig/remotes/cph03x/lircd.conf.cph03x 2001-06-14 16:49:16.000000000 +0100 -+++ lirc-0.8.3/remotes/cph03x/lircd.conf.cph03x 2008-08-12 16:14:40.000000000 +0100 +diff -Naurp lirc-0.8.4pre1.orig/remotes/cph03x/lircd.conf.cph03x lirc-0.8.4pre1/remotes/cph03x/lircd.conf.cph03x +--- lirc-0.8.4pre1.orig/remotes/cph03x/lircd.conf.cph03x 2001-06-14 11:49:16.000000000 -0400 ++++ lirc-0.8.4pre1/remotes/cph03x/lircd.conf.cph03x 2008-09-24 17:06:37.000000000 -0400 @@ -32,39 +32,39 @@ begin remote repeat_bit 0 @@ -1169,9 +1169,9 @@ diff -upr lirc-0.8.3.orig/remotes/cph03x/lircd.conf.cph03x lirc-0.8.3/remotes/cp end codes end remote -diff -upr lirc-0.8.3.orig/remotes/creative/lircd.conf.alsa_usb lirc-0.8.3/remotes/creative/lircd.conf.alsa_usb ---- lirc-0.8.3.orig/remotes/creative/lircd.conf.alsa_usb 2008-01-26 09:01:16.000000000 +0000 -+++ lirc-0.8.3/remotes/creative/lircd.conf.alsa_usb 2008-08-12 16:14:40.000000000 +0100 +diff -Naurp lirc-0.8.4pre1.orig/remotes/creative/lircd.conf.alsa_usb lirc-0.8.4pre1/remotes/creative/lircd.conf.alsa_usb +--- lirc-0.8.4pre1.orig/remotes/creative/lircd.conf.alsa_usb 2008-01-26 04:01:16.000000000 -0500 ++++ lirc-0.8.4pre1/remotes/creative/lircd.conf.alsa_usb 2008-09-24 17:06:37.000000000 -0400 @@ -34,38 +34,38 @@ begin remote @@ -1238,9 +1238,9 @@ diff -upr lirc-0.8.3.orig/remotes/creative/lircd.conf.alsa_usb lirc-0.8.3/remote Step 0x0000000000007E81 end codes -diff -upr lirc-0.8.3.orig/remotes/creative/lircd.conf.breakoutbox lirc-0.8.3/remotes/creative/lircd.conf.breakoutbox ---- lirc-0.8.3.orig/remotes/creative/lircd.conf.breakoutbox 2007-02-20 04:08:04.000000000 +0000 -+++ lirc-0.8.3/remotes/creative/lircd.conf.breakoutbox 2008-08-12 16:14:40.000000000 +0100 +diff -Naurp lirc-0.8.4pre1.orig/remotes/creative/lircd.conf.breakoutbox lirc-0.8.4pre1/remotes/creative/lircd.conf.breakoutbox +--- lirc-0.8.4pre1.orig/remotes/creative/lircd.conf.breakoutbox 2007-02-19 23:08:04.000000000 -0500 ++++ lirc-0.8.4pre1/remotes/creative/lircd.conf.breakoutbox 2008-09-24 17:06:37.000000000 -0400 @@ -19,37 +19,37 @@ begin remote begin codes DVD/CD 0x0000000000000001 @@ -1305,9 +1305,9 @@ diff -upr lirc-0.8.3.orig/remotes/creative/lircd.conf.breakoutbox lirc-0.8.3/rem end codes end remote -diff -upr lirc-0.8.3.orig/remotes/creative/lircd.conf.creative lirc-0.8.3/remotes/creative/lircd.conf.creative ---- lirc-0.8.3.orig/remotes/creative/lircd.conf.creative 2007-03-10 20:15:49.000000000 +0000 -+++ lirc-0.8.3/remotes/creative/lircd.conf.creative 2008-08-12 16:14:40.000000000 +0100 +diff -Naurp lirc-0.8.4pre1.orig/remotes/creative/lircd.conf.creative lirc-0.8.4pre1/remotes/creative/lircd.conf.creative +--- lirc-0.8.4pre1.orig/remotes/creative/lircd.conf.creative 2007-03-10 15:15:49.000000000 -0500 ++++ lirc-0.8.4pre1/remotes/creative/lircd.conf.creative 2008-09-24 17:06:37.000000000 -0400 @@ -23,30 +23,30 @@ begin remote toggle_bit 0 @@ -1358,9 +1358,9 @@ diff -upr lirc-0.8.3.orig/remotes/creative/lircd.conf.creative lirc-0.8.3/remote end codes end remote -diff -upr lirc-0.8.3.orig/remotes/creative/lircd.conf.infracd lirc-0.8.3/remotes/creative/lircd.conf.infracd ---- lirc-0.8.3.orig/remotes/creative/lircd.conf.infracd 2003-05-07 18:30:41.000000000 +0100 -+++ lirc-0.8.3/remotes/creative/lircd.conf.infracd 2008-08-12 16:14:40.000000000 +0100 +diff -Naurp lirc-0.8.4pre1.orig/remotes/creative/lircd.conf.infracd lirc-0.8.4pre1/remotes/creative/lircd.conf.infracd +--- lirc-0.8.4pre1.orig/remotes/creative/lircd.conf.infracd 2003-05-07 13:30:41.000000000 -0400 ++++ lirc-0.8.4pre1/remotes/creative/lircd.conf.infracd 2008-09-24 17:06:37.000000000 -0400 @@ -30,30 +30,30 @@ begin remote @@ -1414,9 +1414,9 @@ diff -upr lirc-0.8.3.orig/remotes/creative/lircd.conf.infracd lirc-0.8.3/remotes end codes end remote -diff -upr lirc-0.8.3.orig/remotes/creative/lircd.conf.livedrive lirc-0.8.3/remotes/creative/lircd.conf.livedrive ---- lirc-0.8.3.orig/remotes/creative/lircd.conf.livedrive 2008-08-12 16:13:39.000000000 +0100 -+++ lirc-0.8.3/remotes/creative/lircd.conf.livedrive 2008-08-12 16:14:40.000000000 +0100 +diff -Naurp lirc-0.8.4pre1.orig/remotes/creative/lircd.conf.livedrive lirc-0.8.4pre1/remotes/creative/lircd.conf.livedrive +--- lirc-0.8.4pre1.orig/remotes/creative/lircd.conf.livedrive 2008-09-24 17:05:54.000000000 -0400 ++++ lirc-0.8.4pre1/remotes/creative/lircd.conf.livedrive 2008-09-24 17:06:37.000000000 -0400 @@ -29,40 +29,40 @@ begin remote @@ -1486,9 +1486,9 @@ diff -upr lirc-0.8.3.orig/remotes/creative/lircd.conf.livedrive lirc-0.8.3/remot end codes -diff -upr lirc-0.8.3.orig/remotes/dvico/lircd.conf.fusionHDTV lirc-0.8.3/remotes/dvico/lircd.conf.fusionHDTV ---- lirc-0.8.3.orig/remotes/dvico/lircd.conf.fusionHDTV 2006-05-06 05:38:39.000000000 +0100 -+++ lirc-0.8.3/remotes/dvico/lircd.conf.fusionHDTV 2008-08-12 16:14:39.000000000 +0100 +diff -Naurp lirc-0.8.4pre1.orig/remotes/dvico/lircd.conf.fusionHDTV lirc-0.8.4pre1/remotes/dvico/lircd.conf.fusionHDTV +--- lirc-0.8.4pre1.orig/remotes/dvico/lircd.conf.fusionHDTV 2006-05-06 00:38:39.000000000 -0400 ++++ lirc-0.8.4pre1/remotes/dvico/lircd.conf.fusionHDTV 2008-09-24 17:06:37.000000000 -0400 @@ -22,42 +22,42 @@ begin remote toggle_bit 0 @@ -1563,9 +1563,9 @@ diff -upr lirc-0.8.3.orig/remotes/dvico/lircd.conf.fusionHDTV lirc-0.8.3/remotes end codes end remote -diff -upr lirc-0.8.3.orig/remotes/ea65/lircd.conf.ea65 lirc-0.8.3/remotes/ea65/lircd.conf.ea65 ---- lirc-0.8.3.orig/remotes/ea65/lircd.conf.ea65 2004-11-20 13:43:48.000000000 +0000 -+++ lirc-0.8.3/remotes/ea65/lircd.conf.ea65 2008-08-12 16:14:39.000000000 +0100 +diff -Naurp lirc-0.8.4pre1.orig/remotes/ea65/lircd.conf.ea65 lirc-0.8.4pre1/remotes/ea65/lircd.conf.ea65 +--- lirc-0.8.4pre1.orig/remotes/ea65/lircd.conf.ea65 2004-11-20 08:43:48.000000000 -0500 ++++ lirc-0.8.4pre1/remotes/ea65/lircd.conf.ea65 2008-09-24 17:06:37.000000000 -0400 @@ -18,53 +18,53 @@ begin remote htpc 0x0011811b dvd/vcd 0x00128100 @@ -1654,9 +1654,9 @@ diff -upr lirc-0.8.3.orig/remotes/ea65/lircd.conf.ea65 lirc-0.8.3/remotes/ea65/l stop-eject 0x00238107 mode- 0x00ff1080 mode+ 0x00ff1180 -diff -upr lirc-0.8.3.orig/remotes/ericsson/lircd.conf.bte lirc-0.8.3/remotes/ericsson/lircd.conf.bte ---- lirc-0.8.3.orig/remotes/ericsson/lircd.conf.bte 2005-03-25 20:40:25.000000000 +0000 -+++ lirc-0.8.3/remotes/ericsson/lircd.conf.bte 2008-08-12 16:14:39.000000000 +0100 +diff -Naurp lirc-0.8.4pre1.orig/remotes/ericsson/lircd.conf.bte lirc-0.8.4pre1/remotes/ericsson/lircd.conf.bte +--- lirc-0.8.4pre1.orig/remotes/ericsson/lircd.conf.bte 2005-03-25 15:40:25.000000000 -0500 ++++ lirc-0.8.4pre1/remotes/ericsson/lircd.conf.bte 2008-09-24 17:06:37.000000000 -0400 @@ -15,38 +15,38 @@ begin remote bits 16 @@ -1719,9 +1719,9 @@ diff -upr lirc-0.8.3.orig/remotes/ericsson/lircd.conf.bte lirc-0.8.3/remotes/eri WAP 0x3a4f # ':O' end codes -diff -upr lirc-0.8.3.orig/remotes/hauppauge/lircd.conf.hauppauge lirc-0.8.3/remotes/hauppauge/lircd.conf.hauppauge ---- lirc-0.8.3.orig/remotes/hauppauge/lircd.conf.hauppauge 2005-10-05 21:28:15.000000000 +0100 -+++ lirc-0.8.3/remotes/hauppauge/lircd.conf.hauppauge 2008-08-12 16:14:39.000000000 +0100 +diff -Naurp lirc-0.8.4pre1.orig/remotes/hauppauge/lircd.conf.hauppauge lirc-0.8.4pre1/remotes/hauppauge/lircd.conf.hauppauge +--- lirc-0.8.4pre1.orig/remotes/hauppauge/lircd.conf.hauppauge 2008-06-24 13:01:10.000000000 -0400 ++++ lirc-0.8.4pre1/remotes/hauppauge/lircd.conf.hauppauge 2008-09-24 17:06:37.000000000 -0400 @@ -27,25 +27,25 @@ begin remote repeat_bit 2 @@ -1765,9 +1765,9 @@ diff -upr lirc-0.8.3.orig/remotes/hauppauge/lircd.conf.hauppauge lirc-0.8.3/remo RESERVED 0x000000000000101E MINIMIZE 0x0000000000001026 end codes -diff -upr lirc-0.8.3.orig/remotes/hercules/lircd.conf.smarttv_stereo lirc-0.8.3/remotes/hercules/lircd.conf.smarttv_stereo ---- lirc-0.8.3.orig/remotes/hercules/lircd.conf.smarttv_stereo 2008-08-12 16:13:39.000000000 +0100 -+++ lirc-0.8.3/remotes/hercules/lircd.conf.smarttv_stereo 2008-08-12 16:14:39.000000000 +0100 +diff -Naurp lirc-0.8.4pre1.orig/remotes/hercules/lircd.conf.smarttv_stereo lirc-0.8.4pre1/remotes/hercules/lircd.conf.smarttv_stereo +--- lirc-0.8.4pre1.orig/remotes/hercules/lircd.conf.smarttv_stereo 2008-09-24 17:05:54.000000000 -0400 ++++ lirc-0.8.4pre1/remotes/hercules/lircd.conf.smarttv_stereo 2008-09-24 17:06:37.000000000 -0400 @@ -26,36 +26,36 @@ begin remote @@ -1828,9 +1828,9 @@ diff -upr lirc-0.8.3.orig/remotes/hercules/lircd.conf.smarttv_stereo lirc-0.8.3/ end codes end remote -diff -upr lirc-0.8.3.orig/remotes/imon/lircd.conf.imon lirc-0.8.3/remotes/imon/lircd.conf.imon ---- lirc-0.8.3.orig/remotes/imon/lircd.conf.imon 2005-04-16 18:05:49.000000000 +0100 -+++ lirc-0.8.3/remotes/imon/lircd.conf.imon 2008-08-12 16:14:39.000000000 +0100 +diff -Naurp lirc-0.8.4pre1.orig/remotes/imon/lircd.conf.imon lirc-0.8.4pre1/remotes/imon/lircd.conf.imon +--- lirc-0.8.4pre1.orig/remotes/imon/lircd.conf.imon 2005-04-16 13:05:49.000000000 -0400 ++++ lirc-0.8.4pre1/remotes/imon/lircd.conf.imon 2008-09-24 17:06:37.000000000 -0400 @@ -29,48 +29,48 @@ begin remote duty_cycle 33 @@ -1916,144 +1916,10 @@ diff -upr lirc-0.8.3.orig/remotes/imon/lircd.conf.imon lirc-0.8.3/remotes/imon/l DVD.Caption 0x00000000000052AD DVD.Language 0x000000000000D22D Full.Screen 0x00000000000032CD -diff -upr lirc-0.8.3.orig/remotes/imon/lircd.conf.imon-2.4g lirc-0.8.3/remotes/imon/lircd.conf.imon-2.4g ---- lirc-0.8.3.orig/remotes/imon/lircd.conf.imon-2.4g 2007-03-18 10:23:34.000000000 +0000 -+++ lirc-0.8.3/remotes/imon/lircd.conf.imon-2.4g 2008-08-12 16:14:39.000000000 +0100 -@@ -20,69 +20,69 @@ begin remote - - - begin codes -- Power 0xBB4403FC -+ KEY_POWER 0xBB4403FC - -- RAppExit 0xBB4431CE -- REject 0xBB4432CD -- RAppLauncher 0xBB4437C8 -- RTaskSwitcher 0xBB4439C6 -- RBack 0xBB443DC2 -- RSelect 0xBB443FC0 -- RChannelUp 0xBB443EC1 -- RChannelDown 0xBB4443BC -- RVolumeUp 0xBB4445BA -- RVolumeDown 0xBB4444BB -- RNext 0xBB444CB3 -- RPrev 0xBB444DB2 -- RFf 0xBB444FB0 -- RRew 0xBB444EB1 -- RI 0xBB4450AF -- RMute 0xBB4449B6 -- RTv 0xBB444AB5 -- RMenu 0xBB444BB4 -- R1 0xBB4434CB -- R2 0xBB4435CA -- R3 0xBB4436C9 -- R4 0xBB443AC5 -- R5 0xBB443BC4 -- R6 0xBB443CC3 -- R7 0xBB4440BF -- R8 0xBB4441BE -- R9 0xBB4442BD -- RSkipBack 0xBB4446B9 -- R0 0xBB4447B8 -- RSkipFwd 0xBB4448B7 -+ 0xBB4431CE -+ 0xBB4432CD -+ 0xBB4437C8 -+ 0xBB4439C6 -+ 0xBB443DC2 -+ 0xBB443FC0 -+ 0xBB443EC1 -+ 0xBB4443BC -+ 0xBB4445BA -+ 0xBB4444BB -+ 0xBB444CB3 -+ 0xBB444DB2 -+ 0xBB444FB0 -+ 0xBB444EB1 -+ 0xBB4450AF -+ 0xBB4449B6 -+ 0xBB444AB5 -+ 0xBB444BB4 -+ 0xBB4434CB -+ 0xBB4435CA -+ 0xBB4436C9 -+ 0xBB443AC5 -+ 0xBB443BC4 -+ 0xBB443CC3 -+ 0xBB4440BF -+ 0xBB4441BE -+ 0xBB4442BD -+ 0xBB4446B9 -+ 0xBB4447B8 -+ 0xBB4448B7 - -- GAppExit 0xBB4401FE -- GEject 0xBB4402FD -- GAppLauncher 0xBB4407F8 -- GTaskSwitcher 0xBB4409F6 -- GBack 0xBB440DF2 -- GSelect 0xBB440FF0 -- GChannelUp 0xBB440EF1 -- GChannelDown 0xBB4413EC -- GVolumeUp 0xBB4415EA -- GVolumeDown 0xBB4414EB -- GNext 0xBB441CE3 -- GPrev 0xBB441DE2 -- GFf 0xBB441FE0 -- GRew 0xBB441EE1 -- GI 0xBB4420DF -- GMute 0xBB4419E6 -- GTv 0xBB441AE5 -- GMenu 0xBB441BE4 -- G1 0xBB4404FB -- G2 0xBB4405FA -- G3 0xBB4406F9 -- G4 0xBB440AF5 -- G5 0xBB440BF4 -- G6 0xBB440CF3 -- G7 0xBB4410EF -- G8 0xBB4411EE -- G9 0xBB4412ED -- GSkipBack 0xBB4416E9 -- G0 0xBB4417E8 -- GSkipFwd 0xBB4418E7 -+ 0xBB4401FE -+ 0xBB4402FD -+ 0xBB4407F8 -+ 0xBB4409F6 -+ 0xBB440DF2 -+ 0xBB440FF0 -+ 0xBB440EF1 -+ 0xBB4413EC -+ 0xBB4415EA -+ 0xBB4414EB -+ 0xBB441CE3 -+ 0xBB441DE2 -+ 0xBB441FE0 -+ 0xBB441EE1 -+ 0xBB4420DF -+ 0xBB4419E6 -+ 0xBB441AE5 -+ 0xBB441BE4 -+ 0xBB4404FB -+ 0xBB4405FA -+ 0xBB4406F9 -+ 0xBB440AF5 -+ 0xBB440BF4 -+ 0xBB440CF3 -+ 0xBB4410EF -+ 0xBB4411EE -+ 0xBB4412ED -+ 0xBB4416E9 -+ 0xBB4417E8 -+ 0xBB4418E7 - end codes - - end remote -diff -upr lirc-0.8.3.orig/remotes/imon/lircd.conf.imon-knob lirc-0.8.3/remotes/imon/lircd.conf.imon-knob ---- lirc-0.8.3.orig/remotes/imon/lircd.conf.imon-knob 2006-12-29 13:03:50.000000000 +0000 -+++ lirc-0.8.3/remotes/imon/lircd.conf.imon-knob 2008-08-12 16:14:39.000000000 +0100 -@@ -23,67 +23,67 @@ begin remote +diff -Naurp lirc-0.8.4pre1.orig/remotes/imon/lircd.conf.imon-knob lirc-0.8.4pre1/remotes/imon/lircd.conf.imon-knob +--- lirc-0.8.4pre1.orig/remotes/imon/lircd.conf.imon-knob 2008-06-12 15:32:33.000000000 -0400 ++++ lirc-0.8.4pre1/remotes/imon/lircd.conf.imon-knob 2008-09-24 17:41:09.000000000 -0400 +@@ -23,74 +23,67 @@ begin remote begin codes @@ -2070,26 +1936,27 @@ diff -upr lirc-0.8.3.orig/remotes/imon/lircd.conf.imon-knob lirc-0.8.3/remotes/i - FastForward 0x2B8115B7 - PrevChapter 0x2B9115B7 - Stop 0x2B9715B7 -- NextChapter 0x298195BF -+ KEY_EXIT 0x288195B7 -+ KEY_POWER 0x289115B7 -+ KEY_RECORD 0x298115B7 -+ KEY_PLAY 0x2A8115B7 -+ KEY_OPEN 0x29B195B7 -+ KEY_VOLUMEUP 0x000100FF -+ KEY_VOLUMEDOWN 0x010000FF +- NextChapter 0x298195B7 ++ KEY_EXIT 0x288195B7 ++ KEY_POWER 0x289115B7 ++ KEY_RECORD 0x298115B7 ++ KEY_PLAY 0x2A8115B7 ++ KEY_OPEN 0x29B195B7 ++ KEY_VOLUMEUP 0x000100FF ++ KEY_VOLUMEDOWN 0x010000FF + KEY_MUTE 0x000008FF -+ KEY_REWIND 0x2A8195B7 -+ KEY_PAUSE 0x2A9115B7 -+ KEY_FASTFORWARD 0x2B8115B7 -+ KEY_PREVIOUS 0x2B9115B7 -+ KEY_STOP 0x2B9715B7 -+ KEY_NEXT 0x298195BF ++ KEY_REWIND 0x2A8195B7 ++ KEY_PAUSE 0x2A9115B7 ++ KEY_FASTFORWARD 0x2B8115B7 ++ KEY_PREVIOUS 0x2B9115B7 ++ KEY_STOP 0x2B9715B7 ++ KEY_NEXT 0x298195B7 WindowsKey 0x2B8195B7 - Backspace 0x28A115B7 -+ KEY_BACKSPACE 0x28A115B7 ++ KEY_BACKSPACE 0x28A115B7 MouseKeyboard 0x299115B7 - SelectSpace 0x2A9315B7 +- SelectSpace 0x2A9315B7 ++ KEY_SELECT 0x2A9315B7 MouseMenu 0x28B715B7 - MouseRightClick 0x688481B7 - Enter 0x28A195B7 @@ -2100,15 +1967,15 @@ diff -upr lirc-0.8.3.orig/remotes/imon/lircd.conf.imon-knob lirc-0.8.3/remotes/i - CursorDown 0x6882A1B7 - Esc 0x2BB715B7 - Eject 0x299395B7 -+ BTN_RIGHT 0x688481B7 -+ KEY_ENTER 0x28A195B7 -+ BTN_LEFT 0x688301B7 -+ KEY_LEFT 0x6ABA81B7 -+ KEY_UP 0x6902F9B7 -+ KEY_RIGHT 0x68A281B7 -+ KEY_DOWN 0x6882A1B7 -+ KEY_ESC 0x2BB715B7 -+ KEY_EJECTCD 0x299395B7 ++ BTN_RIGHT 0x688481B7 ++ KEY_ENTER 0x28A195B7 ++ BTN_LEFT 0x688301B7 ++ KEY_LEFT 0x6ABA81B7 ++ KEY_UP 0x6902F9B7 ++ KEY_RIGHT 0x68A281B7 ++ KEY_DOWN 0x6882A1B7 ++ KEY_ESC 0x2BB715B7 ++ KEY_EJECTCD 0x299395B7 AppLauncher 0x29B715B7 MultiMon 0x2AB195B7 TaskSwitcher 0x2A9395B7 @@ -2117,11 +1984,11 @@ diff -upr lirc-0.8.3.orig/remotes/imon/lircd.conf.imon-knob lirc-0.8.3/remotes/i - VolDown 0x28A595B7 - ChUp 0x289395B7 - ChDown 0x288795B7 -+ KEY_MUTE 0x2B9595B7 -+ KEY_VOLUMEUP 0x28A395B7 -+ KEY_VOLUMEDOWN 0x28A595B7 -+ KEY_CHANNELUP 0x289395B7 -+ KEY_CHANNELDOWN 0x288795B7 ++ KEY_MUTE 0x2B9595B7 ++ KEY_VOLUMEUP 0x28A395B7 ++ KEY_VOLUMEDOWN 0x28A595B7 ++ KEY_CHANNELUP 0x289395B7 ++ KEY_CHANNELDOWN 0x288795B7 Timer 0x2B8395B7 - 1 0x28B595B7 - 2 0x2BB195B7 @@ -2132,45 +1999,53 @@ diff -upr lirc-0.8.3.orig/remotes/imon/lircd.conf.imon-knob lirc-0.8.3/remotes/i - 7 0x2B9395B7 - 8 0x2A8515B7 - 9 0x2AA115B7 -+ KEY_1 0x28B595B7 -+ KEY_2 0x2BB195B7 -+ KEY_3 0x28B195B7 -+ KEY_4 0x2A8595B7 -+ KEY_5 0x299595B7 -+ KEY_6 0x2AA595B7 -+ KEY_7 0x2B9395B7 -+ KEY_8 0x2A8515B7 -+ KEY_9 0x2AA115B7 ++ KEY_1 0x28B595B7 ++ KEY_2 0x2BB195B7 ++ KEY_3 0x28B195B7 ++ KEY_4 0x2A8595B7 ++ KEY_5 0x299595B7 ++ KEY_6 0x2AA595B7 ++ KEY_7 0x2B9395B7 ++ KEY_8 0x2A8515B7 ++ KEY_9 0x2AA115B7 ShiftTab 0x28B515B7 -- 0 0x2BA595BF +- 0 0x2BA595B7 - Tab 0x29A115B7 - MyMovie 0x2B8515B7 - MyMusic 0x299195B7 -+ KEY_0 0x2BA595BF -+ KEY_TAB 0x29A115B7 -+ KEY_VIDEO 0x2B8515B7 -+ KEY_AUDIO 0x299195B7 - MyPhoto 0x2BA115B7 +- MyPhoto 0x2BA115B7 - MyTV 0x28A515B7 - Bookmark 0x288515B7 -+ KEY_TV 0x28A515B7 -+ KEY_BOOKMARKS 0x288515B7 - Thumbnail 0x2AB715BF ++ KEY_0 0x2BA595B7 ++ KEY_TAB 0x29A115B7 ++ KEY_VIDEO 0x2B8515B7 ++ KEY_AUDIO 0x299195B7 ++ KEY_PHOTO 0x2BA115B7 ++ KEY_TV 0x28A515B7 ++ KEY_BOOKMARKS 0x288515B7 + Thumbnail 0x2AB715B7 AspectRatio 0x29A595B7 - FullScreen 0x2AA395BF + FullScreen 0x2AA395B7 - MyDVD 0x29A295B7 - Menu 0x2BA385B7 -+ KEY_DVD 0x29A295B7 -+ KEY_MENU 0x2BA385B7 ++ KEY_DVD 0x29A295B7 ++ KEY_MENU 0x2BA385B7 Caption 0x298595B7 - Language 0x2B8595B7 -+ KEY_LANGUAGE 0x2B8595B7 +-# these codes may be wrong, but they were included in the first version of +-# this config file +- 0 0x2BA595BF +- NextChapter 0x298195BF +- Thumbnail 0x2AB715BF +- FullScreen 0x2AA395BF +- ++ KEY_LANGUAGE 0x2B8595B7 end codes end remote -diff -upr lirc-0.8.3.orig/remotes/imon/lircd.conf.imon-pad lirc-0.8.3/remotes/imon/lircd.conf.imon-pad ---- lirc-0.8.3.orig/remotes/imon/lircd.conf.imon-pad 2006-11-28 03:18:23.000000000 +0000 -+++ lirc-0.8.3/remotes/imon/lircd.conf.imon-pad 2008-08-12 16:14:39.000000000 +0100 +diff -Naurp lirc-0.8.4pre1.orig/remotes/imon/lircd.conf.imon-pad lirc-0.8.4pre1/remotes/imon/lircd.conf.imon-pad +--- lirc-0.8.4pre1.orig/remotes/imon/lircd.conf.imon-pad 2006-11-27 22:18:23.000000000 -0500 ++++ lirc-0.8.4pre1/remotes/imon/lircd.conf.imon-pad 2008-09-24 17:06:37.000000000 -0400 @@ -24,65 +24,65 @@ begin remote @@ -2280,9 +2155,9 @@ diff -upr lirc-0.8.3.orig/remotes/imon/lircd.conf.imon-pad lirc-0.8.3/remotes/im end codes -diff -upr lirc-0.8.3.orig/remotes/imon/lircd.conf.imon-rsc lirc-0.8.3/remotes/imon/lircd.conf.imon-rsc ---- lirc-0.8.3.orig/remotes/imon/lircd.conf.imon-rsc 2007-02-18 08:36:27.000000000 +0000 -+++ lirc-0.8.3/remotes/imon/lircd.conf.imon-rsc 2008-08-12 16:14:39.000000000 +0100 +diff -Naurp lirc-0.8.4pre1.orig/remotes/imon/lircd.conf.imon-rsc lirc-0.8.4pre1/remotes/imon/lircd.conf.imon-rsc +--- lirc-0.8.4pre1.orig/remotes/imon/lircd.conf.imon-rsc 2007-02-18 03:36:27.000000000 -0500 ++++ lirc-0.8.4pre1/remotes/imon/lircd.conf.imon-rsc 2008-09-24 17:06:37.000000000 -0400 @@ -27,48 +27,48 @@ begin remote gap 100000 @@ -2364,9 +2239,9 @@ diff -upr lirc-0.8.3.orig/remotes/imon/lircd.conf.imon-rsc lirc-0.8.3/remotes/im Full.Screen 0x000000000000916e end codes -diff -upr lirc-0.8.3.orig/remotes/iodata/lircd.conf.gvbctv5pci lirc-0.8.3/remotes/iodata/lircd.conf.gvbctv5pci ---- lirc-0.8.3.orig/remotes/iodata/lircd.conf.gvbctv5pci 2003-06-07 23:00:12.000000000 +0100 -+++ lirc-0.8.3/remotes/iodata/lircd.conf.gvbctv5pci 2008-08-12 16:14:40.000000000 +0100 +diff -Naurp lirc-0.8.4pre1.orig/remotes/iodata/lircd.conf.gvbctv5pci lirc-0.8.4pre1/remotes/iodata/lircd.conf.gvbctv5pci +--- lirc-0.8.4pre1.orig/remotes/iodata/lircd.conf.gvbctv5pci 2003-06-07 18:00:12.000000000 -0400 ++++ lirc-0.8.4pre1/remotes/iodata/lircd.conf.gvbctv5pci 2008-09-24 17:06:37.000000000 -0400 @@ -26,41 +26,41 @@ begin remote @@ -2436,9 +2311,9 @@ diff -upr lirc-0.8.3.orig/remotes/iodata/lircd.conf.gvbctv5pci lirc-0.8.3/remote SYNC 0x0000000000000003 end codes -diff -upr lirc-0.8.3.orig/remotes/kanam_accent/lircd.conf.IR-100 lirc-0.8.3/remotes/kanam_accent/lircd.conf.IR-100 ---- lirc-0.8.3.orig/remotes/kanam_accent/lircd.conf.IR-100 2007-02-13 04:18:53.000000000 +0000 -+++ lirc-0.8.3/remotes/kanam_accent/lircd.conf.IR-100 2008-08-12 16:14:40.000000000 +0100 +diff -Naurp lirc-0.8.4pre1.orig/remotes/kanam_accent/lircd.conf.IR-100 lirc-0.8.4pre1/remotes/kanam_accent/lircd.conf.IR-100 +--- lirc-0.8.4pre1.orig/remotes/kanam_accent/lircd.conf.IR-100 2007-02-12 23:18:53.000000000 -0500 ++++ lirc-0.8.4pre1/remotes/kanam_accent/lircd.conf.IR-100 2008-09-24 17:06:37.000000000 -0400 @@ -29,47 +29,47 @@ begin remote @@ -2523,9 +2398,9 @@ diff -upr lirc-0.8.3.orig/remotes/kanam_accent/lircd.conf.IR-100 lirc-0.8.3/remo end codes end remote -diff -upr lirc-0.8.3.orig/remotes/knc_one/lircd.conf.knc_one lirc-0.8.3/remotes/knc_one/lircd.conf.knc_one ---- lirc-0.8.3.orig/remotes/knc_one/lircd.conf.knc_one 2001-04-24 22:20:41.000000000 +0100 -+++ lirc-0.8.3/remotes/knc_one/lircd.conf.knc_one 2008-08-12 16:14:40.000000000 +0100 +diff -Naurp lirc-0.8.4pre1.orig/remotes/knc_one/lircd.conf.knc_one lirc-0.8.4pre1/remotes/knc_one/lircd.conf.knc_one +--- lirc-0.8.4pre1.orig/remotes/knc_one/lircd.conf.knc_one 2001-04-24 17:20:41.000000000 -0400 ++++ lirc-0.8.4pre1/remotes/knc_one/lircd.conf.knc_one 2008-09-24 17:06:37.000000000 -0400 @@ -26,37 +26,37 @@ begin remote begin codes @@ -2590,9 +2465,9 @@ diff -upr lirc-0.8.3.orig/remotes/knc_one/lircd.conf.knc_one lirc-0.8.3/remotes/ end codes end remote -diff -upr lirc-0.8.3.orig/remotes/kworld/lircd.conf.kworld lirc-0.8.3/remotes/kworld/lircd.conf.kworld ---- lirc-0.8.3.orig/remotes/kworld/lircd.conf.kworld 2005-04-01 21:28:05.000000000 +0100 -+++ lirc-0.8.3/remotes/kworld/lircd.conf.kworld 2008-08-12 16:14:40.000000000 +0100 +diff -Naurp lirc-0.8.4pre1.orig/remotes/kworld/lircd.conf.kworld lirc-0.8.4pre1/remotes/kworld/lircd.conf.kworld +--- lirc-0.8.4pre1.orig/remotes/kworld/lircd.conf.kworld 2005-04-01 15:28:05.000000000 -0500 ++++ lirc-0.8.4pre1/remotes/kworld/lircd.conf.kworld 2008-09-24 17:06:37.000000000 -0400 @@ -29,36 +29,36 @@ begin remote @@ -2651,9 +2526,9 @@ diff -upr lirc-0.8.3.orig/remotes/kworld/lircd.conf.kworld lirc-0.8.3/remotes/kw snapshot 0x00000000000058A7 mts 0x000000000000B04F function- 0x00000000000020DF -diff -upr lirc-0.8.3.orig/remotes/leadtek/lircd.conf.PVR2000 lirc-0.8.3/remotes/leadtek/lircd.conf.PVR2000 ---- lirc-0.8.3.orig/remotes/leadtek/lircd.conf.PVR2000 2006-12-19 06:02:58.000000000 +0000 -+++ lirc-0.8.3/remotes/leadtek/lircd.conf.PVR2000 2008-08-12 16:14:39.000000000 +0100 +diff -Naurp lirc-0.8.4pre1.orig/remotes/leadtek/lircd.conf.PVR2000 lirc-0.8.4pre1/remotes/leadtek/lircd.conf.PVR2000 +--- lirc-0.8.4pre1.orig/remotes/leadtek/lircd.conf.PVR2000 2006-12-19 01:02:58.000000000 -0500 ++++ lirc-0.8.4pre1/remotes/leadtek/lircd.conf.PVR2000 2008-09-24 17:06:37.000000000 -0400 @@ -18,54 +18,54 @@ begin remote gap 120000 @@ -2746,9 +2621,9 @@ diff -upr lirc-0.8.3.orig/remotes/leadtek/lircd.conf.PVR2000 lirc-0.8.3/remotes/ TIMESHIFT 0x0000000000000035 end codes -diff -upr lirc-0.8.3.orig/remotes/leadtek/lircd.conf.RM-0007 lirc-0.8.3/remotes/leadtek/lircd.conf.RM-0007 ---- lirc-0.8.3.orig/remotes/leadtek/lircd.conf.RM-0007 2002-11-09 22:34:23.000000000 +0000 -+++ lirc-0.8.3/remotes/leadtek/lircd.conf.RM-0007 2008-08-12 16:14:39.000000000 +0100 +diff -Naurp lirc-0.8.4pre1.orig/remotes/leadtek/lircd.conf.RM-0007 lirc-0.8.4pre1/remotes/leadtek/lircd.conf.RM-0007 +--- lirc-0.8.4pre1.orig/remotes/leadtek/lircd.conf.RM-0007 2002-11-09 17:34:23.000000000 -0500 ++++ lirc-0.8.4pre1/remotes/leadtek/lircd.conf.RM-0007 2008-09-24 17:06:37.000000000 -0400 @@ -44,43 +44,43 @@ begin remote begin codes @@ -2818,9 +2693,9 @@ diff -upr lirc-0.8.3.orig/remotes/leadtek/lircd.conf.RM-0007 lirc-0.8.3/remotes/ end codes end remote -diff -upr lirc-0.8.3.orig/remotes/leadtek/lircd.conf.RM-0010 lirc-0.8.3/remotes/leadtek/lircd.conf.RM-0010 ---- lirc-0.8.3.orig/remotes/leadtek/lircd.conf.RM-0010 2006-03-21 07:11:14.000000000 +0000 -+++ lirc-0.8.3/remotes/leadtek/lircd.conf.RM-0010 2008-08-12 16:14:39.000000000 +0100 +diff -Naurp lirc-0.8.4pre1.orig/remotes/leadtek/lircd.conf.RM-0010 lirc-0.8.4pre1/remotes/leadtek/lircd.conf.RM-0010 +--- lirc-0.8.4pre1.orig/remotes/leadtek/lircd.conf.RM-0010 2006-03-21 02:11:14.000000000 -0500 ++++ lirc-0.8.4pre1/remotes/leadtek/lircd.conf.RM-0010 2008-09-24 17:06:37.000000000 -0400 @@ -43,69 +43,69 @@ begin remote duty_cycle 33 @@ -2930,9 +2805,9 @@ diff -upr lirc-0.8.3.orig/remotes/leadtek/lircd.conf.RM-0010 lirc-0.8.3/remotes/ end codes end remote -diff -upr lirc-0.8.3.orig/remotes/life-view/lircd.conf.flyvideo lirc-0.8.3/remotes/life-view/lircd.conf.flyvideo ---- lirc-0.8.3.orig/remotes/life-view/lircd.conf.flyvideo 2002-11-09 22:31:38.000000000 +0000 -+++ lirc-0.8.3/remotes/life-view/lircd.conf.flyvideo 2008-08-12 16:14:40.000000000 +0100 +diff -Naurp lirc-0.8.4pre1.orig/remotes/life-view/lircd.conf.flyvideo lirc-0.8.4pre1/remotes/life-view/lircd.conf.flyvideo +--- lirc-0.8.4pre1.orig/remotes/life-view/lircd.conf.flyvideo 2002-11-09 17:31:38.000000000 -0500 ++++ lirc-0.8.4pre1/remotes/life-view/lircd.conf.flyvideo 2008-09-24 17:06:37.000000000 -0400 @@ -35,50 +35,50 @@ begin remote duty_cycle 33 @@ -3013,9 +2888,9 @@ diff -upr lirc-0.8.3.orig/remotes/life-view/lircd.conf.flyvideo lirc-0.8.3/remot end codes -diff -upr lirc-0.8.3.orig/remotes/logitech/lircd.conf.logitech lirc-0.8.3/remotes/logitech/lircd.conf.logitech ---- lirc-0.8.3.orig/remotes/logitech/lircd.conf.logitech 2000-01-18 19:10:08.000000000 +0000 -+++ lirc-0.8.3/remotes/logitech/lircd.conf.logitech 2008-08-12 16:14:40.000000000 +0100 +diff -Naurp lirc-0.8.4pre1.orig/remotes/logitech/lircd.conf.logitech lirc-0.8.4pre1/remotes/logitech/lircd.conf.logitech +--- lirc-0.8.4pre1.orig/remotes/logitech/lircd.conf.logitech 2000-01-18 14:10:08.000000000 -0500 ++++ lirc-0.8.4pre1/remotes/logitech/lircd.conf.logitech 2008-09-24 17:06:37.000000000 -0400 @@ -23,41 +23,41 @@ begin remote repeat_bit 0 @@ -3085,9 +2960,9 @@ diff -upr lirc-0.8.3.orig/remotes/logitech/lircd.conf.logitech lirc-0.8.3/remote MOUSE_N 0x0000000000000040 MOUSE_NNE 0x0000000000000041 MOUSE_NE 0x0000000000000042 -diff -upr lirc-0.8.3.orig/remotes/mceusb/lircd.conf.mceusb lirc-0.8.3/remotes/mceusb/lircd.conf.mceusb ---- lirc-0.8.3.orig/remotes/mceusb/lircd.conf.mceusb 2007-11-01 13:08:33.000000000 +0000 -+++ lirc-0.8.3/remotes/mceusb/lircd.conf.mceusb 2008-08-12 16:14:39.000000000 +0100 +diff -Naurp lirc-0.8.4pre1.orig/remotes/mceusb/lircd.conf.mceusb lirc-0.8.4pre1/remotes/mceusb/lircd.conf.mceusb +--- lirc-0.8.4pre1.orig/remotes/mceusb/lircd.conf.mceusb 2007-11-01 09:08:33.000000000 -0400 ++++ lirc-0.8.4pre1/remotes/mceusb/lircd.conf.mceusb 2008-09-24 17:06:37.000000000 -0400 @@ -58,10 +58,10 @@ begin remote begin codes @@ -3232,9 +3107,9 @@ diff -upr lirc-0.8.3.orig/remotes/mceusb/lircd.conf.mceusb lirc-0.8.3/remotes/mc end codes end remote -diff -upr lirc-0.8.3.orig/remotes/packard_bell/lircd.conf.packard_bell lirc-0.8.3/remotes/packard_bell/lircd.conf.packard_bell ---- lirc-0.8.3.orig/remotes/packard_bell/lircd.conf.packard_bell 2001-04-24 20:26:56.000000000 +0100 -+++ lirc-0.8.3/remotes/packard_bell/lircd.conf.packard_bell 2008-08-12 16:14:40.000000000 +0100 +diff -Naurp lirc-0.8.4pre1.orig/remotes/packard_bell/lircd.conf.packard_bell lirc-0.8.4pre1/remotes/packard_bell/lircd.conf.packard_bell +--- lirc-0.8.4pre1.orig/remotes/packard_bell/lircd.conf.packard_bell 2001-04-24 15:26:56.000000000 -0400 ++++ lirc-0.8.4pre1/remotes/packard_bell/lircd.conf.packard_bell 2008-09-24 17:06:37.000000000 -0400 @@ -53,38 +53,38 @@ begin remote repeat 9050 2250 @@ -3299,9 +3174,9 @@ diff -upr lirc-0.8.3.orig/remotes/packard_bell/lircd.conf.packard_bell lirc-0.8. Star 0x0000000000007F80 Hash 0x0000000000006B94 end codes -diff -upr lirc-0.8.3.orig/remotes/pcmak/lircd.conf.pcmak lirc-0.8.3/remotes/pcmak/lircd.conf.pcmak ---- lirc-0.8.3.orig/remotes/pcmak/lircd.conf.pcmak 2004-07-24 16:36:15.000000000 +0100 -+++ lirc-0.8.3/remotes/pcmak/lircd.conf.pcmak 2008-08-12 16:14:40.000000000 +0100 +diff -Naurp lirc-0.8.4pre1.orig/remotes/pcmak/lircd.conf.pcmak lirc-0.8.4pre1/remotes/pcmak/lircd.conf.pcmak +--- lirc-0.8.4pre1.orig/remotes/pcmak/lircd.conf.pcmak 2004-07-24 11:36:15.000000000 -0400 ++++ lirc-0.8.4pre1/remotes/pcmak/lircd.conf.pcmak 2008-09-24 17:06:37.000000000 -0400 @@ -23,18 +23,18 @@ begin remote repeat_bit 0 @@ -3445,9 +3320,9 @@ diff -upr lirc-0.8.3.orig/remotes/pcmak/lircd.conf.pcmak lirc-0.8.3/remotes/pcma end codes end remote -diff -upr lirc-0.8.3.orig/remotes/pinnacle_systems/lircd.conf.pctv lirc-0.8.3/remotes/pinnacle_systems/lircd.conf.pctv ---- lirc-0.8.3.orig/remotes/pinnacle_systems/lircd.conf.pctv 2007-10-06 16:40:53.000000000 +0100 -+++ lirc-0.8.3/remotes/pinnacle_systems/lircd.conf.pctv 2008-08-12 16:14:40.000000000 +0100 +diff -Naurp lirc-0.8.4pre1.orig/remotes/pinnacle_systems/lircd.conf.pctv lirc-0.8.4pre1/remotes/pinnacle_systems/lircd.conf.pctv +--- lirc-0.8.4pre1.orig/remotes/pinnacle_systems/lircd.conf.pctv 2007-10-06 11:40:53.000000000 -0400 ++++ lirc-0.8.4pre1/remotes/pinnacle_systems/lircd.conf.pctv 2008-09-24 17:06:37.000000000 -0400 @@ -24,30 +24,30 @@ begin remote toggle_bit 0 @@ -3547,9 +3422,9 @@ diff -upr lirc-0.8.3.orig/remotes/pinnacle_systems/lircd.conf.pctv lirc-0.8.3/re middle 0x0000000000000014 -diff -upr lirc-0.8.3.orig/remotes/pixelview/lircd.conf.playtv lirc-0.8.3/remotes/pixelview/lircd.conf.playtv ---- lirc-0.8.3.orig/remotes/pixelview/lircd.conf.playtv 1999-08-04 20:18:27.000000000 +0100 -+++ lirc-0.8.3/remotes/pixelview/lircd.conf.playtv 2008-08-12 16:14:40.000000000 +0100 +diff -Naurp lirc-0.8.4pre1.orig/remotes/pixelview/lircd.conf.playtv lirc-0.8.4pre1/remotes/pixelview/lircd.conf.playtv +--- lirc-0.8.4pre1.orig/remotes/pixelview/lircd.conf.playtv 1999-08-04 15:18:27.000000000 -0400 ++++ lirc-0.8.4pre1/remotes/pixelview/lircd.conf.playtv 2008-09-24 17:06:37.000000000 -0400 @@ -13,22 +13,22 @@ begin remote begin codes TV/FM 0x00000000000000e7 @@ -3588,9 +3463,9 @@ diff -upr lirc-0.8.3.orig/remotes/pixelview/lircd.conf.playtv lirc-0.8.3/remotes end codes end remote -diff -upr lirc-0.8.3.orig/remotes/pixelview/lircd.conf.playtv_bt878 lirc-0.8.3/remotes/pixelview/lircd.conf.playtv_bt878 ---- lirc-0.8.3.orig/remotes/pixelview/lircd.conf.playtv_bt878 2000-09-30 20:32:40.000000000 +0100 -+++ lirc-0.8.3/remotes/pixelview/lircd.conf.playtv_bt878 2008-08-12 16:14:40.000000000 +0100 +diff -Naurp lirc-0.8.4pre1.orig/remotes/pixelview/lircd.conf.playtv_bt878 lirc-0.8.4pre1/remotes/pixelview/lircd.conf.playtv_bt878 +--- lirc-0.8.4pre1.orig/remotes/pixelview/lircd.conf.playtv_bt878 2000-09-30 15:32:40.000000000 -0400 ++++ lirc-0.8.4pre1/remotes/pixelview/lircd.conf.playtv_bt878 2008-09-24 17:06:37.000000000 -0400 @@ -16,39 +16,39 @@ begin remote repeat_bit 0 @@ -3657,9 +3532,9 @@ diff -upr lirc-0.8.3.orig/remotes/pixelview/lircd.conf.playtv_bt878 lirc-0.8.3/r end codes end remote -diff -upr lirc-0.8.3.orig/remotes/pixelview/lircd.conf.playtv_pro lirc-0.8.3/remotes/pixelview/lircd.conf.playtv_pro ---- lirc-0.8.3.orig/remotes/pixelview/lircd.conf.playtv_pro 2005-12-10 13:09:13.000000000 +0000 -+++ lirc-0.8.3/remotes/pixelview/lircd.conf.playtv_pro 2008-08-12 16:14:40.000000000 +0100 +diff -Naurp lirc-0.8.4pre1.orig/remotes/pixelview/lircd.conf.playtv_pro lirc-0.8.4pre1/remotes/pixelview/lircd.conf.playtv_pro +--- lirc-0.8.4pre1.orig/remotes/pixelview/lircd.conf.playtv_pro 2005-12-10 08:09:13.000000000 -0500 ++++ lirc-0.8.4pre1/remotes/pixelview/lircd.conf.playtv_pro 2008-09-24 17:06:37.000000000 -0400 @@ -31,15 +31,15 @@ begin remote begin codes @@ -3710,9 +3585,9 @@ diff -upr lirc-0.8.3.orig/remotes/pixelview/lircd.conf.playtv_pro lirc-0.8.3/rem end codes -diff -upr lirc-0.8.3.orig/remotes/pixelview/lircd.conf.remotemaster lirc-0.8.3/remotes/pixelview/lircd.conf.remotemaster ---- lirc-0.8.3.orig/remotes/pixelview/lircd.conf.remotemaster 2000-02-07 11:03:20.000000000 +0000 -+++ lirc-0.8.3/remotes/pixelview/lircd.conf.remotemaster 2008-08-12 16:14:40.000000000 +0100 +diff -Naurp lirc-0.8.4pre1.orig/remotes/pixelview/lircd.conf.remotemaster lirc-0.8.4pre1/remotes/pixelview/lircd.conf.remotemaster +--- lirc-0.8.4pre1.orig/remotes/pixelview/lircd.conf.remotemaster 2000-02-07 06:03:20.000000000 -0500 ++++ lirc-0.8.4pre1/remotes/pixelview/lircd.conf.remotemaster 2008-09-24 17:06:37.000000000 -0400 @@ -25,39 +25,39 @@ begin remote gap 189264 @@ -3780,9 +3655,9 @@ diff -upr lirc-0.8.3.orig/remotes/pixelview/lircd.conf.remotemaster lirc-0.8.3/r end codes end remote -diff -upr lirc-0.8.3.orig/remotes/provideo/lircd.conf.pv951 lirc-0.8.3/remotes/provideo/lircd.conf.pv951 ---- lirc-0.8.3.orig/remotes/provideo/lircd.conf.pv951 2001-01-20 13:32:00.000000000 +0000 -+++ lirc-0.8.3/remotes/provideo/lircd.conf.pv951 2008-08-12 16:14:40.000000000 +0100 +diff -Naurp lirc-0.8.4pre1.orig/remotes/provideo/lircd.conf.pv951 lirc-0.8.4pre1/remotes/provideo/lircd.conf.pv951 +--- lirc-0.8.4pre1.orig/remotes/provideo/lircd.conf.pv951 2001-01-20 08:32:00.000000000 -0500 ++++ lirc-0.8.4pre1/remotes/provideo/lircd.conf.pv951 2008-09-24 17:06:37.000000000 -0400 @@ -31,28 +31,28 @@ begin remote repeat_bit 0 @@ -3828,9 +3703,9 @@ diff -upr lirc-0.8.3.orig/remotes/provideo/lircd.conf.pv951 lirc-0.8.3/remotes/p func 0x0000000000009867 ttx 0x000000000000B04F pg+ 0x000000000000708F -diff -upr lirc-0.8.3.orig/remotes/remotec/lircd.conf.BW6130 lirc-0.8.3/remotes/remotec/lircd.conf.BW6130 ---- lirc-0.8.3.orig/remotes/remotec/lircd.conf.BW6130 2005-05-28 15:29:27.000000000 +0100 -+++ lirc-0.8.3/remotes/remotec/lircd.conf.BW6130 2008-08-12 16:14:39.000000000 +0100 +diff -Naurp lirc-0.8.4pre1.orig/remotes/remotec/lircd.conf.BW6130 lirc-0.8.4pre1/remotes/remotec/lircd.conf.BW6130 +--- lirc-0.8.4pre1.orig/remotes/remotec/lircd.conf.BW6130 2005-05-28 10:29:27.000000000 -0400 ++++ lirc-0.8.4pre1/remotes/remotec/lircd.conf.BW6130 2008-09-24 17:06:37.000000000 -0400 @@ -20,20 +20,20 @@ begin remote toggle_bit 0 @@ -3866,9 +3741,9 @@ diff -upr lirc-0.8.3.orig/remotes/remotec/lircd.conf.BW6130 lirc-0.8.3/remotes/r MOUSE_SLOW_N 0x95 MOUSE_SLOW_NNE 0xd1 MOUSE_SLOW_NE 0xcd -diff -upr lirc-0.8.3.orig/remotes/samsung/lircd.conf.samsung lirc-0.8.3/remotes/samsung/lircd.conf.samsung ---- lirc-0.8.3.orig/remotes/samsung/lircd.conf.samsung 2008-03-02 19:18:40.000000000 +0000 -+++ lirc-0.8.3/remotes/samsung/lircd.conf.samsung 2008-08-12 16:14:39.000000000 +0100 +diff -Naurp lirc-0.8.4pre1.orig/remotes/samsung/lircd.conf.samsung lirc-0.8.4pre1/remotes/samsung/lircd.conf.samsung +--- lirc-0.8.4pre1.orig/remotes/samsung/lircd.conf.samsung 2008-03-02 14:18:40.000000000 -0500 ++++ lirc-0.8.4pre1/remotes/samsung/lircd.conf.samsung 2008-09-24 17:06:37.000000000 -0400 @@ -28,60 +28,60 @@ begin remote begin codes @@ -3974,9 +3849,9 @@ diff -upr lirc-0.8.3.orig/remotes/samsung/lircd.conf.samsung lirc-0.8.3/remotes/ end codes end remote -diff -upr lirc-0.8.3.orig/remotes/sasem/lircd.conf.sasem lirc-0.8.3/remotes/sasem/lircd.conf.sasem ---- lirc-0.8.3.orig/remotes/sasem/lircd.conf.sasem 2005-07-15 12:24:55.000000000 +0100 -+++ lirc-0.8.3/remotes/sasem/lircd.conf.sasem 2008-08-12 16:14:40.000000000 +0100 +diff -Naurp lirc-0.8.4pre1.orig/remotes/sasem/lircd.conf.sasem lirc-0.8.4pre1/remotes/sasem/lircd.conf.sasem +--- lirc-0.8.4pre1.orig/remotes/sasem/lircd.conf.sasem 2005-07-15 07:24:55.000000000 -0400 ++++ lirc-0.8.4pre1/remotes/sasem/lircd.conf.sasem 2008-09-24 17:06:37.000000000 -0400 @@ -33,47 +33,47 @@ begin remote @@ -4057,9 +3932,9 @@ diff -upr lirc-0.8.3.orig/remotes/sasem/lircd.conf.sasem lirc-0.8.3/remotes/sase end codes end remote -diff -upr lirc-0.8.3.orig/remotes/sigma_designs/lircd.conf.realmagic lirc-0.8.3/remotes/sigma_designs/lircd.conf.realmagic ---- lirc-0.8.3.orig/remotes/sigma_designs/lircd.conf.realmagic 2006-04-29 12:01:50.000000000 +0100 -+++ lirc-0.8.3/remotes/sigma_designs/lircd.conf.realmagic 2008-08-12 16:14:39.000000000 +0100 +diff -Naurp lirc-0.8.4pre1.orig/remotes/sigma_designs/lircd.conf.realmagic lirc-0.8.4pre1/remotes/sigma_designs/lircd.conf.realmagic +--- lirc-0.8.4pre1.orig/remotes/sigma_designs/lircd.conf.realmagic 2006-04-29 07:01:50.000000000 -0400 ++++ lirc-0.8.4pre1/remotes/sigma_designs/lircd.conf.realmagic 2008-09-24 17:06:37.000000000 -0400 @@ -30,43 +30,43 @@ begin remote begin codes @@ -4136,9 +4011,9 @@ diff -upr lirc-0.8.3.orig/remotes/sigma_designs/lircd.conf.realmagic lirc-0.8.3/ end codes end remote -diff -upr lirc-0.8.3.orig/remotes/silitek/lircd.conf.silitek lirc-0.8.3/remotes/silitek/lircd.conf.silitek ---- lirc-0.8.3.orig/remotes/silitek/lircd.conf.silitek 2001-04-24 20:36:10.000000000 +0100 -+++ lirc-0.8.3/remotes/silitek/lircd.conf.silitek 2008-08-12 16:14:39.000000000 +0100 +diff -Naurp lirc-0.8.4pre1.orig/remotes/silitek/lircd.conf.silitek lirc-0.8.4pre1/remotes/silitek/lircd.conf.silitek +--- lirc-0.8.4pre1.orig/remotes/silitek/lircd.conf.silitek 2001-04-24 15:36:10.000000000 -0400 ++++ lirc-0.8.4pre1/remotes/silitek/lircd.conf.silitek 2008-09-24 17:06:37.000000000 -0400 @@ -30,68 +30,68 @@ begin remote MOUSE_SSE 0x0000000000aa0004 MOUSE_SE 0x0000000000aa0003 @@ -4256,9 +4131,9 @@ diff -upr lirc-0.8.3.orig/remotes/silitek/lircd.conf.silitek lirc-0.8.3/remotes/ + KEY_CLOSE 0x0000000000cc5d62 end codes end remote -diff -upr lirc-0.8.3.orig/remotes/streamzap/lircd.conf.streamzap lirc-0.8.3/remotes/streamzap/lircd.conf.streamzap ---- lirc-0.8.3.orig/remotes/streamzap/lircd.conf.streamzap 2005-02-12 14:20:23.000000000 +0000 -+++ lirc-0.8.3/remotes/streamzap/lircd.conf.streamzap 2008-08-12 16:14:40.000000000 +0100 +diff -Naurp lirc-0.8.4pre1.orig/remotes/streamzap/lircd.conf.streamzap lirc-0.8.4pre1/remotes/streamzap/lircd.conf.streamzap +--- lirc-0.8.4pre1.orig/remotes/streamzap/lircd.conf.streamzap 2005-02-12 09:20:23.000000000 -0500 ++++ lirc-0.8.4pre1/remotes/streamzap/lircd.conf.streamzap 2008-09-24 17:06:37.000000000 -0400 @@ -27,41 +27,41 @@ begin remote @@ -4334,9 +4209,9 @@ diff -upr lirc-0.8.3.orig/remotes/streamzap/lircd.conf.streamzap lirc-0.8.3/remo end codes end remote -diff -upr lirc-0.8.3.orig/remotes/technisat/lircd.conf.mediafocusI lirc-0.8.3/remotes/technisat/lircd.conf.mediafocusI ---- lirc-0.8.3.orig/remotes/technisat/lircd.conf.mediafocusI 2001-02-04 13:38:09.000000000 +0000 -+++ lirc-0.8.3/remotes/technisat/lircd.conf.mediafocusI 2008-08-12 16:14:39.000000000 +0100 +diff -Naurp lirc-0.8.4pre1.orig/remotes/technisat/lircd.conf.mediafocusI lirc-0.8.4pre1/remotes/technisat/lircd.conf.mediafocusI +--- lirc-0.8.4pre1.orig/remotes/technisat/lircd.conf.mediafocusI 2001-02-04 08:38:09.000000000 -0500 ++++ lirc-0.8.4pre1/remotes/technisat/lircd.conf.mediafocusI 2008-09-24 17:06:37.000000000 -0400 @@ -30,11 +30,11 @@ begin remote duty_cycle 33 @@ -4354,9 +4229,9 @@ diff -upr lirc-0.8.3.orig/remotes/technisat/lircd.conf.mediafocusI lirc-0.8.3/re end codes end remote -diff -upr lirc-0.8.3.orig/remotes/tekram/lircd.conf.m230 lirc-0.8.3/remotes/tekram/lircd.conf.m230 ---- lirc-0.8.3.orig/remotes/tekram/lircd.conf.m230 2002-03-28 21:26:54.000000000 +0000 -+++ lirc-0.8.3/remotes/tekram/lircd.conf.m230 2008-08-12 16:14:39.000000000 +0100 +diff -Naurp lirc-0.8.4pre1.orig/remotes/tekram/lircd.conf.m230 lirc-0.8.4pre1/remotes/tekram/lircd.conf.m230 +--- lirc-0.8.4pre1.orig/remotes/tekram/lircd.conf.m230 2002-03-28 16:26:54.000000000 -0500 ++++ lirc-0.8.4pre1/remotes/tekram/lircd.conf.m230 2008-09-24 17:06:37.000000000 -0400 @@ -13,36 +13,36 @@ begin remote name M230 bits 8 @@ -4417,9 +4292,9 @@ diff -upr lirc-0.8.3.orig/remotes/tekram/lircd.conf.m230 lirc-0.8.3/remotes/tekr + KEY_KPMINUS 0x0C end codes end remote -diff -upr lirc-0.8.3.orig/remotes/vlsystem/lircd.conf.mplay lirc-0.8.3/remotes/vlsystem/lircd.conf.mplay ---- lirc-0.8.3.orig/remotes/vlsystem/lircd.conf.mplay 2007-12-22 12:33:17.000000000 +0000 -+++ lirc-0.8.3/remotes/vlsystem/lircd.conf.mplay 2008-08-12 16:14:40.000000000 +0100 +diff -Naurp lirc-0.8.4pre1.orig/remotes/vlsystem/lircd.conf.mplay lirc-0.8.4pre1/remotes/vlsystem/lircd.conf.mplay +--- lirc-0.8.4pre1.orig/remotes/vlsystem/lircd.conf.mplay 2007-12-22 07:33:17.000000000 -0500 ++++ lirc-0.8.4pre1/remotes/vlsystem/lircd.conf.mplay 2008-09-24 17:06:37.000000000 -0400 @@ -27,42 +27,42 @@ begin remote Movies 0x40 Television 0x46 @@ -4492,9 +4367,9 @@ diff -upr lirc-0.8.3.orig/remotes/vlsystem/lircd.conf.mplay lirc-0.8.3/remotes/v DVD_Zoom 0x14 Detail 0x4b end codes -diff -upr lirc-0.8.3.orig/remotes/x10/lircd.conf.mouseremote lirc-0.8.3/remotes/x10/lircd.conf.mouseremote ---- lirc-0.8.3.orig/remotes/x10/lircd.conf.mouseremote 2005-01-22 10:40:43.000000000 +0000 -+++ lirc-0.8.3/remotes/x10/lircd.conf.mouseremote 2008-08-12 16:14:40.000000000 +0100 +diff -Naurp lirc-0.8.4pre1.orig/remotes/x10/lircd.conf.mouseremote lirc-0.8.4pre1/remotes/x10/lircd.conf.mouseremote +--- lirc-0.8.4pre1.orig/remotes/x10/lircd.conf.mouseremote 2005-01-22 05:40:43.000000000 -0500 ++++ lirc-0.8.4pre1/remotes/x10/lircd.conf.mouseremote 2008-09-24 17:06:37.000000000 -0400 @@ -24,42 +24,42 @@ begin remote gap 140000 @@ -4577,9 +4452,9 @@ diff -upr lirc-0.8.3.orig/remotes/x10/lircd.conf.mouseremote lirc-0.8.3/remotes/ end codes end remote -diff -upr lirc-0.8.3.orig/remotes/x10/lircd.conf.mp3anywhere lirc-0.8.3/remotes/x10/lircd.conf.mp3anywhere ---- lirc-0.8.3.orig/remotes/x10/lircd.conf.mp3anywhere 2007-07-01 08:09:11.000000000 +0100 -+++ lirc-0.8.3/remotes/x10/lircd.conf.mp3anywhere 2008-08-12 16:14:40.000000000 +0100 +diff -Naurp lirc-0.8.4pre1.orig/remotes/x10/lircd.conf.mp3anywhere lirc-0.8.4pre1/remotes/x10/lircd.conf.mp3anywhere +--- lirc-0.8.4pre1.orig/remotes/x10/lircd.conf.mp3anywhere 2007-07-01 03:09:11.000000000 -0400 ++++ lirc-0.8.4pre1/remotes/x10/lircd.conf.mp3anywhere 2008-09-24 17:06:37.000000000 -0400 @@ -22,43 +22,43 @@ begin remote gap 140000 diff --git a/lirc-use-new-instead-of-conf-as-filename-suffix.patch b/lirc-use-new-instead-of-conf-as-filename-suffix.patch index 54d9ba9..2731eb6 100644 --- a/lirc-use-new-instead-of-conf-as-filename-suffix.patch +++ b/lirc-use-new-instead-of-conf-as-filename-suffix.patch @@ -6,23 +6,15 @@ Subject: Use '.new' instead of '.conf' as filename suffix in template mode, to prevent a buffer overrun for 'argv[optind]'. --- - daemons/irrecord.c | 3 ++- - 1 files changed, 2 insertions(+), 1 deletions(-) - -diff --git a/daemons/irrecord.c b/daemons/irrecord.c -index ea298e3..df03c7b 100644 ---- a/daemons/irrecord.c -+++ b/daemons/irrecord.c -@@ -364,7 +364,7 @@ int main(int argc,char **argv) +diff -Naurp lirc.orig/daemons/irrecord.c lirc/daemons/irrecord.c +--- lirc.orig/daemons/irrecord.c 2008-08-27 13:04:46.000000000 -0400 ++++ lirc/daemons/irrecord.c 2008-09-24 17:01:37.000000000 -0400 +@@ -493,7 +493,7 @@ int main(int argc,char **argv) exit(EXIT_FAILURE); } strcpy(filename_new, filename); - strcat(filename_new, ".conf"); -+ strcat(filename_new,".new"); - filename = filename_new; ++ strcat(filename_new, ".new"); + filename = filename_new; } - fout=fopen(filename,"w"); - if(fout==NULL) --- -1.5.3.7 - + else diff --git a/lirc.spec b/lirc.spec index 56c25ca..f049f92 100644 --- a/lirc.spec +++ b/lirc.spec @@ -14,29 +14,26 @@ %bcond_with portaudio %bcond_with svgalib %bcond_without x -#define pre pre3 +%define pre pre1 Name: lirc -Version: 0.8.3 -Release: 7%{?pre:.%{pre}}%{?dist} +Version: 0.8.4 +Release: 0.1%{?pre:.%{pre}}%{?dist} Summary: The Linux Infrared Remote Control package Group: System Environment/Daemons License: GPLv2+ URL: http://www.lirc.org/ -Source0: http://downloads.sourceforge.net/lirc/%{name}-%{version}.tar.bz2 -#Source0: http://lirc.sourceforge.net/software/snapshots/%{name}-%{version}%{pre}.tar.bz2 +#Source0: http://downloads.sourceforge.net/lirc/%{name}-%{version}.tar.bz2 +Source0: http://lirc.sourceforge.net/software/snapshots/%{name}-%{version}%{pre}.tar.bz2 Source1: %{name}.init Source2: %{name}.sysconfig -Patch0: lirc-0.8.3-remote-includes-directive.patch -Patch1: lirc-0.8.3-validate-transmit-buffer.patch -Patch2: lirc-use-new-instead-of-conf-as-filename-suffix.patch +# temporary, was accidentally left out of 0.8.4pre1 tarball +Source3: hw_commandir.h +Patch0: lirc-use-new-instead-of-conf-as-filename-suffix.patch # https://bugzilla.redhat.com/show_bug.cgi?id=457273 # http://thread.gmane.org/gmane.comp.hardware.lirc/6884 -Patch3: lirc-0.8.3-fix-remote-keycodes.patch -# https://bugzilla.redhat.com/show_bug.cgi?id=440231 -# http://thread.gmane.org/gmane.comp.hardware.lirc/6889 -Patch4: lirc-dont-exit.patch +Patch1: lirc-0.8.4-standardize-remote-keycodes.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: %{__perl} @@ -120,10 +117,8 @@ of remote control configuration files. %prep %setup -q -n %{name}-%{version}%{?pre} -%patch0 -p1 -b .incl -%patch1 -p1 -b .xbuf -%patch2 -p1 -b .suf -%patch4 -p0 -b .exit +%patch0 -p1 -b .suf +cp %{SOURCE3} daemons/ chmod 644 contrib/* @@ -156,7 +151,7 @@ sed -i -e 's/vga.h/SVGALIB_DISABLED/g' configure* touch -r aclocal.m4 configure.ac # avoid autofoo re-run # Do this after, as we're touching the remote definitions earlier -%patch3 -p1 -b .keycode +%patch1 -p1 -b .keycode %build %configure \ @@ -268,6 +263,11 @@ fi %changelog +* Wed Sep 24 2008 - Jarod Wilson - 0.8.4-0.1.pre1 +- Update to 0.8.4pre1 +- Drop upstream patches +- Adds support for the CommandIR II userspace driver + * Tue Sep 16 2008 - Jarod Wilson - 0.8.3-7 - Fix multilib upgrade path from F8 (Nicolas Chauvet, #462435) diff --git a/sources b/sources index d3ad5e4..d5df52c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -8e78eeded7b31e5ad02e328970437c0f lirc-0.8.3.tar.bz2 +b79601ea90fa552653dfc69e29fd5c4d lirc-0.8.4pre1.tar.bz2 From a685ff5cb5828b73188610f88e3506089bf87fb2 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Wed, 1 Oct 2008 11:07:03 +0000 Subject: [PATCH 046/204] - Don't create a backup for the keycodes patch, or all the original files will also get installed, and get used in gnome-lirc-properties --- lirc.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/lirc.spec b/lirc.spec index f049f92..f4d436a 100644 --- a/lirc.spec +++ b/lirc.spec @@ -18,7 +18,7 @@ Name: lirc Version: 0.8.4 -Release: 0.1%{?pre:.%{pre}}%{?dist} +Release: 0.2%{?pre:.%{pre}}%{?dist} Summary: The Linux Infrared Remote Control package Group: System Environment/Daemons @@ -151,7 +151,8 @@ sed -i -e 's/vga.h/SVGALIB_DISABLED/g' configure* touch -r aclocal.m4 configure.ac # avoid autofoo re-run # Do this after, as we're touching the remote definitions earlier -%patch1 -p1 -b .keycode +# Don't create a backup, or the original definitions will get installed +%patch1 -p1 %build %configure \ @@ -263,6 +264,10 @@ fi %changelog +* Wed Oct 01 2008 - Bastien Nocera - 0.8.4-0.2.pre1 +- Don't create a backup for the keycodes patch, or all the original files + will also get installed, and get used in gnome-lirc-properties + * Wed Sep 24 2008 - Jarod Wilson - 0.8.4-0.1.pre1 - Update to 0.8.4pre1 - Drop upstream patches From 25e2b6261bc1f4338c9510d1a4ed64d8df0c7f7e Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Mon, 6 Oct 2008 08:24:02 +0000 Subject: [PATCH 047/204] - Fix more keycodes for the streamzap remote --- lirc-streamzap-prev-next.patch | 13 +++++++++++++ lirc.spec | 7 ++++++- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 lirc-streamzap-prev-next.patch diff --git a/lirc-streamzap-prev-next.patch b/lirc-streamzap-prev-next.patch new file mode 100644 index 0000000..daef5f4 --- /dev/null +++ b/lirc-streamzap-prev-next.patch @@ -0,0 +1,13 @@ +--- lirc-0.8.4pre1.orig/remotes/streamzap/lircd.conf.streamzap 2008-10-01 12:09:37.000000000 +0100 ++++ lirc-0.8.4pre1/remotes/streamzap/lircd.conf.streamzap 2008-10-06 09:08:57.000000000 +0100 +@@ -53,8 +53,8 @@ begin remote + KEY_PLAY 0x17 + KEY_PAUSE 0x18 + KEY_STOP 0x19 +- |<< 0x1A +- >>| 0x1B ++ KEY_PREVIOUS 0x1A ++ KEY_NEXT 0x1B + KEY_RECORD 0x1C + KEY_REWIND 0x1D + KEY_FORWARD 0x1E diff --git a/lirc.spec b/lirc.spec index f4d436a..03bb9f8 100644 --- a/lirc.spec +++ b/lirc.spec @@ -18,7 +18,7 @@ Name: lirc Version: 0.8.4 -Release: 0.2%{?pre:.%{pre}}%{?dist} +Release: 0.3%{?pre:.%{pre}}%{?dist} Summary: The Linux Infrared Remote Control package Group: System Environment/Daemons @@ -34,6 +34,7 @@ Patch0: lirc-use-new-instead-of-conf-as-filename-suffix.patch # https://bugzilla.redhat.com/show_bug.cgi?id=457273 # http://thread.gmane.org/gmane.comp.hardware.lirc/6884 Patch1: lirc-0.8.4-standardize-remote-keycodes.patch +Patch2: lirc-streamzap-prev-next.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: %{__perl} @@ -153,6 +154,7 @@ touch -r aclocal.m4 configure.ac # avoid autofoo re-run # Do this after, as we're touching the remote definitions earlier # Don't create a backup, or the original definitions will get installed %patch1 -p1 +%patch2 -p1 %build %configure \ @@ -264,6 +266,9 @@ fi %changelog +* Mon Oct 06 2008 - Bastien Nocera - 0.8.4-0.3.pre1 +- Fix more keycodes for the streamzap remote + * Wed Oct 01 2008 - Bastien Nocera - 0.8.4-0.2.pre1 - Don't create a backup for the keycodes patch, or all the original files will also get installed, and get used in gnome-lirc-properties From 6cab3895aaf927e34c2c2d12e3fcc5f2f7b88f04 Mon Sep 17 00:00:00 2001 From: Jarod Wilson Date: Mon, 6 Oct 2008 13:08:40 +0000 Subject: [PATCH 048/204] - Update to 0.8.4pre2 --- .cvsignore | 1 + hw_commandir.h | 175 ------------------------------------------------- lirc.spec | 10 +-- sources | 2 +- 4 files changed, 7 insertions(+), 181 deletions(-) delete mode 100644 hw_commandir.h diff --git a/.cvsignore b/.cvsignore index ea39d26..327d8c2 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1,2 +1,3 @@ lirc-0.8.3.tar.bz2 lirc-0.8.4pre1.tar.bz2 +lirc-0.8.4pre2.tar.bz2 diff --git a/hw_commandir.h b/hw_commandir.h deleted file mode 100644 index 2280f6c..0000000 --- a/hw_commandir.h +++ /dev/null @@ -1,175 +0,0 @@ - -/**************************************************************************** - ** hw_commandir.h ********************************************************** - **************************************************************************** - * - * Copyright (C) 1999 Christoph Bartelmus - * -- Original hw_default.h - * Modified for CommandIR Transceivers, April-June 2008, Matthew Bodkin - * - */ - -#ifndef HW_COMMANDIR_H -#define HW_COMMANDIR_H - -#define RX_BUFFER_SIZE 1024 -#define TX_BUFFER_SIZE 1024 -#define TX_QUEUE 1 -#define RX_QUEUE 0 -#define MAX_COMMANDIRS 4 -#define MAX_COMMAND 8192 - -/* transmitter channel control */ -#define MAX_DEVICES 4 -#define MAX_CHANNELS 16 -#define DEVICE_CHANNELS 4 -#define MAX_MASK 0xffff -#define MAX_SIGNALQ 100 - -/* CommandIR control codes */ -#define CHANNEL_EN_MASK 1 -#define FREQ_HEADER 2 -#define MCU_CTRL_SIZE 3 -#define TX_HEADER 7 -#define TX_HEADER_NEW 8 -/* New for CommandIR II */ - -#define READ_INPUTS 10 -#define PROC_SET 11 -#define INIT_FUNCTION 12 -#define RX_SELECT 13 -#define TX_COMMANDIR_II 14 -/* Internal to driver */ -#define TX_LIRC_T 15 -#define FREQ_HEADER_LIRC 16 -#define RXDECODE_HEADER_LIRC 17 -#define INIT_HEADER_LIRC 18 -#define DEINIT_HEADER_LIRC 19 -#define GET_VERSION 20 - -#define COMMANDIR_2_PULSE_MASK 0x8000 -#define COMMANDIR_2_OVERFLOW_MASK 0x4000 - -#define DEFAULT_PULSE_WIDTH 13 - -#define USB_CMDIR_VENDOR_ID 0x10c4 -#define USB_CMDIR_PRODUCT_ID 0x0003 -#define USB_CMDIR_MINOR_BASE 192 - -#define HW_COMMANDIR_MINI 1 -#define HW_COMMANDIR_2 2 -#define HW_COMMANDIR_UNKNOWN 127 - -#define MAX_HW_MINI_PACKET 64 - -// CommandIR has lots of buffer room, we don't need to poll constantly -#define USB_TIMEOUT_MS 5000 -#define USB_TIMEOUT_US 1000 -#define WAIT_BETWEEN_READS_US 10000 -#define MAX_WAIT_BETWEEN_READS_US 5000000 -#define MIN_WAIT_BETWEEN_READS_US 5000 - -#define USB_MAX_BUSES 8 -#define USB_MAX_BUSDEV 127 - -#define RX_HEADER_DATA 0x01 -#define RX_HEADER_EVENTS 0x02 -#define RX_HEADER_TXAVAIL 0x03 - - -// We keep CommandIR's OPEN even on -deinit for speed and to monitor -// Other non-LIRC events (plugin, suspend, etc) -#define USB_KEEP_WARM 1 - -// CommandIR lircd.conf event driven code definitions -#define LIRCCODE_GAP 125000 -#define JACK_PLUG_1 0x01 -#define JACK_PLUG_2 0x02 -#define JACK_PLUG_3 0x03 -#define JACK_PLUG_4 0x04 -#define JACK_PLUG_5 0x11 -#define JACK_PLUG_6 0x12 -#define JACK_PLUG_7 0x13 -#define JACK_PLUG_8 0x14 -#define JACK_PLUG_9 0x21 -#define JACK_PLUG_10 0x22 -#define JACK_PLUG_11 0x23 -#define JACK_PLUG_12 0x24 -#define JACK_PLUG_13 0x31 -#define JACK_PLUG_14 0x32 -#define JACK_PLUG_15 0x33 -#define JACK_PLUG_16 0x34 - -#define JACK_UNPLUG_1 0x05 -#define JACK_UNPLUG_2 0x06 -#define JACK_UNPLUG_3 0x07 -#define JACK_UNPLUG_4 0x08 -#define JACK_UNPLUG_5 0x15 -#define JACK_UNPLUG_6 0x16 -#define JACK_UNPLUG_7 0x17 -#define JACK_UNPLUG_8 0x18 -#define JACK_UNPLUG_9 0x25 -#define JACK_UNPLUG_10 0x26 -#define JACK_UNPLUG_11 0x27 -#define JACK_UNPLUG_12 0x28 -#define JACK_UNPLUG_13 0x35 -#define JACK_UNPLUG_14 0x36 -#define JACK_UNPLUG_15 0x37 -#define JACK_UNPLUG_16 0x38 - -#define SELECT_TX_INTERNAL 0x09 -#define SELECT_TX_ExTERNAL 0x0A - -#define SELECT_TX_ON_1 0x0D -#define SELECT_TX_ON_2 0x1D -#define SELECT_TX_ON_3 0x2D -#define SELECT_TX_ON_4 0x3D - -#define JACK_PLUG_RX_1 0x0B -#define JACK_UNPLUG_RX_1 0x0C -#define JACK_PLUG_RX_2 0x1B -#define JACK_UNPLUG_RX_2 0x1C -#define JACK_PLUG_RX_3 0x2B -#define JACK_UNPLUG_RX_3 0x2C -#define JACK_PLUG_RX_4 0x3B -#define JACK_UNPLUG_RX_4 0x3C - -#define COMMANDIR_PLUG_1 0x41 -#define COMMANDIR_PLUG_2 0x42 -#define COMMANDIR_PLUG_3 0x43 -#define COMMANDIR_PLUG_4 0x44 - -#define COMMANDIR_UNPLUG_1 0x45 -#define COMMANDIR_UNPLUG_2 0x46 -#define COMMANDIR_UNPLUG_3 0x47 -#define COMMANDIR_UNPLUG_4 0x48 - -#define COMMANDIR_REORDERED 0x50 -#define COMMANDIR_READY 0x51 -#define COMMANDIR_STOPPED 0x52 -#define COMMANDIR_POLL_FASTER 0x53 -#define COMMANDIR_POLL_SLOWER 0x54 - -#define SETTRANSMITTERS_1 0xf0 -#define SETTRANSMITTERS_2 0xf1 -#define SETTRANSMITTERS_3 0xf2 -#define SETTRANSMITTERS_4 0xf3 -#define SETTRANSMITTERS_5 0xf4 -#define SETTRANSMITTERS_6 0xf5 -#define SETTRANSMITTERS_7 0xf6 -#define SETTRANSMITTERS_8 0xf7 -#define SETTRANSMITTERS_9 0xf8 -#define SETTRANSMITTERS_10 0xf9 -#define SETTRANSMITTERS_11 0xfa -#define SETTRANSMITTERS_12 0xfb -#define SETTRANSMITTERS_13 0xfc -#define SETTRANSMITTERS_14 0xfd -#define SETTRANSMITTERS_15 0xfe -#define SETTRANSMITTERS_16 0xff - -// What's in a returning data packet -#define COMMANDIR_RX_EVENTS 0x02 -#define COMMANDIR_RX_DATA 0x01 - - -#endif diff --git a/lirc.spec b/lirc.spec index 03bb9f8..2c965cd 100644 --- a/lirc.spec +++ b/lirc.spec @@ -14,11 +14,11 @@ %bcond_with portaudio %bcond_with svgalib %bcond_without x -%define pre pre1 +%define pre pre2 Name: lirc Version: 0.8.4 -Release: 0.3%{?pre:.%{pre}}%{?dist} +Release: 0.4%{?pre:.%{pre}}%{?dist} Summary: The Linux Infrared Remote Control package Group: System Environment/Daemons @@ -28,8 +28,6 @@ URL: http://www.lirc.org/ Source0: http://lirc.sourceforge.net/software/snapshots/%{name}-%{version}%{pre}.tar.bz2 Source1: %{name}.init Source2: %{name}.sysconfig -# temporary, was accidentally left out of 0.8.4pre1 tarball -Source3: hw_commandir.h Patch0: lirc-use-new-instead-of-conf-as-filename-suffix.patch # https://bugzilla.redhat.com/show_bug.cgi?id=457273 # http://thread.gmane.org/gmane.comp.hardware.lirc/6884 @@ -119,7 +117,6 @@ of remote control configuration files. %prep %setup -q -n %{name}-%{version}%{?pre} %patch0 -p1 -b .suf -cp %{SOURCE3} daemons/ chmod 644 contrib/* @@ -266,6 +263,9 @@ fi %changelog +* Mon Oct 06 2008 - Jarod Wilson - 0.8.4-0.4.pre2 +- Update to 0.8.4pre2 + * Mon Oct 06 2008 - Bastien Nocera - 0.8.4-0.3.pre1 - Fix more keycodes for the streamzap remote diff --git a/sources b/sources index d5df52c..aa992ba 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -b79601ea90fa552653dfc69e29fd5c4d lirc-0.8.4pre1.tar.bz2 +ced411ab8d8cf7918163a1c6514231e4 lirc-0.8.4pre2.tar.bz2 From 46c9e00f7cd07b803440aae178554f44b0708e89 Mon Sep 17 00:00:00 2001 From: Jarod Wilson Date: Fri, 10 Oct 2008 21:21:40 +0000 Subject: [PATCH 049/204] - Re-enable portaudio driver by default, require v19 or later --- lirc.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/lirc.spec b/lirc.spec index 2c965cd..938ed2d 100644 --- a/lirc.spec +++ b/lirc.spec @@ -11,14 +11,14 @@ # - Fixup /etc/lirc(m)d.conf %%ghost'ification, existence after erase etc. %bcond_without alsa -%bcond_with portaudio -%bcond_with svgalib +%bcond_without portaudio %bcond_without x +%bcond_with svgalib %define pre pre2 Name: lirc Version: 0.8.4 -Release: 0.4%{?pre:.%{pre}}%{?dist} +Release: 0.5%{?pre:.%{pre}}%{?dist} Summary: The Linux Infrared Remote Control package Group: System Environment/Daemons @@ -41,7 +41,7 @@ BuildRequires: libusb-devel BuildRequires: alsa-lib-devel %endif %if %{with portaudio} -BuildRequires: portaudio-devel >= 18 +BuildRequires: portaudio-devel >= 19 %endif %if %{with svgalib} BuildRequires: svgalib-devel @@ -263,6 +263,9 @@ fi %changelog +* Fri Oct 10 2008 - Jarod Wilson - 0.8.4-0.5.pre2 +- Re-enable portaudio driver by default, require v19 or later + * Mon Oct 06 2008 - Jarod Wilson - 0.8.4-0.4.pre2 - Update to 0.8.4pre2 From 9888c92dc15782f8a1499fcea95bcdf5a822aef5 Mon Sep 17 00:00:00 2001 From: Jarod Wilson Date: Mon, 13 Oct 2008 03:21:42 +0000 Subject: [PATCH 050/204] - Update to 0.8.4 release --- .cvsignore | 1 + lirc.spec | 9 ++++++--- sources | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.cvsignore b/.cvsignore index 327d8c2..9593178 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1,3 +1,4 @@ lirc-0.8.3.tar.bz2 lirc-0.8.4pre1.tar.bz2 lirc-0.8.4pre2.tar.bz2 +lirc-0.8.4.tar.bz2 diff --git a/lirc.spec b/lirc.spec index 938ed2d..78d5d16 100644 --- a/lirc.spec +++ b/lirc.spec @@ -14,7 +14,7 @@ %bcond_without portaudio %bcond_without x %bcond_with svgalib -%define pre pre2 +#define pre pre2 Name: lirc Version: 0.8.4 @@ -24,8 +24,8 @@ Summary: The Linux Infrared Remote Control package Group: System Environment/Daemons License: GPLv2+ URL: http://www.lirc.org/ -#Source0: http://downloads.sourceforge.net/lirc/%{name}-%{version}.tar.bz2 -Source0: http://lirc.sourceforge.net/software/snapshots/%{name}-%{version}%{pre}.tar.bz2 +Source0: http://downloads.sourceforge.net/lirc/%{name}-%{version}.tar.bz2 +#Source0: http://lirc.sourceforge.net/software/snapshots/%{name}-%{version}%{pre}.tar.bz2 Source1: %{name}.init Source2: %{name}.sysconfig Patch0: lirc-use-new-instead-of-conf-as-filename-suffix.patch @@ -263,6 +263,9 @@ fi %changelog +* Sun Oct 12 2008 - Jarod Wilson - 0.8.4-1 +- Update to 0.8.4 release + * Fri Oct 10 2008 - Jarod Wilson - 0.8.4-0.5.pre2 - Re-enable portaudio driver by default, require v19 or later diff --git a/sources b/sources index aa992ba..6b75a45 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -ced411ab8d8cf7918163a1c6514231e4 lirc-0.8.4pre2.tar.bz2 +8f3ba7eb57529992f3991d6981a3feb6 lirc-0.8.4.tar.bz2 From f66169a8b35e7ff35f9bc74462fa3929aeeb621a Mon Sep 17 00:00:00 2001 From: Jarod Wilson Date: Thu, 16 Oct 2008 20:51:59 +0000 Subject: [PATCH 051/204] - Make all remote configs have unique names (#467303) - Fix up some key names that got screwed up by standardization script --- lirc-0.8.4-make-remote-names-all-unique.patch | 125 +++++ lirc-0.8.4-standardize-remote-keycodes.patch | 57 --- lirc-0.8.4-standardized-name-fixups.patch | 464 ++++++++++++++++++ lirc-streamzap-prev-next.patch | 13 - lirc.spec | 10 +- 5 files changed, 597 insertions(+), 72 deletions(-) create mode 100644 lirc-0.8.4-make-remote-names-all-unique.patch create mode 100644 lirc-0.8.4-standardized-name-fixups.patch delete mode 100644 lirc-streamzap-prev-next.patch diff --git a/lirc-0.8.4-make-remote-names-all-unique.patch b/lirc-0.8.4-make-remote-names-all-unique.patch new file mode 100644 index 0000000..5519b1f --- /dev/null +++ b/lirc-0.8.4-make-remote-names-all-unique.patch @@ -0,0 +1,125 @@ +diff -Naurp lirc-0.8.4/remotes/atiusb/lircd.conf.atiusb lirc-0.8.4.new/remotes/atiusb/lircd.conf.atiusb +--- lirc-0.8.4/remotes/atiusb/lircd.conf.atiusb 2008-10-16 15:13:22.000000000 -0400 ++++ lirc-0.8.4.new/remotes/atiusb/lircd.conf.atiusb 2008-10-16 15:24:46.000000000 -0400 +@@ -1794,7 +1794,7 @@ end remote + + begin remote + +- name Medion_X10 ++ name Medion_X10_V2 + bits 16 + eps 30 + aeps 100 +@@ -1872,7 +1872,7 @@ end remote + + begin remote + +- name Medion_X10 ++ name Medion_X10_V3 + bits 16 + eps 30 + aeps 100 +diff -Naurp lirc-0.8.4/remotes/bestbuy/lircd.conf.bestbuy2 lirc-0.8.4.new/remotes/bestbuy/lircd.conf.bestbuy2 +--- lirc-0.8.4/remotes/bestbuy/lircd.conf.bestbuy2 2008-10-16 15:13:22.000000000 -0400 ++++ lirc-0.8.4.new/remotes/bestbuy/lircd.conf.bestbuy2 2008-10-16 15:16:45.000000000 -0400 +@@ -11,7 +11,7 @@ + + begin remote + +- name BESTBUY ++ name BESTBUY2 + bits 7 + eps 30 + aeps 100 +diff -Naurp lirc-0.8.4/remotes/dvico/lircd.conf.fusionHDTV lirc-0.8.4.new/remotes/dvico/lircd.conf.fusionHDTV +--- lirc-0.8.4/remotes/dvico/lircd.conf.fusionHDTV 2008-10-16 15:13:22.000000000 -0400 ++++ lirc-0.8.4.new/remotes/dvico/lircd.conf.fusionHDTV 2008-10-16 15:23:52.000000000 -0400 +@@ -153,7 +153,7 @@ end remote + + begin remote + +- name DVICO_MCE ++ name DVICO_MCE2 + bits 8 + eps 30 + aeps 100 +diff -Naurp lirc-0.8.4/remotes/generic/NEC-pulse.conf lirc-0.8.4.new/remotes/generic/NEC-pulse.conf +--- lirc-0.8.4/remotes/generic/NEC-pulse.conf 2000-12-03 09:21:31.000000000 -0500 ++++ lirc-0.8.4.new/remotes/generic/NEC-pulse.conf 2008-10-16 15:19:20.000000000 -0400 +@@ -7,7 +7,7 @@ + + begin remote + +- name NEC ++ name NEC_PULSE + bits 16 + flags SPACE_ENC|CONST_LENGTH + eps 30 +diff -Naurp lirc-0.8.4/remotes/generic/NEC-short-pulse.conf lirc-0.8.4.new/remotes/generic/NEC-short-pulse.conf +--- lirc-0.8.4/remotes/generic/NEC-short-pulse.conf 2000-12-03 09:21:31.000000000 -0500 ++++ lirc-0.8.4.new/remotes/generic/NEC-short-pulse.conf 2008-10-16 15:19:10.000000000 -0400 +@@ -9,7 +9,7 @@ + + begin remote + +- name NEC ++ name NEC_SHORT_PULSE + bits 16 + flags SPACE_ENC|CONST_LENGTH + eps 30 +diff -Naurp lirc-0.8.4/remotes/generic/SONY12.conf lirc-0.8.4.new/remotes/generic/SONY12.conf +--- lirc-0.8.4/remotes/generic/SONY12.conf 2001-08-04 06:20:11.000000000 -0400 ++++ lirc-0.8.4.new/remotes/generic/SONY12.conf 2008-10-16 15:18:02.000000000 -0400 +@@ -6,7 +6,7 @@ + + begin remote + +- name SONY ++ name SONY_12 + bits 7 + flags SPACE_ENC|CONST_LENGTH + eps 30 +diff -Naurp lirc-0.8.4/remotes/generic/SONY20.conf lirc-0.8.4.new/remotes/generic/SONY20.conf +--- lirc-0.8.4/remotes/generic/SONY20.conf 2000-12-03 09:21:31.000000000 -0500 ++++ lirc-0.8.4.new/remotes/generic/SONY20.conf 2008-10-16 15:18:12.000000000 -0400 +@@ -6,7 +6,7 @@ + + begin remote + +- name SONY ++ name SONY_20 + bits 7 + flags SPACE_ENC|CONST_LENGTH + eps 30 +diff -Naurp lirc-0.8.4/remotes/hauppauge/lircd.conf.hauppauge lirc-0.8.4.new/remotes/hauppauge/lircd.conf.hauppauge +--- lirc-0.8.4/remotes/hauppauge/lircd.conf.hauppauge 2008-10-16 15:13:22.000000000 -0400 ++++ lirc-0.8.4.new/remotes/hauppauge/lircd.conf.hauppauge 2008-10-16 15:16:14.000000000 -0400 +@@ -278,14 +278,14 @@ end remote + # + # contributed by Matthew Wright + # +-# brand: Hauppauge (HRV-1600 RT Remote) ++# brand: Hauppauge (HVR-1600 RT Remote) + # model no. of remote control: A415-HPG-A + # devices being controlled by this remote: + # + + begin remote + +- name Hauppauge ++ name Hauppauge_HVR_1600 + bits 13 + flags RC5|CONST_LENGTH + eps 30 +diff -Naurp lirc-0.8.4/remotes/leadtek/lircd.conf.PVR2000 lirc-0.8.4.new/remotes/leadtek/lircd.conf.PVR2000 +--- lirc-0.8.4/remotes/leadtek/lircd.conf.PVR2000 2008-10-16 15:13:22.000000000 -0400 ++++ lirc-0.8.4.new/remotes/leadtek/lircd.conf.PVR2000 2008-10-16 15:17:46.000000000 -0400 +@@ -74,7 +74,7 @@ end remote + + begin remote + +- name PVR2000 ++ name PVR2000_V2 + bits 8 + flags SHIFT_ENC + gap 120000 diff --git a/lirc-0.8.4-standardize-remote-keycodes.patch b/lirc-0.8.4-standardize-remote-keycodes.patch index acef796..bdb4ee5 100644 --- a/lirc-0.8.4-standardize-remote-keycodes.patch +++ b/lirc-0.8.4-standardize-remote-keycodes.patch @@ -1,60 +1,3 @@ -diff -Naurp lirc-0.8.4pre1.orig/remotes/adaptec/lircd.conf.AVC-2410 lirc-0.8.4pre1/remotes/adaptec/lircd.conf.AVC-2410 ---- lirc-0.8.4pre1.orig/remotes/adaptec/lircd.conf.AVC-2410 2005-03-28 04:25:36.000000000 -0500 -+++ lirc-0.8.4pre1/remotes/adaptec/lircd.conf.AVC-2410 2008-09-24 17:06:37.000000000 -0400 -@@ -29,30 +29,30 @@ begin remote - Live 0x00000000000025DA - Timeshift 0x00000000000017E8 - Scan 0x00000000000018e7 -- Power 0x00000000000009f6 -- 1 0x00000000000026D9 -- 2 0x00000000000019E6 -- 3 0x00000000000010EF -- 4 0x00000000000027D8 -- 5 0x00000000000020DF -- 6 0x00000000000011EE -- 7 0x00000000000028D7 -- 8 0x00000000000021DE -- 9 0x00000000000012ED -- 0 0x00000000000022DD -- Mute 0x00000000000013EC -+ KEY_POWER 0x00000000000009f6 -+ KEY_1 0x00000000000026D9 -+ KEY_2 0x00000000000019E6 -+ KEY_3 0x00000000000010EF -+ KEY_4 0x00000000000027D8 -+ KEY_5 0x00000000000020DF -+ KEY_6 0x00000000000011EE -+ KEY_7 0x00000000000028D7 -+ KEY_8 0x00000000000021DE -+ KEY_9 0x00000000000012ED -+ KEY_0 0x00000000000022DD -+ KEY_MUTE 0x00000000000013EC - Full 0x00000000000029D6 -- Play 0x00000000000030CF -- Stop 0x00000000000023DC -- Skip 0x00000000000024DB -- Replay 0x00000000000014EB -- Rewind 0x00000000000031CE -- Forward 0x00000000000015EA -- Ch+ 0x00000000000001FE -- Ch- 0x00000000000005FA -- Vol+ 0x00000000000004FB -- Vol- 0x00000000000002FD -- Enter 0x00000000000003FC -+ KEY_PLAY 0x00000000000030CF -+ KEY_STOP 0x00000000000023DC -+ KEY_NEXT 0x00000000000024DB -+ KEY_AGAIN 0x00000000000014EB -+ KEY_REWIND 0x00000000000031CE -+ KEY_FORWARD 0x00000000000015EA -+ KEY_CHANNELUP 0x00000000000001FE -+ KEY_CHANNELDOWN 0x00000000000005FA -+ KEY_VOLUMEUP 0x00000000000004FB -+ KEY_VOLUMEDOWN 0x00000000000002FD -+ KEY_ENTER 0x00000000000003FC - OSD 0x00000000000032CD - cc 0x00000000000016E9 - end codes diff -Naurp lirc-0.8.4pre1.orig/remotes/adstech/lircd.conf.usbx-707 lirc-0.8.4pre1/remotes/adstech/lircd.conf.usbx-707 --- lirc-0.8.4pre1.orig/remotes/adstech/lircd.conf.usbx-707 2008-09-24 17:05:54.000000000 -0400 +++ lirc-0.8.4pre1/remotes/adstech/lircd.conf.usbx-707 2008-09-24 17:06:37.000000000 -0400 diff --git a/lirc-0.8.4-standardized-name-fixups.patch b/lirc-0.8.4-standardized-name-fixups.patch new file mode 100644 index 0000000..46e9e3f --- /dev/null +++ b/lirc-0.8.4-standardized-name-fixups.patch @@ -0,0 +1,464 @@ +diff -Naurp lirc-0.8.4.orig/remotes/adaptec/lircd.conf.AVC-2410 lirc-0.8.4/remotes/adaptec/lircd.conf.AVC-2410 +--- lirc-0.8.4.orig/remotes/adaptec/lircd.conf.AVC-2410 2008-10-16 16:03:39.000000000 -0400 ++++ lirc-0.8.4/remotes/adaptec/lircd.conf.AVC-2410 2005-03-28 04:25:36.000000000 -0500 +@@ -29,30 +29,30 @@ begin remote + Live 0x00000000000025DA + Timeshift 0x00000000000017E8 + Scan 0x00000000000018e7 +- KEY_POWER 0x00000000000009f6 +- KEY_1 0x00000000000026D9 +- KEY_2 0x00000000000019E6 +- KEY_3 0x00000000000010EF +- KEY_4 0x00000000000027D8 +- KEY_5 0x00000000000020DF +- KEY_6 0x00000000000011EE +- KEY_7 0x00000000000028D7 +- KEY_8 0x00000000000021DE +- KEY_9 0x00000000000012ED +- KEY_0 0x00000000000022DD +- KEY_MUTE 0x00000000000013EC ++ Power 0x00000000000009f6 ++ 1 0x00000000000026D9 ++ 2 0x00000000000019E6 ++ 3 0x00000000000010EF ++ 4 0x00000000000027D8 ++ 5 0x00000000000020DF ++ 6 0x00000000000011EE ++ 7 0x00000000000028D7 ++ 8 0x00000000000021DE ++ 9 0x00000000000012ED ++ 0 0x00000000000022DD ++ Mute 0x00000000000013EC + Full 0x00000000000029D6 +- KEY_PLAY 0x00000000000030CF +- KEY_STOP 0x00000000000023DC +- KEY_NEXT 0x00000000000024DB +- KEY_AGAIN 0x00000000000014EB +- KEY_REWIND 0x00000000000031CE +- KEY_FORWARD 0x00000000000015EA +- KEY_CHANNELUP 0x00000000000001FE +- KEY_CHANNELDOWN 0x00000000000005FA +- KEY_VOLUMEUP 0x00000000000004FB +- KEY_VOLUMEDOWN 0x00000000000002FD +- KEY_ENTER 0x00000000000003FC ++ Play 0x00000000000030CF ++ Stop 0x00000000000023DC ++ Skip 0x00000000000024DB ++ Replay 0x00000000000014EB ++ Rewind 0x00000000000031CE ++ Forward 0x00000000000015EA ++ Ch+ 0x00000000000001FE ++ Ch- 0x00000000000005FA ++ Vol+ 0x00000000000004FB ++ Vol- 0x00000000000002FD ++ Enter 0x00000000000003FC + OSD 0x00000000000032CD + cc 0x00000000000016E9 + end codes +diff -Naurp lirc-0.8.4.orig/remotes/adstech/lircd.conf.usbx-707 lirc-0.8.4/remotes/adstech/lircd.conf.usbx-707 +--- lirc-0.8.4.orig/remotes/adstech/lircd.conf.usbx-707 2008-10-16 16:03:39.000000000 -0400 ++++ lirc-0.8.4/remotes/adstech/lircd.conf.usbx-707 2008-10-16 16:30:37.000000000 -0400 +@@ -37,10 +37,10 @@ begin remote + KEY_7 0x02FD54AB00 + KEY_8 0x02FD4CB300 + KEY_9 0x02FD5CA300 +- 0x02FD55AA00 ++ Jump 0x02FD55AA00 + KEY_0 0x02FD4DB200 +- 0x02FD5DA200 +- Guide 0x02FD17E800 ++ Search 0x02FD5DA200 ++ GUIDE 0x02FD17E800 + KEY_UP 0x02FD0FF000 + KEY_MENU 0x02FD1FE000 + KEY_LEFT 0x02FD16E900 +@@ -48,7 +48,7 @@ begin remote + KEY_RIGHT 0x02FD1EE100 + KEY_INFO 0x02FD5AA500 + KEY_DOWN 0x02FD46B900 +- 0x02FD52AD00 ++ KEY_EXIT 0x02FD52AD00 + KEY_AGAIN 0x02FD59A600 + KEY_NEXT 0x02FD51AE00 + KEY_REWIND 0x02FD58A700 +diff -Naurp lirc-0.8.4.orig/remotes/apple/lircd.conf.macmini lirc-0.8.4/remotes/apple/lircd.conf.macmini +--- lirc-0.8.4.orig/remotes/apple/lircd.conf.macmini 2008-10-16 16:03:39.000000000 -0400 ++++ lirc-0.8.4/remotes/apple/lircd.conf.macmini 2008-10-16 16:30:37.000000000 -0400 +@@ -30,7 +30,7 @@ begin remote + KEY_VOLUMEDOWN 0x0D + KEY_REWIND 0x08 + KEY_FORWARD 0x07 +- KEY_PLAY 0x04 ++ KEY_PLAYPAUSE 0x04 + KEY_MENU 0x02 + end codes + +diff -Naurp lirc-0.8.4.orig/remotes/asus/lircd.conf.asusdh lirc-0.8.4/remotes/asus/lircd.conf.asusdh +--- lirc-0.8.4.orig/remotes/asus/lircd.conf.asusdh 2008-10-16 16:03:39.000000000 -0400 ++++ lirc-0.8.4/remotes/asus/lircd.conf.asusdh 2008-10-16 16:30:37.000000000 -0400 +@@ -14,17 +14,17 @@ begin remote + post_data_bits 0 + + begin codes +- KEY_POWER 0x01 ++ KEY_POWER 0x01 + QUICK_POWER 0x02 + NOISE_OFF 0x03 + WIFI 0x04 + AP_LAUNCH 0x05 + KEY_MAX 0x06 +- 0x07 ++ KEY_KPPLUS 0x07 + REV 0x08 +- 0x09 +- KEY_FORWARD 0x0A +- 0x0B ++ KEY_PLAYPAUSE 0x09 ++ KEY_FORWARD 0x0A ++ KEY_KPMINUS 0x0B + end codes + + end remote +diff -Naurp lirc-0.8.4.orig/remotes/atiusb/lircd.conf.atilibusb lirc-0.8.4/remotes/atiusb/lircd.conf.atilibusb +--- lirc-0.8.4.orig/remotes/atiusb/lircd.conf.atilibusb 2008-10-16 16:03:39.000000000 -0400 ++++ lirc-0.8.4/remotes/atiusb/lircd.conf.atilibusb 2008-10-16 16:30:37.000000000 -0400 +@@ -32,8 +32,8 @@ begin remote + begin codes + KEY_STOP 0x000231 + KEY_PAUSE 0x000230 +- 0x000228 +- KEY_RECORD 0x000237 ++ KEY_FASTFORWARD 0x000228 ++ KEY_RECORD 0x000237 + KEY_REWIND 0x000229 + KEY_PLAY 0x00022C + KEY_D 0x00027B +@@ -46,9 +46,9 @@ begin remote + KEY_DOWN 0x000259 + KEY_OK 0x00025C + KEY_INFO 0x0002F9 +- timer 0x000296 ++ timer 0x000296 + KEY_MENU 0x000254 +- check 0x000282 ++ check 0x000282 + KEY_0 0x000200 + KEY_1 0x000201 + KEY_2 0x000202 +@@ -59,24 +59,24 @@ begin remote + KEY_7 0x000207 + KEY_8 0x000208 + KEY_9 0x000209 +- KEY_VOLUMEUP 0x000210 +- KEY_VOLUMEDOWN 0x000211 ++ KEY_VOLUMEUP 0x000210 ++ KEY_VOLUMEDOWN 0x000211 + KEY_MUTE 0x00020D +- KEY_CHANNELUP 0x000220 +- KEY_CHANNELDOWN 0x000221 +- mouse_up 0x0001FF +- mouse_down 0x0002FF +- BTN_LEFT 0x0020FF +- BTN_RIGHT 0x0010FF +- BTN_RIGHT 0x0011FF +- mouse_down_right 0x0012FF +- BTN_LEFT 0x0021FF +- mouse_down_left 0x0022FF +- right_click 0x0002AA +- left_click 0x0002A9 +- hand 0x0002D0 +- shrink_resize 0x0002D5 +- ? 0x0002BE ++ KEY_CHANNELUP 0x000220 ++ KEY_CHANNELDOWN 0x000221 ++ mouse_up 0x0001FF ++ mouse_down 0x0002FF ++ BTN_LEFT 0x0020FF ++ BTN_RIGHT 0x0010FF ++ BTN_RIGHT 0x0011FF ++ mouse_down_right 0x0012FF ++ BTN_LEFT 0x0021FF ++ mouse_down_left 0x0022FF ++ right_click 0x0002AA ++ left_click 0x0002A9 ++ hand 0x0002D0 ++ shrink_resize 0x0002D5 ++ ? 0x0002BE + KEY_DVD 0x000238 + KEY_TV 0x000239 + KEY_A 0x000278 +diff -Naurp lirc-0.8.4.orig/remotes/ericsson/lircd.conf.bte lirc-0.8.4/remotes/ericsson/lircd.conf.bte +--- lirc-0.8.4.orig/remotes/ericsson/lircd.conf.bte 2008-10-16 16:03:39.000000000 -0400 ++++ lirc-0.8.4/remotes/ericsson/lircd.conf.bte 2008-10-16 16:30:37.000000000 -0400 +@@ -11,7 +11,7 @@ + + begin remote + +- name bte ++ name bte + bits 16 + + begin codes +@@ -25,28 +25,28 @@ begin remote + KEY_7 0x0037 + KEY_8 0x0038 + KEY_9 0x0039 +- 0x002a # '*' +- 0x0023 # '#' ++ STAR 0x002a # '*' ++ HASH 0x0023 # '#' + KEY_UP 0x005e # '^' + KEY_DOWN 0x0076 # 'v' + KEY_LEFT 0x003c # '<' + KEY_RIGHT 0x003e # '>' + KEY_CANCEL 0x0063 # 'c' +- KEY_VOLUMEUP 0x0075 # 'u' +- KEY_VOLUMEDOWN 0x0064 # 'd' ++ KEY_VOLUMEUP 0x0075 # 'u' ++ KEY_VOLUMEDOWN 0x0064 # 'd' + + # t520m + NO 0x0065 # 'e' +- 0x0073 # 's' +- 0x004c # 'L' +- 0x0047 # 'G' - hides dialog widget! ++ YES 0x0073 # 's' ++ OPTION 0x004c # 'L' ++ MEMO 0x0047 # 'G' - hides dialog widget! + + # t630 + F_LEFT 0x005b # '[' + F_RIGHT 0x005d # ']' - triggers 'e' + J_CLICK 0x3a4a # ':J' - triggers 'e' +- RETURN 0x3a52 # ':R' - triggers 'e' +- 0x3a43 # ':C' ++ KEY_ENTER 0x3a52 # ':R' - triggers 'e' ++ KEY_CAMERA 0x3a43 # ':C' + WAP 0x3a4f # ':O' + + end codes +diff -Naurp lirc-0.8.4.orig/remotes/kanam_accent/lircd.conf.IR-100 lirc-0.8.4/remotes/kanam_accent/lircd.conf.IR-100 +--- lirc-0.8.4.orig/remotes/kanam_accent/lircd.conf.IR-100 2008-10-16 16:03:39.000000000 -0400 ++++ lirc-0.8.4/remotes/kanam_accent/lircd.conf.IR-100 2008-10-16 16:30:37.000000000 -0400 +@@ -30,7 +30,7 @@ begin remote + + begin codes + KEY_POWER 0x62260942 +- KEY_EJECTCD 0x62662409 ++ KEY_EJECTCD 0x62662409 + KEY_1 0x62662209 + KEY_2 0x22642209 + KEY_3 0x62641142 +@@ -41,35 +41,35 @@ begin remote + KEY_8 0x22646409 + KEY_9 0x62646609 + KEY_0 0x22464226 +- 0x62664226 +- 0x62660942 +- KEY_VOLUMEDOWN 0x22896642 +- KEY_VOLUMEUP 0x62622609 ++ KEY_WINDOWS 0x62664226 ++ KEY_MENU 0x62660942 ++ KEY_VOLUMEDOWN 0x22896642 ++ KEY_VOLUMEUP 0x62622609 + KEY_ESC 0x22662609 + KEY_UP 0x22916642 + KEY_CLOSE 0x22994642 + KEY_LEFT 0x22994242 +- ent 0x22892642 ++ ent 0x22892642 + KEY_RIGHT 0x22914642 +- KEY_PREVIOUS 0x62996242 ++ KEY_PREVIOUS 0x62996242 + KEY_DOWN 0x22192699 + KEY_NEXT 0x22660942 + KEY_MUTE 0x22622409 +- step 0x62994C42 ++ step 0x62994C42 + KEY_PLAY 0x22246426 + KEY_STOP 0x6246894C +- winamp 0x62426409 +- 0x22664409 +- hdtv 0x22992642 +- 0x62664609 +- 0x62992299 +- 0x62912242 +- KEY_WWW 0x62264626 +- email 0x22998C99 +- 0x22264426 +- 0x22426209 +- 0x62896442 +- 0x22096642 ++ winamp 0x62426409 ++ mediaplayer 0x22664409 ++ KEY_TV 0x22992642 ++ KEY_DVD 0x62664609 ++ windvd 0x62992299 ++ powerdvd 0x62912242 ++ KEY_WWW 0x62264626 ++ KEY_MAIL 0x22998C99 ++ b1 0x22264426 ++ b2 0x22426209 ++ b3 0x62896442 ++ b4 0x22096642 + end codes + + end remote +diff -Naurp lirc-0.8.4.orig/remotes/mceusb/lircd.conf.mceusb lirc-0.8.4/remotes/mceusb/lircd.conf.mceusb +--- lirc-0.8.4.orig/remotes/mceusb/lircd.conf.mceusb 2008-10-16 16:03:39.000000000 -0400 ++++ lirc-0.8.4/remotes/mceusb/lircd.conf.mceusb 2008-10-16 16:49:17.000000000 -0400 +@@ -1,7 +1,8 @@ + # +-# brand: HP +-# model no. of remote control: TSGH-IR01 +-# devices being controlled by this remote: HP Slimline S3100y ++# brand: HP/Philips/Microsoft/Other ++# model no. of remote control: Media Center Edition remote ++# devices being controlled by this remote: HP Slimline S3100y and a ++# myriad of devices with Media Center Edition receivers + # + # Derived from MCEUSB2 lircd.conf file (lircd.conf.mceusb) found at: + # https://help.ubuntu.com/community/Install_Lirc_Feisty +diff -Naurp lirc-0.8.4.orig/remotes/samsung/lircd.conf.samsung lirc-0.8.4/remotes/samsung/lircd.conf.samsung +--- lirc-0.8.4.orig/remotes/samsung/lircd.conf.samsung 2008-10-16 16:03:39.000000000 -0400 ++++ lirc-0.8.4/remotes/samsung/lircd.conf.samsung 2008-10-16 16:30:37.000000000 -0400 +@@ -39,42 +39,42 @@ begin remote + + ### Propietary Samsung report, type 4 + KEY_MUTE 0xffcc0001 +- Video_Archive 0xffcc0002 ++ Video_Archive 0xffcc0002 + KEY_1 0xffcc0003 + KEY_2 0xffcc0004 + KEY_3 0xffcc0005 +- 0xffcc0006 ++ Sleep 0xffcc0006 + KEY_4 0xffcc0007 + KEY_5 0xffcc0008 + KEY_6 0xffcc0009 +- 0xffcc000a ++ Last 0xffcc000a + KEY_7 0xffcc000b + KEY_8 0xffcc000c + KEY_9 0xffcc000d +- 0xffcc000e +- Full 0xffcc000f ++ KEY_SUBTITLE 0xffcc000e ++ Full 0xffcc000f + KEY_0 0xffcc0010 +- PIP 0xffcc0011 +- Timer 0xffcc0012 +- 0xffcc0013 +- TV_Menu 0xffcc0014 ++ PIP 0xffcc0011 ++ Timer 0xffcc0012 ++ Source 0xffcc0013 ++ TV_Menu 0xffcc0014 + KEY_EPG 0xffcc0015 + KEY_TEXT 0xffcc0016 + # gap 17..1b: probably cursor keys were previously planned here + KEY_TV 0xffcc001c + KEY_RADIO 0xffcc001d + KEY_DVD 0xffcc001e +- KEY_CHANNELUP 0xffcc001f ++ KEY_CHANNELUP 0xffcc001f + KEY_MENU 0xffcc0020 +- KEY_VOLUMEUP 0xffcc0021 +- KEY_CHANNELDOWN 0xffcc0022 ++ KEY_VOLUMEUP 0xffcc0021 ++ KEY_CHANNELDOWN 0xffcc0022 + KEY_BACK 0xffcc0023 +- KEY_VOLUMEDOWN 0xffcc0024 ++ KEY_VOLUMEDOWN 0xffcc0024 + KEY_PLAY 0xffcc0025 + KEY_PAUSE 0xffcc0026 + KEY_STOP 0xffcc0027 + KEY_RECORD 0xffcc0028 +- KEY_PREVIOUS 0xffcc0029 ++ KEY_PREVIOUS 0xffcc0029 + KEY_REWIND 0xffcc002a + KEY_FORWARD 0xffcc002b + KEY_NEXT 0xffcc002c +diff -Naurp lirc-0.8.4.orig/remotes/vlsystem/lircd.conf.mplay lirc-0.8.4/remotes/vlsystem/lircd.conf.mplay +--- lirc-0.8.4.orig/remotes/vlsystem/lircd.conf.mplay 2008-10-16 16:03:39.000000000 -0400 ++++ lirc-0.8.4/remotes/vlsystem/lircd.conf.mplay 2008-10-16 16:30:37.000000000 -0400 +@@ -22,11 +22,11 @@ begin remote + toggle_bit_mask 0x0 + + begin codes +- PwrOff 0x41 +- PwrOn 0x55 +- Movies 0x40 +- Television 0x46 +- Photos 0x45 ++ PwrOff 0x41 ++ KEY_POWER 0x55 ++ KEY_VIDEO 0x40 ++ KEY_TV 0x46 ++ KEY_PHOTO 0x45 + KEY_AUDIO 0x56 + KEY_1 0x4d + KEY_2 0x4e +@@ -38,33 +38,33 @@ begin remote + KEY_8 0x03 + KEY_9 0x07 + KEY_0 0x4c +- KEY_VOLUMEUP 0x0a +- KEY_VOLUMEDOWN 0x0e +- Ch+_Lang 0x12 +- Ch-_Page 0x16 +- Guide 0x0f ++ KEY_VOLUMEUP 0x0a ++ KEY_VOLUMEDOWN 0x0e ++ KEY_CHANNELUP 0x12 ++ KEY_CHANNELDOWN 0x16 ++ Guide 0x0f + KEY_BACK 0x0b +- 0x13 ++ KEY_TV 0x13 + KEY_OK 0x42 + KEY_UP 0x19 + KEY_LEFT 0x54 + KEY_RIGHT 0x43 + KEY_DOWN 0x1d +- Exit_Click 0x1f +- Task_Quick 0x17 +- Run_DClick 0x1b +- KEY_REWIND 0x0d ++ Exit_Click 0x1f ++ Task_Quick 0x17 ++ Run_DClick 0x1b ++ KEY_REWIND 0x0d + KEY_PLAY 0x09 +- 0x15 +- KEY_PREVIOUS 0x1a ++ KEY_FASTFORWARD 0x15 ++ KEY_PREVIOUS 0x1a + KEY_STOP 0x01 + KEY_NEXT 0x1e + KEY_PAUSE 0x05 + KEY_MUTE 0x4a +- Warp_Mouse 0x47 +- KEY_RECORD 0x11 +- DVD_Zoom 0x14 +- Detail 0x4b ++ Warp_Mouse 0x47 ++ KEY_RECORD 0x11 ++ KEY_ZOOM 0x14 ++ Detail 0x4b + end codes + + end remote +--- lirc-0.8.4pre1.orig/remotes/streamzap/lircd.conf.streamzap 2008-10-01 12:09:37.000000000 +0100 ++++ lirc-0.8.4pre1/remotes/streamzap/lircd.conf.streamzap 2008-10-06 09:08:57.000000000 +0100 +@@ -53,8 +53,8 @@ begin remote + KEY_PLAY 0x17 + KEY_PAUSE 0x18 + KEY_STOP 0x19 +- |<< 0x1A +- >>| 0x1B ++ KEY_PREVIOUS 0x1A ++ KEY_NEXT 0x1B + KEY_RECORD 0x1C + KEY_REWIND 0x1D + KEY_FORWARD 0x1E diff --git a/lirc-streamzap-prev-next.patch b/lirc-streamzap-prev-next.patch deleted file mode 100644 index daef5f4..0000000 --- a/lirc-streamzap-prev-next.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- lirc-0.8.4pre1.orig/remotes/streamzap/lircd.conf.streamzap 2008-10-01 12:09:37.000000000 +0100 -+++ lirc-0.8.4pre1/remotes/streamzap/lircd.conf.streamzap 2008-10-06 09:08:57.000000000 +0100 -@@ -53,8 +53,8 @@ begin remote - KEY_PLAY 0x17 - KEY_PAUSE 0x18 - KEY_STOP 0x19 -- |<< 0x1A -- >>| 0x1B -+ KEY_PREVIOUS 0x1A -+ KEY_NEXT 0x1B - KEY_RECORD 0x1C - KEY_REWIND 0x1D - KEY_FORWARD 0x1E diff --git a/lirc.spec b/lirc.spec index 78d5d16..25e710e 100644 --- a/lirc.spec +++ b/lirc.spec @@ -18,7 +18,7 @@ Name: lirc Version: 0.8.4 -Release: 0.5%{?pre:.%{pre}}%{?dist} +Release: 2%{?pre:.%{pre}}%{?dist} Summary: The Linux Infrared Remote Control package Group: System Environment/Daemons @@ -32,7 +32,8 @@ Patch0: lirc-use-new-instead-of-conf-as-filename-suffix.patch # https://bugzilla.redhat.com/show_bug.cgi?id=457273 # http://thread.gmane.org/gmane.comp.hardware.lirc/6884 Patch1: lirc-0.8.4-standardize-remote-keycodes.patch -Patch2: lirc-streamzap-prev-next.patch +Patch2: lirc-0.8.4-make-remote-names-all-unique.patch +Patch3: lirc-0.8.4-standardized-name-fixups.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: %{__perl} @@ -152,6 +153,7 @@ touch -r aclocal.m4 configure.ac # avoid autofoo re-run # Don't create a backup, or the original definitions will get installed %patch1 -p1 %patch2 -p1 +%patch3 -p1 %build %configure \ @@ -263,6 +265,10 @@ fi %changelog +* Thu Oct 16 2008 - Jarod Wilson - 0.8.4-2 +- Make all remote configs have unique names (#467303) +- Fix up some key names that got screwed up by standardization script + * Sun Oct 12 2008 - Jarod Wilson - 0.8.4-1 - Update to 0.8.4 release From f02d727e11199bafcb78c2dc681f42582f3ec38e Mon Sep 17 00:00:00 2001 From: Jarod Wilson Date: Thu, 16 Oct 2008 21:02:22 +0000 Subject: [PATCH 052/204] no clue how the hell that chunk got in there... --- lirc-0.8.4-standardized-name-fixups.patch | 57 ----------------------- 1 file changed, 57 deletions(-) diff --git a/lirc-0.8.4-standardized-name-fixups.patch b/lirc-0.8.4-standardized-name-fixups.patch index 46e9e3f..8830332 100644 --- a/lirc-0.8.4-standardized-name-fixups.patch +++ b/lirc-0.8.4-standardized-name-fixups.patch @@ -1,60 +1,3 @@ -diff -Naurp lirc-0.8.4.orig/remotes/adaptec/lircd.conf.AVC-2410 lirc-0.8.4/remotes/adaptec/lircd.conf.AVC-2410 ---- lirc-0.8.4.orig/remotes/adaptec/lircd.conf.AVC-2410 2008-10-16 16:03:39.000000000 -0400 -+++ lirc-0.8.4/remotes/adaptec/lircd.conf.AVC-2410 2005-03-28 04:25:36.000000000 -0500 -@@ -29,30 +29,30 @@ begin remote - Live 0x00000000000025DA - Timeshift 0x00000000000017E8 - Scan 0x00000000000018e7 -- KEY_POWER 0x00000000000009f6 -- KEY_1 0x00000000000026D9 -- KEY_2 0x00000000000019E6 -- KEY_3 0x00000000000010EF -- KEY_4 0x00000000000027D8 -- KEY_5 0x00000000000020DF -- KEY_6 0x00000000000011EE -- KEY_7 0x00000000000028D7 -- KEY_8 0x00000000000021DE -- KEY_9 0x00000000000012ED -- KEY_0 0x00000000000022DD -- KEY_MUTE 0x00000000000013EC -+ Power 0x00000000000009f6 -+ 1 0x00000000000026D9 -+ 2 0x00000000000019E6 -+ 3 0x00000000000010EF -+ 4 0x00000000000027D8 -+ 5 0x00000000000020DF -+ 6 0x00000000000011EE -+ 7 0x00000000000028D7 -+ 8 0x00000000000021DE -+ 9 0x00000000000012ED -+ 0 0x00000000000022DD -+ Mute 0x00000000000013EC - Full 0x00000000000029D6 -- KEY_PLAY 0x00000000000030CF -- KEY_STOP 0x00000000000023DC -- KEY_NEXT 0x00000000000024DB -- KEY_AGAIN 0x00000000000014EB -- KEY_REWIND 0x00000000000031CE -- KEY_FORWARD 0x00000000000015EA -- KEY_CHANNELUP 0x00000000000001FE -- KEY_CHANNELDOWN 0x00000000000005FA -- KEY_VOLUMEUP 0x00000000000004FB -- KEY_VOLUMEDOWN 0x00000000000002FD -- KEY_ENTER 0x00000000000003FC -+ Play 0x00000000000030CF -+ Stop 0x00000000000023DC -+ Skip 0x00000000000024DB -+ Replay 0x00000000000014EB -+ Rewind 0x00000000000031CE -+ Forward 0x00000000000015EA -+ Ch+ 0x00000000000001FE -+ Ch- 0x00000000000005FA -+ Vol+ 0x00000000000004FB -+ Vol- 0x00000000000002FD -+ Enter 0x00000000000003FC - OSD 0x00000000000032CD - cc 0x00000000000016E9 - end codes diff -Naurp lirc-0.8.4.orig/remotes/adstech/lircd.conf.usbx-707 lirc-0.8.4/remotes/adstech/lircd.conf.usbx-707 --- lirc-0.8.4.orig/remotes/adstech/lircd.conf.usbx-707 2008-10-16 16:03:39.000000000 -0400 +++ lirc-0.8.4/remotes/adstech/lircd.conf.usbx-707 2008-10-16 16:30:37.000000000 -0400 From fb27741c0498bd9aef48509acd068ef2703108dc Mon Sep 17 00:00:00 2001 From: Jarod Wilson Date: Sun, 26 Oct 2008 20:06:09 +0000 Subject: [PATCH 053/204] - Update to lirc 0.8.4a release (fixes mode2 irrecord failures) - Really fix the mceusb remote config file this time --- .cvsignore | 1 + lirc-0.8.4-standardized-name-fixups.patch | 31 +++++++++++++++-------- lirc.spec | 8 ++++-- sources | 2 +- 4 files changed, 28 insertions(+), 14 deletions(-) diff --git a/.cvsignore b/.cvsignore index 9593178..ba6ea46 100644 --- a/.cvsignore +++ b/.cvsignore @@ -2,3 +2,4 @@ lirc-0.8.3.tar.bz2 lirc-0.8.4pre1.tar.bz2 lirc-0.8.4pre2.tar.bz2 lirc-0.8.4.tar.bz2 +lirc-0.8.4a.tar.bz2 diff --git a/lirc-0.8.4-standardized-name-fixups.patch b/lirc-0.8.4-standardized-name-fixups.patch index 8830332..fe7b57c 100644 --- a/lirc-0.8.4-standardized-name-fixups.patch +++ b/lirc-0.8.4-standardized-name-fixups.patch @@ -1,6 +1,6 @@ diff -Naurp lirc-0.8.4.orig/remotes/adstech/lircd.conf.usbx-707 lirc-0.8.4/remotes/adstech/lircd.conf.usbx-707 --- lirc-0.8.4.orig/remotes/adstech/lircd.conf.usbx-707 2008-10-16 16:03:39.000000000 -0400 -+++ lirc-0.8.4/remotes/adstech/lircd.conf.usbx-707 2008-10-16 16:30:37.000000000 -0400 ++++ lirc-0.8.4/remotes/adstech/lircd.conf.usbx-707 2008-10-16 17:01:59.000000000 -0400 @@ -37,10 +37,10 @@ begin remote KEY_7 0x02FD54AB00 KEY_8 0x02FD4CB300 @@ -26,7 +26,7 @@ diff -Naurp lirc-0.8.4.orig/remotes/adstech/lircd.conf.usbx-707 lirc-0.8.4/remot KEY_REWIND 0x02FD58A700 diff -Naurp lirc-0.8.4.orig/remotes/apple/lircd.conf.macmini lirc-0.8.4/remotes/apple/lircd.conf.macmini --- lirc-0.8.4.orig/remotes/apple/lircd.conf.macmini 2008-10-16 16:03:39.000000000 -0400 -+++ lirc-0.8.4/remotes/apple/lircd.conf.macmini 2008-10-16 16:30:37.000000000 -0400 ++++ lirc-0.8.4/remotes/apple/lircd.conf.macmini 2008-10-16 17:01:59.000000000 -0400 @@ -30,7 +30,7 @@ begin remote KEY_VOLUMEDOWN 0x0D KEY_REWIND 0x08 @@ -38,7 +38,7 @@ diff -Naurp lirc-0.8.4.orig/remotes/apple/lircd.conf.macmini lirc-0.8.4/remotes/ diff -Naurp lirc-0.8.4.orig/remotes/asus/lircd.conf.asusdh lirc-0.8.4/remotes/asus/lircd.conf.asusdh --- lirc-0.8.4.orig/remotes/asus/lircd.conf.asusdh 2008-10-16 16:03:39.000000000 -0400 -+++ lirc-0.8.4/remotes/asus/lircd.conf.asusdh 2008-10-16 16:30:37.000000000 -0400 ++++ lirc-0.8.4/remotes/asus/lircd.conf.asusdh 2008-10-16 17:01:59.000000000 -0400 @@ -14,17 +14,17 @@ begin remote post_data_bits 0 @@ -64,7 +64,7 @@ diff -Naurp lirc-0.8.4.orig/remotes/asus/lircd.conf.asusdh lirc-0.8.4/remotes/as end remote diff -Naurp lirc-0.8.4.orig/remotes/atiusb/lircd.conf.atilibusb lirc-0.8.4/remotes/atiusb/lircd.conf.atilibusb --- lirc-0.8.4.orig/remotes/atiusb/lircd.conf.atilibusb 2008-10-16 16:03:39.000000000 -0400 -+++ lirc-0.8.4/remotes/atiusb/lircd.conf.atilibusb 2008-10-16 16:30:37.000000000 -0400 ++++ lirc-0.8.4/remotes/atiusb/lircd.conf.atilibusb 2008-10-16 17:01:59.000000000 -0400 @@ -32,8 +32,8 @@ begin remote begin codes KEY_STOP 0x000231 @@ -132,7 +132,7 @@ diff -Naurp lirc-0.8.4.orig/remotes/atiusb/lircd.conf.atilibusb lirc-0.8.4/remot KEY_A 0x000278 diff -Naurp lirc-0.8.4.orig/remotes/ericsson/lircd.conf.bte lirc-0.8.4/remotes/ericsson/lircd.conf.bte --- lirc-0.8.4.orig/remotes/ericsson/lircd.conf.bte 2008-10-16 16:03:39.000000000 -0400 -+++ lirc-0.8.4/remotes/ericsson/lircd.conf.bte 2008-10-16 16:30:37.000000000 -0400 ++++ lirc-0.8.4/remotes/ericsson/lircd.conf.bte 2008-10-16 17:01:59.000000000 -0400 @@ -11,7 +11,7 @@ begin remote @@ -182,7 +182,7 @@ diff -Naurp lirc-0.8.4.orig/remotes/ericsson/lircd.conf.bte lirc-0.8.4/remotes/e end codes diff -Naurp lirc-0.8.4.orig/remotes/kanam_accent/lircd.conf.IR-100 lirc-0.8.4/remotes/kanam_accent/lircd.conf.IR-100 --- lirc-0.8.4.orig/remotes/kanam_accent/lircd.conf.IR-100 2008-10-16 16:03:39.000000000 -0400 -+++ lirc-0.8.4/remotes/kanam_accent/lircd.conf.IR-100 2008-10-16 16:30:37.000000000 -0400 ++++ lirc-0.8.4/remotes/kanam_accent/lircd.conf.IR-100 2008-10-16 17:01:59.000000000 -0400 @@ -30,7 +30,7 @@ begin remote begin codes @@ -249,7 +249,7 @@ diff -Naurp lirc-0.8.4.orig/remotes/kanam_accent/lircd.conf.IR-100 lirc-0.8.4/re end remote diff -Naurp lirc-0.8.4.orig/remotes/mceusb/lircd.conf.mceusb lirc-0.8.4/remotes/mceusb/lircd.conf.mceusb --- lirc-0.8.4.orig/remotes/mceusb/lircd.conf.mceusb 2008-10-16 16:03:39.000000000 -0400 -+++ lirc-0.8.4/remotes/mceusb/lircd.conf.mceusb 2008-10-16 16:49:17.000000000 -0400 ++++ lirc-0.8.4/remotes/mceusb/lircd.conf.mceusb 2008-10-16 17:18:58.000000000 -0400 @@ -1,7 +1,8 @@ # -# brand: HP @@ -262,9 +262,18 @@ diff -Naurp lirc-0.8.4.orig/remotes/mceusb/lircd.conf.mceusb lirc-0.8.4/remotes/ # # Derived from MCEUSB2 lircd.conf file (lircd.conf.mceusb) found at: # https://help.ubuntu.com/community/Install_Lirc_Feisty +@@ -94,7 +95,7 @@ begin remote + BBB 0x00007bbb + BBC 0x00007bbc + BBD 0x00007bbd +- 0x00007bbe ++ BBE 0x00007bbe + BBF 0x00007bbf + #bc1 - bca unused + BC1 0x00007bc1 diff -Naurp lirc-0.8.4.orig/remotes/samsung/lircd.conf.samsung lirc-0.8.4/remotes/samsung/lircd.conf.samsung --- lirc-0.8.4.orig/remotes/samsung/lircd.conf.samsung 2008-10-16 16:03:39.000000000 -0400 -+++ lirc-0.8.4/remotes/samsung/lircd.conf.samsung 2008-10-16 16:30:37.000000000 -0400 ++++ lirc-0.8.4/remotes/samsung/lircd.conf.samsung 2008-10-16 17:01:59.000000000 -0400 @@ -39,42 +39,42 @@ begin remote ### Propietary Samsung report, type 4 @@ -324,7 +333,7 @@ diff -Naurp lirc-0.8.4.orig/remotes/samsung/lircd.conf.samsung lirc-0.8.4/remote KEY_NEXT 0xffcc002c diff -Naurp lirc-0.8.4.orig/remotes/vlsystem/lircd.conf.mplay lirc-0.8.4/remotes/vlsystem/lircd.conf.mplay --- lirc-0.8.4.orig/remotes/vlsystem/lircd.conf.mplay 2008-10-16 16:03:39.000000000 -0400 -+++ lirc-0.8.4/remotes/vlsystem/lircd.conf.mplay 2008-10-16 16:30:37.000000000 -0400 ++++ lirc-0.8.4/remotes/vlsystem/lircd.conf.mplay 2008-10-16 17:01:59.000000000 -0400 @@ -22,11 +22,11 @@ begin remote toggle_bit_mask 0x0 @@ -400,8 +409,8 @@ diff -Naurp lirc-0.8.4.orig/remotes/vlsystem/lircd.conf.mplay lirc-0.8.4/remotes KEY_STOP 0x19 - |<< 0x1A - >>| 0x1B -+ KEY_PREVIOUS 0x1A -+ KEY_NEXT 0x1B ++ KEY_PREVIOUS 0x1A ++ KEY_NEXT 0x1B KEY_RECORD 0x1C KEY_REWIND 0x1D KEY_FORWARD 0x1E diff --git a/lirc.spec b/lirc.spec index 25e710e..e0fe821 100644 --- a/lirc.spec +++ b/lirc.spec @@ -17,8 +17,8 @@ #define pre pre2 Name: lirc -Version: 0.8.4 -Release: 2%{?pre:.%{pre}}%{?dist} +Version: 0.8.4a +Release: 1%{?pre:.%{pre}}%{?dist} Summary: The Linux Infrared Remote Control package Group: System Environment/Daemons @@ -265,6 +265,10 @@ fi %changelog +* Sun Oct 26 2008 - Jarod Wilson - 0.8.4a-1 +- Update to lirc 0.8.4a release (fixes mode2 irrecord failures) +- Really fix the mceusb remote config file this time + * Thu Oct 16 2008 - Jarod Wilson - 0.8.4-2 - Make all remote configs have unique names (#467303) - Fix up some key names that got screwed up by standardization script diff --git a/sources b/sources index 6b75a45..4342ac4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -8f3ba7eb57529992f3991d6981a3feb6 lirc-0.8.4.tar.bz2 +606b714ed843d28060163ffc571fc1f7 lirc-0.8.4a.tar.bz2 From 7d79c43527e34f6dd6f48227200f7280481aaffd Mon Sep 17 00:00:00 2001 From: Jarod Wilson Date: Mon, 8 Dec 2008 22:40:31 +0000 Subject: [PATCH 054/204] - Nuke bogus and harmful %postun --try-restart (#474960) - Assorted updates from lirc cvs: Add uinput injection support Add support for binding lircd listener to a specific ip --- lirc.spec | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/lirc.spec b/lirc.spec index e0fe821..24c4c81 100644 --- a/lirc.spec +++ b/lirc.spec @@ -18,7 +18,7 @@ Name: lirc Version: 0.8.4a -Release: 1%{?pre:.%{pre}}%{?dist} +Release: 2%{?pre:.%{pre}}%{?dist} Summary: The Linux Infrared Remote Control package Group: System Environment/Daemons @@ -34,6 +34,7 @@ Patch0: lirc-use-new-instead-of-conf-as-filename-suffix.patch Patch1: lirc-0.8.4-standardize-remote-keycodes.patch Patch2: lirc-0.8.4-make-remote-names-all-unique.patch Patch3: lirc-0.8.4-standardized-name-fixups.patch +Patch4: lirc-0.8.4-cvs-update.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: %{__perl} @@ -154,6 +155,7 @@ touch -r aclocal.m4 configure.ac # avoid autofoo re-run %patch1 -p1 %patch2 -p1 %patch3 -p1 +%patch4 -p1 %build %configure \ @@ -222,11 +224,6 @@ if [ $1 -eq 0 ] ; then /sbin/chkconfig --del lirc || : fi -%postun -if [ $1 -gt 0 ] ; then - %{_initrddir}/lirc try-restart >/dev/null || : -fi - %postun libs -p /sbin/ldconfig @@ -265,6 +262,12 @@ fi %changelog +* Mon Dec 08 2008 - Jarod Wilson - 0.8.4a-2 +- Nuke bogus and harmful %%postun --try-restart (#474960) +- Assorted updates from lirc cvs: + * Add uinput injection support + * Add support for binding lircd listener to a specific ip + * Sun Oct 26 2008 - Jarod Wilson - 0.8.4a-1 - Update to lirc 0.8.4a release (fixes mode2 irrecord failures) - Really fix the mceusb remote config file this time From 5566f87afee61efa0c23aa6b873c6f6a482b3c68 Mon Sep 17 00:00:00 2001 From: Jarod Wilson Date: Mon, 8 Dec 2008 22:43:17 +0000 Subject: [PATCH 055/204] dammit. I hate cvs. --- lirc-0.8.4-cvs-update.patch | 763 ++++++++++++++++++++++++++++++++++++ 1 file changed, 763 insertions(+) create mode 100644 lirc-0.8.4-cvs-update.patch diff --git a/lirc-0.8.4-cvs-update.patch b/lirc-0.8.4-cvs-update.patch new file mode 100644 index 0000000..80e29e9 --- /dev/null +++ b/lirc-0.8.4-cvs-update.patch @@ -0,0 +1,763 @@ +diff -Naurp lirc-0.8.4a.orig/daemons/hw_devinput.c lirc-0.8.4a.upd/daemons/hw_devinput.c +--- lirc-0.8.4a.orig/daemons/hw_devinput.c 2008-03-02 14:16:30.000000000 -0500 ++++ lirc-0.8.4a.upd/daemons/hw_devinput.c 2008-12-08 17:10:05.072745094 -0500 +@@ -220,7 +220,7 @@ int devinput_init() + if (ioctl(hw.fd, EVIOCGRAB, 1) == -1) + { + logprintf(LOG_WARNING, "can't get exclusive access to events " +- "comming from `%s' interface", ++ "coming from `%s' interface", + hw.device); + } + #endif +diff -Naurp lirc-0.8.4a.orig/daemons/irrecord.c lirc-0.8.4a.upd/daemons/irrecord.c +--- lirc-0.8.4a.orig/daemons/irrecord.c 2008-12-08 16:47:25.358745194 -0500 ++++ lirc-0.8.4a.upd/daemons/irrecord.c 2008-12-08 16:55:26.208557409 -0500 +@@ -1395,6 +1395,7 @@ void analyse_remote(struct ir_remote *ra + next_code = NULL; + current_code = NULL; + current_index = 0; ++ memset(&remote, 0, sizeof(remote)); + get_lengths(&remote, 0, 0 /* not interactive */ ); + + if(is_rc6(&remote)) +diff -Naurp lirc-0.8.4a.orig/daemons/lircd.c lirc-0.8.4a.upd/daemons/lircd.c +--- lirc-0.8.4a.orig/daemons/lircd.c 2008-10-04 17:48:43.000000000 -0400 ++++ lirc-0.8.4a.upd/daemons/lircd.c 2008-12-08 17:06:32.108557638 -0500 +@@ -1,4 +1,4 @@ +-/* $Id: lircd.c,v 5.80 2008/10/04 21:48:43 lirc Exp $ */ ++/* $Id: lircd.c,v 5.82 2008/12/06 20:00:03 lirc Exp $ */ + + /**************************************************************************** + ** lircd.c ***************************************************************** +@@ -57,6 +57,12 @@ + #include + #include + ++#if defined(__linux__) ++#include ++#include ++#include "input_map.h" ++#endif ++ + #if defined __APPLE__ + #include + #endif +@@ -151,31 +157,40 @@ FILE *lf=NULL; + + /* quite arbitrary limits */ + #define MAX_PEERS 100 +-/* substract one for lirc, sockfd, sockinet, logfile, pidfile */ +-#define MAX_CLIENTS (FD_SETSIZE-5-MAX_PEERS) ++/* substract one for lirc, sockfd, sockinet, logfile, pidfile, uinput */ ++#define MAX_CLIENTS (FD_SETSIZE-6-MAX_PEERS) + + int sockfd, sockinet; ++static int uinputfd = -1; + int clis[MAX_CLIENTS]; + + #define CT_LOCAL 1 + #define CT_REMOTE 2 + +-int cli_type[MAX_CLIENTS]; +-int clin=0; ++static int cli_type[MAX_CLIENTS]; ++static int clin=0; + + int listen_tcpip=0; + unsigned short int port=LIRC_INET_PORT; ++struct in_addr address; + + struct peer_connection *peers[MAX_PEERS]; + int peern = 0; + + int debug=0; +-int daemonized=0; +-int allow_simulate=0; ++static int daemonized=0; ++static int allow_simulate=0; ++static int userelease=0; ++static int useuinput=0; + + static sig_atomic_t term=0,hup=0,alrm=0; + static int termsig; + ++inline int use_hw() ++{ ++ return (clin>0 || (useuinput && uinputfd != -1) || repeat_remote != NULL); ++} ++ + /* set_transmitters only supports 32 bit int */ + #define MAX_TX (CHAR_BIT*sizeof(unsigned long)) + +@@ -303,6 +318,7 @@ void dosigterm(int sig) + free_config(free_remotes); + } + free_config(remotes); ++ repeat_remote = NULL; + logprintf(LOG_NOTICE,"caught signal"); + for (i=0; i0 && hw.deinit_func) hw.deinit_func(); ++ if(use_hw() && hw.deinit_func) hw.deinit_func(); + #ifdef USE_SYSLOG + closelog(); + #else +@@ -387,6 +410,52 @@ void dosighup(int sig) + } + } + ++int setup_uinputfd(const char *name) ++{ ++#if defined(__linux__) ++ int fd; ++ int key; ++ struct uinput_user_dev dev; ++ ++ fd = open("/dev/input/uinput", O_RDWR); ++ if(fd == -1) ++ { ++ fprintf(stderr, "could not open %s\n", "uinput"); ++ perror(NULL); ++ return -1; ++ } ++ memset(&dev, 0, sizeof(dev)); ++ strncpy(dev.name, name, sizeof(dev.name)); ++ dev.name[sizeof(dev.name)-1] = 0; ++ if(write(fd, &dev, sizeof(dev)) != sizeof(dev) || ++ ioctl(fd, UI_SET_EVBIT, EV_KEY) != 0 || ++ ioctl(fd, UI_SET_EVBIT, EV_REP) != 0) ++ { ++ goto setup_error; ++ } ++ ++ for(key = KEY_RESERVED; key <= KEY_UNKNOWN; key++) ++ { ++ if(ioctl(fd, UI_SET_KEYBIT, key) != 0) ++ { ++ goto setup_error; ++ } ++ } ++ ++ if(ioctl(fd, UI_DEV_CREATE) != 0) ++ { ++ goto setup_error; ++ } ++ return fd; ++ ++ setup_error: ++ fprintf(stderr, "could not setup %s\n", "uinput"); ++ perror(NULL); ++ close(fd); ++#endif ++ return -1; ++} ++ + void config(void) + { + FILE *fd; +@@ -448,9 +517,7 @@ void remove_client(int fd) + logprintf(LOG_INFO,"removed client"); + + clin--; +- if(clin==0 && +- repeat_remote==NULL && +- hw.deinit_func) ++ if(!use_hw() && hw.deinit_func) + { + hw.deinit_func(); + } +@@ -508,8 +575,8 @@ void add_client(int sock) + { + cli_type[clin]=0; /* what? */ + } +- clis[clin++]=fd; +- if(clin==1 && repeat_remote==NULL) ++ clis[clin]=fd; ++ if(!use_hw()) + { + if(hw.init_func) + { +@@ -525,6 +592,7 @@ void add_client(int sock) + } + } + } ++ clin++; + } + + int add_peer_connection(char *server) +@@ -799,6 +867,10 @@ void start_server(mode_t permission,int + listen(sockfd,3); + nolinger(sockfd); + ++ if(useuinput) ++ { ++ uinputfd = setup_uinputfd(progname); ++ } + if(listen_tcpip) + { + int enable=1; +@@ -815,7 +887,7 @@ void start_server(mode_t permission,int + (void) setsockopt(sockinet,SOL_SOCKET,SO_REUSEADDR, + &enable,sizeof(enable)); + serv_addr_in.sin_family=AF_INET; +- serv_addr_in.sin_addr.s_addr=htonl(INADDR_ANY); ++ serv_addr_in.sin_addr=address; + serv_addr_in.sin_port=htons(port); + + if(bind(sockinet,(struct sockaddr *) &serv_addr_in, +@@ -995,7 +1067,7 @@ void dosigalrm(int sig) + free(repeat_message); + repeat_message=NULL; + } +- if(clin==0 && repeat_remote==NULL && hw.deinit_func) ++ if(!use_hw() && hw.deinit_func) + { + hw.deinit_func(); + } +@@ -1025,7 +1097,7 @@ void dosigalrm(int sig) + repeat_message=NULL; + repeat_fd=-1; + } +- if(clin==0 && repeat_remote==NULL && hw.deinit_func) ++ if(!use_hw() && hw.deinit_func) + { + hw.deinit_func(); + } +@@ -1645,13 +1717,21 @@ void free_old_remotes() + struct ir_remote *scan_remotes,*found; + struct ir_ncode *code; + const char *release_event; ++ const char *release_remote_name; ++ const char *release_button_name; + + if(decoding ==free_remotes) return; + +- release_event = release_map_remotes(free_remotes, remotes); ++ release_event = release_map_remotes(free_remotes, remotes, ++ &release_remote_name, ++ &release_button_name); + if(release_event != NULL) + { +- broadcast_message(release_event); ++ input_message(release_event, ++ release_remote_name, ++ release_button_name, ++ 0, ++ 1); + } + if(last_remote!=NULL) + { +@@ -1741,19 +1821,56 @@ void free_old_remotes() + } + } + +-void broadcast_message(const char *message) ++void input_message(const char *message, const char *remote_name, ++ const char *button_name, int reps, int release) + { +- int len,i; + const char *release_message; ++ const char *release_remote_name; ++ const char *release_button_name; + +- release_message = check_release_event(); ++ release_message = check_release_event(&release_remote_name, ++ &release_button_name); + if(release_message) + { +- broadcast_message(release_message); ++ input_message(release_message, release_remote_name, ++ release_button_name, 0, 1); ++ } ++ ++ if(!release || userelease) ++ { ++ broadcast_message(message); + } ++ ++#ifdef __linux__ ++ if(uinputfd != -1) ++ { ++ linux_input_code input_code; ++ ++ if(reps < 2 && ++ get_input_code(button_name, &input_code) != -1) ++ { ++ struct input_event event; ++ ++ memset(&event, 0, sizeof(event)); ++ event.type = EV_KEY; ++ event.code = input_code; ++ event.value = release ? 0 : (reps>0 ? 2:1); ++ if(write(uinputfd, &event, sizeof(event)) != sizeof(event)) ++ { ++ logprintf(LOG_ERR, "writing to uinput failed"); ++ logperror(LOG_ERR, NULL); ++ } ++ } ++ } ++#endif ++} + ++void broadcast_message(const char *message) ++{ ++ int len,i; ++ + len=strlen(message); +- ++ + for (i=0; i0 && hw.rec_mode!=0 && hw.fd!=-1) ++ if(use_hw() && hw.rec_mode!=0 && hw.fd!=-1) + { + FD_SET(hw.fd,&fds); + maxfd=max(maxfd,hw.fd); +@@ -1915,10 +2032,19 @@ int waitfordata(long maxusec) + timercmp(&now, &release_time, >)) + { + const char *release_message; +- release_message = trigger_release_event(); ++ const char *release_remote_name; ++ const char *release_button_name; ++ ++ release_message = trigger_release_event ++ (&release_remote_name, ++ &release_button_name); + if(release_message) + { +- broadcast_message(release_message); ++ input_message(release_message, ++ release_remote_name, ++ release_button_name, ++ 0, ++ 1); + } + } + if(free_remotes!=NULL) +@@ -1948,7 +2074,9 @@ int waitfordata(long maxusec) + } + while(ret==-1 && errno==EINTR); + +- if(hw.fd == -1 && clin > 0 && hw.init_func) ++ if(hw.fd == -1 && ++ use_hw() && ++ hw.init_func) + { + log_enable(0); + hw.init_func(); +@@ -1993,7 +2121,7 @@ int waitfordata(long maxusec) + LOGPRINTF(1,"registering inet client"); + add_client(sockinet); + } +- if(clin>0 && hw.rec_mode!=0 && hw.fd!=-1 && ++ if(use_hw() && hw.rec_mode!=0 && hw.fd!=-1 && + FD_ISSET(hw.fd,&fds)) + { + register_input(); +@@ -2016,13 +2144,20 @@ void loop() + + if(message!=NULL) + { ++ const char *remote_name; ++ const char *button_name; ++ int reps; ++ + if(hw.ioctl_func && + (hw.features&LIRC_CAN_NOTIFY_DECODE)) + { + hw.ioctl_func(LIRC_NOTIFY_DECODE, NULL); + } + +- broadcast_message(message); ++ get_release_data(&remote_name, &button_name, &reps); ++ ++ input_message(message, remote_name, button_name, ++ reps, 0); + } + } + } +@@ -2034,6 +2169,7 @@ int main(int argc,char **argv) + mode_t permission=S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH; + char *device=NULL; + ++ address.s_addr = htonl(INADDR_ANY); + hw_choose_driver(NULL); + while(1) + { +@@ -2058,9 +2194,15 @@ int main(int argc,char **argv) + # endif + {"release",optional_argument,NULL,'r'}, + {"allow-simulate",no_argument,NULL,'a'}, ++# if defined(__linux__) ++ {"uinput",no_argument,NULL,'u'}, ++# endif + {0, 0, 0, 0} + }; + c = getopt_long(argc,argv,"hvnp:H:d:o:P:l::c:r::a" ++# if defined(__linux__) ++ "u" ++# endif + # ifndef USE_SYSLOG + "L:" + # endif +@@ -2080,7 +2222,7 @@ int main(int argc,char **argv) + printf("\t -p --permission=mode\t\tfile permissions for " LIRCD "\n"); + printf("\t -H --driver=driver\t\tuse given driver\n"); + printf("\t -d --device=device\t\tread from given device\n"); +- printf("\t -l --listen[=port]\t\tlisten for network connections on port\n"); ++ printf("\t -l --listen[=[addresss:]port]\t\tlisten for network connections\n"); + printf("\t -c --connect=host[:port]\tconnect to remote lircd server\n"); + printf("\t -o --output=socket\t\toutput socket filename\n"); + printf("\t -P --pidfile=file\t\tdaemon pid file\n"); +@@ -2092,6 +2234,9 @@ int main(int argc,char **argv) + # endif + printf("\t -r --release[=suffix]\t\tauto-generate release events\n"); + printf("\t -a --allow-simulate\t\taccept SIMULATE command\n"); ++# if defined(__linux__) ++ printf("\t -u --uinput\t\tgenerate Linux input events\n"); ++# endif + return(EXIT_SUCCESS); + case 'v': + printf("%s %s\n",progname,VERSION); +@@ -2135,16 +2280,28 @@ int main(int argc,char **argv) + { + long p; + char *endptr; +- +- p=strtol(optarg,&endptr,10); ++ char *sep = strchr(optarg, ':'); ++ char *port_str = sep ? sep + 1 : optarg; ++ p=strtol(port_str,&endptr,10); + if(!*optarg || *endptr || p<1 || p>USHRT_MAX) + { + fprintf(stderr, + "%s: bad port number \"%s\"\n", +- progname,optarg); ++ progname,port_str); + return(EXIT_FAILURE); + } + port=(unsigned short int) p; ++ if (sep) ++ { ++ *sep = 0; ++ if(!inet_aton(optarg, &address)) ++ { ++ fprintf(stderr, ++ "%s: bad address \"%s\"\n", ++ progname,optarg); ++ return(EXIT_FAILURE); ++ } ++ } + } + else + { +@@ -2174,10 +2331,16 @@ int main(int argc,char **argv) + { + set_release_suffix(LIRC_RELEASE_SUFFIX); + } ++ userelease=1; + break; + case 'a': + allow_simulate=1; + break; ++# if defined(__linux__) ++ case 'u': ++ useuinput=1; ++ break; ++# endif + default: + printf("Usage: %s [options] [config-file]\n",progname); + return(EXIT_FAILURE); +diff -Naurp lirc-0.8.4a.orig/daemons/lircd.h lirc-0.8.4a.upd/daemons/lircd.h +--- lirc-0.8.4a.orig/daemons/lircd.h 2007-09-29 13:13:14.000000000 -0400 ++++ lirc-0.8.4a.upd/daemons/lircd.h 2008-12-08 16:54:04.374682209 -0500 +@@ -32,6 +32,7 @@ void sigterm(int sig); + void dosigterm(int sig); + void sighup(int sig); + void dosighup(int sig); ++int setup_uinput(const char *name); + void config(void); + void nolinger(int sock); + void remove_client(int fd); +@@ -76,6 +77,8 @@ int send_core(int fd,char *message,char + int version(int fd,char *message,char *arguments); + int get_pid(int fd,char *message,char *arguments); + int get_command(int fd); ++void input_message(const char *message, const char *remote_name, ++ const char *button_name, int reps, int release); + void broadcast_message(const char *message); + int waitfordata(long maxusec); + void loop(void); +diff -Naurp lirc-0.8.4a.orig/daemons/Makefile.am lirc-0.8.4a.upd/daemons/Makefile.am +--- lirc-0.8.4a.orig/daemons/Makefile.am 2008-09-21 14:33:19.000000000 -0400 ++++ lirc-0.8.4a.upd/daemons/Makefile.am 2008-12-08 16:50:31.050433540 -0500 +@@ -59,7 +59,8 @@ libhw_module_a_DEPENDENCIES = @hw_module + sbin_PROGRAMS = lircd lircmd + + lircd_SOURCES = lircd.c lircd.h \ +- config_file.c config_file.h ++ config_file.c config_file.h \ ++ input_map.c input_map.h + lircd_LDADD = @daemon@ libhw_module.a @hw_module_libs@ + + lircmd_SOURCES = lircmd.c +@@ -79,6 +80,7 @@ EXTRA_PROGRAMS = lircd.simsend lircd.sim + noinst_PROGRAMS = @maintmode_daemons_extra@ + lircd_simsend_SOURCES = lircd.c ir_remote.c config_file.c \ + lircd.h ir_remote.h ir_remote_types.h config_file.h \ ++ input_map.c input_map.h \ + hw-types.c hw-types.h hardware.h \ + hw_default.c hw_default.h \ + receive.c receive.h \ +@@ -87,6 +89,7 @@ lircd_simsend_SOURCES = lircd.c ir_remot + lircd_simsend_CFLAGS = -DSIM_SEND + lircd_simrec_SOURCES = lircd.c ir_remote.c config_file.c \ + lircd.h ir_remote.h ir_remote_types.h config_file.h \ ++ input_map.c input_map.h \ + hw-types.c hw-types.h hardware.h \ + hw_default.c hw_default.h \ + receive.c receive.h \ +diff -Naurp lirc-0.8.4a.orig/daemons/release.c lirc-0.8.4a.upd/daemons/release.c +--- lirc-0.8.4a.orig/daemons/release.c 2008-02-06 08:43:07.000000000 -0500 ++++ lirc-0.8.4a.upd/daemons/release.c 2008-12-08 16:59:03.799472804 -0500 +@@ -1,4 +1,4 @@ +-/* $Id: release.c,v 1.3 2008/02/06 13:43:07 lirc Exp $ */ ++/* $Id: release.c,v 1.4 2008/12/06 20:00:03 lirc Exp $ */ + + /**************************************************************************** + ** release.c *************************************************************** +@@ -25,24 +25,23 @@ static struct timeval release_time; + static struct ir_remote *release_remote; + static struct ir_ncode *release_ncode; + static ir_code release_code; ++static int release_reps; + static lirc_t release_gap; + + static struct ir_remote *release_remote2; + static struct ir_ncode *release_ncode2; + static ir_code release_code2; +-static const char *release_suffix = NULL; ++static const char *release_suffix = LIRC_RELEASE_SUFFIX; + static char message[PACKET_SIZE+1]; + + void register_input(void) + { + struct timeval gap; + +- if(release_suffix == NULL) return; +- + if(release_remote == NULL) return; + + timerclear(&gap); +- gap.tv_usec = 2*release_gap; ++ gap.tv_usec = 3*release_gap; + + gettimeofday(&release_time,NULL); + timeradd(&release_time, &gap, &release_time); +@@ -51,8 +50,6 @@ void register_input(void) + void register_button_press(struct ir_remote *remote, struct ir_ncode *ncode, + ir_code code, int reps) + { +- if(release_suffix == NULL) return; +- + if(reps == 0 && release_remote != NULL) + { + release_remote2 = release_remote; +@@ -63,11 +60,21 @@ void register_button_press(struct ir_rem + release_remote = remote; + release_ncode = ncode; + release_code = code; ++ release_reps = reps; + release_gap = remote->max_remaining_gap; + + register_input(); + } + ++void get_release_data(const char **remote_name, ++ const char **button_name, ++ int *reps) ++{ ++ *remote_name = release_remote->name; ++ *button_name = release_ncode->name; ++ *reps = release_reps; ++} ++ + void set_release_suffix(const char *s) + { + release_suffix = s; +@@ -78,12 +85,15 @@ void get_release_time(struct timeval *tv + *tv = release_time; + } + +-const char *check_release_event(void) ++const char *check_release_event(const char **remote_name, ++ const char **button_name) + { + int len = 0; + + if(release_remote2 != NULL) + { ++ *remote_name = release_remote2->name; ++ *button_name = release_ncode2->name; + len = write_message(message, PACKET_SIZE+1, + release_remote2->name, + release_ncode2->name, release_suffix, +@@ -98,18 +108,21 @@ const char *check_release_event(void) + return(NULL); + } + +- logprintf(LOG_INFO, "check"); ++ LOGPRINTF(3, "check"); + return message; + } + return NULL; + } + +-const char *trigger_release_event(void) ++const char *trigger_release_event(const char **remote_name, ++ const char **button_name) + { + int len = 0; + + if(release_remote != NULL) + { ++ *remote_name = release_remote->name; ++ *button_name = release_ncode->name; + len = write_message(message, PACKET_SIZE+1, + release_remote->name, release_ncode->name, + release_suffix, release_code, 0); +@@ -123,13 +136,15 @@ const char *trigger_release_event(void) + logprintf(LOG_ERR,"message buffer overflow"); + return(NULL); + } +- logprintf(LOG_INFO, "trigger"); ++ LOGPRINTF(3, "trigger"); + return message; + } + return NULL; + } + +-const char *release_map_remotes(struct ir_remote *old, struct ir_remote *new) ++const char *release_map_remotes(struct ir_remote *old, struct ir_remote *new, ++ const char **remote_name, ++ const char **button_name) + { + struct ir_remote *remote; + struct ir_ncode *ncode; +@@ -150,7 +165,7 @@ const char *release_map_remotes(struct i + } + else + { +- return trigger_release_event(); ++ return trigger_release_event(remote_name, button_name); + } + } + return NULL; +diff -Naurp lirc-0.8.4a.orig/daemons/release.h lirc-0.8.4a.upd/daemons/release.h +--- lirc-0.8.4a.orig/daemons/release.h 2007-05-06 07:54:02.000000000 -0400 ++++ lirc-0.8.4a.upd/daemons/release.h 2008-12-08 16:58:00.938502877 -0500 +@@ -1,4 +1,4 @@ +-/* $Id: release.h,v 1.1 2007/05/06 11:54:02 lirc Exp $ */ ++/* $Id: release.h,v 1.2 2008/12/06 20:00:03 lirc Exp $ */ + + /**************************************************************************** + ** release.h *************************************************************** +@@ -18,10 +18,17 @@ + void register_input(void); + void register_button_press(struct ir_remote *remote, struct ir_ncode *ncode, + ir_code code, int reps); ++void get_release_data(const char **remote_name, ++ const char **button_name, ++ int *reps); + void set_release_suffix(const char *s); + void get_release_time(struct timeval *tv); +-const char *check_release_event(void); +-const char *trigger_release_event(void); +-const char *release_map_remotes(struct ir_remote *old, struct ir_remote *new); ++const char *check_release_event(const char **remote_name, ++ const char **button_name); ++const char *trigger_release_event(const char **remote_name, ++ const char **button_name); ++const char *release_map_remotes(struct ir_remote *old, struct ir_remote *new ++ const char **remote_name, ++ const char **button_name); + + #endif /* RELEASE_H */ +diff -Naurp lirc-0.8.4a.orig/doc/man/lircd.8 lirc-0.8.4a.upd/doc/man/lircd.8 +--- lirc-0.8.4a.orig/doc/man/lircd.8 2008-10-26 10:15:37.000000000 -0400 ++++ lirc-0.8.4a.upd/doc/man/lircd.8 2008-12-08 17:14:44.574433177 -0500 +@@ -70,8 +70,9 @@ the device name isn't fixed. \fISTRING\f + wildcards and '\\' to mark them as literal. + + With the --listen option you can let lircd listen for network +-connections on the given port. The default port is 8765. No security +-checks are currently implemented. ++connections on the given address/port. The default address is 0.0.0.0, ++which means that connections on all network interfaces will be accepted. ++The default port is 8765. No security checks are currently implemented. + + The --connect option allows you to connect to other lircd servers that + provide a network socket at the given host and port number. The number +@@ -99,6 +100,14 @@ users with access to the lircd socket wi + E.g. if you have configured your system to shut down by a button press + on your remote control, everybody will be able to shut down + your system from the command line. ++ ++On Linux systems the --uinput option will enable automatic generation ++of Linux input events. lircd will open /dev/input/uinput and inject ++key events to the Linux kernel. The key code depends on the name that ++was given a button in the lircd config file, e.g. if the button is ++named KEY_1, the '1' key code will be generated. You will find a ++complete list of possible button names in /usr/include/linux/input.h. ++ + .SH FILES + + The config file for lircd is located in /etc/lircd.conf. lircd +diff -Naurp lirc-0.8.4a.orig/NEWS lirc-0.8.4a.upd/NEWS +--- lirc-0.8.4a.orig/NEWS 2008-12-08 16:47:25.391622403 -0500 ++++ lirc-0.8.4a.upd/NEWS 2008-12-08 17:40:05.345432825 -0500 +@@ -1,3 +1,7 @@ ++0.8.5-CVS: future ++ * Linux input event generation using uinput ++ * standardised namespace following Linux input conventions ++ + 0.8.4a: 10/26/08 + * fixed show-stopper bug in irrecord for drivers using MODE2 + +diff -Naurp lirc-0.8.4a.orig/TODO lirc-0.8.4a.upd/TODO +--- lirc-0.8.4a.orig/TODO 2008-07-31 07:17:53.000000000 -0400 ++++ lirc-0.8.4a.upd/TODO 2008-12-08 17:40:51.546432812 -0500 +@@ -2,8 +2,6 @@ + + * __init, __exit + +-* uinput +- + * namespace + + * GUI for irrecord From 46618705b52466a7b3b2186c855e1fe6e079d4a4 Mon Sep 17 00:00:00 2001 From: Jarod Wilson Date: Mon, 8 Dec 2008 23:14:04 +0000 Subject: [PATCH 056/204] ...and it helps to make sure the patch is complete, and that everything builds... --- lirc-0.8.4-cvs-update.patch | 455 +++++++++++++++++++++++++++++++++++- lirc.spec | 6 +- 2 files changed, 451 insertions(+), 10 deletions(-) diff --git a/lirc-0.8.4-cvs-update.patch b/lirc-0.8.4-cvs-update.patch index 80e29e9..4c6ddb6 100644 --- a/lirc-0.8.4-cvs-update.patch +++ b/lirc-0.8.4-cvs-update.patch @@ -10,17 +10,424 @@ diff -Naurp lirc-0.8.4a.orig/daemons/hw_devinput.c lirc-0.8.4a.upd/daemons/hw_de hw.device); } #endif +diff -Naurp lirc-0.8.4a.orig/daemons/input_map.c lirc-0.8.4a.upd/daemons/input_map.c +--- lirc-0.8.4a.orig/daemons/input_map.c 1969-12-31 19:00:00.000000000 -0500 ++++ lirc-0.8.4a.upd/daemons/input_map.c 2008-12-08 17:51:33.087443731 -0500 +@@ -0,0 +1,58 @@ ++/* $Id: input_map.c,v 5.1 2008/10/26 15:10:17 lirc Exp $ */ ++ ++/**************************************************************************** ++ ** input_map.c ************************************************************* ++ **************************************************************************** ++ * ++ * input_map.c - button namespace derived from Linux input layer ++ * ++ * Copyright (C) 2008 Christoph Bartelmus ++ * ++ */ ++ ++#include ++#include ++ ++#include "input_map.h" ++ ++struct ++{ ++ char *name; ++ linux_input_code code; ++ ++} input_map[] = { ++#include "input_map.inc" ++ {NULL, 0} ++}; ++ ++int get_input_code(const char *name, linux_input_code *code) ++{ ++ int i; ++ ++ for(i=0; input_map[i].name != NULL; i++) ++ { ++ if(strcasecmp(name, input_map[i].name) == 0) ++ { ++ *code = input_map[i].code; ++ return i; ++ } ++ } ++ return -1; ++} ++ ++void fprint_namespace(FILE *f) ++{ ++ int i; ++ ++ for(i=0; input_map[i].name != NULL; i++) ++ { ++ fprintf(stdout, "%s\n", input_map[i].name); ++ } ++} ++ ++int is_in_namespace(const char *name) ++{ ++ linux_input_code dummy; ++ ++ return get_input_code(name, &dummy) == -1 ? 0 : 1; ++} +diff -Naurp lirc-0.8.4a.orig/daemons/input_map.h lirc-0.8.4a.upd/daemons/input_map.h +--- lirc-0.8.4a.orig/daemons/input_map.h 1969-12-31 19:00:00.000000000 -0500 ++++ lirc-0.8.4a.upd/daemons/input_map.h 2008-12-08 17:51:33.106519735 -0500 +@@ -0,0 +1,35 @@ ++/* $Id: input_map.h,v 5.1 2008/10/26 15:10:17 lirc Exp $ */ ++ ++/**************************************************************************** ++ ** input_map.h ************************************************************* ++ **************************************************************************** ++ * ++ * input_map.h - button namespace derived from Linux input layer ++ * ++ * Copyright (C) 2008 Christoph Bartelmus ++ * ++ */ ++ ++#ifndef INPUT_MAP_H ++#define INPUT_MAP_H ++ ++#include ++#include ++#include ++ ++#if defined __linux__ ++#include ++#include ++#endif ++ ++#if defined __linux__ ++typedef __u16 linux_input_code; ++#else ++typedef unsigned short linux_input_code; ++#endif ++ ++int get_input_code(const char *name, linux_input_code *code); ++void fprint_namespace(FILE *f); ++int is_in_namespace(const char *name); ++ ++#endif /* INPUT_MAP_H */ +diff -Naurp lirc-0.8.4a.orig/daemons/input_map.sh lirc-0.8.4a.upd/daemons/input_map.sh +--- lirc-0.8.4a.orig/daemons/input_map.sh 1969-12-31 19:00:00.000000000 -0500 ++++ lirc-0.8.4a.upd/daemons/input_map.sh 2008-12-08 17:51:33.106519735 -0500 +@@ -0,0 +1,11 @@ ++#! /bin/sh ++ ++TYPES="KEY BTN" ++file=${1:-/usr/include/linux/input.h} ++ ++for type in $TYPES; do ++ grep "^#define ${type}_" < $file|sort|while read; do ++ sed --expression="s/^#define \([^ ]*\)\(.*\)/{\"\1\", \2},/"|grep -v "KEY_HANGUEL\|KEY_MIN_INTERESTING" ++ done ++done ++ diff -Naurp lirc-0.8.4a.orig/daemons/irrecord.c lirc-0.8.4a.upd/daemons/irrecord.c --- lirc-0.8.4a.orig/daemons/irrecord.c 2008-12-08 16:47:25.358745194 -0500 -+++ lirc-0.8.4a.upd/daemons/irrecord.c 2008-12-08 16:55:26.208557409 -0500 -@@ -1395,6 +1395,7 @@ void analyse_remote(struct ir_remote *ra ++++ lirc-0.8.4a.upd/daemons/irrecord.c 2008-12-08 18:10:06.096432179 -0500 +@@ -52,6 +52,7 @@ + #include "ir_remote.h" + #include "config_file.h" + #include "receive.h" ++#include "input_map.h" + + void flushhw(void); + int resethw(void); +@@ -80,7 +81,7 @@ void get_scheme(struct ir_remote *remote + struct lengths *get_max_length(struct lengths *first,unsigned int *sump); + void unlink_length(struct lengths **first,struct lengths *remove); + int get_trail_length(struct ir_remote *remote, int interactive); +-int get_lead_length(struct ir_remote *remote); ++int get_lead_length(struct ir_remote *remote, int interactive); + int get_repeat_length(struct ir_remote *remote, int interactive); + int get_header_length(struct ir_remote *remote, int interactive); + int get_data_length(struct ir_remote *remote, int interactive); +@@ -96,7 +97,7 @@ const char *usage="Usage: %s [options] f + struct ir_remote remote; + struct ir_ncode ncode; + +-#define IRRECORD_VERSION "0.5" ++#define IRRECORD_VERSION "5.84" + #define BUTTON 80+1 + #define RETRIES 10 + +@@ -120,7 +121,7 @@ lirc_t aeps = 100; + #define TH_REPEAT 90 + #define TH_TRAIL 90 + #define TH_LEAD 90 +-#define TH_IS_BIT 15 ++#define TH_IS_BIT 10 + #define TH_RC6_SIGNAL 550 + + #define MIN_GAP 20000 +@@ -314,6 +315,7 @@ int main(int argc,char **argv) + int repeat_flag; + lirc_t min_remaining_gap, max_remaining_gap; + int force; ++ int disable_namespace = 0; + int retries; + int no_data = 0; + struct ir_remote *remotes=NULL; +@@ -338,6 +340,8 @@ int main(int argc,char **argv) + {"device",required_argument,NULL,'d'}, + {"driver",required_argument,NULL,'H'}, + {"force",no_argument,NULL,'f'}, ++ {"disable-namespace",no_argument,NULL,'n'}, ++ {"list-namespace",no_argument,NULL,'l'}, + #ifdef DEBUG + {"pre",no_argument,NULL,'p'}, + {"post",no_argument,NULL,'P'}, +@@ -348,9 +352,9 @@ int main(int argc,char **argv) + {0, 0, 0, 0} + }; + #ifdef DEBUG +- c = getopt_long(argc,argv,"hvad:H:fpPtiT",long_options,NULL); ++ c = getopt_long(argc,argv,"hvad:H:fnlpPtiT",long_options,NULL); + #else +- c = getopt_long(argc,argv,"hvad:H:f",long_options,NULL); ++ c = getopt_long(argc,argv,"hvad:H:fnl",long_options,NULL); + #endif + if(c==-1) + break; +@@ -362,6 +366,8 @@ int main(int argc,char **argv) + printf("\t -v --version\t\tdisplay version\n"); + printf("\t -a --analyse\t\tanalyse raw_codes config files\n"); + printf("\t -f --force\t\tforce raw mode\n"); ++ printf("\t -n --disable-namespace\t\tdisables namespace checks\n"); ++ printf("\t -l --list-namespace\t\tlist valid button names\n"); + printf("\t -H --driver=driver\tuse given driver\n"); + printf("\t -d --device=device\tread from given device\n"); + exit(EXIT_SUCCESS); +@@ -385,6 +391,13 @@ int main(int argc,char **argv) + case 'f': + force=1; + break; ++ case 'n': ++ disable_namespace = 1; ++ break; ++ case 'l': ++ fprint_namespace(stdout); ++ exit(EXIT_SUCCESS); ++ break; + #ifdef DEBUG + case 'p': + get_pre=1; +@@ -502,7 +515,7 @@ int main(int argc,char **argv) + exit(EXIT_FAILURE); + } + strcpy(filename_new, filename); +- strcat(filename_new, ".new"); ++ strcat(filename_new, ".conf"); + filename = filename_new; + } + else +@@ -717,6 +730,17 @@ int main(int argc,char **argv) + { + break; + } ++ if(!disable_namespace && !is_in_namespace(buffer)) ++ { ++ printf("'%s' is not in name space (use " ++ "--disable-namespace to disable checks)\n", ++ buffer); ++ printf("Use '%s --list-namespace' to see a full list " ++ "of valid button names\n", ++ progname); ++ printf("Please try again.\n"); ++ continue; ++ } + + if(is_raw(&remote)) + { +@@ -1379,7 +1403,8 @@ void analyse_remote(struct ir_remote *ra + ir_code pre, code, post; + int repeat_flag; + lirc_t min_remaining_gap, max_remaining_gap; +- struct ir_ncode new_codes[100]; ++ struct ir_ncode *new_codes; ++ size_t new_codes_count = 100; + int new_index = 0; + int ret; + +@@ -1395,18 +1420,27 @@ void analyse_remote(struct ir_remote *ra next_code = NULL; current_code = NULL; current_index = 0; + memset(&remote, 0, sizeof(remote)); get_lengths(&remote, 0, 0 /* not interactive */ ); - if(is_rc6(&remote)) +- if(is_rc6(&remote)) ++ if(is_rc6(&remote) && remote.bits >= 5) + { + /* have to assume something as it's very difficult to + extract the rc6_mask from the data that we have */ +- remote.rc6_mask = (ir_code) 0x100000000ll; ++ remote.rc6_mask = ((ir_code) 0x1ll) << (remote.bits-5); + } + + remote.name = raw_data->name; ++ remote.freq = raw_data->freq; + +- memset(new_codes, 0, sizeof(new_codes)); ++ new_codes = malloc(new_codes_count * sizeof(*new_codes)); ++ if(new_codes == NULL) ++ { ++ fprintf(stderr, "%s: out of memory\n", ++ progname); ++ return; ++ } ++ memset(new_codes, 0 , new_codes_count * sizeof(*new_codes)); + codes = raw_data->codes; + while(codes->name!=NULL) + { +@@ -1429,6 +1463,25 @@ void analyse_remote(struct ir_remote *ra + } + else + { ++ if(new_index+1 >= new_codes_count) ++ { ++ struct ir_ncode *renew_codes; ++ ++ new_codes_count *= 2; ++ renew_codes = realloc ++ (new_codes, ++ new_codes_count * sizeof(*new_codes)); ++ if(renew_codes == NULL) ++ { ++ fprintf(stderr, "%s: out of memory\n", ++ progname); ++ free(new_codes); ++ return; ++ } ++ memset(&new_codes[new_codes_count/2], 0 , new_codes_count/2 * sizeof(*new_codes)); ++ new_codes = renew_codes; ++ } ++ + new_codes[new_index].name = codes->name; + new_codes[new_index].code = code; + new_index++; +@@ -1438,6 +1491,8 @@ void analyse_remote(struct ir_remote *ra + new_codes[new_index].name = NULL; + remote.codes = new_codes; + fprint_remotes(stdout, &remote); ++ remote.codes = NULL; ++ free(new_codes); + } + + #ifdef DEBUG +@@ -1610,7 +1665,7 @@ inline lirc_t calc_signal(struct lengths + int get_lengths(struct ir_remote *remote, int force, int interactive) + { + int retval; +- lirc_t data,average,sum,remaining_gap,header; ++ lirc_t data,average,maxspace,sum,remaining_gap,header; + enum analyse_mode mode=MODE_GAP; + int first_signal; + +@@ -1628,7 +1683,7 @@ int get_lengths(struct ir_remote *remote + flushhw(); + } + retval=1; +- average=0;sum=0;count=0;count_spaces=0; ++ average=0;maxspace=0;sum=0;count=0;count_spaces=0; + count_3repeats=0;count_5repeats=0;count_signals=0; + first_signal=-1;header=0; + first_length=0; +@@ -1657,12 +1712,15 @@ int get_lengths(struct ir_remote *remote + continue; + } + average=data; ++ maxspace=data; + } + else if(is_space(data)) + { + if(data>MIN_GAP || data>100*average || + /* this MUST be a gap */ +- (count_spaces>10 && data>5*average)) ++ (count_spaces>10 && data>5*average) ++ /* || Echostar ++ (count_spaces>20 && data>9*maxspace/10)*/) + /* this should be a gap */ + { + struct lengths *scan; +@@ -1674,7 +1732,7 @@ int get_lengths(struct ir_remote *remote + merge_lengths(first_sum); + add_length(&first_gap,data); + merge_lengths(first_gap); +- sum=0;count_spaces=0;average=0; ++ sum=0;count_spaces=0;average=0;maxspace=0; + + maxcount=0; + scan=first_sum; +@@ -1740,6 +1798,10 @@ int get_lengths(struct ir_remote *remote + average=(average*count_spaces+data) + /(count_spaces+1); + count_spaces++; ++ if(data>maxspace) ++ { ++ maxspace=data; ++ } + } + if(count>SAMPLES*MAX_SIGNALS*2) + { +@@ -1773,8 +1835,9 @@ int get_lengths(struct ir_remote *remote + } + sum+=data&PULSE_MASK; + +- if((data&PULSE_MASK)>=remaining_gap*(100-eps)/100 +- || (data&PULSE_MASK)>=remaining_gap-aeps) ++ if(count>2 && ++ ((data&PULSE_MASK)>=remaining_gap*(100-eps)/100 ++ || (data&PULSE_MASK)>=remaining_gap-aeps)) + { + if(is_space(data)) + { +@@ -1882,7 +1945,7 @@ int get_lengths(struct ir_remote *remote + get_scheme(remote, interactive); + if(!get_header_length(remote, interactive) || + !get_trail_length(remote, interactive) || +- !get_lead_length(remote) || ++ !get_lead_length(remote, interactive) || + !get_repeat_length(remote, interactive) || + !get_data_length(remote, interactive)) + { +@@ -2173,7 +2236,7 @@ int get_trail_length(struct ir_remote *r + return(1); + } + +-int get_lead_length(struct ir_remote *remote) ++int get_lead_length(struct ir_remote *remote, int interactive) + { + unsigned int sum,max_count; + struct lengths *first_lead,*max_length,*max2_length; +@@ -2190,7 +2253,7 @@ int get_lead_length(struct ir_remote *re + # endif + if(max_count>=sum*TH_LEAD/100) + { +- printf("Found lead pulse: %lu\n", ++ iprintf(interactive, "Found lead pulse: %lu\n", + (unsigned long) calc_signal(max_length)); + remote->plead=calc_signal(max_length); + return(1); +@@ -2207,12 +2270,12 @@ int get_lead_length(struct ir_remote *re + } + if(abs(2*a-b)