Arvo Posted January 5, 2023 Posted January 5, 2023 After 2+ years of hard work the fan of my M4V2 (in metal case with NVMe adapter) has stopped with specific burning smell. I ordered the same fan model (https://www.aliexpress.com/item/1005003989901083.html), replaced it and there is no rotation at all. Fan has been controlled by bash script from here: Has anybody got the same story? How it has resolved? My suspicions are on NVMe adapter, through which fan is powered - some draft scheme can be found, showing 5V/12V convertor and P-MOS switch: https://wiki.friendlyelec.com/wiki/index.php/NVME_SSD_Adapter_for_M4 SBC in this case works well w/o fan (~45 degrees of Celsius) during winter, but it is required under heavy load, especially in summer. Due to this additional adapter fan is not detected by pwmcontrol or other means. 0 Quote
JeremyA Posted February 1, 2023 Posted February 1, 2023 (edited) I am searching for the cause of my m4v2 fan not running (and from the lack of dust it's possible it's never been running). I have the metal case and NVME adpator board. The fan is controlled by channel PWM1 in the NVME adaptor. I checked my fan connector and found 0V which I assume means it's running at 0% PWM or the mosfet has failed. I have attempted to use the code from https://cgomesu.com/blog/Nanopi-m4-mini-nas/#pwm-fan-controller and got Quote #################################################### # STARTING PWM-FAN SCRIPT # Date and time: Thu 02 Feb 2023 06:30:50 AWST #################################################### [pwm-fan] [INFO] Checking requisites. [pwm-fan] [INFO] All commands are accesible. [pwm-fan] [INFO] Working with the sysfs interface for the 'pwmchip0'. [pwm-fan] [INFO] For reference, your 'pwmchip0' supports '1' channel(s). [pwm-fan] [ERROR] It seems the pin is already in use. Cannot write to export. [pwm-fan] [INFO] Cleaning up. [pwm-fan] [WARNING] There is no channel to disable. #################################################### # END OF THE PWM-FAN SCRIPT # MESSAGE: 'pwmchip0' was busy while setting the channel. #################################################### That's as far as I have got. I imagine there is some process already in place to control that PWM pin? But I don't know how to identify it. There is of course the option to hard wire the fan into the 5V supply on the main I/O connector. This will run 24/7 at reduced speed, which by reports is very quiet but effective. Edited February 1, 2023 by JeremyA Add hardware 5V option 0 Quote
JeremyA Posted February 1, 2023 Posted February 1, 2023 I found this post to be very helpful https://forum.armbian.com/topic/7511-nanopi-m4/?do=findComment&comment=92709 The code works well. However, edit the low temperature to something under room temperature so you can check the fan starts. To check this Run the program in the compile directory before you install it as a service. Then put it the temperature back to some reasonable figure and install it as a service and enable the service. The new fancontrol is installed in /usr/bin/fancontrol I found another file /usr/sbin/fancontrol. That seems to be a shell script. It may be helpful to rename it to avoid interfering with the new fancontrol 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.