Re: [INPUT] simple question on driver initialisation.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jul 26, 2005 at 01:47:05PM +0200, moreau francis wrote:
> hello,
> 
> --- Vojtech Pavlik <[email protected]> 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux