-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EMC2301 fan controller not recognized #221
Comments
Hi Nico! It does indeed look like your EMC2301 is soldered correctly (on the I²C side, anyway!) but there might be some confusion caused by 2.1.0's bump to the latest Linux kernel. A few notes that may help:
Regards, |
Thanks a lot Sam for all the information, that really worked! :). Yes I can control the fan - and finally see the slider in the webfrontend (to be honest, I did not check and was not even aware that something should be there, that was a nice surprise!). I can confirm everything works and I can also confirm the oddities you menitioned with the TPi 2 builtin temperature sensors being missing and the EMC2301 having taken the slot of hwmon0. If you have any idea or a fix to test at some point, just let me know :). Thanks a lot, |
Thank you @CFSworks I added a blog post to give more details for people who want to do your little "hack" :) https://www.nico-maas.de/?p=2702 |
Dear @CFSworks - thanks for getting the EMC2301 into the firmeware with #125 :).
I just added a EMC2301 to my TPi 2.4 and booted the board up, sadly there was no hwmon1 entry.
Looking at i2cdetect -y0, it seems to recognize the chip with its main address at 0x2f and its alert at 0x0c.
It also seems to have loaded something as 0x2f is used by the kernel, but looking at lsmod, there seems to be no module loaded?
However, the kernel still seems to have the module builtin...
Any ideas on how to get it working? Currently running tp2-v2.1.0-RC2-7-g0cd2260c which is the latest firmeware built from the last commit as of now ( 0cd2260 )
Additional info:
I saw that there is an entry
````/sys/class/i2c-dev/i2c-0/device/0-002f/hwmon/hwmon0````` which also includes a fan1_input which seems to have a correct amount of rpm for the attached fans. But the system does not seem to integrate this into hwmon1 which does not appear and there seems to be no way of controlling the EMC2301. It does also not show up in dmesg.
Thank you,
Nico
The text was updated successfully, but these errors were encountered: