Skip to contentSkip to conversation

Sidewinder debug information

PATCH New Flameeyes 1 participant 1 message Dec 22, 2003 Input drivers

lore
Share & tools
lore

Flameeyes

author
#0 lore raw

PATCH 1/1 Sidewinder debug information

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.

Signature · 3 lines
Flameeyes <[email protected]>
You can find LIRC for 2.6 kernels at
http://flameeyes.web.ctonet.it/
drivers/input/joystick/sidewinder.c renamed from drivers/input/joystick/sidewinder.c.orig +0 -2
@@ -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] */