* [Patch] Logitech TrackMan trackball - unknown device
@ 2006-05-28 14:46 Zbigniew Luszpinski
2006-05-30 3:48 ` Dmitry Torokhov
0 siblings, 1 reply; 2+ messages in thread
From: Zbigniew Luszpinski @ 2006-05-28 14:46 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 492 bytes --]
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
[-- Attachment #2: logips2pp.c.patch --]
[-- Type: text/x-diff, Size: 921 bytes --]
--- 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++,
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Patch] Logitech TrackMan trackball - unknown device
2006-05-28 14:46 [Patch] Logitech TrackMan trackball - unknown device Zbigniew Luszpinski
@ 2006-05-30 3:48 ` Dmitry Torokhov
0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Torokhov @ 2006-05-30 3:48 UTC (permalink / raw)
To: Zbigniew Luszpinski; +Cc: linux-kernel
On Sunday 28 May 2006 10:46, Zbigniew Luszpinski wrote:
> 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
>
Applied, thank you,
--
Dmitry
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-05-30 3:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-28 14:46 [Patch] Logitech TrackMan trackball - unknown device Zbigniew Luszpinski
2006-05-30 3:48 ` Dmitry Torokhov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome