On Sun, Oct 27, 2002 at 07:54:39PM -0500, [EMAIL PROTECTED] wrote: > On Sat, Oct 26, 2002 at 09:20:05PM -0400, Zephaniah E. Hull wrote: > > To make a long story short, X is wrong in how it parses the wheel data > > for EXPS/2 protocol mice. > > > > 0xF and 0x1 are used to indicate the first wheel, and 0xE and 0x2 for > > the second wheel. > > (Yes, I have real hardware which generates this.) > > Make the short story longer; specifically, I need to know for which mice > or mouse protocols this is going to generate spurious events, which you > mentioned would happen when you were talking to me about this on IRC.
This is going to generate spurious events when speaking the EXPS/2 protocol from unpatched kernel HID layers, specificly drivers/input/mousedev.c generates the wheel data incorrectly, I have a patch for that which I'm trying to get accepted upstream. I have actual hardware which speaks the protocol in question, in both one and two wheel versions, and none actually generate anything except 0x1 and 0xf for the first wheel, the kernel will generate something other then that, if unpatched, for /very/ rapid wheel movements on slower systems. The problems of that with X and this patch are further reduced by the fact that ZAxisMapping will, if only given two buttons, map W axis (0x2 and 0xe) to the same buttons as the z axis, and if it is something other then those two it will be dropped. I do not expect to see anyone suddenly loosing functionality from this patch. (=:] Zephaniah E. Hull. -- 1024D/E65A7801 Zephaniah E. Hull <[EMAIL PROTECTED]> 92ED 94E4 B1E6 3624 226D 5727 4453 008B E65A 7801 CCs of replies from mailing lists are requested. > Is there an API or other means to determine what video > card, namely the chipset, that the user has installed > on his machine? On a modern X86 machine use the PCI/AGP bus data. On a PS/2 use the MCA bus data. On nubus use the nubus probe data. On old style ISA bus PCs done a large pointy hat and spend several years reading arcane and forbidden scrolls -- Alan Cox
pgpCtfy24Yz1h.pgp
Description: PGP signature