G25 on PS4

Need help? Ask here and someone will help
Anskar
Posts: 8
Joined: Sun Mar 12, 2017 11:27 am

G25 on PS4

Post by Anskar »

Hey, I have some troubles using GIMX with my G25 on my PS4 Pro. I use a DIY adapter which is connected via UART directly to my Raspberry (just like https://gimx.fr/forum/viewtopic.php?f=5 ... hilit=uart). My setup:

GIMX Version: 6.4
OS: Raspbian Jessie on Raspberry Pi Zero V1.3
Wheel: Logitech G25
Console: PS4 Pro
Controller: DualShock 4 (PS4 Pro Model CUH-ZCT2)
AVR Board: Arduino Leonardo Pro Micro
Game: F1 2016 (Demo)


I already managed to run this setup twice (last time over 1 hour) with steering and pedals working except for FFB (well, it was turned off in the in-game settings -.-). Therefore, I am quite convinced that my setup is correct and that the AVR board is flashed and connected properly. When I turned on FFB in-game it crashes after a few minutes exactly as described here https://gimx.fr/forum/viewtopic.php?f=5 ... ack#p11229.

But I have another problem which I need to solve first: I cannot reliably reproduce the success of my earlier attempts. There is simply no response when I press the PS button on my G25 (it is the leftmost of the 4 red buttons on the H-shifter, right?). Actually, the output of GIMX is then the same no matter if the G25 is connected to the raspberry or not:

Code: Select all

global option -l with value `test.txt'
grab flag is unset
GIMX 6.4 ARMv6
Raspbian GNU/Linux 8.0 (jessie)
Linux 4.9.13+ #974 Wed Mar 1 20:04:40 GMT 2017 unknown
Bus 001 Device 011: ID 0a81:0101 Chesen Electronics Corp. Keyboard
Bus 001 Device 016: ID 046d:c299 Logitech, Inc. G25 Racing Wheel
Bus 001 Device 010: ID 054c:09cc Sony Corp. 
Bus 001 Device 002: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
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/4p, 480M
        |__ Port 1: Dev 10, If 0, Class=Audio, Driver=snd-usb-audio, 12M
        |__ Port 1: Dev 10, If 1, Class=Audio, Driver=, 12M
        |__ Port 1: Dev 10, If 2, Class=Audio, Driver=, 12M
        |__ Port 1: Dev 10, If 3, Class=Human Interface Device, Driver=usbhid, 12M
        |__ Port 2: Dev 16, If 0, Class=Human Interface Device, Driver=usbhid, 12M
        |__ Port 4: Dev 11, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
        |__ Port 4: Dev 11, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
USB adapter detected, controller type is: G29 PS4.
unhandled descriptor type: 0x24
unhandled descriptor type: 0x24
unhandled descriptor type: 0x24
unhandled descriptor type: 0x24
unhandled descriptor type: 0x24
unhandled descriptor type: 0x24
unhandled descriptor type: 0x24
unhandled descriptor type: 0x24
unhandled descriptor type: 0x24
unhandled descriptor type: 0x25
unhandled descriptor type: 0x24
unhandled descriptor type: 0x24
unhandled descriptor type: 0x25
using default refresh period: 5.00ms
native mode is already enabled for HID device 01:01:02:00:00 (PID=c299)
Therefore I suspect some issues with the wheel connection. Also, if I press the PS button of my DS4 Controller while connected to the Raspberry and running GIMX, the controller is detected by the PS4 and working so GIMX and the ARV board seem to work. The LED bar is off so the signal should really be going through the AVR board and not directly to the PS4 via bluetooth. My G25 runs on my PS3 without any problems so it probably isn’t a bad cable.

Does anyone have an idea what the problem might be and how it can be solved?
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: G25 on PS4

Post by Matlo »

Hi,
Add the --status flag to the gimx command line and:
* see if there is a "joystick not found" message
* see if the PS button on the wheel is correctly detected by GIMX
GIMX creator
Anskar
Posts: 8
Joined: Sun Mar 12, 2017 11:27 am

Re: G25 on PS4

Post by Anskar »

Thanks Matlo for your reply and for the help. I ran GIMX with --status and your first suspicion was right: "joystick not found". Here is the Log:

Code: Select all

global option -l with value `test.txt'
grab flag is unset
status flag is set
GIMX 6.4 ARMv6
Raspbian GNU/Linux 8.0 (jessie)
Linux 4.9.13+ #974 Wed Mar 1 20:04:40 GMT 2017 unknown
Bus 001 Device 005: ID 0a81:0101 Chesen Electronics Corp. Keyboard
Bus 001 Device 004: ID 054c:09cc Sony Corp. 
Bus 001 Device 006: ID 046d:c299 Logitech, Inc. G25 Racing Wheel
Bus 001 Device 002: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
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/4p, 480M
        |__ Port 1: Dev 6, If 0, Class=Human Interface Device, Driver=usbhid, 12M
        |__ Port 2: Dev 4, If 0, Class=Audio, Driver=snd-usb-audio, 12M
        |__ Port 2: Dev 4, If 3, Class=Human Interface Device, Driver=usbhid, 12M
        |__ Port 2: Dev 4, If 1, Class=Audio, Driver=, 12M
        |__ Port 2: Dev 4, If 2, Class=Audio, Driver=, 12M
        |__ Port 4: Dev 5, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
        |__ Port 4: Dev 5, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
USB adapter detected, controller type is: G29 PS4.
unhandled descriptor type: 0x24
unhandled descriptor type: 0x24
unhandled descriptor type: 0x24
unhandled descriptor type: 0x24
unhandled descriptor type: 0x24
unhandled descriptor type: 0x24
unhandled descriptor type: 0x24
unhandled descriptor type: 0x24
unhandled descriptor type: 0x24
unhandled descriptor type: 0x25
unhandled descriptor type: 0x24
unhandled descriptor type: 0x24
unhandled descriptor type: 0x25
found pass-through device 0x054c:0x09cc
using default refresh period: 5.00ms
native mode is already enabled for HID device 01:01:01:00:00 (PID=c299)
joystick not found: G25 Racing Wheel 0
Warning: can't open macro directory /home/pi//.gimx//macros/
0 1489337360.014558
0 1489337360.816522, square (255)
0 1489337360.941617
0 1489337361.146649, triangle (255)
0 1489337361.241739
0 1489337361.426578, circle (255)
0 1489337361.491763
0 1489337364.146714, PS (255)
0 1489337364.276658
0 1489337364.796720, cross (255)
0 1489337364.896707
0 1489337365.031727, square (255)
0 1489337365.111728
0 1489337365.251834, triangle (255)
0 1489337365.321718
0 1489337365.456697, circle (255)
0 1489337365.511750
Exiting
The inputs at the end of the Log-file are from the attached DS4 - I just wanted to check its detection. I searched in the forum and sometimes the missing joystick error had to do with the config-file. I downloaded it manually since I have Raspbian Jessie Lite without GUI so I only use the terminal. Since I managed to get it to work for two times already, I do not think it is the cause of my issues. I will post it anyway:

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<root>
  <controller id="1" dpi="0" type="G29 PS4">
    <configuration id="1">
      <trigger type="" id="" name="" button_id="" switch_back="no" delay="0"/>
      <mouse_options_list/>
      <intensity_list/>
      <button_map>
        <button id="abs_axis_0" label="">
          <device type="joystick" id="0" name="G25 Racing Wheel"/>
          <event type="button" id="8"/>
        </button>
        <button id="abs_axis_1" label="">
          <device type="joystick" id="0" name="G25 Racing Wheel"/>
          <event type="button" id="9"/>
        </button>
        <button id="abs_axis_2" label="">
          <device type="joystick" id="0" name="G25 Racing Wheel"/>
          <event type="button" id="11"/>
        </button>
        <button id="abs_axis_3" label="">
          <device type="joystick" id="0" name="G25 Racing Wheel"/>
          <event type="button" id="19"/>
        </button>
        <button id="abs_axis_4" label="">
          <device type="joystick" id="0" name="G25 Racing Wheel"/>
          <event type="button" id="20"/>
        </button>
        <button id="abs_axis_5" label="">
          <device type="joystick" id="0" name="G25 Racing Wheel"/>
          <event type="button" id="21"/>
        </button>
        <button id="abs_axis_6" label="">
          <device type="joystick" id="0" name="G25 Racing Wheel"/>
          <event type="button" id="22"/>
        </button>
        <button id="abs_axis_7" label="">
          <device type="joystick" id="0" name="G25 Racing Wheel"/>
          <event type="button" id="3"/>
        </button>
        <button id="abs_axis_8" label="">
          <device type="joystick" id="0" name="G25 Racing Wheel"/>
          <event type="button" id="2"/>
        </button>
        <button id="abs_axis_9" label="">
          <device type="joystick" id="0" name="G25 Racing Wheel"/>
          <event type="button" id="0"/>
        </button>
        <button id="abs_axis_10" label="">
          <device type="joystick" id="0" name="G25 Racing Wheel"/>
          <event type="button" id="1"/>
        </button>
        <button id="abs_axis_11" label="">
          <device type="joystick" id="0" name="G25 Racing Wheel"/>
          <event type="button" id="5"/>
        </button>
        <button id="abs_axis_12" label="">
          <device type="joystick" id="0" name="G25 Racing Wheel"/>
          <event type="button" id="4"/>
        </button>
        <button id="abs_axis_15" label="">
          <device type="joystick" id="0" name="G25 Racing Wheel"/>
          <event type="button" id="10"/>
        </button>
        <button id="abs_axis_20" label="">
          <device type="joystick" id="0" name="G25 Racing Wheel"/>
          <event type="button" id="12"/>
        </button>
        <button id="abs_axis_21" label="">
          <device type="joystick" id="0" name="G25 Racing Wheel"/>
          <event type="button" id="13"/>
        </button>
        <button id="abs_axis_22" label="">
          <device type="joystick" id="0" name="G25 Racing Wheel"/>
          <event type="button" id="14"/>
        </button>
        <button id="abs_axis_23" label="">
          <device type="joystick" id="0" name="G25 Racing Wheel"/>
          <event type="button" id="15"/>
        </button>
        <button id="abs_axis_24" label="">
          <device type="joystick" id="0" name="G25 Racing Wheel"/>
          <event type="button" id="16"/>
        </button>
        <button id="abs_axis_25" label="">
          <device type="joystick" id="0" name="G25 Racing Wheel"/>
          <event type="button" id="17"/>
        </button>
        <button id="abs_axis_26" label="">
          <device type="joystick" id="0" name="G25 Racing Wheel"/>
          <event type="button" id="18"/>
        </button>
        <button id="abs_axis_0" label="">
          <device type="joystick" id="0" name="Sony Computer Entertainment Wireless Controller"/>
          <event type="button" id="8"/>
        </button>
        <button id="abs_axis_1" label="">
          <device type="joystick" id="0" name="Sony Computer Entertainment Wireless Controller"/>
          <event type="button" id="9"/>
        </button>
        <button id="abs_axis_2" label="">
          <device type="joystick" id="0" name="Sony Computer Entertainment Wireless Controller"/>
          <event type="button" id="12"/>
        </button>
        <button id="abs_axis_3" label="">
          <device type="joystick" id="0" name="Sony Computer Entertainment Wireless Controller"/>
          <event type="button" id="14"/>
        </button>
        <button id="abs_axis_4" label="">
          <device type="joystick" id="0" name="Sony Computer Entertainment Wireless Controller"/>
          <event type="button" id="15"/>
        </button>
        <button id="abs_axis_5" label="">
          <device type="joystick" id="0" name="Sony Computer Entertainment Wireless Controller"/>
          <event type="button" id="16"/>
        </button>
        <button id="abs_axis_6" label="">
          <device type="joystick" id="0" name="Sony Computer Entertainment Wireless Controller"/>
          <event type="button" id="17"/>
        </button>
        <button id="abs_axis_7" label="">
          <device type="joystick" id="0" name="Sony Computer Entertainment Wireless Controller"/>
          <event type="button" id="3"/>
        </button>
        <button id="abs_axis_8" label="">
          <device type="joystick" id="0" name="Sony Computer Entertainment Wireless Controller"/>
          <event type="button" id="2"/>
        </button>
        <button id="abs_axis_9" label="">
          <device type="joystick" id="0" name="Sony Computer Entertainment Wireless Controller"/>
          <event type="button" id="1"/>
        </button>
        <button id="abs_axis_10" label="">
          <device type="joystick" id="0" name="Sony Computer Entertainment Wireless Controller"/>
          <event type="button" id="0"/>
        </button>
        <button id="abs_axis_11" label="">
          <device type="joystick" id="0" name="Sony Computer Entertainment Wireless Controller"/>
          <event type="button" id="4"/>
        </button>
        <button id="abs_axis_12" label="">
          <device type="joystick" id="0" name="Sony Computer Entertainment Wireless Controller"/>
          <event type="button" id="5"/>
        </button>
        <button id="abs_axis_15" label="">
          <device type="joystick" id="0" name="Sony Computer Entertainment Wireless Controller"/>
          <event type="button" id="10"/>
        </button>
        <button id="abs_axis_16" label="">
          <device type="joystick" id="0" name="Sony Computer Entertainment Wireless Controller"/>
          <event type="button" id="11"/>
        </button>
      </button_map>
      <axis_map>
        <axis id="rel_axis_0" label="wheel">
          <device type="joystick" id="0" name="G25 Racing Wheel"/>
          <event type="axis" id="0" dead_zone="0" multiplier="0.0039" exponent="1.00" shape=""/>
        </axis>
        <axis id="abs_axis_19" label="clutch">
          <device type="joystick" id="0" name="G25 Racing Wheel"/>
          <event type="axis" id="1" dead_zone="0" multiplier="0.008" exponent="1.00" shape=""/>
        </axis>
        <axis id="abs_axis_17" label="gas">
          <device type="joystick" id="0" name="G25 Racing Wheel"/>
          <event type="axis" id="2" dead_zone="0" multiplier="0.008" exponent="1.00" shape=""/>
        </axis>
        <axis id="abs_axis_18" label="brake">
          <device type="joystick" id="0" name="G25 Racing Wheel"/>
          <event type="axis" id="3" dead_zone="0" multiplier="0.008" exponent="1.00" shape=""/>
        </axis>
      </axis_map>
      <joystick_corrections_list>
        <correction low_value="32767" low_coef="-8192" high_value="0" high_coef="0">
          <device type="joystick" id="0" name="G25 Racing Wheel"/>
          <event type="axis" id="1"/>
        </correction>
        <correction low_value="32767" low_coef="-8192" high_value="0" high_coef="0">
          <device type="joystick" id="0" name="G25 Racing Wheel"/>
          <event type="axis" id="2"/>
        </correction>
        <correction low_value="32767" low_coef="-8192" high_value="0" high_coef="0">
          <device type="joystick" id="0" name="G25 Racing Wheel"/>
          <event type="axis" id="3"/>
        </correction>
      </joystick_corrections_list>
    </configuration>
  </controller>
</root>
When I run lsusb in terminal, my G25 is detected (see also log) but apparently GIMX does not detect it for some reason. Has anyone experienced something similar?

Thanks.
Anskar
Posts: 8
Joined: Sun Mar 12, 2017 11:27 am

Re: G25 on PS4

Post by Anskar »

I thought maybe GIMX cannot match "G25 Racing Wheel" with "Logitech, Inc. G25 Racing Wheel" so I simply replaced "G25 Racing Wheel" in the config-file with "Logitech, Inc. G25 Racing Wheel" but it did not help. Well, GIMX apparently is able to match "Sony Computer Entertainment Wireless Controller" with "Sony Corp." so it probably was a dumb idea from me to suppose such a mismatch in the first place...
Maybe it is because I do not know how everything is working "under the hood" of GIMX that makes me do such desperate attempts^^
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: G25 on PS4

Post by Matlo »

I think this may be a RPi firmware issue. Check this:
https://gimx.fr/wiki/index.php?title=RP ... are_update
GIMX creator
Anskar
Posts: 8
Joined: Sun Mar 12, 2017 11:27 am

Re: G25 on PS4

Post by Anskar »

Awesome it worked! I am back on Linux 4.1.21+ and the wheel is recognized every time now, thank you so much. :)

