Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: Idea how to get Aver dvb-t 771 Remote Control to work?



Try getting the latest V4L from bytesex.org.

I made some changes there a while back but have been waiting for someone with the 771 card to ask. I've got the 761 card and that code works great for me. It doesn't require the lirc driver. Although some tweaking is still be required to map keys to those expected by Myth.

If you look at ir-kbd-gpio.c. At line 326, there is a case statement. Try uncommenting the
/* case BTTV_AVDVBT_771: */
also in bttv-cards.c line 2078, the '#if 0' needs to be set to '1'.
Rebuild and install.

The mask seen there is correct for the 761 card, but I haven't been able to test the 771 version. Now, with a bit of luck, once the modules are running (remembering to run the ir-kbd-gpio module) you should get key events when you press keys on the remote.

If you don't, double check that everything is running by looking at /proc/bus/input/devices. If everything is fine you'll need to work out the correct values for 'ir->mask_keycode' and 'ir->mask_keydown'. Not rocket science, adding a printk did the job for me.

I'd also be interested to find out whether the remote control key codes are listed correctly in the ir-kbd-gpio.c KEY_ table (line 78).

I hope this helps.

Matt



On Monday, Jul 19, 2004, at 18:04 Europe/London, Ben Rometsch wrote:

Hi Andreas,

Is there a howto or step-by-step guide on getting the remote working? I'm
running a 2.6.7 kernel - have the 771 card working perfectly in MythTV but
don’t know where to start with respect to getting the remote working under
Myth?

Thanks,
Ben

-----Original Message-----
From: linux-dvb-bounce@linuxtv.org [mailto:linux-dvb-bounce@linuxtv.org] On
Behalf Of Torbjörn Jansson
Sent: 16 July 2004 11:58
To: 'Andreas Witte'; linux-dvb@linuxtv.org
Subject: [linux-dvb] Re: Idea how to get Aver dvb-t 771 Remote Control to
work?

linux-dvb-bounce@linuxtv.org <> wrote:
Hi All!

Is that more a topic for video4linux mailinglist?

Ive grabbed a late cvs from lcd4linux, uncomment the if-expression in
ir-kbd-gpio.c and install the modules. If i insert that module, i get
really crazy "Unknown key pressed" - errors, without pressing anything
on the remote control - but it seems, this module is watching for a
sensor or kindof (isa0060/serio0).
Pushing buttons on the remote control do nothing.

Maybe this module is watching for false sensor or anything like that?
Can i give any parameters with that module?

Im not sure its really well placed in this mailinglist. Sorry if its
not.

Regards,
Andreas

I think there is a config program where you can configure the keys that is
generated when you press a key on the remote.
If the default keytable in the module doesn’t have anything configured about
the remote button, it will print those unkown key messages in the kernel
log.

Take a look at http://dl.bytesex.org/cvs-snapshots/ input-<date>.tar.gz









Home | Main Index | Thread Index