Re: [INPUT] simple question on driver initialisation.

From: Vojtech Pavlik
Date: Tue Jul 26 2005 - 07:03:56 EST


On Tue, Jul 26, 2005 at 01:47:05PM +0200, moreau francis wrote:
> hello,
>
> --- Vojtech Pavlik <vojtech@xxxxxxx> a écrit :
>
> > > What is this field for ?
> >
> > It is intended for identifying the device based on "location" in the
> > system.
> >
>
> hmm, sorry but I don't understand you. I initialised this field with
> "pinpad/input0" but the only place I can grep or find it, is in
> /proc/bus/input/devices. I don't see how it can be used for identifiying
> the device...

It's also available via an ioctl() and in sysfs. This allows you to
specify in an application that you want a device plugged into a specific
port of the machine. Not many applications can use it at the moment, but
udev can use it to assign a name of the device node.

"pinpad/input0" doesn't sound right. What port is your pinpad connected
to?

--
Vojtech Pavlik
SuSE Labs, SuSE CR
-
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/