Now my remaining problem is that when I enable FFB (without FFB everything runs well), sooner or later (1 second up to ~20 minutes) GIMX crashes as in https://gimx.fr/forum/viewtopic.php?f=5 ... t=feedback:
The G27’s led starts blinking and the wheel loses the FFB. The game remains with the throttle on or turning right or left, whatever was the last position received from the wheel before it fails.
NOTE: GIMX keeps running until I unplug G27’s usb, then I can close GIMX terminal window and in PS4 appears the message as the controller was disconnected.
Except for me it is the G25 and I get "libusb_transfer failed with status LIBUSB_TRANSFER_STALL (endpoint=0x01)" errors instead of "libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)".

I added dwc_otg.fiq_fsm_mask=0xf to cmdline.txt as explained in the other thread.

I had the feeling that with the --log option it usually ran for a longer period of time for some reason than without the flag but maybe that was only a coincidence...

Matlo, you said in the other thread:
I figured out how USB bandwidth reservation works for HID devices: the USB bus has to be kept busy. Which means GIMX has to push another command as soon as the previous command completes. If nothing changed and at least one force is still running, GIMX now sends the previous command again.
The enhancement is referred as "Force feedback defects on Raspbian Jessie" in the GIMX 6.4 annoucement.
Thanks for the feedback, it's good to know it works!
Is this feature enabled by default or do I have to run GIMX with some different options?

