These are the steps I take (BT Dongle is a ASUS USB-BT400):
ubuntu@Ubuntu-pc:~$ cd GIMX/
ubuntu@Ubuntu-pc:~/GIMX$ sudo ./gimx-ps4-helper.sh
Unplug any Dualshock 4.
Unplug any teensy.
Unpug the bluetooth dongle.
Then press enter.
Plug the bluetooth dongle.
The bluetooth dongle address is AA:AA:AA:AA:AA:AA.
The bluetooth hci number is 0.
Plug the DS4 with a USB cable.
The DS4 address is BB:BB:BB:BB:BB:BB.
Unplug the DS4.
Plug the teensy.
Unplug the teensy.
Plug the teensy to the PS4, and wait a few seconds.
Then plug the teensy back to the PC.
The PS4 address is CC:CC:CC:CC:CC:CC.
Everything was successful: setting dongle link keys.
To run gimx, type:
gimx -t DS4 -c config.xml -h 0 -b CC:CC:CC:CC:CC:CC
At this point I switch off the PS4
ubuntu@Ubuntu-pc:~/GIMX$ sudo service bluetooth stop
bluetooth stop/waiting
ubuntu@Ubuntu-pc:~/GIMX$ sudo hciconfig hci0 up pscan
ubuntu@Ubuntu-pc:~/GIMX$ gimx -t DS4 -c PS3_Battlefield3_McKack.xml -h 0 -b CC:CC:CC:CC:CC:CC
option -t with value `DS4'
option -c with value `PS3_Battlefield3_McKack.xml'
option -h with value `0'
option -b with value `CC:CC:CC:CC:CC:CC'
using default refresh period: 10.00ms
Press PS button and the PS4 starts. K/M is not working on PS4 only the DS4 works.
With a few tries before this I also got this error but not any more:
Timer fired several times...
In some of my previous experiments to try and get it to work I cloned the DS4 address onto this BT dongle and then were able to send data to PS4 and this started the PS4 so the BT dongle can talk to the PS4
GIMX - K/m not connecting with PS4
Re: GIMX - K/m not connecting with PS4
Does the DS4 send controls to the PS4?foxy wrote: Press PS button and the PS4 starts. K/M is not working on PS4 only the DS4 works.
At this point the DS4 is supposed to connect to the PC, not the PS4.
Is the address of the dongle still the same as the address of the DS4?foxy wrote:I cloned the DS4 address onto this BT dongle
If yes, you have to revert the address of the dongle.
GIMX creator
Re: GIMX - K/m not connecting with PS4
Yes if i switch the ds4 on it starts the ps4 like normal and i can use it like normal. how do i know if the ds4 connects to the pc?Matlo wrote:
Does the DS4 send controls to the PS4?
Is the address of the dongle still the same as the address of the DS4?
If yes, you have to revert the address of the dongle.
the address is not the same as die ds4 it is unique
Re: GIMX - K/m not connecting with PS4
This means that either the pairing failed (very unlikely) or you wired the DS4 to the PS4 (i.e. paired the DS4 with the PS4).foxy wrote:Yes if i switch the ds4 on it starts the ps4 like normal and i can use it like normal.
GIMX creator
Re: GIMX - K/m not connecting with PS4
before i made this screen dump i started again with the helper script and did not have the ds4 connected to ps4 with usb before, during and after. the ps4 was already on started with the ds4Matlo wrote:This means that either the pairing failed (very unlikely) or you wired the DS4 to the PS4 (i.e. paired the DS4 with the PS4).foxy wrote:Yes if i switch the ds4 on it starts the ps4 like normal and i can use it like normal.
Re: GIMX - K/m not connecting with PS4
Make sure to turn off the DS4 before running the helper script.
And don't turn off the PS4 after running the helper script.
And don't turn off the PS4 after running the helper script.
GIMX creator
Re: GIMX - K/m not connecting with PS4
Ok did not work.foxy wrote:before i made this screen dump i started again with the helper script and did not have the ds4 connected to ps4 with usb before, during and after. the ps4 was already on started with the ds4Matlo wrote:This means that either the pairing failed (very unlikely) or you wired the DS4 to the PS4 (i.e. paired the DS4 with the PS4).foxy wrote:Yes if i switch the ds4 on it starts the ps4 like normal and i can use it like normal.
Here is what i did.
- Start PS4 with DS4 connected.
- Turned the DS4 off
- Run helper script
- Plug in BT dongle when asked, obtains address and I leave it plugged in
- Plug in DS4 to pc, light turns yellow (charging) and unplug when script tells me to. DS4 is still off and not connected to anything, it obtains DS4 address
- Plug in Teensy to PC
- Plug in Teensy to PS4
- Plug in Teensy to PC, obtain PS4 address and obtain the gimx line to execute
- Stop BT service
- Start BT service
- Run gimx line with changed configuration file
Displays all the "option" info
Then I press the PS button on the DS4 and the light blinks blue very quickly and goes off. I then press it again, the blue light comes one and stays on and then it gives the following error on ubuntu console: "no ps4/ds4 bdaddr found"
Re: GIMX - K/m not connecting with PS4
Add "--status" to the command line and post the entire gimx command output.
GIMX creator
Re: GIMX - K/m not connecting with PS4
Unplug any Dualshock 4.
Unplug any teensy.
Unpug the bluetooth dongle.
Then press enter.
Plug the bluetooth dongle.
The bluetooth dongle address is 00:02:72:YY:YY:YY.
The bluetooth hci number is 0.
Plug the DS4 with a USB cable.
The DS4 address is A4:15:66:XX:XX:XX.
Unplug the DS4.
Plug the teensy.
Unplug the teensy.
Plug the teensy to the PS4, and wait a few seconds.
Then plug the teensy back to the PC.
The PS4 address is B0:05:94:ZZ:ZZ:ZZ.
Everything was successful: setting dongle link keys.
To run gimx, type:
gimx -t DS4 -c config.xml -h 0 -b B0:05:94:ZZ:ZZ:ZZ
ubuntu@Ubuntu-pc:~/GIMX$ sudo service bluetooth stop
bluetooth stop/waiting
ubuntu@Ubuntu-pc:~/GIMX$ sudo hciconfig hci0 up pscan
ubuntu@Ubuntu-pc:~/GIMX$ gimx -t DS4 -c PS4_KillZoneShadowFall.xml -h 0 -b B0:05:94:ZZ:ZZ:ZZ --status
status flag is set
listening on psm: 0x0001
listening on psm: 0x0011
listening on psm: 0x0013
using default refresh period: 10.00ms
A device name is empty. Multiple mice and keyboards are not managed.
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
At this point nothing happened when I pressed the PS button, led flashed blue for 10 or so seconds and nothing. Followed by few keystrokes to test, but nothing.
0 1397938283.414384, lstick x (128)
0 1397938283.574295
0 1397938283.594293, lstick x (-128)
0 1397938283.714205
0 1397938284.684293, lstick x (-128)
0 1397938284.794297
0 1397938284.894295, lstick y (128)
Pressed PS button again, light flashed like 2-3 times very quickly and no light after that. Followed by few keystrokes to test, but nothing.
accepted connection from A4:15:66:XX:XX:XX (psm: 0x0001)
connecting with hci0 = 00:02:72:YY:YY:YY to B0:05:94:ZZ:ZZ:ZZ psm 0x0011
connecting with hci0 = 00:02:72:YY:YY:YY to B0:05:94:ZZ:ZZ:ZZ psm 0x0013
0 1397938293.174295, lstick x (128)
0 1397938293.294297
0 1397938293.734298, lstick x (-128)
0 1397938293.934295
0 1397938294.674297, lstick y (-128)
0 1397938294.784293
Pressed PS button again, light flashed like 2-3 times very quickly and no light after that. Followed by few keystrokes to test, but nothing.
accepted connection from A4:15:66:XX:XX:XX (psm: 0x0001)
no ps4/ds4 bdaddr found
0 1397938314.934296, lstick x (-128)
0 1397938315.064345
0 1397938315.164295, lstick x (128)
0 1397938315.174295, lstick x (128), lstick y (128)
0 1397938315.194254, lstick x (128)
0 1397938315.264292
0 1397938315.394292, lstick y (128)
0 1397938315.474296
Unplug any teensy.
Unpug the bluetooth dongle.
Then press enter.
Plug the bluetooth dongle.
The bluetooth dongle address is 00:02:72:YY:YY:YY.
The bluetooth hci number is 0.
Plug the DS4 with a USB cable.
The DS4 address is A4:15:66:XX:XX:XX.
Unplug the DS4.
Plug the teensy.
Unplug the teensy.
Plug the teensy to the PS4, and wait a few seconds.
Then plug the teensy back to the PC.
The PS4 address is B0:05:94:ZZ:ZZ:ZZ.
Everything was successful: setting dongle link keys.
To run gimx, type:
gimx -t DS4 -c config.xml -h 0 -b B0:05:94:ZZ:ZZ:ZZ
ubuntu@Ubuntu-pc:~/GIMX$ sudo service bluetooth stop
bluetooth stop/waiting
ubuntu@Ubuntu-pc:~/GIMX$ sudo hciconfig hci0 up pscan
ubuntu@Ubuntu-pc:~/GIMX$ gimx -t DS4 -c PS4_KillZoneShadowFall.xml -h 0 -b B0:05:94:ZZ:ZZ:ZZ --status
status flag is set
listening on psm: 0x0001
listening on psm: 0x0011
listening on psm: 0x0013
using default refresh period: 10.00ms
A device name is empty. Multiple mice and keyboards are not managed.
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
joystick not found: Sony Computer Entertainment Wireless Controller 0
At this point nothing happened when I pressed the PS button, led flashed blue for 10 or so seconds and nothing. Followed by few keystrokes to test, but nothing.
0 1397938283.414384, lstick x (128)
0 1397938283.574295
0 1397938283.594293, lstick x (-128)
0 1397938283.714205
0 1397938284.684293, lstick x (-128)
0 1397938284.794297
0 1397938284.894295, lstick y (128)
Pressed PS button again, light flashed like 2-3 times very quickly and no light after that. Followed by few keystrokes to test, but nothing.
accepted connection from A4:15:66:XX:XX:XX (psm: 0x0001)
connecting with hci0 = 00:02:72:YY:YY:YY to B0:05:94:ZZ:ZZ:ZZ psm 0x0011
connecting with hci0 = 00:02:72:YY:YY:YY to B0:05:94:ZZ:ZZ:ZZ psm 0x0013
0 1397938293.174295, lstick x (128)
0 1397938293.294297
0 1397938293.734298, lstick x (-128)
0 1397938293.934295
0 1397938294.674297, lstick y (-128)
0 1397938294.784293
Pressed PS button again, light flashed like 2-3 times very quickly and no light after that. Followed by few keystrokes to test, but nothing.
accepted connection from A4:15:66:XX:XX:XX (psm: 0x0001)
no ps4/ds4 bdaddr found
0 1397938314.934296, lstick x (-128)
0 1397938315.064345
0 1397938315.164295, lstick x (128)
0 1397938315.174295, lstick x (128), lstick y (128)
0 1397938315.194254, lstick x (128)
0 1397938315.264292
0 1397938315.394292, lstick y (128)
0 1397938315.474296
Re: GIMX - K/m not connecting with PS4
I've no idea about what's happening there. I've tested the script many times without any issue.
What Ubuntu version are you using?
What Ubuntu version are you using?
GIMX creator