I used your dtb only from the link I shared above. By using that dtb the i2c node was lost, but when I use the one I compiled it shows all 3 nodes.
I will try again and check.
Update: It worked on my dtb. Great. Works like a charm. Nice fan codes. @hyphop. I have this pkg ready for arch/manjaro with your fan script and have added the i2c3 definition patch in the dtb from next built onwards. And will put fan bg default in autostart.
Update 2: the script works with mainline dtb also without the i2c3 definition patch.
Update 3: worked fine with vim1 v14 but only on manual mode. Bg cannot get temp.
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