Fan Control - Apalis iMX6, IXORA Carrier Board

on Apalis T30 and Ixora carrier board, we can connect a FAN to header X6 of Ixora and then we can control the pin number “129” to turn it on and off.
It clearly has mentioned in GPIO (Linux) page.

I’m just wondering if we can do the same for controlling the FAN on Apalis iMX6 module and Ixora when a FAN is connected to X6 Header!
If yes, what is the pin number to control?

if not, can you please advise what is the best approach to control a FAN, can we use header X6 at all?

Is there any particular reason for you to set this question on private? With private questions there is no way for the community to provide feedback or profit from any feedback.

According to the Apalis iMX6 data sheet page 13 Apalis GPIO8 which controls the fan on Ixora is the i.MX 6 ball GPIO06 which according to the following article would be number 6. So you may enable the fan as follows:

root@apalis-imx6:~# echo high > /sys/class/gpio/gpio6/direction

You are very welcome.

May I put this question to public for others to be able to see?

I just did that before to make the GPIO6 High and got no result!!!
After you approved that the pin is “6”, I double checked and have found that my fan GND and +5 had pinned wrongly.

Fixed that and it works just fine.
Thank you.

of course mate…

Thanks, sir.

Hello all,
I have created a GITHUB repository holding a setup and configuration for CPU Temperature Based FAN Control for Apalis T30 and iMX6.

On above mentioned repository, there are two subfolders for each module which create a deb package for easy installation, then runs it as service to control the FAN connected to header X6.
The configuration can be changed base on your requirements. Please visit the GITHUB page and readme file for more details.

If you are using Domotics for your Automation system, Apalis T30 one also has a function to report and update the virtual sensor in Domotics.

Hope you find it useful.