Messages in this thread | | | Date | Wed, 28 Apr 2004 11:47:06 -0700 | From | Erik Steffl <> | Subject | Re: logitech mouseMan wheel doesn't work with 2.6.5 |
| |
Dmitry Torokhov wrote: > If I may chime in... > > On Wednesday 28 April 2004 03:21 am, Erik Steffl wrote: > > >>input: ImPS/2 Logitech Wheel Mouse on isa0060/serio1 >>input: ExPS/2 Generic Explorer Mouse on isa0060/serio1 >>input: PS2++ Logitech Mouse on isa0060/serio1 >>input: ImPS/2 Generic Wheel Mouse on isa0060/serio1 >>input: ExPS/2 Generic Explorer Mouse on isa0060/serio1 >>input: ImPS/2 Generic Wheel Mouse on isa0060/serio1 >>input: PS2++ Logitech Mouse on isa0060/serio1 >>input: PS/2 Generic Mouse on isa0060/serio1 >>input: PS/2 Generic Mouse on isa0060/serio1 >>input: ExPS/2 Generic Explorer Mouse on isa0060/serio1 >> > > > So your mouse pretty much can work with any protocol... Now could you please
it does NOT work with any protocol.
there are two problems:
wheel:
turning of the wheel in both direction produces 8, 0, 0 (which seems to mean any button down), all other buttons produces 8, 0, 0 on button down and x, 0, 0 on button up (x depends on button).
side button: produces exactly same numbers as middle button (clicking the wheel, 12, 0, 0 on button up).
that's with most protocols, some protocols (ps2pp, bare, genps) ignore the wheel completely (as far as I can tell that's OK)
> re-load the module without any parameters and post the output of > "cat /proc/bus/input/devices"
jojda:/home/erik# rmmod psmouse jojda:/home/erik# modprobe -v psmouse insmod /lib/modules/2.6.5/kernel/drivers/input/mouse/psmouse.ko jojda:/home/erik# cat /proc/bus/input/devices I: Bus=0011 Vendor=0001 Product=0001 Version=ab41 N: Name="AT Translated Set 2 keyboard" P: Phys=isa0060/serio0/input0 H: Handlers=kbd event0 B: EV=120003 B: KEY=4 2000000 3802078 f840d001 f2ffffdf ffefffff ffffffff fffffffe B: LED=7
I: Bus=0011 Vendor=0002 Product=0020 Version=0038 N: Name="ImPS/2 Logitech Wheel Mouse" P: Phys=isa0060/serio1/input0 H: Handlers=mouse0 event1 B: EV=7 B: KEY=70000 0 0 0 0 0 0 0 0 B: REL=103
jojda:/home/erik#
> Also compile evbug module, insert it in the kernel (with psmouse loaded as > well), hit all buttons again and post the excerpt of dmesg with evbug data. > I want to make sure that your button is not identified correctly as opposed > to some data lost in protocol transformation.
ok, I'll try that (have nobody to push the mouse buttons right now)
> What protocol are you using in XFree?
that's irrelevant, I got the results above without X running (by reading /dev/psaux). In case it might shed some light anyway, here's the X info: protocol is MouseManPlusPS/2, it worked with kernel 2.4.x. Now (with 2.6.5) X reports same results as you see above (using xev I see the wheel is no event, side button is button 2, just like wheel click)
erik
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |