Matthew Garrett wrote:
There's no way to get any feedback from the gameport driver as to
(a)
whether there's anything plugged in, or (b) what is plugged in. We could
have the gameport driver automatically pull in analog but that'd
probably break people doing midi or using some more specialised input
device. It's a hard problem that only impacts a pretty tiny set of
people, so it's prioritised somewhere below the hard problems that
impact a pretty large set of people.
An Arch Linux user once pointed out to me that Arch (at the time) probed for
analog joysticks using this udev rule:
SUBSYSTEM=="pnp", ENV{MODALIAS}!="?*", ATTRS{id}=="PNPb02f",
RUN+="/lib/udev/load-modules.sh analog"
(They have since dropped that rule in their trunk.) I don't know whether it
makes any sense though. I presume this is just testing for the presence of a
gameport without caring about what is connected, right?
Kevin Kofler