Hi ard,
I have now hacked the gpio_mouse driver into my code. I had to patch the Kconfig to include GENERIC_GPIO. And add 4 gpio-access functions to the minipc board file and add some platform_device struct.

Now the driver shows itself as

/sys/devices/platform/gpio-mouse
/sys/bus/platform/devices/gpio-mouse

But I could not identify an entry in /dev/input
Maybe, because there is no matching udev rule...

BR,
Nikolaus



Am 05.05.2010 um 12:14 schrieb ard:

On Wed, May 05, 2010 at 11:33:49AM +0200, Dr. H. Nikolaus Schaller wrote:
So I think adding the touchpad buttons to the touchpad driver doesn't
make sense. Would it be good to add it to the keyboard driver? Or to
patch/configure some mouse driver? E.g. the input/mouse/gpio_mouse.c
Hmmm, maybe that's a good idea. An event driver that's registered
as a mouse so that it's events are gathered in /dev/mice...
That shouldn't even be to hard...

--
.signature not found

_______________________________________________
Mipsbook-devel mailing list
Mipsbook-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/mipsbook-devel


_______________________________________________
Mipsbook-devel mailing list
Mipsbook-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/mipsbook-devel

Reply via email to