setting up Raspberry Pi with gimx

Need help? Ask here and someone will help
Boomslangnz
Posts: 22
Joined: Sun Nov 06, 2016 5:28 am

setting up Raspberry Pi with gimx

Post by Boomslangnz »

Hi guys

I am a noob at this so please bear with me

Today I recieved a raspberry pi from Steve Marton as a package http://www.steve-marton.com/gimx/?p=180

Ive got 3 seperate gimx adapters aswell

- 1 is still the one which arrived which should be emulating a g29 whee for ps4
- 1 is flashed with g27 for ps3 firmware
- 1 is flashed with g27 for pc firmware

My wheel is a Logitech g29 and I have a fanatec clubsport shifter which uses a usb adapter

I plugged in the gimx adapter for g27 to pc firmware and
I loaded up the raspberry pi 3 and went to gimx config and created a new xml file, I didn't see any option under type for G27 PC so I just selected G27 PS3 and set up all my controls which seemed to work fine.

At the end I saved it and went to gimx launcher

selected usb adapter etc and when I try launch I recieve an error about native mode already enabled

Ive uploaded images to show what ive done

Any ideas what I can do to solve this? Thanks

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

Re: setting up Raspberry Pi with gimx

Post by Matlo »

Did you power on the target? (console / PC)
Did you wait a few seconds before starting GIMX?
Did you load the right firmware file? (atmega32u4.hex for Pro micro boards)

Please post log files as text, not images.
GIMX creator
Boomslangnz
Posts: 22
Joined: Sun Nov 06, 2016 5:28 am

Re: setting up Raspberry Pi with gimx

Post by Boomslangnz »

Im trying to get it to emulate currently on my windows 10 pc

Yes the pc is on and gimx adapter is plugged in to raspberry pi and usb lead to other side of gimx for pc

Yes ive waited a bit before trying

and yes its the right firmware file, I just re-flashed them as I wasn't sure why it said G27 PS3 but i definately did the pc firmware

I did make some progress

I got it to detect the adapter and then it doesnt really do anything, just sits on the gimx screen saying about refresh period but eventually i got a log file after i quit out

log file

global option -l with value `log.txt'
global option -c with value `LogitechG29_G27.xml'
controller #1: option -p with value `/dev/ttyUSB1'
now reading arguments for controller #2
status flag is set
subpos flag is set
force_updates flag is set
GIMX 5.8 ARMv6
Raspbian GNU/Linux 8.0 (jessie)
Linux 4.4.15-v7+ #897 SMP Tue Jul 12 18:42:55 BST 2016 unknown
Bus 001 Device 007: ID 046d:c24f Logitech, Inc.
Bus 001 Device 006: ID 0eb7:1a92 Endor AG
Bus 001 Device 008: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART Bridge / myAVR mySmartUSB light
Bus 001 Device 004: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/5p, 480M
|__ Port 1: Dev 3, If 0, Class=Vendor Specific Class, Driver=smsc95xx, 480M
|__ Port 2: Dev 4, If 0, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 2: Dev 4, If 1, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 2: Dev 4, If 2, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 3: Dev 8, If 0, Class=Vendor Specific Class, Driver=cp210x, 12M
|__ Port 4: Dev 6, If 0, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 5: Dev 7, If 0, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 5: Dev 7, If 1, Class=Human Interface Device, Driver=usbhid, 12M
native mode is already enabled for HID device 01:01:05 (PID=c24f)
Detected USB adapter: G27 PS3.
no pass-through device is needed
using default refresh period: 10.00ms
macros are not available for: joystick FANATEC ClubSport USB Shifter (0)
closing unused uhid joysticks... done
Warning: can't open macro directory /home/pi//.gimx//macros/
Exiting
closing uhid joysticks (it may take a few seconds)
Boomslangnz
Posts: 22
Joined: Sun Nov 06, 2016 5:28 am

Re: setting up Raspberry Pi with gimx

Post by Boomslangnz »

got it going now

not really sure what sorted it

only things im not sure about is how to make sequential mode work (fanatec shifter shows 2 seperate buttons for this) and how to make the raspberry pi automatically boot up and launch gimx with my xml file

also are the firmware for g27 on pc and g27 on ps3 different? I assume they are so ive flashed them onto seperate usb adapters
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: setting up Raspberry Pi with gimx

Post by Matlo »

You should update to latest version (currently 6.2).
GIMX 5.x had issues on RPi that are now fixed in GIMX 6.x.
GIMX creator
Boomslangnz
Posts: 22
Joined: Sun Nov 06, 2016 5:28 am

Re: setting up Raspberry Pi with gimx

Post by Boomslangnz »

ok ill update it

any chance of looking at my questions?

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

Re: setting up Raspberry Pi with gimx

Post by Matlo »

I don't know how to have sequential mode working with the shifter. Maybe binding the fanatec buttons to positions 3 and 4, and enabling some game option.
Automatic launch of GIMX at boot is detailed here: https://gimx.fr/wiki/index.php?title=RP ... ithout_GUI

There's a slight difference between the firmwares. The EMUG27PC may work on PS3, but I did not tested it.
GIMX creator
Boomslangnz
Posts: 22
Joined: Sun Nov 06, 2016 5:28 am

Re: setting up Raspberry Pi with gimx

Post by Boomslangnz »

cool I updated it to 6.2

I was a bit confused on why sometimes the wheel keeps switching between ID 0 and ID 1 occasionally. Hopefully it's just something I did wrong

Ive set up my sequential as gear 3 and 4 again and it works alright

Thanks for the answer
Boomslangnz
Posts: 22
Joined: Sun Nov 06, 2016 5:28 am

Re: setting up Raspberry Pi with gimx

Post by Boomslangnz »

I tried out the ps3 console today however had an issue

I changed the adapter to my flashed G27 PS3 adapter but left raspberry pi untouched otherwise

Loaded the raspberry pi 3 with ps3 loaded but found i could move around in menu but it was pressing down constantly so if i held up on d pad it would move up but as soon as i let go of up it would fly down to bottom selection

I changed adapter over to g27 pc adapter to try that out and same thing happened, i could move around in menu etc again but it was like it was pressing down again

Any ideas what could be causing this?
It doesn't do this on PC at all

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

Re: setting up Raspberry Pi with gimx

Post by Matlo »

This is because the G27 is supposed to switch to compatibility mode (behaving as a Driving Force) when in the XMB. GIMX does not do this.
Start the game with a duashock 3, and reassign controllers. I'll add a note about this on the wiki.
GIMX creator
Post Reply