mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Neil Darlow <neil@darlow.co.uk>
To: vojtech@suze.cz
Cc: linux-kernel@vger.kernel.org, linux-joystick@atrey.karlin.mff.cuni.cz
Subject: ns558 mis-detects gameport
Date: Fri, 8 Jul 2005 21:36:47 +0100	[thread overview]
Message-ID: <200507082136.47475.neil@darlow.co.uk> (raw)

Hi All,

I am passing on this information at the request of Daniel Drake (Gentoo kernel 
ebuild maintainer).

My hardware is an ASRock K7S41GX motherboard with Athlon XP2200+ CPU
running 2.6.12 on Gentoo GNU/Linux 2005.0. My gamepad is an Heroic HC 3100 
2-axis, 4-button digital model with Turbo features.

The CVS version string of ns558.c is:
$Id: ns558.c,v 1.43 2002/01/24 19:23:21 vojtech Exp $

My motherboard features a generic PC/ISA gameport at BIOS-selectable
addresses of 0x200 or 0x208. I have built my kernel (using Gentoo's genkernel) 
to include the Joystick Interface, Generic PC/ISA Gameport and Analog 
Joystick support as modules which are loaded at boot by coldplug/hotplug 
logic.

If I manually modprobe ns558 (which loads gameport), analog and joydev after 
boot my gameport is detected. If I let coldplug/hotplug load the modules at 
boot then ns558 fails to detect my gameport.

If I unload, and then reload, ns558 using coldplug/hotplug at boot then ns558 
detects my gameport correctly. My module loading setup and dmesg output for a 
ns558 insert-remove-insert cycle are as follows:

  options analog map=gamepad
  above analog joydev
  pre-install analog modprobe -r ns558; modprobe ns558

  gameport: NS558 ISA Gameport is isa0200/gameport0, io 0x201, speed 806kHz
  pnp: Device 00:0a disabled.
  ns558: probe of 00:0a failed with error -16
  gameport: kgameportd exiting
  pnp: Device 00:0a activated.
  gameport: NS558 PnP Gameport is pnp00:0a/gameport0, io 0x200, speed 806kHz
  input: Analog 2-axis 4-button gamepad at pnp00:0a/gameport0 [TSC timer, 1786
    MHz clock, 1299 ns res]

At https://www.redhat.com/archives/fedora-list/2005-January/msg04967.html the 
same problem is reported for 2.6.10 on Fedora.

Is a fix or workaround, other than what I'm doing already, available for this 
problem?

Regards,
Neil Darlow
-- 
Anti-virus scanned by ClamAV-0.86.1 - http://www.clamav.net

             reply	other threads:[~2005-07-08 20:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-08 20:36 Neil Darlow [this message]
2005-07-08 21:24 ` Vojtech Pavlik
2005-07-09 11:22   ` Neil Darlow
2005-07-09 16:41     ` Daniel Drake
2005-08-04 20:56 ` Andrew Morton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200507082136.47475.neil@darlow.co.uk \
    --to=neil@darlow.co.uk \
    --cc=linux-joystick@atrey.karlin.mff.cuni.cz \
    --cc=linux-kernel@vger.kernel.org \
    --cc=vojtech@suze.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®