lkml.org 
[lkml]   [2003]   [Oct]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: /dev/input/mice doesn't work in test9?
Date

> I'm sure I'm just missing something stupid, but google doesn't seem to turn
> up anything, so...

> I'm trying to use 2.6.0-test9 on a machine with a USB mouse. With 2.4, I
> have X configured to use /dev/input/mice (c 13 63) as my mouse pointer,
> and it works great. With test9, XFree86 fails to start because it can't
> open the mouse. The error is "xf86OpenSerial: Cannot open device /dev/
> input/mice No such device.".

> 'cat /dev/input/mice' also gives me "No such device".

> /dev/input/mouse0 (c 13 32) doesn't work either.

> I believe all of the relevant modules are loaded and the light on my
> optical mouse is lit, indicating that it has been powered by the usbmouse
> driver (as I understand it).

You are missing mousedev that is the driver that actually provides
/dev/input/mice. usbmouse (which is actually redundand with hid) speaks
with hardware and mousedev speaks with user :)

The whole input subsystem has changed between 2.4 and 2.6. Unfortunately,
input sysbsystem hotplugging is not currently implemented. Your best bet
is to forcibly load mousedev during boot. Alternatively look into hotplug
for usermap, it allows provide fake mapping for modules - you could add
mapping from UDB IDs of oyur mouse to mousedev. Loading it statically is
likely to be more simple.

regards

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

\
 
 \ /
  Last update: 2005-03-22 13:58    [from the cache]
©2003-2011 Jasper Spaans