Re: Mouse problem
Nicos Gollan wrote:
I have experienced something similar with a Logitech MX501. It seems
like some
mice map their buttons to something that XFree doesn't understand, like a
high number. The ExplorerPS/2 protocol only supports mouse buttons up to
number 7 or 8 (it is the protocol with the highest number of buttons
supported on x86 Linux) and either ignores higher numbers or maps them to
something lower. The result is somewhat unpredictable.
If xev doesn't even catch those events, it means that this is the situation
you're facing and there doesn't seem to be a lot you can do but hope and pray
that the existing USB HID driver is made to work with Linux's input system at
some time.
I'll attach a small C program that you can run to see if the kernel's input
system recognizes the button. All it does is print a line (of nonsense) to
the console for every mouse event. This includes movement, so make sure
you're holding still while pressing buttons. It is best run from a pure text
terminal without a running X server or gpm.
Compile it with: gcc -o inputdump inputdump.c
Run as root (permissions of /dev/input/* are restrictive):
./inputdump /dev/input/<inputdevice>
./inputdump did't react when I press the additional sided
buttons but react equally for every mouse event.
Input: type = 62948, code = 49151, value = 1075118068
so make sure
you're holding still while pressing buttons
I am sure that is button event.
My mouse and keyboard are on PS/2.
Thanks for your understanding.
Reply to: