Joystick Troubles

Toby Reed (root@porknet.ml.org)
Tue, 27 Jan 1998 22:57:55 -0800 (PST)


I just have a quick question -- maybe someone can help me...

I have a Gravis PC GamePad "joystick" device connected to a Pro Audio
Spectrum 16 sound card.

The combination works good in DOS, but I want to use it in Linux, however:

# insmod joystick
/lib/modules/2.1.78/misc/joystick.o: init_module: Device or resource busy
#

I am running 2.1.78 with these config options: (/etc/soundconf)

#define CONFIG_PAS
#define CONFIG_SB
#define CONFIG_MPU401
#define CONFIG_YM3812

#define CONFIG_SBDSP
#define CONFIG_UART401
#define CONFIG_SEQUENCER
#define CONFIG_AUDIO
#define CONFIG_MIDI

#define SBC_BASE 0x220
#define SBC_IRQ 7
#define SBC_DMA 1
#define SB_DMA2 1
#define SB_MPU_BASE 0x330
#define PAS_IRQ 10
#define PAS_DMA 5
#define PAS_JOYSTICK_ENABLE
#define MPU_BASE 0x330
#define MPU_IRQ 9
#define SELECTED_SOUND_OPTIONS 0x00800013

Joystick support is compiled as a module.

Previously, I had semi-success using a game port on my IDE card, but the
calibration was not working. It refused to recognize the up and left
positions of the stick. 2 buttons worked correctly (in 2-button mode)
I concluded that either the card was defective (likely) or there was a
conflict between the two ports (the PAS16 port and the IDE port, both
15-pin game ports). While only the IDE card's port worked (halfway) in
Linux, only the PAS16's port worked in DOS. It would be best to have it
work in both operating systems with the PAS16's port, though I rarely use
DOS.

-TR

--
PorkNET Internet Solutions - http://www.porknet.ml.org/
toby@eskimo.com - porkmaster@porknet.ml.org