Where to put mouse drivers?
Hello guys!
I am currently wondering, how and where to continue with gpm2.
As currently more and more drivers seem to be implemented into the Linux kernel, I am wondering what your idea is, how to continue.
Imho putting the drivers out of the kernel could lead to easier portability, but this seems to be against the trend...
You can read more about it at
http://nico.schottelius.org/notizbuch-blog/archive/2008/04/24/where-to-put-mouse-drivers
I am happy for any input, critics and ideas.
Sincerly
Nico
ps: As always, please CC, I am not subscribed.
Signature · 4 lines
Think about Free and Open Source Software (FOSS). http://nico.schottelius.org/documentations/foss/the-term-foss/ PGP: BFE4 C736 ABE5 406F 8F42 F7CF B8BE F92A 9885 188C
Quoted 1 line · Nico Schottelius
I am currently wondering, how and where to continue with gpm2.
...
Quoted 3 lines
http://nico.schottelius.org/notizbuch-blog/archive/2008/04/24/where-to-put-mouse-drivers
From this page:
: So the idea with gpm2 was to make it run on all the standard FOSS : operating systems (this includes Linux, FreeBSD, NetBSD and OpenBSD : for me) and implement the mouse de/encoding part cleanly into it. :
: Now I met the guys from the ggi-team, which aim to use the : os-mous-support (like wscons or /dev/input/mice).
:
: The problem I see with that approach is that each OS reimplements : the same stuff again and again. Which is exactly what I do not like. :
: In my opinion the OS should offer direct access to the hardware : ports of the mice (like serial devices and ps2 devices) and do the : de/encoding stuff in userland, which would be portable then.
So you looked at GGI already. And how about X11, e.g. x.org? Or SDL?
Of course these projects also have to handle other input devices besides pointing devices (keyboards, notably) and graphics output, maybe also sound output. Their approaches towards pointing devices are influenced by how the other input and output interfaces are conceived. And they do use a variety of backends with widely differing degrees of hardware abstraction (e.g. run on top of X11 or on top of VNC, instead of kernel interfaces).
You on the other hand only deal with pointing device input and console output, so you will probably come to different conclusions.
Signature · 3 lines
Stefan Richter -=====-==--- -=-- ==--= http://arcgraph.de/sr/