Re: non-i386 arch mice?
Detection is hmmm ... not easy. How will you detect ps/2 versus serial
Oh, *that* part is easy. If you can open /dev/psaux then there is a
ps/2 mouse. The kernel takes care of the device detection for you.
Not so for m68k (haven't tried on Atari or Amiga, but definitely not on
The kernel only detects the mouse interface and has no way of knowing if
a mouse attached.
Anyway, it's pretty safe to assume that a Mac doesn't have an Amiga- or
mouse interface, and vice versa. And VMEbus machines don't have any mice.
So just read the first line from /proc/hardware to determine the subarch
go with that information for the busmouse device, and maybe probe the
lines for serial mice.