GIMX on Raspberry Pi

General Chat, Feel Free To talk about anything here.
Post Reply
tps
Posts: 29
Joined: Mon Oct 29, 2012 12:36 pm

Re: GIMX on Raspberry Pi

Post by tps »

I finally received the minimus and I have my DYI USB adapter working.
First tests on PI were dissapointing, until I started changing things like the Update frequency. 100 gives a somewhat playable option. 250 is useless as there's no way to move the pointer more than a few pixels.
I'm using the gimx-serial GUI as the command line emuclient sais:
emuclient --config PS3_COD1800mla.xml --serial --port /dev/ttyUSB0 --sixaxis --precision 16 --refresh 16 --status --force-update
A device name is empty. Multiple mice and keyboards are not managed.
close unused joystick: Microsoft Wired Keyboard 600
close unused joystick: A4TECH USB Device
close joystick subsystem
emuclient: tcp_connect: Connection refused

Bottom line, 62.5Hz works best for me in regards to movement, buttons sometimes take a miss or a burst: either they don't react or react a few times more than once.
I'm not sure this is related to the X use on raspberry pi or other reasons. I'm using icewm and it works very well considering I'm writing this from the pi using iceape/mozilla as browser :-)=

All in all I think this is a good experience and can confirm that raspberry pi + minimus avr 32 + CP2102 is a valid option. It may be improved probably but it is usable as is already.
Happy hunting!
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: GIMX on Raspberry Pi

Post by Matlo »

You have to use --joystick for the DIY USB adapter (instead of --Sixaxis, which is for the bluetooth dongle).

What's your mouse frequency?
GIMX creator
tps
Posts: 29
Joined: Mon Oct 29, 2012 12:36 pm

Re: GIMX on Raspberry Pi

Post by tps »

Thanks for the hint Matlo!
I'm using the A4Tech Oscar Anti-Vibrate Laser Gaming Mouse XL-747H (600-3600dpi) and I have it set up for use at 1800dpi (I think).
At the highest DPI set-up it is too fast as tested with the DIY USB adapter, then again, I could lower in-game sensitivity but that's not recommended.
Anyhow, the movement is fine I guess, it is also a matter of habit and fine tuning/calibration.
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: GIMX on Raspberry Pi

Post by Matlo »

Instead of lowering the DPI value, you should lower the GIMX sensitivity using the calibration mode.
GIMX creator
tps
Posts: 29
Joined: Mon Oct 29, 2012 12:36 pm

Re: GIMX on Raspberry Pi

Post by tps »

Thought so. Keep up the good work!

Cordialement
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: GIMX on Raspberry Pi

Post by Matlo »

Matlo wrote:What's your mouse frequency?
GIMX creator
tps
Posts: 29
Joined: Mon Oct 29, 2012 12:36 pm

Re: GIMX on Raspberry Pi

Post by tps »

I guess you mean this:
pi@raspberrypi:~$ cat /sys/module/usbhid/parameters/mousepoll
0

I should have that at '2' I guess?

I have the usbhid.mousepoll=2 in cmdline.txt but it seems is not taken into account for some reason
tps
Posts: 29
Joined: Mon Oct 29, 2012 12:36 pm

Re: GIMX on Raspberry Pi

Post by tps »

After a few more tweaks I have it working better than with the BT solution (no lag) and way smoother movement.
Button misses on PI seemed to be related to the mouse polling freq. With a value of '2' I get proper functioning.
Great stuff!
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: GIMX on Raspberry Pi

Post by Matlo »

Value 0 means 'use the frequency of the mouse'.
I guess the default frequency of your mouse is 1000Hz.
GIMX creator
tps
Posts: 29
Joined: Mon Oct 29, 2012 12:36 pm

Re: GIMX on Raspberry Pi

Post by tps »

Matlo, you're right on the money: "Designed with extreme fast report time up to 1ms with Full-speed USB (Maximum 1000Hz reports/sec), The Mouse allows you to fight 8 times faster than an ordinary low speed USB mouse."
Post Reply