Re: 2.6.0 + logitech wheel mouse optical usb

From: Linus Torvalds
Date: Mon Dec 29 2003 - 12:59:59 EST




On Mon, 29 Dec 2003, dju` wrote:
>
> I've tested 2.6.0 and I found something weird with my mouse (which used
> to work well with 2.4).
>
> Clicking on the mouse buttons does nothing for about 15% of the clicks
> (using the wheel has this behaviour too) for the first hour of uptime.

Magical.

If it was the first five minutes, I'd not be horribly surprised, because
we have a jiffies wrap at five minutes to try to find misuses of the time
counter. But an hour?

Just for fun, try changing include/linux/time.h, to make the

#define INITIAL_JIFFIES ((unsigned long)(unsigned int) (-300*HZ))

just be a simple

#define INITIAL_JIFFIES 0UL

and see if that makes any difference...

Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/