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
--- linux-2.6.16.18/drivers/input/mouse/logips2pp.c 2006-03-20 06:53:29.000000000 +0100
+++ linux-2.6.16.18/drivers/input/mouse/logips2pp.c 2006-05-27 20:35:26.000000000 +0200
@@ -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++,
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]