Jump to content

SergiiG

Members
  • Posts

    5
  • Joined

  • Last visited

  1. Hi guys, This topic is very old now, but maybe someone has time to help me to find the issue with a fan for SATA HAT. I was using simple 5V fan for more than year, attached to 40-pin. Now I bought 12v fan and want to have more control via PWM, but fan does not respond. I have NanoPi M4 version 1 with legacy kernel 4.4 (buster), and implemented script from here: https://github.com/cgomesu/nanopim4-satahat-fan I have tried other scripts, but nothing works. I guess it doesn't really matter, which one I use when I finally can make that fan work. Things I have tried: - fan works fine, I have tried it with direct 12v and 9v supplies, it is the cheapest one (bought here https://www.aliexpress.com/item/32603431500.html?spm=a2g0s.9042311.0.0.25e04c4dySdv9o) - removed SATA HAT and tried to get signal from PWM pin to my 5V fan - nothing - the file tree for `/sys/class/pwm/pwmchip1/` looks normal after I export PWM0: ├── device -> ../../../ff420010.pwm ├── export ├── npwm ├── power │ ├── async │ ├── autosuspend_delay_ms │ ├── control │ ├── runtime_active_kids │ ├── runtime_active_time │ ├── runtime_enabled │ ├── runtime_status │ ├── runtime_suspended_time │ └── runtime_usage ├── pwm0 │ ├── capture │ ├── duty_cycle │ ├── enable │ ├── period │ ├── polarity │ ├── power │ │ ├── async │ │ ├── autosuspend_delay_ms │ │ ├── control │ │ ├── runtime_active_kids │ │ ├── runtime_active_time │ │ ├── runtime_enabled │ │ ├── runtime_status │ │ ├── runtime_suspended_time │ │ └── runtime_usage │ └── uevent ├── subsystem -> ../../../../../class/pwm ├── uevent └── unexport - I have tried different numbers for duties. And there are no errors, when script writes to duty_cycle. I am a bit lost. Maybe someone more experienced can have a look at the logs and spot some missing setup. It would be nice to get this new 12V fan up and running. My 5V fan is pretty noisy. Here is the log from `armbianmonitor` http://ix.io/3uv0
  2. Yes, same thing happened to me - wifi worked but not bluetooth, that is why I switched back to legacy kernel.
  3. Thanks NicoD. No hurry here, I checked yesterday official Friend Elec images for NanoPi M4, they are still on 4.4 kernel, so I just installed Buster server with 4.4 and all works fine, and hat should be fine as well.
  4. Hi All, This thread has been silent for some time. Maybe there is already solution to run both Bluetooth and Wireless on M4 version 1 with new kernel 5.4. My problem is that after fresh installation of any 5.4 kernel image on my Nano M4, I have working bluetooth, but no wifi. When I apply firmware files suggested by @martinayotte, wifi starts to work, but bluetooth is not working any longer. So is there solution to have both wifi and bluetooth with 5.4 kernel. Also I have ordered 4x SATA HAT, what are my chances of getting this hat to work on 5.4 kernel? I can say that WiringPI provided by Friendly Elec are not working right away. Maybe I should switch back to legacy kernel to have everything working?
  5. Hello All, Just quick question, I hope some of your will be able to answer. I was running Armbian Bionic on legacy kernel for a year on my NanoPi M4 (verion 1) and was able to enable the nanopi-bluetooth.service.. Now I have upgraded to Buster server with kernel 5.4 - and cannot get Bluetooth working. I guess this is my mistake to go for server image, and maybe bluetooth is not included in this image by default. So my question is should I go back to legacy kernel, or desktop version with 5.4 kernel will be fine, and bluetooth will work with that image. I run my NanoPi M4 as headless server, but still need wifi and bluetooth - so that is why I went for Buster server. I do not really want to try all the images myself, because a lot of important services are running on my SBC so I want to make this last shot right now, and choose right here (with WiFi and Bluetooth working, without graphical interface): - go back to images based on legacy kernel - use desktop buster image on kernel 5.4 - stay on my current image of Buster server kernel 5.4 and add Bluetooth service myself (if someone can point me into solution). will appreciate any help here, thanks.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines