Raspberry Pi3 + DIY USB + G27=Perfect only for a few minutes

Need help? Ask here and someone will help
dermax93
Posts: 11
Joined: Mon Apr 25, 2016 4:59 pm

Re: Rasberry Pi3 + DIY USB + G27=Perfect only for a few minu

Post by dermax93 »

I have the exact same problem. did the update of the RPi and booted only into console to save resources on the Pi, but nothing after 1-3 minutes it disconnects and the power status led on the G25 starts to blink. Really don't know what's wrong with it.

How can I get a log to post here on the forum out of the gimx software, because in the console it just states this "LIBUSB_TIMEOUT..." Error message. but as described above this is not that bad on the Pi.

Best regards, Max.
Dasato
Posts: 40
Joined: Thu Apr 07, 2016 6:54 pm

Re: Rasberry Pi3 + DIY USB + G27=Perfect only for a few minu

Post by Dasato »

You can get the log launching GIMX from GUI and selecting Log as output. Then you can get the file generated at /home/pi/gimx-launcher/log or /home/pi/.gimx/log, I don't remember exactly the location.

I didn't try anything else, If you get it, please cooment the solution in this post.

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

Re: Rasberry Pi3 + DIY USB + G27=Perfect only for a few minu

Post by Matlo »

Add "--log file.txt" at the end of the command line.
The generated file is in the /home/pi/.gimx/log directory.
GIMX creator
dermax93
Posts: 11
Joined: Mon Apr 25, 2016 4:59 pm

Re: Rasberry Pi3 + DIY USB + G27=Perfect only for a few minu

Post by dermax93 »

Code: Select all

0 1461764489.520707, wheel (-4062), gas (44294)
0 1461764489.525742, wheel (-4034), gas (44824)
0 1461764489.530700, wheel (-4018), gas (44824)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01) //this is when the wheel fails and no inputs are on the PS4
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_TIMED_OUT (endpoint=0x01)
libusb_transfer failed with status LIBUSB_TRANSFER_ERROR (endpoint=0x84)        //then i disconnect the DS4 to finally crash gimx, otherwise it will not crash
So guys, thanks for the hint with the log here it is, i made the two comments in the code. funny thing is the LIBUSB_TIMED_OUT happens sometimes before that in the log too but there it doesn't end the input from the wheel..

best regards
Dasato
Posts: 40
Joined: Thu Apr 07, 2016 6:54 pm

Re: Rasberry Pi3 + DIY USB + G27=Perfect only for a few minu

Post by Dasato »

Exactly the same behavior that i described
dermax93
Posts: 11
Joined: Mon Apr 25, 2016 4:59 pm

Re: Rasberry Pi3 + DIY USB + G27=Perfect only for a few minu

Post by dermax93 »

Exactly the same behavior that i described
I also did all the updates and even a reinstall of raspbian with the "tested" version from last october, nope that kernel didn't even let me start the program, now i'm on the version matlo posted with the "rpi-update" command still nothing, even now there is a little bit better force feedback than before, idk why but the center is a bit less dead and feels more active.

hope we can get a solution here ;) i don't want to use a laptop beside my racing rig ;)

@matlo i donated to your paypal yesterday so you can keep up the good work!

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

Re: Rasberry Pi3 + DIY USB + G27=Perfect only for a few minu

Post by Matlo »

@dermax93

Thanks for the donation. Could you please post a full log file please?
GIMX creator
Dasato
Posts: 40
Joined: Thu Apr 07, 2016 6:54 pm

Re: Rasberry Pi3 + DIY USB + G27=Perfect only for a few minu

Post by Dasato »

In my first post you have a log.

http://pastebin.com/rmPwwg23

Sometimes there are much more LIBUSB_TRANSFER_TIMED_OUT errors. only when I unplug USB wheel I get the LIBUSB_TRANSFER_ERROR message. The same situation described by dermax93 I guess.
dermax93
Posts: 11
Joined: Mon Apr 25, 2016 4:59 pm

Re: Rasberry Pi3 + DIY USB + G27=Perfect only for a few minu

Post by dermax93 »

I did upload a whole log to pastebin you can find it here Pastebin Log File.

im on this version of Jessie:

Code: Select all

i@raspberrypi ~ $ uname -a
Linux raspberrypi 4.1.21-v7+ #873 SMP Mon Apr 11 18:22:10 BST 2016 armv7l GNU/Linux
I did no modifications at all to the software to improve performance whatsoever...

kind regards.
Dasato
Posts: 40
Joined: Thu Apr 07, 2016 6:54 pm

Re: Rasberry Pi3 + DIY USB + G27=Perfect only for a few minu

Post by Dasato »

Once you get the LIBUSB_TRANSFER_TIMED_OUT do you desconnect the Wheel?? Then LIBUSB_TRANSFER_ERROR appears??
Post Reply