Page 7 of 11

Re: GIMX on Raspberry Pi

Posted: Tue Nov 20, 2012 7:41 pm
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!

Re: GIMX on Raspberry Pi

Posted: Wed Nov 21, 2012 8:18 am
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?

Re: GIMX on Raspberry Pi

Posted: Wed Nov 21, 2012 11:23 am
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.

Re: GIMX on Raspberry Pi

Posted: Wed Nov 21, 2012 12:55 pm
by Matlo
Instead of lowering the DPI value, you should lower the GIMX sensitivity using the calibration mode.

Re: GIMX on Raspberry Pi

Posted: Wed Nov 21, 2012 1:20 pm
by tps
Thought so. Keep up the good work!

Cordialement

Re: GIMX on Raspberry Pi

Posted: Wed Nov 21, 2012 1:30 pm
by Matlo
Matlo wrote:What's your mouse frequency?

Re: GIMX on Raspberry Pi

Posted: Wed Nov 21, 2012 1:35 pm
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

Re: GIMX on Raspberry Pi

Posted: Thu Nov 22, 2012 8:00 am
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!

Re: GIMX on Raspberry Pi

Posted: Thu Nov 22, 2012 8:44 am
by Matlo
Value 0 means 'use the frequency of the mouse'.
I guess the default frequency of your mouse is 1000Hz.

Re: GIMX on Raspberry Pi

Posted: Thu Nov 22, 2012 12:54 pm
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."