Can you share the codes needs for thermal sensor node? Or should I use the same i2c3 definition from vim3?
We tested fan script in systemd using fan bg but it fails. So we tried fan monitor and it works fine. We have made arch/manjaro pkg and it will be installed by default in the next built. Can you advice why fan bg doesnt work as systemd service?
User can install khadas-utils using pacman -S khadas-utils and start the service and enable in on boot.
Hi @hyphop Hyphop,
I have tried to patched this i2c3 definition in Mainline Kernel 5.6-rc1 but it doesnt seem to work after compiling.
I have CONFIG_I2C_MESON=y already.
patch is applied to https://github.com/torvalds/linux/blob/master/arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi this already have #include <dt-bindings/gpio/meson-g12a-gpio.h> binding.
Wifi seems to work fine and we like to use Mainline for most of the Device we support at Manjaro Linux, as it is easier to Maintain 1 Kernel package for all the devices.
Other than Wifi we have stable HW Accel with LLVMPile using mesa-git without the need of fbturbo. We also have GLES qt versions which can be utilised for Desktop Accel.
I received my VIM3 Pro on NYE, and it’s a very nice device. I got it with the new heatsink and fan. I ended up flashing u-boot mainline and now have Manjaro running on emmc. Kernel 5.10.1-2
It’s very nice and I want to leave it on 24/7, but I notice that the fan does not turn on (unlike when in Android).
I read the thread above, and also the documentation on setting up the fan, and basically I have this:
I’m not a computer guru, but I have used Linux for a couple of years. It looks like the fan is not detected in the above, but 18 is there… could someone help me out with setting the fan up for Manjaro? Thanks
I think I might have missed it in linux-vim
Thank you for informing.
I will put a new build with mcu enabled fan will only run once cpu reaches 80°c just for information.
Update: Put a new kernel to build with MCU enabled wiil upload it to unstable once it is built and tested.
Thank you for doing this so quickly. I installed the package, kernel was successfully updated and boots as before, however the output fan l command still has not changed. Also,
Yes, I have the regular heatsink and also the block which passively cools through the bottom metal plate. I have the VIM3 sitting on a frying pan to help it cool
In general, I will say this, if the OS itself is inclined to heat, 80 ° is not critical of course, the main thing is that the processor frequency is not reset. You better set your vim to 12 mm. fan, there are silent fans.
Haha, I like your extended heatsink, I do something similar by putting station p1 device underneath as it is full of heatsink.
You can monitor the temp with cpu-temp-speed
Just install this pkg and run it.
You can also try to do a stress test by using stress pkg and remove the pan and let the cpu reach 80°c and don’t worry arm cpu can handle upto 110° c
Btw vim3 doesn’t really get too hot even when I compile kernel or kodi for hours at full load, so idk why you think your device is getting heated alot, don’t think much I run my GT king pro 24*7 on manjaro as my build server without any fan and with high ambient temperature still it can run under 80°c.
Regarding the fan not running, I will try to do some test and see if it really doesn’t work.
Thank you. I can trigger the fan now manually by writing to /sys/devices/virtual/thermal/cooling_device3/cur_state. So the driver sounds like it is fine, not sure why it didn’t work before. Still cannot change the trip point though due to sysfs permissions. Trying stress test, fan kicks in beautifully at 80 C.