Message ID | 20121118085638.GA2331@core.coreip.homeip.net (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Sun, Nov 18, 2012 at 12:56:38AM -0800, Dmitry Torokhov wrote: > > Input: mousedev - move /deb/input/mice to teh correct minor s/teh/the/ ?? > > From: Dmitry Torokhov <dmitry.torokhov@gmail.com> > > When doing conversion to dynamic input numbers I inadvertently moved > /dev/input/mice form c,13,63 to c,13,31. We need to fix this so that > setups with statically populated /dev continue working. > > Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> I had the same problem and this patch fixes it (I even concurrently fixed that in similar way). If you need that: Tested-by: Krzysztof Mazur <krzysiek@podlesie.net> Thanks, Krzysiek -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Hi! > > That is correct and expected behavior. > > > > > So it seems to be "/dev/input/mice" issue. Does it work for you? > > > > Yes, it works for me properly (testing with rc4+, 1b42fc4 more precisely). > > Even after disconnect/reconnect cycle of USB mouse, I am getting events > > properly from /dev/input/mice (frankly I am surprised that you noticed ... > > Xorg has been using evdev driver for ages already by default, right?) > > > > What was the last kernel version that worked for you in this respect? > > > > Adding Dmitry and linux-input. > > Does the patch below help? Yes. With this patch, my mice are back. Tested-by: Pavel Machek <pavel@ucw.cz> Pavel
diff --git a/drivers/input/mousedev.c b/drivers/input/mousedev.c index 8f02e3d..4c842c3 100644 --- a/drivers/input/mousedev.c +++ b/drivers/input/mousedev.c @@ -12,8 +12,8 @@ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #define MOUSEDEV_MINOR_BASE 32 -#define MOUSEDEV_MINORS 32 -#define MOUSEDEV_MIX 31 +#define MOUSEDEV_MINORS 31 +#define MOUSEDEV_MIX 63 #include <linux/sched.h> #include <linux/slab.h>