retitle 279270 xserver-xfree86: needs an init script to detect reboots between Linux 2.4 and 2.6 to prevent psaux mice from moving at warp speed severity 279270 wishlist thanks
On Mon, Nov 01, 2004 at 11:28:07PM +0200, Noam Raphael wrote: > Package: xserver-xfree86 > Version: 4.3.0.dfsg.1-8 > Severity: normal > > I've run normal dpkg-reconfigure xserver-xfree86. I used psaux for my > mouse. I used kernel 2.4, and then installed 2.6. Everything worked > well, but my mouse began running very quickly. > > What happened is that my XF86Config-4 file contained two mouse sections > - one for "generic mouse", and one for "configured mouse". > kernel 2.6 combined the two, and my mouse speed doubled. This is because psaux mouse devices weren't handled by the input subsystem in Linux 2.4, but are in Linux 2.6. The only real fix for this, as far as I can tell, is to have an init script that records the running kernel version at system boot and checks the stored value (from the previous boot) against the current one. If the user uses a psaux mouse and moves back and forth between 2.4 and 2.6, the XF86Config-4 file will have to be rewritten. Fortunately, having such an init script is a good idea for other purposes: it would be nice to perform some hardware detection relevant to the X server, and if the state of the system has changed, have the user reconfigure the X server (under ideal circumstances, this reconfiguration could even be noninteractive). -- G. Branden Robinson | I am only good at complaining. Debian GNU/Linux | You don't want me near your code. [EMAIL PROTECTED] | -- Dan Jacobson http://people.debian.org/~branden/ |
signature.asc
Description: Digital signature