Page 1 of 2

[SOLVED]How to use Generic USB Joypad with Arcade 8 in Puppy

Posted: Mon 19 Aug 2013, 20:09
by ampersand
I'm having an absolute nightmare trying to get my generic ebay USB gamepad/joypad to work in Lucid 5.2.8 with Puppy Arcade 8. I've tried various joystick calibration tools such as JSCallibrate, QJoypad etc to no avail. I've no idea what the make and model is but it's a generic Playstation 2 type ripoff and the advert did say it was Linux friendly so I'm at a loss.

Posted: Mon 19 Aug 2013, 21:53
by Semme
Have you installed joystick? Do you know which /dev/* it is?

In PPM, try this >> jstest-gtk_0.1.0-1~getdeb1_i386.deb

And let's maybe see the output here: lsmod

Posted: Mon 19 Aug 2013, 22:08
by ampersand
Sorry I don't understand that; I'm in the beginners forum for a reason :?

Posted: Mon 19 Aug 2013, 22:12
by Semme
:D Yeah, you certainly are- with the rest of us!

In Package Manager (PPM), install >> jstest-gtk_0.1.0-1~getdeb1_i386.deb

'lsmod' you run from a terminal or console.. little :lol: black box everyone's afeard of..

Posted: Mon 19 Aug 2013, 22:41
by ampersand
I can't find that in PPM. When I try to launch terminal it says:

Code: Select all

Error from ROXTerm
Unable to send D-Bus message: Message did
not receive a reply (timeout by message bus)

Posted: Mon 19 Aug 2013, 22:45
by Semme
You're on 528 or Pup Arcade?

Posted: Mon 19 Aug 2013, 22:47
by ampersand
It's 5.2.8 with the v8 .pet of Puppy Arcade installed. I do have Puppy Arcade 10 installed on another partition but that works even worse than this.

Posted: Mon 19 Aug 2013, 22:51
by Semme
Open PPM >> configure >> tick everything Ubuntu then exit.

Reopen, you should see your new repos up top. Search >> jstest-gtk

You may have to select a different repo and hit search again.

Failing this, you'll need to update PPM >> in configure.

It'll take some time so, toss a pizza in the oven and relax..

Posted: Mon 19 Aug 2013, 22:54
by ampersand
Ooh I forgot I had pizza. I might just do that :P

Posted: Mon 19 Aug 2013, 23:01
by Semme
Before or during.. run these (console) back to back with your device plugged:

Code: Select all

dmesg > dmesg.txt
gzip dmesg.txt
Then open that thing on your desktop that says file/home.

Find dmesg.txt.gz and attach it <as if it were a screenshot> to your reply.

And that lsmod deal I gave before is an "L" not an eye.

Code: Select all

lsmod
.. should return output.

Posted: Mon 19 Aug 2013, 23:15
by ampersand
Here you go. I can run lsmod through urxvt but I can't copy and paste the results :? Perhaps if you told me what lines you were interested in I could retype them.

Posted: Tue 20 Aug 2013, 00:27
by Semme
Here, lsmod the same way as dmesg >> lsmod > lsmod.txt

The > redirects stdout, or what the console displays- standard output.

I didn't spec a directory cause by default, the console opens in users home >> ~/

That's why when we gzipped earlier, it did so in your *home* directory.

How'd you make out with jstest-gtk?

<lick'in chops> What kinda pizza was it?

Posted: Tue 20 Aug 2013, 05:42
by ardvark
ampersand wrote:Here you go. I can run lsmod through urxvt but I can't copy and paste the results :? Perhaps if you told me what lines you were interested in I could retype them.
Hi...

Installing sakura from the PPM will allow you to copy and paste. :)

Regards...

How to use PS/2 Joypad with Arcade 8 in Puppy?

Posted: Tue 20 Aug 2013, 06:56
by Monsie
ampersand,

Providing you have a mouse with a third (middle) button, to copy and paste from the terminal (urxvt) into another text file or text box:
  • use left mouse button to select and drag... thus highlighting all desired text,
    use middle mouse button (press) to paste into a new location.
It seems to me that I have used the keyboard in Puppy to copy and paste before, but at the moment I cannot remember for sure how I did it. There may be a utility or some code posted somewhere on this Forum which allows one to use the keyboard also --this would be particularly useful for those who have the old two button mouse with their system-- and, there are some of us with really old systems around here... :wink:

Monsie

Posted: Tue 20 Aug 2013, 07:47
by ampersand
No middle mouse button as I'm on a laptop but I did manage to create a text file for lsmod. Still not having any luck finding jstest in PPM.

It was a margherita btw but I added my own salami and Scottish mature cheddar.

How to use Generic USB Joypad with Arcade 8 in Puppy?

Posted: Tue 20 Aug 2013, 09:12
by Monsie
Okay, no worries, though you might find it useful to get an external mouse for your laptop... --something to consider, though of course it is a matter of preference.

Since I am here at the moment, I will offer some help, and then Semme can follow up...

I looked at your text file, and it appears that you have got lots of modules listed and/or loaded for your gameport. This does not appear right to me, because a check indicates that I only have one module listed for my gameport. It seems to me that you need to identify your hardware first, then see if you do have the proper driver installed. Then, you can go look for the joystick test utility that Semme wants you to run.

Try this command at the terminal:

Code: Select all

lspci | grep Input
and hopefully you will identify your hardware. Note the capital letter for Input, as this command is case sensitive.

For example, this is what I get on my system:

Code: Select all

lspci | grep Input
00:0c.2 Input device controller: Rockwell International Riptide PCI Game Controller
This tells me the name of my device and that I should have a riptide module installed, and a subsequent search confirms that I do.

Anyway, that's a start...

Hope this helps,
Monsie

Posted: Tue 20 Aug 2013, 10:47
by ampersand
Hi there,

Nothing happens, it just takes a new line.

Posted: Tue 20 Aug 2013, 12:34
by ampersand
Success! I managed to get QJoypad running as it should by installing various libraries. I've only tested it with the iNES so far but it's working well.

Posted: Tue 20 Aug 2013, 13:03
by Semme
You never said you couldn't run it.. Although- good to hear.

Posted: Tue 20 Aug 2013, 13:45
by ampersand
When I clicked on it in the menu nothing happened but I managed to find out what libraries were missing through trying to run it in the dreaded terminal. It also seems the joypad has to be in analog mode to be recognised.

Now if you'll excuse me I have some Sensible Soccer to play :P