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?



Hi Ben...

http://dl.bytesex.org/cvs-snapshots/video4linux-20040715-182935.tar.gz

I used that last snapshot. It is a kernel-module-collection. There you
also can find that ir-kbd-gpio. Ive just tried it to activate the if
for the avertv but i didnt know anything regarding that extra line youve
to change in bttv.c. Maybe thats the cause i got my strange keyreports. I
will
test that, if i get my Avertv back to work again since the mt352 is
damaged atm it seems in current linux-dvb cvs.
Yes, it works with 2.6 Kernels. I used that on a gentoo 2.6.7 Kernel
somewhat successfully (except that ir-kbd-gpio) - but im sure that
was my fault, since this extra line to change in bttv seems new
to me.

I would be happy if you manage it to work, Ben. If so, report
back you success (or not) =).

To Matt:

>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.
Did you need anything here for help? I was at the place where the
ir-kbd-gpio
modules was working but it reports strange keypressings and was somewhat
connected
to my normal keyboard (its just a guess) - but nothing happens if i press
any
of the remote-rubbers. But as i can read, i missed the second part of the
changes to make.
I will retest that later if the needed frontend is working again out of cvs.
(Me idiot killed that all with accidently get the last cvs of linuxtv and
overwrite
my working ones). =(

Regards,
Andreas


-----Original Message-----
From: linux-dvb-bounce@linuxtv.org
[mailto:linux-dvb-bounce@linuxtv.org]On Behalf Of Ben Rometsch
Sent: Tuesday, July 20, 2004 3:06 PM
To: 'Matt Jesson'; linux-dvb@linuxtv.org
Subject: [linux-dvb] Re: Idea how to get Aver dvb-t 771 Remote Control
to work?


Hi There,

Thanks for the feedback. Can you provide a link to the exact version of the
v4l code I should be downloading? I'm assuming you mean something from here:


http://dl.bytesex.org/cvs-snapshots/

I am totally ignorant as to what this is! Is it a kernel patch? User space
app? It works with 2.6 I assume?

I do have some C++ background (A LONG time ago) so should be ok when I get
up and running - it would be good to get this card working and the relevant
code added into the software.

Thanks,
Ben

-----Original Message-----
From: linux-dvb-bounce@linuxtv.org [mailto:linux-dvb-bounce@linuxtv.org] On
Behalf Of Matt Jesson
Sent: 20 July 2004 11:11
To: linux-dvb@linuxtv.org
Subject: [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