Armik wrote:anomeome wrote:@Armik
On a 4.4 build that would be the expected location of the fan device. What does the tree look like? Is pwm1 to be found? What build did you flash? The default fan script has the two known locations and it test for which to use.
the fan does not work, even when booting, firmware compiled himself
@Armik, could you please cut/paste output from running each of the following commands on your router;
uname -a
cat /etc/openwrt_release
cat /tmp/sysinfo/board_name
cat /tmp/sysinfo/model
opkg list | grep hwmon
The fan is working perfectly on my build of DD R47968 with kernel 4.4rc5, running on WRT1900AC V1 hardware
Here is what the output looks like from my router.
uname -a
root@OpenWrt:~# uname -a
Linux OpenWrt 4.4.0-rc5 #3 SMP Thu Dec 24 06:51:02 MST 2015 armv7l GNU/Linux
cat /etc/openwrt_release
root@OpenWrt:~# cat /etc/openwrt_release
DISTRIB_ID='OpenWrt'
DISTRIB_RELEASE='Bleeding Edge'
DISTRIB_REVISION='r47968'
DISTRIB_CODENAME='designated_driver'
DISTRIB_TARGET='mvebu/generic'
DISTRIB_DESCRIPTION='OpenWrt Designated Driver r47968'
DISTRIB_TAINTS='no-all busybox'
cat /tmp/sysinfo/board_name
root@OpenWrt:~# cat /tmp/sysinfo/board_name
armada-xp-linksys-mamba
cat /tmp/sysinfo/model
root@OpenWrt:~# cat /tmp/sysinfo/model
Linksys WRT1900AC
opkg list | grep hwmon
root@OpenWrt:~# opkg list | grep hwmon
kmod-hwmon-core - 4.4-rc5-1
kmod-hwmon-pwmfan - 4.4-rc5-1
kmod-hwmon-tmp421 - 4.4-rc5-1
(Last edited by wrtpat on 27 Dec 2015, 21:29)