From: Nick Martin <nim@nimlabs.org>
To: dtor_core@ameritech.net
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] spaceball: increment SPACEBALL_MAX_ID for 4000FLX Lefty
Date: Sat, 15 Jul 2006 21:23:44 -0400 [thread overview]
Message-ID: <20060716012344.GO17043@nimlabs.org> (raw)
From: Nick Martin <nim+linux@nimlabs.org>
Although the Spaceball 4000FLX Lefty is already supported by the
spaceball driver, it does not register properly due to SPACEBALL_MAX_ID
being set too low. This patch increments SPACEBALL_MAX_ID such that the
4000FLX Lefty is properly recognized. No changes are needed in the
actual code, this merely allows the existing code to be run for this
device.
This patch has been tested with an actual Spaceball 4000FLX Lefty on
kernel version 2.6.17.6.
Signed-off-by: Nick Martin <nim+linux@nimlabs.org>
---
Thanks,
-- Nick Martin
http://www.nimlabs.org/~nim
--- linux-2.6.17.6/drivers/input/joystick/spaceball.c.orig 2006-07-15 12:00:43.000000000 -0700
+++ linux-2.6.17.6/drivers/input/joystick/spaceball.c 2006-07-15 18:18:14.971790750 -0700
@@ -50,7 +50,7 @@ MODULE_LICENSE("GPL");
*/
#define SPACEBALL_MAX_LENGTH 128
-#define SPACEBALL_MAX_ID 8
+#define SPACEBALL_MAX_ID 9
#define SPACEBALL_1003 1
#define SPACEBALL_2003B 3
next reply other threads:[~2006-07-16 1:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-16 1:23 Nick Martin [this message]
2006-07-16 1:53 ` [PATCH] spaceball: increment SPACEBALL_MAX_ID for 4000FLX Lefty Dmitry Torokhov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060716012344.GO17043@nimlabs.org \
--to=nim@nimlabs.org \
--cc=dtor_core@ameritech.net \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox