Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
no joy , no stick [SOLVED, JOY IS ME]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Sat Jul 02, 2005 1:20 am    Post subject: no joy , no stick [SOLVED, JOY IS ME] Reply with quote

just bought a 2nd hand db boeder joystick but I'm not getting any joy.

added joydev and joystick to my kernel. can modprobe joydev but no /dev/input/js0 nor /dev/js0 (udev system)

am I missing a step or have I bought a dildo?

TIA Gentree.
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86


Last edited by Gentree on Mon Jul 04, 2005 9:49 am; edited 2 times in total
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Sun Jul 03, 2005 12:16 pm    Post subject: Reply with quote

The good news : it works ! I ran up Suse and got it installed in 5 mins.

Now the counter is running at about 5 hours effort of searching , posting and googling and I dont even have /dev/input/j* on Gentoo. :roll:


There seems to be loads of ppl using joysticks, could someone post the very first steps to that I can at least see the device. I reckon I now know enuf about the rest after all my digging.


TIA 8)

BTW
Code:
bash-3.00#zcat /proc/config.gz |grep -i "joy"
CONFIG_INPUT_JOYDEV=m
CONFIG_INPUT_JOYSTICK=y
# CONFIG_JOYSTICK_IFORCE is not set
# CONFIG_JOYSTICK_WARRIOR is not set
# CONFIG_JOYSTICK_MAGELLAN is not set
# CONFIG_JOYSTICK_SPACEORB is not set
# CONFIG_JOYSTICK_SPACEBALL is not set
# CONFIG_JOYSTICK_STINGER is not set
# CONFIG_JOYSTICK_TWIDDLER is not set
# CONFIG_JOYSTICK_DB9 is not set
# CONFIG_JOYSTICK_GAMECON is not set
# CONFIG_JOYSTICK_TURBOGRAFX is not set


OK I have found the gameport and analog modules that I was missing.

RTFM:
Code:
nano /usr/src/linux-2.6.11-nitro2/Documentation/input/joystick.txt
:oops:

flightgear is still no seeing it, Is there any test utility in portage?
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Sun Jul 03, 2005 5:08 pm    Post subject: Reply with quote

OK there seems to be a complete void on setting up an analog JS on Gentoo.

This is getting mad.

I (think) I have all the necessary modules loaded : joydev, analog, gameport and snd_cmipci

I created the nodes by hand but I still no "joy".

It seems to be req to restart alsa as well but I'm really flying in the dark just trying to guess what Suse YAST did to get this up so easily.

Code:

bash-3.00#ls -ail !$
ls -ail /dev/input
total 0
 1707 drwxr-xr-x   2 root root      0 Jul  3 18:16 .
  777 drwxr-xr-x  19 root root      0 Jul  3 18:16 ..
10622 crw-r--r--   1 root root 13, 64 Jul  3 19:09 event0
10624 crw-r--r--   1 root root 13, 65 Jul  3 19:09 event1
10626 crw-r--r--   1 root root 13, 66 Jul  3 19:09 event2
10628 crw-r--r--   1 root root 13, 67 Jul  3 19:09 event3
 9914 crw-r--r--   1 root root 13,  0 Jul  3 18:30 js0
 9916 crw-r--r--   1 root root 13,  1 Jul  3 18:30 js1
 9918 crw-r--r--   1 root root 13,  2 Jul  3 18:30 js2
 9920 crw-r--r--   1 root root 13,  3 Jul  3 18:30 js3
 1708 crw-r--r--   1 root root 13, 63 Jul  3 18:16 mice
 1713 crw-r--r--   1 root root 13, 32 Jul  3 18:16 mouse0
bash-3.00#jstest /dev/input/js0
jstest: No such device


Some doc and tools are needed .

:?
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Back to top
View user's profile Send private message
uf_nihongo84
n00b
n00b


Joined: 17 Dec 2003
Posts: 36
Location: /var/lib/world

PostPosted: Mon Jul 04, 2005 1:28 am    Post subject: Reply with quote

Gentree wrote:
OK there seems to be a complete void on setting up an analog JS on Gentoo.

[...]

Some doc and tools are needed .


http://gentoo-wiki.com/HOWTO_Joystick_Setup

*ahem*

It worked for me, at least.
_________________
"I am beginning to suspect that Louis Vuitton employs zombies... or robots... or quite possibly even zombie robots..." -Me
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Mon Jul 04, 2005 2:10 am    Post subject: Reply with quote

Well, thanks for the suggestion but well written as it is , it is just one guy with one card. It is not documentation.

Sadly I dont have his card and it is now 18 working hours I have wasted on this crap.

The most annoying is I know it works perfectly , it took 5 minutes to set up on Suse, so there cant be that much wrong. Just a total bloody lack of information.

I can see I'm going to have to downgrade my soundcard just to get this working .

Thanks for the reply anyway. 8)
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Mon Jul 04, 2005 9:48 am    Post subject: Reply with quote

Well I did manage to get one piece of crucial info out of that page : joystick_port=1

I had already tried that a few days back and it threw and error so I concluded it was not a valid option for my card. There must have been something else missing at that stage that caused it to fail.

This has been two days full-time on a paper chase to install something as trivial as bloody joystick.

At least it works now.

Thanks for pointing me to the final piece of the jigsaw.

I have just completed my first flight in a Cesna without having to use the keyboard, it is much more satisfying.

Now to consolidate what I have learnt and write it up.

:P
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum