Gentoo Archives: gentoo-user

From: Marcus Wanner <marcusw@×××.net>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Suncom FX2000 Joystick: Buttons but not analog working...
Date: Sun, 08 Nov 2009 19:10:06
Message-Id: 4AF71785.7080805@cox.net
In Reply to: [gentoo-user] Suncom FX2000 Joystick: Buttons but not analog working... by Marcus Wanner
1 On 11/7/2009 9:39 PM, Marcus Wanner wrote:
2 > I have an old Suncom FX200 Joystick which I recently tried to get
3 > working with my gentoo system. I tried using various methods, with
4 > outcomes varying from epic fail to almost success, and finally got
5 > results after following the guide at
6 > http://en.gentoo-wiki.com/wiki/Joystick
7 >
8 > I did what it said in the Kernel Configuration and Gameport Joysticks
9 > sections (the one uses the parallel port on my sound card), and chose
10 > the "Classic Analog" joystick driver, as there is not one for my
11 > specific model (or manufacturer). I compiled, installed, and booted
12 > into the new kernel, and continued with the testing and calibration.
13 >
14 > After emerging the joystick package, I ran the dmesg | grep -i
15 > Joystick command, and this was the output:
16 > [ 4.329910] input: Analog 4-axis 4-button joystick as
17 > /devices/pci0000:00/0000:00:1e.0/0000:02:07.0/gameport0/input/input5
18 >
19 > Which was more or less correct, except that it is a 3-axis stick. I
20 > ran cat /dev/input/js0, which produced the desired garbage data, but
21 > new data appeared only on button presses, not stick movements, which
22 > was where I first noticed problems. Anyway, I ran jstest
23 > /dev/input/js0, which showed that axes 0 and 1 were always at 0
24 > (regardless of actual stick position), and 2 and 3 were always -32767,
25 > regardless of the position of the throttle wheel.
26 >
27 > I ran jscal -c /dev/input/js0 to calibrate the joystick, and when I
28 > run it now without the -c option, it outputs:
29 > Joystick has 4 axes and 4 buttons.
30 > Correction for axis 0 is broken line, precision is 0.
31 > Coeficients are: 1789, 2299, 419758, 419758
32 > Correction for axis 1 is broken line, precision is 0.
33 > Coeficients are: 700, 900, 1073741, 1073741
34 > Correction for axis 2 is broken line, precision is 0.
35 > Coeficients are: 1422, 1422, 377546, 377546
36 > Correction for axis 3 is broken line, precision is 0.
37 > Coeficients are: 1422, 1422, 377546, 377546
38 >
39 > Ok, so now you all know the facts. Can anyone tell me what I'm doing
40 > wrong?
41 > Thanks in advance, and for all your previous help with the ethernet
42 > card drivers!
43 >
44 > Marcus
45 Anyone?
46
47 If no one has any advice for that specific stick, how would I go about
48 debugging it myself? What about the joydump kernel module?
49
50 Marcus