So, I builted the usb adapter with teensy 2.0 and cp21. The teensy was flashed clean, no errors. CP is recon by win10.
I downloaded logitech driver for g25 and it works well, it does the autocalibration everytime i plug in the pc.

So I did this way:
I plug first the cp21, then the teensy on the ps4 (in save energy mode, orange light). Launch gimx and loaded the config i found for g25
this is the check with both ds4 and g25 plugged

I removed ds4 turn on the ps4 and replug the pad.
when I push start this is the log:
option -l with value `log.txt'
option -c with value `LogitechG25_W10_G29.xml'
option -p with value `COM3'
status flag is set
subpos flag is set
force_updates flag is set
native mode is already enabled for HID device \\?\hid#vid_046d&pid_c299#7&1796154e&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030} (PID=c299)
ReadFile failed: timeout expired.
can't read packet header
No controller detected.
adapter_detect failed
This is with non w10 config. seems ok but didn't work

option -l with value `log.txt'
option -c with value `LogitechG25_G29.xml'
option -p with value `COM3'
grab flag is unset
status flag is set
subpos flag is set
force_updates flag is set
native mode is already enabled for HID device \\?\hid#vid_046d&pid_c299#7&1796154e&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030} (PID=c299)
ReadFile failed: timeout expired.
can't read packet header
No controller detected.
adapter_detect failed
I had try to invert the tx/dx pins but nothing is changed.
Thanks!