You are not logged in.

#1 2011-05-16 13:16:02

Clouseau
Member
Registered: 2010-12-24
Posts: 112

Lirc, dvb-t, kernel and remote problem

Since kernel 2.6.36/37-ARCH I have issues with my Avermedia Volar X dvb-t usb. I have configured it following this guide http://www.linuxtv.org/wiki/index.php/A … %28A815%29 and everything worked perfect. I even fixed possible issues in guide by remote going into a loop when keypresed. And when I upgraded to 2.6.36/37(can't remember) my keypresses on a remote are registred often twice. I am now on latest official kernel in Arch repo and the problem persists. I have even tried through lirc to fix the problem but the keypresses are often doubled also so there must be a bug in kernel/v4l drivers.

I have found this thread https://bbs.archlinux.org/viewtopic.php?id=109037&p=1

But I have only this protocol available in /sys/class/rc/rc0/protocols NEC. I cannot blacklist modules ir_sony_decoder,ir_jvc_decoder,ir_rc6_decoder,rc_rc6_mce,ir_rc5_decoder,ir_nec_decoder... because all of them loads with dvb_usb_af9015 module which is needed for Avermedia Volar X card. So there must be a problem that lirc module now integrates in kernel and is problably often registering double keypress on remote... I really don't wan't to recompile my kernel because I switched from Gentoo to Arch because don't want no more compiling to do...

Is there maybe another solution for this or recompile is the only option?

Offline

#2 2011-05-16 20:48:13

Clouseau
Member
Registered: 2010-12-24
Posts: 112

Re: Lirc, dvb-t, kernel and remote problem

Ok, I have compiled kernel26-ck without ir_*_decoder stuff but I have to  left rc_core because if I disable that in nconfig I cannot choose driver for my card. The result is the same, my remote often registers double click. Then I have compiled the kernel with support for v4l modules but without rc_core and my driver (afatec 9015) and afterwards tried to compile v4l-dvb development in AUR which failed. And then I tried v4l-git from AUR which also failed...

Any advice?

Offline

#3 2011-07-03 19:12:09

Clouseau
Member
Registered: 2010-12-24
Posts: 112

Re: Lirc, dvb-t, kernel and remote problem

bump

Offline

#4 2011-07-03 21:08:03

anrxc
Member
From: Croatia
Registered: 2008-03-22
Posts: 834
Website

Re: Lirc, dvb-t, kernel and remote problem

Is it often or is it always? There is a huge difference.

You can try using the suppress_repeat setting in your lircd.conf http://www.google.com/search?q=lircd.co … ess_repeat

There's also an ugly workaround but only one possible when the bug is in the driver and can't be resolved in user space. For applications using .lircrc, you can throw away the first event, and act on the second:

  config = echo -n > /dev/null
  config = echo "Foobar LIRC" | xmessage -file -

You need to install an RTFM interface.

Offline

#5 2011-07-18 14:43:25

Clouseau
Member
Registered: 2010-12-24
Posts: 112

Re: Lirc, dvb-t, kernel and remote problem

Not always, often and random.  Will try with suppress_repeat option after I upgrade the kernel26 and post results.

Offline

#6 2011-07-18 17:24:35

ctxfi-user
Member
Registered: 2010-10-31
Posts: 56

Re: Lirc, dvb-t, kernel and remote problem

What outputs ir-keytable? (ir-keytable is in the v4l-utils package.)

Offline

Board footer

Powered by FluxBB