Did you try enabling the fan in the firmware? If its turned off in Marlin the software wont be able to control it.