LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-23-2004, 01:44 PM   #1
ProtoformX
Member
 
Registered: Feb 2004
Location: Canada
Distribution: LFS SVN
Posts: 334

Rep: Reputation: 34
Joystick/Gamepad help.


Hey, I bought a SmartJoy Plus (an adaptor that will let me use my PSX/PS2 controllers as PC joysticks). It works but each time I want to use it I have to open up a terminal and type "cat /dev/js0 " and touch all the buttons, is there anyways around this, like is there something I can do that will do this for me at start up?

The pad converter is usb driven and I'm using Slackware 9.1 on kernel 2.6.5 if that helps at all.
 
Old 04-24-2004, 09:35 AM   #2
jcspray
Member
 
Registered: Mar 2004
Location: York, UK
Distribution: Ubuntu
Posts: 132

Rep: Reputation: 15
So what happens if you don't do a "cat /dev/js0" and press all the buttons? Have you tried more than one joystick-using program? What about one after another?
 
Old 05-13-2004, 04:46 PM   #3
ProtoformX
Member
 
Registered: Feb 2004
Location: Canada
Distribution: LFS SVN
Posts: 334

Original Poster
Rep: Reputation: 34
When I cat my joystick "cat /dev/js0/ and touch all buttions I see gibberish on the screen ..(thats is suspost to happen) then my joystick works. If I dont do that all programs that don't look for a joystick but use one can't see it because i think mr. kernel dont know its there yet...
 
Old 11-17-2004, 11:24 AM   #4
jennhi
LQ Newbie
 
Registered: Nov 2004
Posts: 1

Rep: Reputation: 0
Unhappy having trouble, too

Hi! seeing as this is the only usb-psx thread I could find, I'll post in this one rather than starting a new thread.

I've got a similar problem. Running Mandrake 10.1, with a Super Dual Box (a nice device despite the cheesy name) usb-psx adaptor. On Sunday I was playing a great game of Stepmania, and on Monday it wasn't recognizing any button presses. I've done rather extreme things to see if I could get it working again, including wiping the drive and starting over. But nothing works.

cat dev/js0 and cat dev/input/js0 produce the random character junk they're supposed to when run, but not when I press any buttons. So I know it finds the joystick just fine; it just can't read the input from the joystick.

The joystick appears to be plugged in correctly as well; Windoze reads the input correctly.

What's baffling is that it worked just fine on Sunday and I didn't even restart the computer between then and Monday. EMSUSB has been recommended as an adaptor, but before I buy it (or anything else), is there something else anyone can recommend, please?

Thanks!
jennhi
 
  


Reply



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
Useing Joystick/gamepad as mouse pointer zarathustra674 Linux - Hardware 6 09-15-2011 02:13 PM
Joystick Driver and API under kernel 2.6.12.3 using an USB joystick dispatcher Linux - Newbie 1 08-06-2005 09:43 AM
Gamepad/Joystick as Mouse nirj Linux - Hardware 1 03-26-2005 11:38 AM
gamepad nfsutim Linux - Newbie 3 02-11-2005 02:22 AM
how do i get my joystick, gamepad, & wheel working? LavaDevil94 Linux - Hardware 4 10-07-2003 03:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:30 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
Open Source Consulting | Domain Registration