Package: hotplug
Version: 0.0.20040329-22
Severity: minor

I think the last line in etc/modprobe.d/isapnp is incorrect. The
device ID "dPNPb02f" is a gameport, not a joystick. Loading a module
for the joystick only (and not the gameport) doesn't allow to use it.

Moreover, we don't know what kind of joystick is plugged on the gameport.
hotplug wants to load the module "analog", but it could be "sidewinder",
or "warrior", or something else. Therefore I think hotplug should load
the module for this specific gameport only.

For gameport joysticks, actually the gameport driver is "ns558".
$ grep -i dPNPb02f /lib/modules/2.6.8-1-k7/modules.alias
alias pnp:dPNPb02f* ns558

It seems to me the fix is really simple: changing "analog" by "ns558"
makes hotplug load the driver for the gameport. (it was not done before
but it is mandatory to use a joystick)

diff -ru hotplug.orig/etc/modprobe.d/isapnp hotplug/etc/modprobe.d/isapnp
--- hotplug.orig/etc/modprobe.d/isapnp  2005-06-25 21:08:30.000000000 +0200
+++ hotplug/etc/modprobe.d/isapnp       2005-06-25 21:08:51.000000000 +0200
@@ -9,4 +9,4 @@
 alias pnp:dPNP0b00 rtc
 alias pnp:dPNP0303 atkbd
 alias pnp:dPNP0f13 psmouse
-alias pnp:dPNPb02f analog
+alias pnp:dPNPb02f ns558

-- 
Nicolas Baradakis


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to