Skip to contentSkip to conversation

cinergyT2-core.c - Fix remote key stroke hang

PATCH Stephan Loescher 1 participant 1 message Feb 4 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

Dear Linux developers,

My first try to send the patch was not successful as it seems, so I try it again.

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:

drivers/media/usb/dvb-usb/cinergyT2-core.c 2026-01-22 13:40:31.296007776 +0100 renamed from drivers/media/usb/dvb-usb/cinergyT2-core.c 2026-01-22 13:40:04.647739827 +0100 +0 -4
@@ -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.