Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Burnt fan replacement

Featured Replies

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.

 

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 by JeremyA
Add hardware 5V option

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

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.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.