* [PATCH] Sidewinder debug information
@ 2003-12-22 19:18 Flameeyes
0 siblings, 0 replies; only message in thread
From: Flameeyes @ 2003-12-22 19:18 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 466 bytes --]
Hi,
with 2.6.0 kernel, I have some troubles with sidewinder support.
It works perfectly, but when using it, the kernel log is fullfilled by
messages like these:
sidewinder.c: Read 5 triplets. [77773]
sidewinder.c: Read 5 triplets. [77773]
so dmesg command it's useless.
With the attached patch the SWDEBUG is removed and the messages aren't
printed.
--
Flameeyes <dgp85@users.sourceforge.net>
You can find LIRC for 2.6 kernels at
http://flameeyes.web.ctonet.it/
[-- Attachment #2: sidewinder-debug.diff --]
[-- Type: text/x-diff, Size: 463 bytes --]
--- linux/drivers/input/joystick/sidewinder.c.orig 2003-12-22 19:05:48.147132360 +0000
+++ linux/drivers/input/joystick/sidewinder.c 2003-12-22 19:05:54.770125512 +0000
@@ -45,8 +45,6 @@ MODULE_LICENSE("GPL");
* as well as break everything.
*/
-#define SW_DEBUG
-
#define SW_START 400 /* The time we wait for the first bit [400 us] */
#define SW_STROBE 45 /* Max time per bit [45 us] */
#define SW_TIMEOUT 4000 /* Wait for everything to settle [4 ms] */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-12-22 18:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-22 19:18 [PATCH] Sidewinder debug information Flameeyes
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.