The patch number 9780 was added via Patrick Boettcher <[EMAIL PROTECTED]>
to http://linuxtv.org/hg/v4l-dvb master development tree.
Kernel patches in this development tree may be modified to be backward
compatible with older kernels. Compatibility modifications will be
removed before inclusion into the mainstream Kernel
If anyone has any objections, please let us know by sending a message to:
[EMAIL PROTECTED]
------
From: Devin Heitmueller <[EMAIL PROTECTED]>
dib0700: Stop repeating after user stops pushing button
A user noticed that there would continue to be 4-6 keypresses even after the
user stopped holding down the button. This was because we were not reading
the bulk pipe faster than the firmware was injecting information, which would
result in a backlog.
Make the query interval faster, and increase the number of cycles before we
start repeating to compensate.
Thanks to Knud Poulsen <[EMAIL PROTECTED]> for pointing this out.
Priority: high
Signed-off-by: Devin Heitmueller <[EMAIL PROTECTED]>
Signed-off-by: Patrick Boettcher <[EMAIL PROTECTED]>
---
linux/drivers/media/dvb/dvb-usb/dib0700_devices.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff -r 7100e78482d7 -r fca548513583
linux/drivers/media/dvb/dvb-usb/dib0700_devices.c
--- a/linux/drivers/media/dvb/dvb-usb/dib0700_devices.c Sat Nov 29 00:46:43
2008 -0200
+++ b/linux/drivers/media/dvb/dvb-usb/dib0700_devices.c Mon Dec 01 10:51:14
2008 +0100
@@ -446,13 +446,13 @@ static int stk7700ph_tuner_attach(struct
== NULL ? -ENODEV : 0;
}
-#define DEFAULT_RC_INTERVAL 150
+#define DEFAULT_RC_INTERVAL 50
static u8 rc_request[] = { REQUEST_POLL_RC, 0 };
/* Number of keypresses to ignore before start repeating */
-#define RC_REPEAT_DELAY 2
-#define RC_REPEAT_DELAY_V1_20 5
+#define RC_REPEAT_DELAY 6
+#define RC_REPEAT_DELAY_V1_20 10
---
Patch is available at:
http://linuxtv.org/hg/v4l-dvb/rev/fca5485135831fb17adb20dd9447623ee70cdaf7
_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits