LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Joystick/Gamepad help. (https://www.linuxquestions.org/questions/linux-hardware-18/joystick-gamepad-help-173765/)

ProtoformX 04-23-2004 01:44 PM

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.

jcspray 04-24-2004 09:35 AM

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?

ProtoformX 05-13-2004 04:46 PM

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...

jennhi 11-17-2004 11:24 AM

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


All times are GMT -5. The time now is 07:49 PM.