[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#532115: Gameport activated?



I have tried to test the loading of the analog modules again with turning on the
debug-output of udev.

I tried on 2 different systems:

1. Debian Etch with Kernel 2.6.18-5-486
This system has a AC97 chipset on board which should suffered by the driver ns558.

2. Debian Squeeze with Kernel 2.6.26-1-amd64 #1 SMP
This system has a deactivated AC97 chipset on board and an activ Soundcard with
CS4630.

I tested with the script udevdebug.sh which i attached also with the logs and the
driver sources for 2.6.26.
System 1 loaded the drivers, but there is no debug-output from udev.
System 2 loaded the drivers with the attached udevd.log
On both systems dmesg shows only the reloading of udev, no driver activity.

So it is a good question if the gameport is activated in the kernels?
How can i check if the support of the gameport is enabled?

There is also a different possibility to use the gameport over ALSA.
Here the problem is also described.

>From /usr/share/doc/alsa-base/driver/Joystick.txt

Analog Joystick Support on ALSA Drivers
=======================================
                          Oct. 14, 2003
General
-------

First of all, you need to enable GAMEPORT support on Linux kernel for
using a joystick with the ALSA driver.  For the details of gameport
support, refer to Documentation/input/joystick.txt.

The joystick support of ALSA drivers is different between ISA and PCI
cards.  In the case of ISA (PnP) cards, it's usually handled by the
independent module (ns558).  Meanwhile, the ALSA PCI drivers have the
built-in gameport support.  Hence, when the ALSA PCI driver is built
in the kernel, CONFIG_GAMEPORT must be 'y', too.  Otherwise, the
gameport support on that card will be (silently) disabled.

Some adapter modules probe the physical connection of the device at
the load time.  It'd be safer to plug in the joystick device before
loading the module.

The following PCI drivers support the joystick natively.

    Driver      Module Option   Available Values
    ---------------------------------------------------------------------------
    als4000     joystick_port   0 = disable (default), 1 = auto-detect,
                                manual: any address (e.g. 0x200)
    au88x0      N/A             N/A
    azf3328     joystick        0 = disable, 1 = enable, -1 = auto (default)
    ens1370     joystick        0 = disable (default), 1 = enable
    ens1371     joystick_port   0 = disable (default), 1 = auto-detect,
                                manual: 0x200, 0x208, 0x210, 0x218
    cmipci      joystick_port   0 = disable (default), 1 = auto-detect,
                                manual: any address (e.g. 0x200)
    cs4281      N/A             N/A
    cs46xx      N/A             N/A
    es1938      N/A             N/A
    es1968      joystick        0 = disable (default), 1 = enable
    sonicvibes  N/A             N/A
    trident     N/A             N/A
    via82xx(*1) joystick        0 = disable (default), 1 = enable
    ymfpci      joystick_port   0 = disable (default), 1 = auto-detect,
                                manual: 0x201, 0x202, 0x204, 0x205(*2)
    ---------------------------------------------------------------------------

Note: the "pcigame" and "cs461x" modules are for the OSS drivers only.
      These ALSA drivers (cs46xx, trident and au88x0) have the
      built-in gameport support.

Attachment: udevlog.tar.gz
Description: GNU Zip compressed data


Reply to: