Skip to contentSkip to conversation

Logitech TrackMan trackball - unknown device

PATCH Applied Zbigniew Luszpinski 2 participants 2 messages May 28, 2006 – May 30, 2006 Input drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Logitech TrackMan trackball - unknown device

Hello!

When I connect to my linux 2.6.16.18 box a Logitech TrackMan trackball the kernel welcomes me with message:

logips2pp: Detected unknown logitech mouse model 79
input: ImExPS/2 Logitech Explorer Mouse as /class/input/input1

My patch makes TrackMan known for kernel 2.6.16.18. Other recent kernels should work with this patch too. After applying patch kenel 2.6.16.18 says:

input: PS2++ Logitech TrackMan Whell as /class/input/input1

have a nice day,
Zbigniew 'zbiggy' Luszpinski

drivers/input/mouse/logips2pp.c +6 -0
@@ -19,6 +19,7 @@
 #define PS2PP_KIND_WHEEL	1
 #define PS2PP_KIND_MX		2
 #define PS2PP_KIND_TP3		3
+#define PS2PP_KIND_TBW		4
 
 /* Logitech mouse features */
 #define PS2PP_WHEEL		0x01
@@ -223,6 +224,7 @@
 		{ 73,	0,			PS2PP_SIDE_BTN },
 		{ 75,	PS2PP_KIND_WHEEL,	PS2PP_WHEEL },
 		{ 76,	PS2PP_KIND_WHEEL,	PS2PP_WHEEL },
+		{ 79,	PS2PP_KIND_TBW,		PS2PP_WHEEL }, /* Trackball with wheel */
 		{ 80,	PS2PP_KIND_WHEEL,	PS2PP_SIDE_BTN | PS2PP_WHEEL },
 		{ 81,	PS2PP_KIND_WHEEL,	PS2PP_WHEEL },
 		{ 83,	PS2PP_KIND_WHEEL,	PS2PP_WHEEL },
@@ -298,6 +300,10 @@
 			psmouse->name = "TouchPad 3";
 			break;
 
+		case PS2PP_KIND_TBW:
+			psmouse->name = "TrackMan Wheel";
+			break;
+
 		default:
 			/*
 			 * Set name to "Mouse" only when using PS2++,
#1 lore raw
Quoted 5 lines · Zbigniew Luszpinski

Hello!

When I connect to my linux 2.6.16.18 box a Logitech TrackMan trackball the kernel welcomes me with message:

Quoted 8 lines

logips2pp: Detected unknown logitech mouse model 79
input: ImExPS/2 Logitech Explorer Mouse as /class/input/input1

My patch makes TrackMan known for kernel 2.6.16.18. Other recent kernels should work with this patch too. After applying patch kenel 2.6.16.18 says:

input: PS2++ Logitech TrackMan Whell as /class/input/input1

Applied, thank you,

Signature · 1 line
Dmitry