Cooling Fan (3705) wiring to connector

As I understand this post, the linux images are not ready to manage the fan: LibreELEC for Khadas EDGE (RK3399)
I tested with android and the fan is running well, so it’s not a hardware issue.