Re: [INPUT] simple question on driver initialisation.

From: moreau francis
Date: Tue Jul 26 2005 - 10:12:52 EST

--- Vojtech Pavlik <vojtech@xxxxxxx> a écrit :
> >
> > I can't find "pinpad/input0" in sysfs, does that mean I need to add sysfs
> > suppport in my driver, and it's not done in input module when I register
> > my input driver ?
> I'm sorry, I thought it's already in mainline, but that bit is still
> missing from the sysfs support in input. It'll get there soon.


> > > "pinpad/input0" doesn't sound right. What port is your pinpad connected
> > > to?
> >
> > Actually I'm working on an embedded system which owns a pinpad controller.
> > This controller is accessed by using io mem and it talks to the pinpad
> through
> > a dedicated bus. So I accessed it through io space.
> In that case, you'll likely want something like io0200/input0, where
> 0x200 would be the io address of the device. On the other hand, if it's
> really embedded and there can't be two pinpads in the system, it's not a
> problem to use basically any string there, since it only needs to be
> system-unique.

It will be the case: only one embedded pinpad in the system. So something
like "kbdport/input0" should be ok...

thanks Vojtech for your time.


Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger
Téléchargez cette version sur
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at