Remote control TechnoTrend TT-connect S2-3650 CI
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
Hi Jochen,
Quoted 11 lines · Jochen Reinwand
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.
Quoted 6 lines
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.cthat 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é
Hi André,
Thanks for the help! I already fixed the problem! By accident...
Quoted 5 lines · André Weidemann
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
Am 20.03.2011 um 21:45 schrieb Jochen Reinwand <[email protected]>:
Quoted 24 lines
Hi André,
Thanks for the help! I already fixed the problem! By accident...
Quoted 5 lines · André Weidemann
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...
Quoted 6 lines
Regards
Jochen
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to [email protected]
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