From owner-freebsd-usb@FreeBSD.ORG Thu Dec 17 14:49:35 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4517110656C0 for ; Thu, 17 Dec 2009 14:49:35 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe03.swip.net [212.247.154.65]) by mx1.freebsd.org (Postfix) with ESMTP id CA8248FC26 for ; Thu, 17 Dec 2009 14:49:34 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=2IeTVisTiqe-eecp59IA:9 a=12XHn-7RnrJLDpnSSVEA:7 a=QLqliH8Lg0tD7TbbaCCre7aR3KUA:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe03.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 1361882924; Thu, 17 Dec 2009 15:49:28 +0100 From: Hans Petter Selasky To: me@jackal.in Date: Thu, 17 Dec 2009 15:51:23 +0100 User-Agent: KMail/1.11.4 (FreeBSD/9.0-CURRENT; KDE/4.2.4; i386; ; ) References: <200912161556.52923.me@jackal.in> <200912171343.22970.hselasky@c2i.net> <200912171604.30794.me@jackal.in> In-Reply-To: <200912171604.30794.me@jackal.in> X-Face: (%:6u[ldzJ`0qjD7sCkfdMmD*RxpOwEEQ+KWt[{J#x6ow~JO:,zwp.(t; @Aq :4:&nFCgDb8[3oIeTb^'",;u{5{}C9>"PuY\)!=#\u9SSM-nz8+SR~B\!qBv MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200912171551.24718.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: logitech vx nano mouse buttons X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Dec 2009 14:49:35 -0000 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