And since my remaining problem is somewhat similar to https://gimx.fr/forum/viewtopic.php?f=5 ... t=feedback, should I post in this thread from now on?

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

Re: G25 on PS4

Post by Matlo »

Please post full logs, and not just extracts.

There is a communication issue with the G25. Check the USB cable. Avoid using extension cables and USB hubs.

EDIT: and make sure your RPi is correctly powered.
https://www.raspberrypi.org/documentati ... /README.md
GIMX creator
Anskar
Posts: 8
Joined: Sun Mar 12, 2017 11:27 am

Re: G25 on PS4

Post by Anskar »

Thanks for the reply. I now used a 1.3amp 5V USB power supply and no extension cables (I cannot circumvent a USB HUB, though, because I use a Pi Zero with only 1 micro usb port). The situation stays the same: Without FFB I can play for hours but when I enable FFB it fails.

Here is the Log-file (I cut some duplicate error lines in the end):

Code: Select all

global option -l with value `test.txt'
grab flag is unset
status flag is set
GIMX 6.4 ARMv6
Raspbian GNU/Linux 8.0 (jessie)
Linux 4.1.21+ #873 Mon Apr 11 18:00:37 BST 2016 unknown
Bus 001 Device 015: ID 046d:c299 Logitech, Inc. G25 Racing Wheel
Bus 001 Device 012: ID 054c:09cc Sony Corp. 
Bus 001 Device 011: ID 0a81:0101 Chesen Electronics Corp. Keyboard
Bus 001 Device 002: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
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/4p, 480M
        |__ Port 2: Dev 11, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
        |__ Port 2: Dev 11, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
        |__ Port 3: Dev 12, If 0, Class=Audio, Driver=snd-usb-audio, 12M
        |__ Port 3: Dev 12, If 1, Class=Audio, Driver=, 12M
        |__ Port 3: Dev 12, If 2, Class=Audio, Driver=, 12M
        |__ Port 3: Dev 12, If 3, Class=Human Interface Device, Driver=usbhid, 12M
        |__ Port 4: Dev 15, If 0, Class=Human Interface Device, Driver=usbhid, 12M
USB adapter detected, controller type is: G29 PS4.
unhandled descriptor type: 0x24
unhandled descriptor type: 0x24
unhandled descriptor type: 0x24
unhandled descriptor type: 0x24
unhandled descriptor type: 0x24
unhandled descriptor type: 0x24
unhandled descriptor type: 0x24
unhandled descriptor type: 0x24
unhandled descriptor type: 0x24
unhandled descriptor type: 0x25
unhandled descriptor type: 0x24
unhandled descriptor type: 0x24
unhandled descriptor type: 0x25
found pass-through device 0x054c:0x09cc
using default refresh period: 5.00ms
native mode is already enabled for HID device 01:01:04:00:00 (PID=c299)
macros are not available for: joystick Sony Computer Entertainment Wireless Controller (0)
Warning: can't open macro directory /home/pi//.gimx//macros/
0 1489926001.919360
0 1489926001.921979, wheel (192)
0 1489926003.921962, wheel (192), cross (255)
0 1489926019.047162, wheel (192)
0 1489926019.152132, wheel (192), PS (255)
0 1489926046.297186, wheel (188), gas (65535)
0 1489926046.302201, wheel (240), gas (65535)
0 1489926046.307270, wheel (276), gas (65535)
0 1489926046.312196, wheel (324), gas (65535)
0 1489926046.317187, wheel (376), gas (65535)
0 1489926046.322206, wheel (428), gas (65535)
0 1489926046.327137, wheel (497), gas (65535)
0 1489926046.332214, wheel (549), gas (65535)
0 1489926046.337186, wheel (601), gas (65535)
0 1489926046.342223, wheel (669), gas (65535)
0 1489926046.347195, wheel (721), gas (65535)
0 1489926046.352186, wheel (789), gas (65535)
0 1489926046.357180, wheel (837), gas (65535)
0 1489926046.362209, wheel (910), gas (65535)
0 1489926046.367192, wheel (958), gas (65535)
0 1489926046.372163, wheel (1010), gas (65535)
0 1489926046.377133, wheel (1062), gas (65535)
0 1489926046.382204, wheel (1114), gas (65535)
0 1489926046.387300, wheel (1146), gas (65535)
0 1489926046.392189, wheel (1198), gas (65535)
0 1489926046.397179, wheel (1250), gas (65535)
0 1489926046.402199, wheel (1282), gas (65535)
0 1489926046.407253, wheel (1302), gas (65535)
0 1489926046.412186, wheel (1335), gas (65535)
0 1489926046.417180, wheel (1351), gas (65535)
0 1489926046.422201, wheel (1371), gas (65535)
0 1489926046.427119, wheel (1387), gas (65535)
0 1489926046.442185, wheel (1371), gas (65535)
0 1489926046.447116, wheel (1351), gas (65535)
0 1489926046.452187, wheel (1335), gas (65535)
0 1489926046.457173, wheel (1319), gas (65535)
0 1489926046.462202, wheel (1302), gas (65535)
0 1489926046.467198, wheel (1282), gas (65535)
0 1489926046.472148, wheel (1234), gas (65535)
0 1489926046.477140, wheel (1198), gas (65535)
0 1489926046.482200, wheel (1146), gas (65535)
0 1489926046.487267, wheel (1094), gas (65535)
0 1489926046.492180, wheel (1026), gas (65535)
0 1489926046.497174, wheel (958), gas (65535)
0 1489926046.502205, wheel (890), gas (65535)
0 1489926046.507274, wheel (821), gas (65535)
0 1489926046.512191, wheel (737), gas (65535)
0 1489926046.517178, wheel (669), gas (65535)
0 1489926046.522196, wheel (565), gas (65535)
0 1489926046.527168, wheel (481), gas (65535)
0 1489926046.532178, wheel (396), gas (65535)
0 1489926046.537177, wheel (308), gas (65535)
0 1489926046.542215, wheel (224), gas (65535)
0 1489926046.547227, wheel (156), gas (65535)
0 1489926046.552146, wheel (52), gas (65535)
0 1489926046.557182, wheel (-17), gas (65535)
0 1489926046.562203, wheel (-117), gas (65535)
0 1489926046.567221, wheel (-205), gas (65535)
0 1489926046.572169, wheel (-289), gas (65535)
0 1489926046.577181, wheel (-357), gas (65535)
0 1489926046.582149, wheel (-446), gas (65535)
0 1489926046.587331, wheel (-514), gas (65535)
0 1489926046.592158, wheel (-582), gas (65535)
0 1489926046.597235, wheel (-650), gas (65535)
0 1489926046.602149, wheel (-718), gas (65535)
0 1489926046.607270, wheel (-770), gas (65535)
0 1489926046.612154, wheel (-818), gas (65535)
0 1489926046.617234, wheel (-870), gas (65535)
0 1489926046.622147, wheel (-907), gas (65535)
0 1489926046.627185, wheel (-939), gas (65535)
0 1489926046.632176, wheel (-975), gas (65535)
0 1489926046.637257, wheel (-1007), gas (65535)
0 1489926046.642164, wheel (-1027), gas (65535)
0 1489926046.647292, wheel (-1043), gas (65535)
0 1489926046.652146, wheel (-1059), gas (65535)
0 1489926046.657206, wheel (-1075), gas (65535)
0 1489926046.677020, wheel (-1059), gas (65535)
0 1489926046.687195, wheel (-1043), gas (65535)
0 1489926046.697170, wheel (-1027), gas (65535)
0 1489926046.702197, wheel (-1007), gas (65535)
0 1489926046.707296, wheel (-991), gas (65535)
0 1489926046.712190, wheel (-975), gas (65535)
0 1489926046.717178, wheel (-959), gas (65535)
0 1489926046.722200, wheel (-939), gas (65535)
0 1489926046.727201, wheel (-923), gas (65535)
0 1489926046.732183, wheel (-907), gas (65535)
0 1489926046.737185, wheel (-887), gas (65535)
0 1489926046.742215, wheel (-870), gas (65535)
0 1489926046.747244, wheel (-854), gas (65535)
0 1489926046.752187, wheel (-838), gas (65535)
0 1489926046.757186, wheel (-818), gas (65535)
0 1489926046.762215, wheel (-786), gas (65535)
0 1489926046.767249, wheel (-770), gas (65535)
0 1489926046.772153, wheel (-750), gas (65535)
0 1489926046.777142, wheel (-718), gas (65535)
0 1489926046.782215, wheel (-702), gas (65535)
0 1489926046.787310, wheel (-682), gas (65535)
0 1489926046.792187, wheel (-650), gas (65535)
0 1489926046.797185, wheel (-630), gas (65535)
0 1489926046.802214, wheel (-598), gas (65535)
0 1489926046.807298, wheel (-582), gas (65535)
0 1489926046.812195, wheel (-546), gas (65535)
0 1489926046.817177, wheel (-514), gas (65535)
0 1489926046.822210, wheel (-494), gas (65535)
0 1489926046.827196, wheel (-462), gas (65535)
0 1489926046.832185, wheel (-425), gas (65535)
0 1489926046.837182, wheel (-409), gas (65535)
0 1489926046.842218, wheel (-373), gas (65535)
0 1489926046.847237, wheel (-341), gas (65535)
0 1489926046.852184, wheel (-305), gas (65535)
0 1489926046.857179, wheel (-289), gas (65535)
0 1489926046.862212, wheel (-257), gas (65535)
0 1489926046.867240, wheel (-221), gas (65535)
0 1489926046.872186, wheel (-205), gas (65535)
0 1489926046.877133, wheel (-169), gas (65535)
0 1489926046.882187, wheel (-153), gas (65535)
0 1489926046.887303, wheel (-137), gas (65535)
0 1489926046.892194, wheel (-117), gas (65535)
0 1489926046.897194, wheel (-101), gas (65535)
0 1489926046.902202, wheel (-85), gas (65535)
0 1489926046.907202, wheel (-69), gas (65535)
0 1489926046.947190, wheel (-85), gas (65535)
0 1489926046.957139, wheel (-101), gas (65535)
0 1489926046.962175, wheel (-117), gas (65535)
0 1489926046.967155, wheel (-137), gas (65535)
0 1489926046.977094, wheel (-153), gas (65535)
0 1489926046.982157, wheel (-169), gas (65535)
0 1489926046.987256, wheel (-189), gas (65535)
0 1489926046.992154, wheel (-205), gas (65535)
0 1489926046.997150, wheel (-221), gas (65535)
0 1489926047.002061, wheel (-237), gas (65535)
0 1489926047.007258, wheel (-257), gas (65535)
0 1489926047.012071, wheel (-273), gas (65535)
0 1489926047.022148, wheel (-289), gas (65535)
0 1489926047.027160, wheel (-305), gas (65535)
0 1489926047.032141, wheel (-325), gas (65535)
0 1489926047.042180, wheel (-341), gas (65535)
0 1489926047.072045, wheel (-325), gas (65535)
0 1489926047.082190, wheel (-305), gas (65535)
0 1489926047.087304, wheel (-289), gas (65535)
0 1489926047.092195, wheel (-273), gas (65535)
0 1489926047.097183, wheel (-257), gas (65535)
0 1489926047.102206, wheel (-221), gas (65535)
0 1489926047.107299, wheel (-189), gas (65535)
0 1489926047.112196, wheel (-153), gas (65535)
0 1489926047.117182, wheel (-101), gas (65535)
0 1489926047.122210, wheel (-49), gas (65535)
0 1489926047.127179, gas (65535)
0 1489926047.132183, wheel (68), gas (65535)
0 1489926047.137182, wheel (140), gas (65535)
0 1489926047.142214, wheel (188), gas (65535)
0 1489926047.147234, wheel (256), gas (65535)
0 1489926047.152187, wheel (344), gas (65535)
0 1489926047.157191, wheel (412), gas (65535)
0 1489926047.162214, wheel (497), gas (65535)
0 1489926047.167240, wheel (565), gas (65535)
0 1489926047.172175, wheel (653), gas (65535)
0 1489926047.177193, wheel (721), gas (65535)
0 1489926047.182143, wheel (805), gas (65535)
0 1489926047.187310, wheel (910), gas (65535)
0 1489926047.192162, wheel (978), gas (65535)
0 1489926047.197240, wheel (1062), gas (65535)
0 1489926047.202147, wheel (1146), gas (65535)
0 1489926047.207307, wheel (1234), gas (65535)
0 1489926047.212160, wheel (1302), gas (65535)
0 1489926047.217234, wheel (1387), gas (65535)
0 1489926047.222151, wheel (1455), gas (65535)
0 1489926047.227214, wheel (1523), gas (65535)
0 1489926047.232158, wheel (1591), gas (65535)
0 1489926047.237235, wheel (1659), gas (65535)
0 1489926047.242162, wheel (1711), gas (65535)
0 1489926047.247252, wheel (1780), gas (65535)
0 1489926047.252168, wheel (1832), gas (65535)
0 1489926047.257229, wheel (1864), gas (65535)
0 1489926047.262186, wheel (1900), gas (65535)
0 1489926047.267252, wheel (1936), gas (65535)
0 1489926047.272162, wheel (1968), gas (65535)
0 1489926047.277166, wheel (1984), gas (65535)
0 1489926047.282148, wheel (2004), gas (65535)
0 1489926047.287289, wheel (2020), gas (65535)
0 1489926047.307297, wheel (2004), gas (65535)
0 1489926047.312157, wheel (1984), gas (65535)
0 1489926047.317245, wheel (1968), gas (65535)
0 1489926047.322136, wheel (1952), gas (65535)
0 1489926047.327227, wheel (1936), gas (65535)
0 1489926047.332180, wheel (1916), gas (65535)
0 1489926047.337235, wheel (1900), gas (65535)
0 1489926047.342160, wheel (1884), gas (65535)
0 1489926047.347249, wheel (1848), gas (65535)
0 1489926047.352143, wheel (1832), gas (65535)
0 1489926047.357244, wheel (1796), gas (65535)
0 1489926047.362169, wheel (1780), gas (65535)
0 1489926047.367248, wheel (1748), gas (65535)
0 1489926047.372181, wheel (1727), gas (65535)
0 1489926047.377136, wheel (1711), gas (65535)
0 1489926047.382069, wheel (1695), gas (65535)
0 1489926047.407033, wheel (1711), gas (65535)
0 1489926047.412032, wheel (1727), gas (65535)
libusb_transfer failed with status LIBUSB_TRANSFER_STALL (endpoint=0x81)
0 1489926047.426999, wheel (1748), gas (65535)
0 1489926047.431980, wheel (1780), gas (65535)
0 1489926047.437016, wheel (1796), gas (65535)
0 1489926047.441997, wheel (1832), gas (65535)
0 1489926047.447031, wheel (1864), gas (65535)
0 1489926047.451968, wheel (1900), gas (65535)
0 1489926047.457021, wheel (1936), gas (65535)
0 1489926047.461993, wheel (1968), gas (65535)
0 1489926047.467026, wheel (2004), gas (65535)
0 1489926047.471980, wheel (2036), gas (65535)
0 1489926047.477004, wheel (2072), gas (65535)
0 1489926047.481977, wheel (2104), gas (65535)
0 1489926047.487073, wheel (2140), gas (65535)
0 1489926047.491983, wheel (2172), gas (65535)
0 1489926047.497018, wheel (2209), gas (65535)
0 1489926047.501977, wheel (2241), gas (65535)
0 1489926047.507062, wheel (2261), gas (65535)
0 1489926047.511990, wheel (2293), gas (65535)
0 1489926047.517012, wheel (2309), gas (65535)
0 1489926047.521976, wheel (2329), gas (65535)
0 1489926047.527037, wheel (2345), gas (65535)
0 1489926047.531963, wheel (2361), gas (65535)
libusb_transfer failed with status LIBUSB_TRANSFER_STALL (endpoint=0x81)
0 1489926047.541954, wheel (2345), gas (65535)
0 1489926047.547029, wheel (2329), gas (65535)
0 1489926047.551978, wheel (2309), gas (65535)
0 1489926047.557026, wheel (2293), gas (65535)
0 1489926047.561982, wheel (2261), gas (65535)
0 1489926047.567027, wheel (2209), gas (65535)
0 1489926047.571987, wheel (2156), gas (65535)
0 1489926047.576983, wheel (2088), gas (65535)
libusb_transfer failed with status LIBUSB_TRANSFER_STALL (endpoint=0x01)
0 1489926047.581977, wheel (2004), gas (65535)
0 1489926047.587045, wheel (1916), gas (65535)
libusb_transfer failed with status LIBUSB_TRANSFER_ERROR (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_ERROR (endpoint=0x81)
libusb_transfer failed with status LIBUSB_TRANSFER_ERROR (endpoint=0x84)
libusb_transfer failed with status LIBUSB_TRANSFER_ERROR (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_ERROR (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_ERROR (endpoint=0x84)
libusb_transfer failed with status LIBUSB_TRANSFER_ERROR (endpoint=0x81)
libusb_transfer failed with status LIBUSB_TRANSFER_ERROR (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_ERROR (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_ERROR (endpoint=0x84)
libusb_transfer failed with status LIBUSB_TRANSFER_ERROR (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_ERROR (endpoint=0x81)
libusb_transfer failed with status LIBUSB_TRANSFER_ERROR (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_ERROR (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_ERROR (endpoint=0x84)
libusb_transfer failed with status LIBUSB_TRANSFER_ERROR (endpoint=0x81)
libusb_transfer failed with status LIBUSB_TRANSFER_ERROR (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_ERROR (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_ERROR (endpoint=0x84)
libusb_transfer failed with status LIBUSB_TRANSFER_ERROR (endpoint=0x81)
libusb_transfer failed with status LIBUSB_TRANSFER_ERROR (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_ERROR (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_ERROR (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_ERROR (endpoint=0x84)
libusb_transfer failed with status LIBUSB_TRANSFER_ERROR (endpoint=0x81)
libusb_transfer failed with status LIBUSB_TRANSFER_ERROR (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_ERROR (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_ERROR (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_ERROR (endpoint=0x81)
libusb_transfer failed with status LIBUSB_TRANSFER_ERROR (endpoint=0x84)
libusb_transfer failed with status LIBUSB_TRANSFER_ERROR (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_ERROR (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_ERROR (endpoint=0x81)
libusb_transfer failed with status LIBUSB_TRANSFER_ERROR (endpoint=0x84)
libusb_transfer failed with status LIBUSB_TRANSFER_ERROR (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_ERROR (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_ERROR (endpoint=0x81)
libusb_transfer failed with status LIBUSB_TRANSFER_ERROR (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_ERROR (endpoint=0x84)
libusb_transfer failed with status LIBUSB_TRANSFER_ERROR (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_ERROR (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_ERROR (endpoint=0x84)
libusb_transfer failed with status LIBUSB_TRANSFER_ERROR (endpoint=0x81)
libusb_transfer failed with status LIBUSB_TRANSFER_ERROR (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_ERROR (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_ERROR (endpoint=0x84)
libusb_transfer failed with status LIBUSB_TRANSFER_ERROR (endpoint=0x81)
libusb_transfer failed with status LIBUSB_TRANSFER_ERROR (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_ERROR (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_ERROR (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_ERROR (endpoint=0x84)
libusb_transfer failed with status LIBUSB_TRANSFER_ERROR (endpoint=0x81)
libusb_transfer failed with status LIBUSB_TRANSFER_ERROR (endpoint=0x01)
gusb.c:261 submit_transfer: libusb_submit_transfer failed with error: No such device (it may have been disconnected)
libusb_transfer failed with status LIBUSB_TRANSFER_ERROR (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_ERROR (endpoint=0x81)
gusb.c:261 submit_transfer: libusb_submit_transfer failed with error: No such device (it may have been disconnected)
libusb_transfer failed with status LIBUSB_TRANSFER_ERROR (endpoint=0x81)
libusb_transfer failed with status LIBUSB_TRANSFER_ERROR (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_ERROR (endpoint=0x01)
gusb.c:261 submit_transfer: libusb_submit_transfer failed with error: No such device (it may have been disconnected)
gusb.c:261 submit_transfer: libusb_submit_transfer failed with error: No such device (it may have been disconnected)
gusb.c:261 submit_transfer: libusb_submit_transfer failed with error: No such device (it may have been disconnected)
libusb_transfer failed with status LIBUSB_TRANSFER_NO_DEVICE (endpoint=0x01)
hid/hidinput.c:79 write_callback: no such device
1489926055.167966 timer fired 12 times...
gusb.c:261 submit_transfer: libusb_submit_transfer failed with error: No such device (it may have been disconnected)
Exiting
So now I have much fewer STALL errors but many LIBUSB_TRANSFER errors in the end...
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: G25 on PS4

Post by Matlo »

The HUB looks suspicious. Activating FFB adds traffic on the USB bus. Try another HUB if you can. An externally powered one if possible.
Also, make sure to remove dwc_otg.fiq_fsm_mask=0xf from cmdline.txt.
GIMX creator
Anskar
Posts: 8
Joined: Sun Mar 12, 2017 11:27 am

Re: G25 on PS4

Post by Anskar »

Hey Matlo,

once more your advice was spot on! It was the USB HUB. I use the zero4u http://www.uugear.com/product/zero4u/ as a very neat solution for my pi zero (no soldering, no wires). I went through the manual and found out that it has only one transaction translator, which means if I connect any USB 1.1 device it will slow down to USB 1.1 speed. Now guess what my USB keyboard is... Yep, USB 1.1 -.-

So I disconnected the keyboard and let GIMX autostart by default and now it works with FFB and everything, problem solved. I really think the combination of Pi Zero, Zer4u USB HUB and Pro Micro via UART is quite a nice solution as an all-in-one adapter (can even be powered by PS4) so maybe this can help out others who would like to take a similar approach as well...

Again thank you very much for your help!
Post Reply