LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-30-2003, 12:49 PM   #1
Lostman
Member
 
Registered: Nov 2003
Location: Chicago, IL
Posts: 238

Rep: Reputation: 30
Saitek Flight Stick


I have a Saitek Cyborg 3d Gold USB flight stick and would like to get it running in Linux.

I can get the roll, (twist) left to right and speed up to work, but the the climb/dive (up and down) to work.

Has anybody had any luck? Is there a file I can edit? I'm using MDK 9.2 with KDE.
 
Old 11-30-2003, 05:50 PM   #2
Faecal
Member
 
Registered: Sep 2002
Location: York, UK
Distribution: Debian Sid
Posts: 215

Rep: Reputation: 30
From the kernel documentation:
Quote:
3.1 Analog joysticks
~~~~~~~~~~~~~~~~~~~~
The analog.c uses the standard analog inputs of the gameport, and thus
supports all standard joysticks and gamepads. It uses a very advanced
routine for this, allowing for data precision that can't be found on any
other system.

It also supports extensions like additional hats and buttons compatible
with CH Flightstick Pro, ThrustMaster FCS or 6 and 8 button gamepads. Saitek
Cyborg 'digital' joysticks are also supported by this driver, because
they're basically souped up CHF sticks.

However the only types that can be autodetected are:

* 2-axis, 4-button joystick
* 3-axis, 4-button joystick
* 4-axis, 4-button joystick
* Saitek Cyborg 'digital' joysticks

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

In case your joystick doesn't fit in any of the above categories, you can
specify the type as a number by combining the bits in the table below. This
is not recommended unless you really know what are you doing. It's not
dangerous, but not simple either.

Bit | Meaning
--------------------------
0 | Axis X1
1 | Axis Y1
2 | Axis X2
3 | Axis Y2
4 | Button A
5 | Button B
6 | Button C
7 | Button D
8 | CHF Buttons X and Y
9 | CHF Hat 1
10 | CHF Hat 2
11 | FCS Hat
12 | Pad Button X
13 | Pad Button Y
14 | Pad Button U
15 | Pad Button V
16 | Saitek F1-F4 Buttons
17 | Saitek Digital Mode
19 | GamePad
20 | Joy2 Axis X1
21 | Joy2 Axis Y1
22 | Joy2 Axis X2
23 | Joy2 Axis Y2
24 | Joy2 Button A
25 | Joy2 Button B
26 | Joy2 Button C
27 | Joy2 Button D
31 | Joy2 GamePad
So, to experiment with different parameters you'll want to unload the analog module with
"rmmod analog", and then reload it with "modprobe analog js=2btn" (for example).
 
Old 04-20-2004, 12:28 PM   #3
New2Linux2
Member
 
Registered: Jan 2004
Location: Arizona
Distribution: Debian
Posts: 153

Rep: Reputation: 43
Ok. Maybe I'm just being thick but how would I use that info to setup a Saitek X45 in SuSE 9.0? I haven't had much time to research this because I've been spending most of my spare time just trying to get figure out how to get games to install. Now that I'm making headway there, I need to figure out how to get the hardware to install. Maybe one day (soon, I hope) I'll actually be able to play X-Wing Alliance without having to maintain a W98 partition. I'm not holding my breath though.

I do want to thank everyone that contributes to this forum for all of their wonderful advice. It took some reading, but the forum here got my MS Explorer Trackball working beautifully in Linux. Thank you very much. -
 
Old 11-17-2004, 10:35 AM   #4
pheldens
LQ Newbie
 
Registered: Nov 2004
Posts: 2

Rep: Reputation: 0
http://groups.google.com/groups?q=sa...bofh.it&rnum=1
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mount/umount usb stick - PQI Intelligent Stick 2.0 sandbag Linux - Software 5 05-06-2005 12:12 PM
Installing flight sim silverjump Linux - Games 5 01-23-2005 04:25 AM
Mixing 512MB Ram 2700 stick with a 256MB 3200 stick? Will it screw things up? Fear58 Linux - Hardware 2 07-15-2004 02:20 PM
Flight Gear hunter_one Linux - Software 2 09-02-2003 09:16 AM
Flight Simulator !!!!!!!!! membrax Linux - Software 2 01-10-2003 06:58 PM


All times are GMT -5. The time now is 06:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration