Hello I got a problem with Joypad which I own. The joypad is connected thru Sound Blaster Live! Gameport, it has 2 axis and 8 buttons. I connected my gamepad thru gameport, I checked if the modules for SB LIve gameport are loaded with lsmod, and I loaded with modprobe both "joydev" and "analog" modules. Kernel modules detected it as:
It is detected of course not so good, fire buttons seam to work but axises are really wrong, I used tools for calibration i.e. jscal and jscalibrator they didn't helped me too much as it was detected wrong.Code:[1105.204560] input: Analog 4-axis 4-button joystick as /class/input/input7
I have red some documentation about Linux kernel Joystick driver: http://www.charmed.com/txt/joystick.txt and there is an information that there is a way to force some predefined Joypad configurations to the "analog" kernel module (section 3.1 Analog joysticks):
There should be possibility to just do something like this:For other joystick types (more/less axes, hats, and buttons) support
you'll need to specify the types either on the kernel command line or on the
module command line, when inserting analog.o into the kernel. The
parameters are:
js=type,type,type,....
'type' is type of the joystick from the table below, defining joysticks
present on gameports in the system, starting with gameport0, second 'type'
entry defining joystick on gameport1 and so on.
Type | Meaning
-----------------------------------
none | No analog joystick on that port
auto | Autodetect joystick
2btn | 2-button n-axis joystick
y-joy | Two 2-button 2-axis joysticks on an Y-cable
y-pad | Two 2-button 2-axis gamepads on an Y-cable
fcs | Thrustmaster FCS compatible joystick
chf | Joystick with a CH Flightstick compatible hat
fullchf | CH Flightstick compatible with two hats and 6 buttons
gamepad | 4/6-button n-axis gamepad
gamepad8 | 8-button 2-axis gamepad <------- this is my gamepad
When I do this I got weird error:Code:sudo modprobe analog js=gamepad8
I looked into dmesg but there is not any answer to my problem. I'm using Xubuntu Feisty with all updates. Here is my question do Ubuntu kernel has modify those joystick modules or something and that's why I can use properly command line for this modules or I done something wrong? I will be grateful for any tips or information.Code:FATAL: Error inserting analog (/lib/modules/2.6.20-15-generic/kernel/drivers/input/joystick/analog.ko): Unknown symbol in module, or unknown parameter (see dmesg)
Thanks in advance



Adv Reply
Bookmarks