Re: udev on 2.6.14 fails to create /dev/input/event2 on T40 Thinkpad

From: Greg KH
Date: Tue Nov 08 2005 - 13:47:22 EST


On Tue, Nov 08, 2005 at 08:14:51AM -0500, Theodore Ts'o wrote:
> On Mon, Nov 07, 2005 at 08:43:49PM -0800, Greg KH wrote:
> >
> > The input subsystem moved to handle nested class devices, so udev had to
> > change to handle this properly. I bet however Debian does the initial
> > population of the /dev tree is messed up somehow, as that is what it
> > looks like is happening (event3 I bet is from a USB device that is added
> > after init starts?)
> >
>
> Nope, it looks like there's some sort of layering/nesting going on:
>
> % cat /sys/class/input/event1/device/description
> i8042 Kbd Port
>
> % cat /sys/class/input/event2/device/description
> i8042 Aux Port
>
> % cat /sys/class/input/event3/device/description
> Synaptics pass-through
>
> .. and the Synaptics driver wants to talk to /dev/input/event2, and
> _not_ /dev/input/event3. But the Debian scripts seem to think that
> the only thing of value to expose is the /dev/input/event3, the very
> top of the stack. /dev/input/event1, and /dev/input/event2 are both
> not showing up on my system once a I boot a post-2.6.14 kernel.

Is there a "dev" file in /sys/class/input/event1/ and
/sys/class/input/event2/ ? That should be all the udev cares about.

thanks,

greg k-h
-
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/