From: Oliver E. <o.e...@gm...> - 2002-10-23 04:03:18
|
Robert Rader wrote: > Hello, > > i am trying to use the hauppauge rc with the siemens > siemens_dvb-0.9.4-2002-06-23.patch.tar.bz2 und lirc-0.6.6.tar.bz2 > with mandrake 9.0 > > install and loading modules works fine. > DVB/driver/make insmod > DVB/driver/lirc/make insmod > lircd /etc/lircd.conf.haup > (using the http://www.uni-mainz.de/~martin/lircd.conf or the > original conf from lirc does not matter) > > [...] > > can anybody help me? The siemens_dvb-0.9.4-2002-06-23.patch.tar.bz2 driver uses a firmware of the NEWSTRUCT branch. If you'd like to use this driver/firmware combination with the built-in remote control, you need to apply the following patch to the driver. (I posted this on the vdr mailing list some time ago.) Note that the auto-repeat function of the keys doesn't work anymore (at least with the original Hauppauge remote control). Oliver --------------------------- snip ----------------------------------- diff -u dvb-cvs-20020831/driver/dvb.c DVB/driver/dvb.c --- dvb-cvs-20020831/driver/dvb.c Wed Aug 7 16:07:14 2002 +++ DVB/driver/dvb.c Mon Sep 9 18:06:48 2002 @@ -835,8 +835,11 @@ void run_handlers(unsigned long ircom) { - if (irc_handler != NULL) + if (irc_handler != NULL) { (*irc_handler)((u32) ircom); + // HACK: generate 'key-up' event + (*irc_handler)((u32) ircom & 0x7fffffff); + } } DECLARE_TASKLET(irtask,run_handlers,0); @@ -2338,6 +2341,9 @@ dvb->arm_errors=0; dvb->arm_ready=1; + + // HACK: init. remote control (protocol RC5, not inverted) + outcom(dvb, COMTYPE_PIDFILTER, SetIR, 1, 0x0000); return 0; } diff -u dvb-cvs-20020831/driver/dvb.h DVB/driver/dvb.h --- dvb-cvs-20020831/driver/dvb.h Tue Jul 9 15:01:46 2002 +++ DVB/driver/dvb.h Mon Sep 9 17:39:30 2002 @@ -236,7 +236,8 @@ AddPIDFilter, DelPIDFilter, Scan, - SetDescr + SetDescr, + SetIR } PIDCOM; typedef enum { --------------------------- snip ----------------------------------- |