[TUTORIAL] ~ RPi + GIMX + G27 + PS4 + DriveClub = WORKING

Need help? Ask here and someone will help
jhonny
Posts: 10
Joined: Fri Oct 10, 2014 1:54 pm

Re: [TUTORIAL] ~ RPi + GIMX + G27 + PS4 + DriveClub = WORKIN

Post by jhonny »

Is this something you're planning to look into Matlo ?

Would you require a Thrustmaster wheel ?

I just did some research and looks like T300RS is the only wheel right now on PS4 that supports 3 pedals and H shifter.

Although from this video here it looks like the H shifter doesn't work in PS4 right now ?

http://www.youtube.com/watch?v=osID3_rjGlE

EDIT: Confirmed it doesn't work on DriveClub. (It might on GT7 / if when that comes out)

http://www.reddit.com/r/Driveclub/comme ... nd_manual/
tps
Posts: 29
Joined: Mon Oct 29, 2012 12:36 pm

Re: [TUTORIAL] ~ RPi + GIMX + G27 + PS4 + DriveClub = WORKIN

Post by tps »

great tutorial, jhonny! ;)

did you notice any lag from turning the wheel to the in-game reaction ?
jhonny
Posts: 10
Joined: Fri Oct 10, 2014 1:54 pm

Re: [TUTORIAL] ~ RPi + GIMX + G27 + PS4 + DriveClub = WORKIN

Post by jhonny »

No lag it's very precise. And the CPU utilisation on the rpi is less than 30%. Because once you set it up you don't need to run X
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: [TUTORIAL] ~ RPi + GIMX + G27 + PS4 + DriveClub = WORKIN

Post by Matlo »

jhonny wrote:Is this something you're planning to look into Matlo ?

Would you require a Thrustmaster wheel ?
No, I've not planned to look into this.
Yes, I would require a Thrustmaster wheel to be able to analyse the USB protocol.

Maybe I should start a fundraising so that I can buy a T300RS?
GIMX creator
jhonny
Posts: 10
Joined: Fri Oct 10, 2014 1:54 pm

Re: [TUTORIAL] ~ RPi + GIMX + G27 + PS4 + DriveClub = WORKIN

Post by jhonny »

Yep, might be a good idea ;)

I'd be happy to chip in for that.

When Gran Truism 7 gets announced i'll be yearning to use my G27 ;)
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: [TUTORIAL] ~ RPi + GIMX + G27 + PS4 + DriveClub = WORKIN

Post by Matlo »

GIMX creator
jhonny
Posts: 10
Joined: Fri Oct 10, 2014 1:54 pm

Re: [TUTORIAL] ~ RPi + GIMX + G27 + PS4 + DriveClub = WORKIN

Post by jhonny »

Excellent ;)

I've donated $150 to the cause ;)
Can't wait to see what you can do with this bad boy ;)
horizons
Posts: 5
Joined: Wed Dec 31, 2014 8:18 pm

Re: [TUTORIAL] ~ RPi + GIMX + G27 + PS4 + DriveClub = WORKIN

Post by horizons »

Hi,
first of all thank you for giving us logitech users a possibility to use our devices on the ps4.
I want to to test gimx to use my g27 together with my ps4.
I had everything already at home besides the teensy and a powered usb hub.

I have bought a usb hub and borrowed a Atmel AT90USBKEY from my collegue.
It has also a AT90USB1287 as mentioned in the datasheet http://www.farnell.com/datasheets/5088.pdf

I thought that this usb development board would also work because your EMUPS4PAIRING also contained a file "at90usb1287.hex" which i flashed with the tool "flip" on my windows machine.

But when i attach the usb board to my RPI it won't get past the point "plug the teensy".
I checked in dmesg and i get these lines when I connect the board.
[28653.661875] usb 1-1.3: new full-speed USB device number 101 using dwc_otg
[28653.741925] usb 1-1.3: device descriptor read/64, error -32
[28653.931931] usb 1-1.3: device descriptor read/64, error -32
[28654.121957] usb 1-1.3: new full-speed USB device number 102 using dwc_otg
[28654.201932] usb 1-1.3: device descriptor read/64, error -32
[28654.391962] usb 1-1.3: device descriptor read/64, error -32
[28654.581980] usb 1-1.3: new full-speed USB device number 103 using dwc_otg
[28655.001831] usb 1-1.3: device not accepting address 103, error -32
[28655.082057] usb 1-1.3: new full-speed USB device number 104 using dwc_otg
[28655.501857] usb 1-1.3: device not accepting address 104, error -32
[28655.502107] hub 1-1:1.0: unable to enumerate USB device on port 3

So i guess that the hex file won't work with my board which i have currently borrowed. Is this correct?
I guess that i will buy a teensy board myself but before i have the question if it doesn't matter if i buy a 2.0 or a 2.0 ++, 3.0 ,3.1 teensy?


root@raspberrypi:~# lsusb
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 004: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
Bus 001 Device 015: ID 046d:c29b Logitech, Inc. G27 Racing Wheel
Bus 001 Device 100: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)

So I wish you all a happy new Year.
Regards Horizons
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: [TUTORIAL] ~ RPi + GIMX + G27 + PS4 + DriveClub = WORKIN

Post by Matlo »

Hi and happy new year,

The first thing to try is to change the usb cable, because it may be defective.
Because the RPi kernel had usb issues at some point, you should make sure your kernel is a recent one.
GIMX creator
horizons
Posts: 5
Joined: Wed Dec 31, 2014 8:18 pm

Re: [TUTORIAL] ~ RPi + GIMX + G27 + PS4 + DriveClub = WORKIN

Post by horizons »

Hi I did that, i also tested 3 different cables without luck. As one cable was also used in the flashing process i don't think this could be a cause.

Code: Select all

dmesg:
[    2.010314] dwc_otg: FIQ enabled

uname -a:
Linux raspberrypi 3.12.35+ #730 PREEMPT Fri Dec 19 18:31:24 GMT 2014 armv6l GNU/Linux

/opt/vc/bin/vcgencmd version
Dec 29 2014 14:28:52
Copyright (c) 2012 Broadcom
version d3c15a3b57203798ff811c40ea65174834267d48 (clean) (release)
Some other idea? if not i will order a Original teensy.
Which just leaves this question open:
> guess that i will buy a teensy board myself but before i have the question if it doesn't matter if i buy a 2.0 or a 2.0 ++, 3.0 ,3.1 teensy?

regards Horizons
Locked