Both brands are misusing the USB-A port for something it wasn’t designed for, so there’s no standard.
Here’s a great method to find the stepper driver windings:
If you have the Gweike rotary, you can plug in the male USB-A into the Atomstack R8 Rotary female USB-A.
Turn one of the motors. If the wiring is the same, the other one will make the same rotation.
The USB-A rotary output of the Gweike G2 is wired 1-2 winding 1, and 3-4 winding 2.
This thread is related: