Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] Re: NEWSTRUCT and Remote Control
Holger Waechtler wrote:
> Oliver Endriss wrote:
> > Andreas Mair wrote:
> >>Is there a way to use the IR input of the 2nd card?
> >>I have a DVB-S v1.3 as my first and a v2.1 in my VDR box and want
> >> to use the the IR receiver of the 2nd card...
> >
> > Try the following patch:
> > ------------------------------------- snip
> > ------------------------------------------------- diff -u
> > linux-dvb.2002-11-01/driver/av7110/av7110_ir.c
> > linux-dvb.2002-11-01-test/driver/av7110/av7110_ir.c ---
> > linux-dvb.2002-11-01/driver/av7110/av7110_ir.c Thu Oct 10 21:22:29
> > 2002 +++ linux-dvb.2002-11-01-test/driver/av7110/av7110_ir.c Wed
> > Nov 6 10:06:28 2002 @@ -143,7 +143,7 @@
> >
> > input_register_device(&input_dev);
> >
> > - av7110_setup_irc_config (NULL, 0x0001);
> > + av7110_setup_irc_config (NULL, 0x0000);
> > av7110_register_irc_handler (av7110_emit_key);
> >
> > e = create_proc_entry ("av7110_ir", S_IFREG | S_IRUGO | S_IWUSR,
> > NULL); ------------------------------------- snip
> > ------------------------------------------------- This will setup
> > all cards for the RC5 protocol...
>
> Use the av7110_loadkeys utility in DVB/apps/av7110_loadkeys to set up
> RC5 protocol and/or keymap. Don't patch the driver.
The question was how to use the receiver on the second card.
There is no way to setup RC5 for *two* or more cards using
av7110_loadkeys. You have to patch the driver to enable RC5 on *all*
cards. Then you can load a keymap using av7110_loadkeys, which will be
used for all cards.
Oliver
--
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.
Home |
Main Index |
Thread Index