[vdr] Hauppauge LIRC remote, FC3, buttons

Simon Baxter linuxtv at nzbaxters.com
Tue Mar 8 11:04:51 CET 2005


Hi Darren.

I've been building a new kernel for my new machine, based on the 2.6.11-rc4 
patches from Bytesex, and was hoping to include your kernel patch for the 
extra buttons.  But I got the following failure:

 patch -p0 <budget-ci-keys-kernel.patch
(Stripping trailing CRs from patch.)
patching file linux/drivers/media/dvb/ttpci/budget-ci.c
Hunk #1 FAILED at 34.
Hunk #2 succeeded at 181 (offset -1 lines).
Hunk #3 succeeded at 244 (offset 1 line).
Hunk #4 succeeded at 258 with fuzz 1 (offset -1 lines).
1 out of 4 hunks FAILED -- saving rejects to file 
linux/drivers/media/dvb/ttpci/budget-ci.c.rej

[root at nzbaxters kernels]# less linux/drivers/media/dvb/ttpci/budget-ci.c.rej
***************
*** 34,39 ****
  #include <linux/slab.h>
  #include <linux/interrupt.h>
  #include <linux/input.h>

  #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0))
  #include "input_fake.h"
--- 34,40 ----
  #include <linux/slab.h>
  #include <linux/interrupt.h>
  #include <linux/input.h>
+ #include <linux/proc_fs.h>

  #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0))
  #include "input_fake.h"
[root at nzbaxters kernels]#


Can you help?
----- Original Message ----- 
From: "Darren Salt" <linux at youmustbejoking.demon.co.uk>
To: <vdr at linuxtv.org>
Sent: Friday, February 25, 2005 2:10 AM
Subject: Re: [vdr] Hauppauge LIRC remote, FC3, buttons


>I demand that Simon Baxter may or may not have written...
>
>> I'm having some strange problems with my VDR keymaps on Xine (running FC3
>> with a DVB Nova-T). I use the xine keymap editor to 'grab' keystrokes for
>> the VDR buttons, but none of the coloured buttons (green, red, blue) are
>> recognised?
>
> I can't help with LIRC, but you *can* get this working with the remote 
> plugin
> and my patches (attached).
>
> The -kernel patch is applicable to 2.6.x kernel source and the LinuxTV DVB
> driver tarballs (1.1.0, 1.1.1 and possibly some older versions); 
> the -linuxtv
> patch is for DVB CVS (and *should* still be applicable; I've not checked
> recently). For the record, these are based on the IR keymap interface in 
> the
> av7110 code.
>
> The third patch is for the DVB utilities - you'll get an extra binary,
> budget_ci_loadkeys, which you can use as follows (once you've loaded the
> patched budget_ci module):
>
>  # budget_ci_loadkeys hauppauge_grey.rc5 >/proc/budget_ci_ir
>
> For those who are already using these patches: no need to update - the
> patches are unchanged.
>
> Debian testing/unstable users: these patches are present in dvb-utils 
> 1.1.0-3
> and dvb-driver-source 1.1.1-4 and later versions.
>
> (BTW, you need to switch on text wrapping or to stop using OE.)
>
> -- 
> | Darren Salt | nr. Ashington, | d youmustbejoking,demon,co,uk
> | Debian,     | Northumberland | s zap,tartarus,org
> | RISC OS     | Toon Army      | @
> |   Retrocomputing: a PC card in a Risc PC
>
> Anything worth doing is worth overdoing.
>


--------------------------------------------------------------------------------


> _______________________________________________
> vdr mailing list
> vdr at linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
>


--------------------------------------------------------------------------------


Internal Virus Database is out-of-date.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 266.1.0 - Release Date: 18/02/2005
-------------- next part --------------
A non-text attachment was scrubbed...
Name: budget-ci-keys-kernel.patch
Type: application/octet-stream
Size: 2052 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/vdr/attachments/20050308/df30c0b1/budget-ci-keys-kernel.obj


More information about the vdr mailing list