Page 1 of 1
PS4 + BT error messages
Posted: Mon Mar 16, 2015 11:09 am
by CrendKing
Hi Matlo. I'm using GIMX using the PS4 + Bluetooth mode. Occasionally I receive these two error messages. Both virtual machine and real OS show the messages. The OS I use is Linux Mint 17.1.

When this shows up, the input is out of control, but usually after a while it recovers. Restart gimx also fixes temporarily.

Rare to happen, but as you can see, gimx terminates when it happens.
I wonder if it is lack of memory, CPU busy, or bluetooth device failure. Thanks!
Re: PS4 + BT error messages
Posted: Mon Mar 16, 2015 1:05 pm
by Matlo
Hi,
Which GIMX version are you using?
I think this might be due to the inactivity timeout: after 60s the PS4 puts the connection into sort of a sleeping mode. I've done a few tweaks to deal with this, but I'm not sure it was enough.
Are you running gimx as root user?
It's a bad thing to use root priviledges when it's not needed.
Re: PS4 + BT error messages
Posted: Tue Mar 17, 2015 3:15 am
by CrendKing
I'm using 3.5.
The problems happens when I'm continuously playing the game. Do you mean the DS4 will sleep if there is no button pressed in 60s? Also, the interval is not strictly 60s, but more random fashion. Sounds like a bug.
I'm running as root only in virtual machine because if anything happen I can simply revert to a snapshot. I ran as normal user when playing with GIMX in LiveCD sessions. Is root the cause of problem?
BTW, how do you tell I'm running as root in the images? That's amazing!
Re: PS4 + BT error messages
Posted: Tue Mar 17, 2015 12:23 pm
by Matlo
I believe your issue is not related to the inactivity timeout which makes the PS4 slow down the bluetooth connection.
Did you try not to touch any control during 60s? How do controls work after this?
Running as root is not the cause of the problem.
CrendKing wrote:BTW, how do you tell I'm running as root in the images? That's amazing!
Red color + sharp character (#) in your terminal.
Re: PS4 + BT error messages
Posted: Thu Apr 23, 2015 3:16 am
by toupw
Similar problem too…
- PS4
- GIMX 3.5
- Pi2 Model B/Raspbian
- BTA-401(CSR8510)
Every time i connected ps4 with GIMX, the error will show after few seconds(about 5 seconds).
Detailed:
1. Click the start button on GIMX
2. Pushed ps button on ds4 for pairing
3. The light of this ds4 will up and ps4 will show the login screen
4. GIMX console will show `send: resource temporarily unavailable`
Re: PS4 + BT error messages
Posted: Thu Apr 23, 2015 6:40 am
by Matlo
What kernel does the Rpi run? You can get it typing the following command in a terminal:
Could you please try on a PC with Ubuntu 14.04? Use a live usb session if you don't want to install it.
Re: PS4 + BT error messages
Posted: Thu Apr 23, 2015 2:13 pm
by toupw
Code: Select all
Linux raspberrypi 3.18.11-v7+ #780 SMP PREEMPT Mon Apr 20 14:59:10 BST 2015 armv7l GNU/Linux
Ok, i will give a try on Ubuntu.
Re: PS4 + BT error messages
Posted: Sun Apr 26, 2015 5:28 am
by toupw
It works on Ubuntu, i can control my ps4 via computer, but this error still will occured after few minutes when GIMX started.
Code: Select all
Linux ubuntu 3.16.0-30-generic #40~14.04.1-Ubuntu SMP Thu Jan 15 17:43:14 UTC 2015 x86_64 x86_64 GNU/Linux
Re: PS4 + BT error messages
Posted: Sun Apr 26, 2015 10:28 am
by Matlo
Does it happen while playing, or only after some inactivity?
Re: PS4 + BT error messages
Posted: Sun Apr 26, 2015 1:46 pm
by toupw
While playing