public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* cinergyT2-core.c
       [not found] <1feb7bb2-75a7-4ca3-976b-af9edb123c3c@gmx.de>
@ 2026-01-19 19:24 ` Stephan Loescher
       [not found]   ` <696e85da.050a0220.1bec0f.4fd8@mx.google.com>
  0 siblings, 1 reply; 2+ messages in thread
From: Stephan Loescher @ 2026-01-19 19:24 UTC (permalink / raw)
  To: linux-media; +Cc: mchehab

Dear Linux developers,

I hope I found the right way to report a Linux Kernel bug for the file
drivers/media/usb/dvb-usb/cinergyT2-core.c
If not, please tell me!

Issue is: I have a Terratec Cinergy T2 and when I press the UP/DOWN/
LEFT/RIGHT buttons on the remote control, this keypress is repeated
endlessly, which I can see in evtest.
I made a workaround for this with this little patch:

--- cinergyT2-core.c.orig    2026-01-12 13:15:38.307186955 +0100
+++ cinergyT2-core.c    2026-01-12 13:15:55.256305639 +0100
@@ -129,10 +129,6 @@
   #define RC_REPEAT_DELAY 3

   static int repeatable_keys[] = {
-    KEY_UP,
-    KEY_DOWN,
-    KEY_LEFT,
-    KEY_RIGHT,
       KEY_VOLUMEUP,
       KEY_VOLUMEDOWN,
       KEY_CHANNELUP,

I don't understand what the code does with that "repeatable_keys", but
after I removed them from that array and inserted the changed Kernel
module, the remote control sends only single key presses as expected.
Can you please review and hopefully change the code?
I think all other Cinergy owners might be happy, too. :-)

The other keys in the repeatable_keys array show the same issue, but I
don't need them.

I used Kernel version 6.18.4.

Best regards,
Stephan.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Fix remote key stroke hang in cinergyT2-core.c
       [not found]   ` <696e85da.050a0220.1bec0f.4fd8@mx.google.com>
@ 2026-01-22 19:20     ` Stephan Loescher
  0 siblings, 0 replies; 2+ messages in thread
From: Stephan Loescher @ 2026-01-22 19:20 UTC (permalink / raw)
  To: linux-media

--- orig/drivers/media/usb/dvb-usb/cinergyT2-core.c	2026-01-22 
13:40:04.647739827 +0100
+++ fixed/drivers/media/usb/dvb-usb/cinergyT2-core.c	2026-01-22 
13:40:31.296007776 +0100
@@ -129,10 +129,6 @@
  #define RC_REPEAT_DELAY 3

  static int repeatable_keys[] = {
-	KEY_UP,
-	KEY_DOWN,
-	KEY_LEFT,
-	KEY_RIGHT,
  	KEY_VOLUMEUP,
  	KEY_VOLUMEDOWN,
  	KEY_CHANNELUP,


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-01-22 19:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1feb7bb2-75a7-4ca3-976b-af9edb123c3c@gmx.de>
2026-01-19 19:24 ` cinergyT2-core.c Stephan Loescher
     [not found]   ` <696e85da.050a0220.1bec0f.4fd8@mx.google.com>
2026-01-22 19:20     ` Fix remote key stroke hang in cinergyT2-core.c Stephan Loescher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox