Page 1 of 1
PS4-RPi-Teensy-DFGT joystick not found
Posted: Sat Sep 17, 2016 11:38 am
by MMK
Hi
What is wrong. Gimx not found wheel, any button don't work.
Code: Select all
pi@raspberrypi:~ $ /usr/bin/gimx -p /dev/ttyAMA0 -c LogitechDrivingForceGT_G29.xml --nograb --status
controller #1: option -p with value `/dev/ttyAMA0'
now reading arguments for controller #2
global option -c with value `LogitechDrivingForceGT_G29.xml'
grab flag is unset
status flag is set
native mode is already enabled for HID device 01:01:02 (PID=c29a)
Detected USB adapter: G29 PS4.
using default refresh period: 5.00ms
joystick not found: Driving Force GT 0
closing unused uhid joysticks... done
Warning: can't open macro directory /home/pi//.gimx//macros/
0 1474112122.695254
pi@raspberrypi:~ $ cat /proc/bus/input/devices
I: Bus=0003 Vendor=046d Product=c29a Version=0111
N: Name="Driving Force GT"
P: Phys=usb-20980000.usb-1.2/input0
S: Sysfs=/devices/platform/soc/20980000.usb/usb1/1-1/1-1.2/1-1.2:1.0/0003:046D:C29A.0017/input/input22
U: Uniq=
H: Handlers=js1 event1
B: PROP=0
B: EV=20001b
B: KEY=1f 0 0 0 0 0 0 0 0 0 0 0 0 ffff 0 0 0 0 0 0 0 0 0
B: ABS=30007
B: MSC=10
B: FF=3 40000 0 0
I: Bus=0003 Vendor=054c Product=05c4 Version=0111
N: Name="Sony Computer Entertainment Wireless Controller"
P: Phys=usb-20980000.usb-1.3/input0
S: Sysfs=/devices/platform/soc/20980000.usb/usb1/1-1/1-1.3/1-1.3:1.0/0003:054C:05C4.0018/input/input23
U: Uniq=
H: Handlers=js0 event0
B: PROP=0
B: EV=1b
B: KEY=3fff0000 0 0 0 0 0 0 0 0 0
B: ABS=2608000 3003f
B: MSC=10
BR. MMK
Re: PS4-RPi-Teensy-DFGT joystick not found
Posted: Sun Sep 18, 2016 9:27 am
by Matlo
Hi,
Please add "-l log.txt" to the gimx command, run it, stop it after about 10 seconds, and post the /home/pi/.gimx/log/log.txt file.
Re: PS4-RPi-Teensy-DFGT joystick not found
Posted: Sun Sep 18, 2016 5:32 pm
by qntos
I have the exact same problem - the wheel is recognised by the Raspberry:
Code: Select all
pi@raspberrypi:~/.gimx/config $ cat /proc/bus/input/devices
I: Bus=0003 Vendor=046d Product=c29a Version=0111
N: Name="Driving Force GT"
P: Phys=usb-20980000.usb-1.2/input0
S: Sysfs=/devices/platform/soc/20980000.usb/usb1/1-1/1-1.2/1-1.2:1.0/0003:046D:C29A.002B/input/input42
U: Uniq=
H: Handlers=js1 event1
B: PROP=0
B: EV=20001b
B: KEY=1f 0 0 0 0 0 0 0 0 0 0 0 0 ffff 0 0 0 0 0 0 0 0 0
B: ABS=30007
B: MSC=10
B: FF=3 40000 0 0
but GIMX doesn't seem to notice it:
Code: Select all
pi@raspberrypi:~/.gimx/config $ /usr/bin/gimx -p /dev/ttyUSB0 -c LogitechDrivingForceGT_G29.xml --nograb --status
controller #1: option -p with value `/dev/ttyUSB0'
now reading arguments for controller #2
global option -c with value `LogitechDrivingForceGT_G29.xml'
grab flag is unset
status flag is set
native mode is already enabled for HID device 01:01:02 (PID=c29a)
Detected USB adapter: G29 PS4.
using default refresh period: 5.00ms
joystick not found: Driving Force GT 0
closing unused uhid joysticks... done
Warning: can't open macro directory /home/pi//.gimx//macros/
0 1474219730.277566
I have no idea what to do next :-/
Re: PS4-RPi-Teensy-DFGT joystick not found
Posted: Sun Sep 18, 2016 7:25 pm
by Matlo
I need a complete log file.
Re: PS4-RPi-Teensy-DFGT joystick not found
Posted: Wed Sep 21, 2016 7:36 pm
by qntos
Thank you for your reply and for taking the time to help us
I've managed to get the full log file

Any ideas?
Code: Select all
global option -l with value `log.txt'
grab flag is unset
status flag is set
GIMX 5.9 ARMv6
Raspbian GNU/Linux 8.0 (jessie)
Linux 4.4.20+ #908 Wed Sep 7 14:35:04 BST 2016 unknown
Bus 001 Device 014: ID 054c:05c4 Sony Corp.
Bus 001 Device 013: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART B$
Bus 001 Device 012: ID 058f:6254 Alcor Micro Corp. USB Hub
Bus 001 Device 011: ID 058f:6254 Alcor Micro Corp. USB Hub
Bus 001 Device 016: ID 046d:c29a Logitech, Inc.
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast$
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. LAN9500 Ethernet 1$
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/3p, 480M
|__ Port 1: Dev 3, If 0, Class=Vendor Specific Class, Driver=smsc95xx, $
|__ Port 2: Dev 16, If 0, Class=Human Interface Device, Driver=usbhid, $
|__ Port 3: Dev 11, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 1: Dev 12, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 1: Dev 13, If 0, Class=Vendor Specific Class, Driver=c$
|__ Port 4: Dev 14, If 0, Class=Human Interface Device, Driver=$
native mode is already enabled for HID device 01:01:02 (PID=c29a)
Detected USB adapter: G29 PS4.
using default refresh period: 5.00ms
joystick not found: Driving Force GT 0
closing unused uhid joysticks... done
Warning: can't open macro directory /home/pi//.gimx//macros/
0 1474486326.283081
Exiting
closing uhid joysticks (it may take a few seconds)
Re: PS4-RPi-Teensy-DFGT joystick not found
Posted: Thu Sep 22, 2016 5:51 am
by Matlo
Re: PS4-RPi-Teensy-DFGT joystick not found
Posted: Fri Sep 23, 2016 12:27 am
by mptc
It just works!!!
Thanks Matlo!
Two nights of my life lost trying to solve the same problem as OP and it was the firmware.
Downgraded and all is good with the world
Code: Select all
pi@raspberrypi:~ $ gimx -c LogitechDrivingForceGT_G29.xml --status -p /dev/ttyAMA0 --nograb
global option -c with value `LogitechDrivingForceGT_G29.xml'
controller #1: option -p with value `/dev/ttyAMA0'
now reading arguments for controller #2
grab flag is unset
status flag is set
native mode is already enabled for HID device 01:01:03 (PID=c29a)
Detected USB adapter: G29 PS4.
using default refresh period: 5.00ms
macros are not available for: joystick Sony Computer Entertainment Wireless Controller (0)
closing unused uhid joysticks... done
0 1474589921.814534
0 1474589936.801853, wheel (-169), share (255)
0 1474589936.936866, wheel (-169)
0 1474589937.952065, wheel (-169), PS (255)
0 1474589938.172079, wheel (-169)
Thanks also to MMK.
See ya, i'm going to clean the dust off my Driving Force GT.
Re: PS4-RPi-Teensy-DFGT joystick not found
Posted: Fri Sep 23, 2016 6:50 pm
by qntos
OK Matlo you made an exceptional piece of software I'll give you that and you were kind enough to help us use it, thank you very very much

Everything is running smoothly now, can't wait to assemble all of the electronic junk in to a nice box and start playing DIRT RALLY >:-)
Re: PS4-RPi-Teensy-DFGT joystick not found
Posted: Sat Sep 24, 2016 10:39 am
by Matlo
I'm glad you got it to work
