logitech vx nano mouse buttons

Hans Petter Selasky hselasky at c2i.net
Thu Dec 17 14:49:35 UTC 2009


On Thursday 17 December 2009 14:04:30 jackal wrote:
> These buttons doesn't
> generate button events, so xev can't see these buttons.

Hi,

That's because your left button press is mapped to (2**2, two in the power of 
two which is equal to 0x00000004) which is button 2, which I think is not 
correct.

Typically left-right and middle button, should have button masks: 1,2,4.

Try to compare ums debug output when using another USB mouse.

> > ####### left button press
> > Dec 17 12:46:16 dell kernel: ums_intr_callback:210: sc=0xc61dc800
> > actlen=8 Dec 17 12:46:16 dell kernel: ums_intr_callback:228: data = 01 00
> > 00 00 00 00 00 00 Dec 17 12:46:16 dell kernel: ums_intr_callback:294: x:0
> > y:0 z:0 t:0 w:0 buttons:0x00000004

--HPS


More information about the freebsd-usb mailing list