Hello,
We are using IXORA V1.2A and Apalis iMX8, trying to enable the Fan (Carrier Board accessories kit) connected to X6
I cannot export the FAN control GPIO LSIO.GPIO03.IO28 >> 412
receive write error: Device or resource busy
I build the image following Build a Reference Image with Yocto Project/OpenEmbedded
Ixora’s fan is switching ON automatically when temperature reach a certain point. If you wish to control it “manually” you need to modify a Device tree by removing this node and adding &pinctrl_gpio8 to the pinctrl-0 group.
hello alex,
thanks for the help, I was able to export the gpio, but when I set it High the pin on the board (X27.20) still 0 volt
and the fan is not working, am I controlling it right?
echo 412 > /sys/class/gpio/export
echo high > /sys/class/gpio/gpio412/direction
Both Ixora boards (v1.1A and v1.2A) have the same fan circuits. Looks like it’s a HW issue. Are you using same fan? Can you check a voltage on pin2 of X6 while manipulating GPIO8 (LSIO.GPIO03.IO28) ?
You can try to shorten R36 pins pins by tweezers. If HW works OK the fan should start.