Page 1 of 1

Raspberry pi zero W with gimx

Posted: Wed Aug 09, 2017 10:15 pm
by ghecko78
Hello all :)

I want to use my raspberry pi zero W with gimx on my ps4,
It was possible to use a xbox one controller bluetooth connected with the raspberry pi and the raspberry pi connected on the ps4 on the usb OTG in serial mode?
Now, the output like this :
sudo /usr/bin/gimx -p /dev/ttyGS0 -c Dualshock4.xml --nograb controller #1: option -p with value `/dev/ttyGS0'
now reading arguments for controller #2
global option -c with value `Dualshock4.xml'
grab flag is unset
can't read packet header
can't read packet header
can't read packet header
can't read packet header
can't read packet header
can't read packet header
can't read packet header
can't read packet header
can't read packet header
can't read packet header
gimx.c:208 main: no adapter detected

the error message no adaptater detected means no controller was found on the raspberry pi, or no ps4 found?

Thank's you in advanced :)

Re: Raspberry pi zero W with gimx

Posted: Thu Aug 10, 2017 10:05 pm
by Matlo
Using the OTG port is not supported. The OTG port in serial mode is no way acting like a DS4 controller.

Re: Raspberry pi zero W with gimx

Posted: Mon Aug 14, 2017 9:11 am
by ghecko78
Hello,

If I used libcomposite?

Thanks you

Re: Raspberry pi zero W with gimx

Posted: Mon Aug 14, 2017 10:43 pm
by ghecko78
It's possible to used a xbox one controller over bluetooth with gimx?
Any config example?
When I launch "gimx -c xboxone.xml --status -h 0 -t DS4" I have no output when a press a key on the xbox one controller.
Thank you in advanced

Re: Raspberry pi zero W with gimx

Posted: Tue Aug 15, 2017 8:17 am
by Matlo
Your command misses the PS4 bdaddr, that should be added at the end.
https://gimx.fr/wiki/index.php?title=Co ... th_.2B_PS4

And the Xbox One controller can only be used wired.