Date: Fri, 9 May 2008 15:57:31 +0200 From: Alexander Leidinger <Alexander@Leidinger.net> To: Kai Wang <kaiwang27@gmail.com> Cc: usb@freebsd.org Subject: Re: How to remap or ignore certain mouse buttons? (was: Fun with Logitech keyboard/mouse kombo (diNovo Edge)...) Message-ID: <20080509155731.5434bd7f@deskjail> In-Reply-To: <20080508214133.GA1936@plan0> References: <20080507192420.694f57ee@deskjail> <20080508103636.153b1576@deskjail> <a92a9f4c0805080359l8e71684la7be565c1ba39d05@mail.gmail.com> <20080508151321.51af2488@deskjail> <20080508214133.GA1936@plan0>
next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Kai Wang <kaiwang27@gmail.com> (Thu, 8 May 2008 23:41:33 +0200): > This mouse got two very similar usage collections, the difference > is one of them defined 4 more buttons. > > Let's try to speicify the buttons, XY axis and wheel explicitly and > see what happens... > > Could you please try following two patches? > (assuming you are using latest CURRENT, and you need to substitute VENDORID > and PRODUCTID with the real id of your mouse) > > First apply patch A: Works (the mouse moves). > After test, revert patch A and apply patch B instead: > (Only difference between these two patches is the value of sc->sc_iid) I didn't applied the second patch, I just changed the iid. This one does not work, the pointer does not move. > What will moused output after applying these two patches, repectively? Patch a: ---snip--- # /usr/sbin/moused -p /dev/ums0 -t auto -f -d moused: proto params: f8 80 00 00 8 00 ff moused: port: /dev/ums0 interface: usb type: sysmouse model: generic ---snip--- Sorry, I forgot to run moused with -d -f for the second one. As it does not work: do you really need it? If yes I can get some time later again to work on the system. Bye, Alexander. -- Hermes: Baby needs a new pair of shoes! Zoidberg: To hell with your spoiled baby, I need those shoes. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080509155731.5434bd7f>