Laser module pinout


I like to use my old laser module on a DIY MPCNC machine for doing engraving on a wide greater scale (100cmx160cm), using 3rd party software. What is the pinout of the 4-pin connector?

The very basic setup will be nothing more than a manual on/off switch with a CNC program generated gcode, the next more “sophisticated” setup will get a software activated on/off switch.