Hi,
For some reason my joystick is detected at boot but applications cannot use it. I
recompiled the kernel with joystick support, I ran /dev/MAKEDEV joy, I even wrote a
small C program which uses the <sys/joystick.h> interface and it works fine. The
/usr/X11R6/bin/joycal program works, but neither xmame, zsnes nor any other program
worth using can use the joystick. What can be wrong?
I'm running 4.7-STABLE, and have a Gravis PC Gamepad connected at the game port (not a
USB joystick)
Could this be SDL related? Is everyone but me using their joysticks in FreeBSD without
problems?
% ls -l /dev/joy*
crw-rw---- 1 root operator 51, 0 Mar 14 15:09 /dev/joy0
crw-rw---- 1 root operator 51, 1 Mar 13 13:04 /dev/joy1
% dmesg|grep joy
joy0 at port 0x201 on isa0
% xmame
...
OSD: Warning: unknown joytype: 1, or joytype not compiled in.
Disabling joystick support.
...
% zsnes
...
Joystick 0 (-1 Buttons): /dev/joy0
Tuxracer doesn't detect the joystick either, ~/.tuxracer/diagnostic_log.txt contains
the line:
tuxracer debug (joystick): Found 0 joysticks
% testjoystick (a SDL example)
There are 0 joysticks attached
And this appears in my /var/log/XFree86.0.log if I try to load the X joystick
module:
...
(II) LoadModule: "joystick"
(II) Loading /usr/X11R6/lib/modules/input/joystick_drv.o
(II) Module joystick: vendor="The XFree86 Project"
compiled for 4.2.1, module version = 1.0.0
Module class: XFree86 XInput Driver
ABI class: XFree86 XInput driver, version 0.3
(II) UnloadModule: "joystick"
(II) Unloading /usr/X11R6/lib/modules/input/joystick_drv.o
(EE) Failed to load module "joystick" (out of memory, 256)
...
--
__________________________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message