LinuxQuestions.org
Review your favorite Linux distribution.
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 08-04-2005, 04:56 PM   #1
dispatcher
LQ Newbie
 
Registered: Aug 2005
Posts: 1

Rep: Reputation: 0
Joystick Driver and API under kernel 2.6.12.3 using an USB joystick


Does the "Linux Joystick Driver" support kernel version 2.6.12.3?
I looked for some docs in "Documentation/input" and I've found "joystick.txt" which talks about this driver. So I supposed that it works under kernel 2.6.x as well. Is it right?
In particular, I've to *program* a joystick under Linux for my study purpose. *This* joystick is the one that I've to buy in the next days.

Besides, I've the following system requirements:
- Linux Slackware 10.0 on ACER Aspire 1304LC (laptop)
- Kernel 2.6.12.3 compiled by me for that hardware
- VIA82C686 sound card with *NO* gameport
- *NO* serial port and *NO* PS/2 port
- 2 USB port (1.0)

So, only way for me to attach a joystick is via USB port.

For my programming purpose, I thought to use lastest version of "libjsw" that *wraps* "Linux Joystick API" (this one I suppose it works with above Joystick Linux Driver).
But does "libjsw" (or the *wrapped* "Linux Joystick API") support a joystick attached to an USB port? In *this* case, which will be the name of the device to open for my operations?

As I told you, I've to buy *this* joystick in the next days. And I would (I've to) be *sure* that it works. So, can anyone suggest me an USB joystick?
I thought a "Saitek Cyborg VOE USB Joystick" could be my choice. But does it works under *all* above conditions?


Thanks for your support!
 
Old 08-06-2005, 10:43 AM   #2
Tino27
Member
 
Registered: Aug 2003
Location: Akron, OH
Distribution: SuSE 8.2, Slackware current, OpenBSD 3.5-3.8, Fedora Core 2
Posts: 400

Rep: Reputation: 30
I purchased a rather cheap-o USB joystick ($20) and it installed just fine under 2.6.11.12. However, I do have the joystick driver compiled as a kernel module. I believe it shows up as /dev/tts/js0 ... not sure about the tts directory, but am definitely sure about js0.
 
  


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
Compiling Joystick Driver barry2811 Linux - Software 3 06-04-2005 01:00 PM
USB Joystick help rjkfsm Linux - Software 1 04-25-2005 11:10 AM
USB-Joystick? Cornholio Linux - Hardware 3 03-28-2005 01:13 PM
usb joystick MrBiggZ Linux - Hardware 6 02-01-2004 10:14 PM
USB Joystick Problem billygotee Linux - Hardware 3 11-09-2003 10:58 AM


All times are GMT -5. The time now is 10:47 PM.

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