Re: [INPUT] simple question on driver initialisation.

2005-07-26 Thread moreau francis
--- Vojtech Pavlik <[EMAIL PROTECTED]> 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 i

Re: [INPUT] simple question on driver initialisation.

2005-07-26 Thread Vojtech Pavlik
On Tue, Jul 26, 2005 at 02:26:02PM +0200, moreau francis wrote: > Thanks Vojtech for your answers ! > > --- Vojtech Pavlik <[EMAIL PROTECTED]> a écrit : > > > 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 sp

Re: [INPUT] simple question on driver initialisation.

2005-07-26 Thread moreau francis
Thanks Vojtech for your answers ! --- Vojtech Pavlik <[EMAIL PROTECTED]> a écrit : > 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

Re: [INPUT] simple question on driver initialisation.

2005-07-26 Thread Vojtech Pavlik
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

Re: [INPUT] simple question on driver initialisation.

2005-07-26 Thread moreau francis
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

Re: [INPUT] simple question on driver initialisation.

2005-07-26 Thread Vojtech Pavlik
On Tue, Jul 26, 2005 at 12:23:40PM +0200, moreau francis wrote: > I'm currently developping a very simple driver for a pinpad by using > Input module. I'm using Event handler to pass events from pinpad to userland. > In this simple case, I'm wondering if I really need to initialise > "phys" field

[INPUT] simple question on driver initialisation.

2005-07-26 Thread moreau francis
Hi, I'm currently developping a very simple driver for a pinpad by using Input module. I'm using Event handler to pass events from pinpad to userland. In this simple case, I'm wondering if I really need to initialise "phys" field in in "input_dev" struct before calling "input_register_device". Wha