On Thu, 07 Feb 2002 16:09:13 +0100
"LU...@te..." <LU...@te...> wrote:
> Thxs for your interest.
>
> i send you 3 files, messages, ksyms, lsmod, they are all the output,
> because they are many lines that could interest you. i have few modules
> loaded for this try, but if you want me to reduce to the max those tell
> me and i will send you again the files.
>
The modprobe crashed in joydev_connect, on a division by 0. This bug seems
to have been corrected in the current CVS tree. The easiest (?) way to fix
your issue would be to search for the lines:
joydev->corr[i].coef[2] = (1 << 29) / ((dev->absmax[j] - dev->absmin[j]) / 2 - 2 * dev->absflat[j]);
joydev->corr[i].coef[3] = (1 << 29) / ((dev->absmax[j] - dev->absmin[j]) / 2 - 2 * dev->absflat[j]);
and replace them by:
if (!(t = ((dev->absmax[j] - dev->absmin[j]) / 2 - 2 * dev->absflat[j])))
continue;
joydev->corr[i].coef[2] = (1 << 29) / t;
joydev->corr[i].coef[3] = (1 << 29) / t;
They are located near line 470 in drivers/input/joydev.c
Another solution would be to try the 2.5.3 kernel with Dave Jones' patch
applied. Or if you want to stick to the 2.4 kernel, you can try the
input-only patch available from
http://www.docs.uu.se/~johannd/projects/ff/patch-2.4.17.bz2 and
patch-2.4.17-fix1.bz2 (the later file is not essential, it includes new
help files and a more common default configuration).
--
Johann Deneux
______________________________________________________________________________
ifrance.com, l'email gratuit le plus complet de l'Internet !
vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP...
http://www.ifrance.com/_reloc/email.emailif
|