[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: logitech mouse [was: Lost Trust]



Ian Campbell <ijc@hellion.org.uk> wrote:
> On Thu, 2004-06-03 at 10:02, Eric Wong wrote:
> > The below patch causes it to print the model number of your mouse, and
> > lets you add it as necessary to the device list (assuming it's not
> > already there).
> 
> Hi Eric,
> 
> I also have a logitech mouse, a Cordless MouseMan Wheel. Up till now the
> side button and scroll wheel did not work at all. With your patch I was
> able to find that it is model number 56, I added the following list
> entry 
> 
> Index: cthulhu/drivers/input/mouse/logips2pp.c
> ===================================================================
> --- cthulhu.orig/drivers/input/mouse/logips2pp.c	2004-06-03 19:55:01.000000000 +0100
> +++ cthulhu/drivers/input/mouse/logips2pp.c	2004-06-03 21:09:40.000000000 +0100
> @@ -160,6 +160,7 @@
>  		{ 51,	0 },
>  		{ 52,	PS2PP_4BTN | PS2PP_WHEEL },
>  		{ 53,	PS2PP_WHEEL },
> +		{ 56,	PS2PP_4BTN | PS2PP_WHEEL },
>  		{ 61,	PS2PP_WHEEL | PS2PP_MX },	/* MX700 */
>  		{ 73,	PS2PP_4BTN },
>  		{ 75,	PS2PP_WHEEL },
> 
> With this my side button behaves like the middle button but my scroll
> wheel still does not work at all. With evbug I get the following from
> the left button: 1,272,1 ; 0,0,0 ; 1,272,0 ; 0,0,0. Middle gives 274,
> right gives 273 and side gives 275. 
>
> The scroll wheel gives nothing at all. I tried adding PS2PP_MX and
> PS2PP_MX310 as well, with no luck.
>
> Any ideas?

That matches include/linux/input.h, and your side button works, which
means you've gotten somewhere :) The wheel should give Code: 8 in evbug
if it's working correctly.

dmesg and /proc/bus/input/devices should tell you that it's a "PS2++
Logitech Wheel Mouse" now if it was detected correctly.  Is that what it
says?

Strange, I'll see if I can find one for testing.
Is this it?  http://www.directron.com/cordlessrf.html

-- 
Eric Wong                normalperson@yhbt.net
Petta Technology, Inc      eric@petta-tech.com



Reply to: