* Remote control TechnoTrend TT-connect S2-3650 CI
@ 2011-03-19 18:40 Jochen Reinwand
2011-03-19 19:13 ` André Weidemann
0 siblings, 1 reply; 4+ messages in thread
From: Jochen Reinwand @ 2011-03-19 18:40 UTC (permalink / raw)
To: linux-media
Hi everyone,
I've searched the archive and Google for this, but haven't found anything
useful...
I'm using a TechnoTrend TT-connect S2-3650 CI. The S2API support is great! I
do not have any problems watching DVB-S and DVB-S2 content. Tuning is quite
fast! It's working much better than my Hauppauge WinTV Nova-TD, but that's a
different story...
The only severe problem I have with the TechnoTrend is related to the remote
control. Around 30% of the key presses produce two key events. It's not
related to any lirc or X11 configuration issue. I verified it using the tool
input-events on the device. There are really two separate events coming from
the device.
Is this due to a hardware problem, or is it a driver issue? My C and Kernel
knowledge is not really the best. But there is some code in dvb-usb-remote.c
that seems to be related to key repeats. Are the dvb remote input devices
doing something special here? I'm also not able to modify behaviour of the
device via "xset r rate" when using it as X11 input device. It's only
affecting the real keyboard that is also attached.
The system is a recent yaVDR. So it's more or less an Ubuntu 10.4. Kernel is
2.6.32. S2API should be a recent check out.
Any ideas?
Thanks in advance,
Jochen
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Remote control TechnoTrend TT-connect S2-3650 CI
2011-03-19 18:40 Remote control TechnoTrend TT-connect S2-3650 CI Jochen Reinwand
@ 2011-03-19 19:13 ` André Weidemann
2011-03-20 20:45 ` Jochen Reinwand
0 siblings, 1 reply; 4+ messages in thread
From: André Weidemann @ 2011-03-19 19:13 UTC (permalink / raw)
To: Jochen Reinwand; +Cc: linux-media
Hi Jochen,
On 19.03.2011 19:40, Jochen Reinwand wrote:
> I'm using a TechnoTrend TT-connect S2-3650 CI. The S2API support is great! I
> do not have any problems watching DVB-S and DVB-S2 content. Tuning is quite
> fast! It's working much better than my Hauppauge WinTV Nova-TD, but that's a
> different story...
>
> The only severe problem I have with the TechnoTrend is related to the remote
> control. Around 30% of the key presses produce two key events. It's not
> related to any lirc or X11 configuration issue. I verified it using the tool
> input-events on the device. There are really two separate events coming from
> the device.
>
> Is this due to a hardware problem, or is it a driver issue? My C and Kernel
> knowledge is not really the best. But there is some code in dvb-usb-remote.c
> that seems to be related to key repeats. Are the dvb remote input devices
> doing something special here? I'm also not able to modify behaviour of the
> device via "xset r rate" when using it as X11 input device. It's only
> affecting the real keyboard that is also attached.
I don't think that this is a hardware problem. I think it is related to
the driver. When I added support for the S2-3650CI to Dominik Kuhlen's
code for the PC-TV452e, I used the RC-code function "pctv452e_rc_query"
for the S2-3650CI. I ran into this problem back then and thought that
setting .rc_interval to 500 would "fix" the problem good enough. Since I
never used the supplied remote with my box, I never looked into the
problem again.
Unfortunately I do not know how to fix this problem. If anyone has some
insights on reading remote control inputs, please take a look here and
see if you can fix the problem:
http://mercurial.intuxication.org/hg/s2-liplianin/file/7e47ba1d4ae8/linux/drivers/media/dvb/dvb-usb/pctv452e.c#l1355
The remote is the same as the one shipped with the TT-S1500. So the code
for reading the remote input should already exist.
Regards
André
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Remote control TechnoTrend TT-connect S2-3650 CI
2011-03-19 19:13 ` André Weidemann
@ 2011-03-20 20:45 ` Jochen Reinwand
2011-03-20 21:59 ` Harald Becherer
0 siblings, 1 reply; 4+ messages in thread
From: Jochen Reinwand @ 2011-03-20 20:45 UTC (permalink / raw)
To: André Weidemann; +Cc: linux-media
Hi André,
Thanks for the help! I already fixed the problem! By accident...
On Saturday 19 March 2011, André Weidemann wrote:
> I don't think that this is a hardware problem. I think it is related to
> the driver. When I added support for the S2-3650CI to Dominik Kuhlen's
> code for the PC-TV452e, I used the RC-code function "pctv452e_rc_query"
> for the S2-3650CI. I ran into this problem back then and thought that
> setting .rc_interval to 500 would "fix" the problem good enough.
My first idea was simple: Set it to 1000. Better a slow remote control than
double key presses. But the double key press events remained.
So I was planning to do some more debugging.
But my next idea was: If I get double events anyway, I can also speed up the
remote by setting .rc_interval to 250. After setting it, everything was faster
and ... the double events disappeared!!! Of course, I did some further tests
and found out that setting .rc_interval to 50 is also working perfectly! No
double key press events so far and the remote is reacting really quick.
I don't really understand why this is fixing the issue...
Does it make sense to put this into the official repo? Or is it too dangerous?
It's possibly breaking things for others...
Regards
Jochen
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Remote control TechnoTrend TT-connect S2-3650 CI
2011-03-20 20:45 ` Jochen Reinwand
@ 2011-03-20 21:59 ` Harald Becherer
0 siblings, 0 replies; 4+ messages in thread
From: Harald Becherer @ 2011-03-20 21:59 UTC (permalink / raw)
To: Jochen Reinwand; +Cc: André Weidemann, linux-media@vger.kernel.org
Am 20.03.2011 um 21:45 schrieb Jochen Reinwand <Jochen.Reinwand@gmx.de>:
> Hi André,
>
> Thanks for the help! I already fixed the problem! By accident...
>
> On Saturday 19 March 2011, André Weidemann wrote:
>> I don't think that this is a hardware problem. I think it is related to
>> the driver. When I added support for the S2-3650CI to Dominik Kuhlen's
>> code for the PC-TV452e, I used the RC-code function "pctv452e_rc_query"
>> for the S2-3650CI. I ran into this problem back then and thought that
>> setting .rc_interval to 500 would "fix" the problem good enough.
>
> My first idea was simple: Set it to 1000. Better a slow remote control than
> double key presses. But the double key press events remained.
> So I was planning to do some more debugging.
> But my next idea was: If I get double events anyway, I can also speed up the
> remote by setting .rc_interval to 250. After setting it, everything was faster
> and ... the double events disappeared!!! Of course, I did some further tests
> and found out that setting .rc_interval to 50 is also working perfectly! No
> double key press events so far and the remote is reacting really quick.
>
> I don't really understand why this is fixing the issue...
> Does it make sense to put this into the official repo? Or is it too dangerous?
> It's possibly breaking things for others...
>
> Regards
> Jochen
> --
> To unsubscribe from this list: send the line "unsubscribe linux-media" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
Hi,
I just tried and indeed, it works for me as well;-)
Never switched so fast...
I tried 50 but it is almost too fast
Maybe 75 or 100...
By the way, are there any thoughts/plans to merge TT S2-3600 into kernel some time?
Would be a guinea pig and buy a card for CI testing.
Greetings
Harald
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-03-20 21:59 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-19 18:40 Remote control TechnoTrend TT-connect S2-3650 CI Jochen Reinwand
2011-03-19 19:13 ` André Weidemann
2011-03-20 20:45 ` Jochen Reinwand
2011-03-20 21:59 ` Harald Becherer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox