> In /usr/src/linux/drivers/char/psaux.c, the driver for the PS/2 mouse
> pointing device port, the following code appears:
>
> > /* Uncomment the following line if your mouse needs initialization. */
> > /* #define INITIALIZE_DEVICE */
>
> This device initialization *is* required on my system.
>
> See my Debian bug report at http://www.debian.org/Bugs/db/15/15618.html
> for all the details of what goes wrong without it. Briefly, the PS/2 mouse
> almost works, but frequently jumps to the lower left corner of the screen.
>
> My questions:
> * Why is this device initialization not enabled by default? Does it cause
> problems with some other systems?
Yes - it was causing crashes on some laptops...
(in linux-ggi list, where the GGI drivers decided to enable this by
default)
> * If the device initialization can't be enabled all the time, can the need
> for it be auto-detected?
not afaik - but someone else prove me wrong please? :)
> * If it can't be always on and it can't be auto-detected, can it be made
> configurable somehow?
Should be. Perhaps a commandline option to a module ("init_device=1") or
equivalent in module parameters.
Make a config option PSAUX_INITIALIZE_DEVICE set a default value - and
fix the driver so that it can handle this as a variable rather than a
macro....
eg:
extern int psaux_doInitDevice;
#ifdef PSAUX_INITIALIZE_DEVICE
int psaux_doInitDevice = 1;
#else
int psaux_doInitDevice = 0;
#endif
Or something like that...
G'day, eh? :)
- Teunis