haajee

Members
  • Content Count

    80
  • Joined

  • Last visited

Reputation Activity

  1. Like
    haajee got a reaction from gounthar in OrangePi 4 temperature controlled PWM fan   
    IMHO is 85 celsius really hot. I don´t also know how a big themalpad could work. Is the heatsink warm when you run?
     
     
    Mine have i running really slow and the temperature is arround 32 degrees on normal day with normal load. Full speed about 50 degrees. But i need to say that i have also a heatsink on the CPU from an old Fritzbox router. But even on fullspeed is the fan really quiet and you need to listen very well to here it run. In my opinion is 15 euros a really good deal when i compare with a lot of noisie fans i have. The only problem is that the fan is a little bit bigger than the fan opening of the Geekworm case... So i din´t have the original cover on the case...
     

  2. Like
    haajee reacted to VyacheslavS in OrangePi 4 temperature controlled PWM fan   
    I also bought the same one, about 15 Euros.  I configured the script and now it starts to rotate from +35, the rotation speed is floating. The maximum spin speed starts at +60 . This cooler is really quiet and worth it money.
  3. Like
    haajee got a reaction from VyacheslavS in OrangePi 4 temperature controlled PWM fan   
    Oh sorry i didn´t saw your post. My fan script is now:
     
    #!/bin/bash if [ ! -d /sys/class/pwm/pwmchip1/pwm0 ]; then echo 0 > /sys/class/pwm/pwmchip1/export fi sleep 1 while [ ! -d /sys/class/pwm/pwmchip1/pwm0 ]; do sleep 1 done ISENABLE=`cat /sys/class/pwm/pwmchip1/pwm0/enable` if [ $ISENABLE -eq 1 ]; then echo 0 > /sys/class/pwm/pwmchip1/pwm0/enable fi echo 50000 > /sys/class/pwm/pwmchip1/pwm0/period echo 1 > /sys/class/pwm/pwmchip1/pwm0/enable # max speed run 60s echo 0 > /sys/class/pwm/pwmchip1/pwm0/duty_cycle sleep 5 echo 50000 > /sys/class/pwm/pwmchip1/pwm0/duty_cycle declare -a CpuTemps=(45000 40000 38000 30000 28000 0) declare -a PwmDutyCycles=(1000 5000 10000 15000 30000) while true do temp=$(cat /sys/class/thermal/thermal_zone0/temp) for i in 0 1 2 3 4 5; do if [ $temp -gt ${CpuTemps[$i]} ]; then DUTY=${PwmDutyCycles[$i]} echo $DUTY > "/sys/class/pwm/pwmchip1/pwm0/duty_cycle"; echo "temp: $temp, target: ${CpuTemps[$i]}, duty: $DUTY" break fi done sleep 1s; done Do you see something if you go to /sys/class/pwm/pwmchip1?  And do you have installed wiring orangepi from:  https://github.com/orangepi-xunlong/wiringOP ?? what does the command gpio readall shows?
  4. Like
    haajee got a reaction from Igor in Orange Pi 4 Kernel 5.x.x rt5651 sound and bluetooth fixed   
    Hmm this week i thought i has restored the driver HCD file with the other mac adress. Restored again and it´s ok, But better: i have bluetooth now working i wanted. I stream from my orangepi music to a bluetooth device and it works like a charm. I have used this 2 site for reference:
    https://wiki.archlinux.org/index.php/Bluetooth_headset
    http://mygeeks014.blogspot.com/2017/05/audio-streaming-to-bluetooth-speaker.html
     
    Very very nice! Thank you all.
     
  5. Like
    haajee reacted to piter75 in Orange Pi 4 Kernel 5.x.x rt5651 sound and bluetooth fixed   
    Did you change the mac address of the interface by using `btmgmt` according to this message?
    Without it the device is using default mac address from firmware and thus is set to `DOWN RAW` status.
     
  6. Like
    haajee reacted to dolphs in H6 /sys/class/pwm empty   
    not entirely sure but imho as from kernel 5.7 SPI is supported.
    Suppose once megous is incorporated in the / your dev builds you can do another attempt
  7. Like
    haajee got a reaction from Werner in Orange pi 4   
    i may hope the temperature reading is wrong. 83 degrees Celsius wil melt your case i think.
  8. Like
    haajee got a reaction from gounthar in Orange pi 4   
    i may hope the temperature reading is wrong. 83 degrees Celsius wil melt your case i think.
  9. Like
    haajee reacted to piter75 in Orange Pi 4 Kernel 5.x.x rt5651 sound and bluetooth fixed   
    It is fixed for some time already. It's just that there were no releases built for the board in the meantime.
    It is however part of v20.05.1 - after you upgrade you should not see it disappearing again.
  10. Like
    haajee reacted to Igor in Orange Pi 4 Kernel 5.x.x rt5651 sound and bluetooth fixed   
    I would add, but lately can find only few hours of sleep per day ... this way https://docs.armbian.com/Process_Contribute/ will be much better.
  11. Like
    haajee reacted to VyacheslavS in Orange pi 4   
    I confirm.
    I have updated to 5.6.10. Bluetooth doesn't work now.
     
    PS: this hack helped me again.
    PSS: now there is no sound from the 3.5 Jack. I didn't find how to fix it. I don't want to roll back to the old kernel.
  12. Like
    haajee got a reaction from VyacheslavS in OrangePi 4 temperature controlled PWM fan   
    I saved the file in my home dir as pwm-fan.sh and run it as administrator with
    bash ./pwm-fan.sh And the fan spins up full speed but after that it stops running. Even when the temperature is over the 30 degrees celsius. I have changed 48000 in the above script to 30000. So i think there is also something else to change but i have no idea what. Who could help me?
  13. Like
    haajee got a reaction from gounthar in OrangePi 4 temperature controlled PWM fan   
    Hi all,
     
    So if a lot of you maybe know is a heatsink and fan  a must for the OrangePi 4. With my temporarly installed fan makes a lot of noise i maked yesterday the step to order a Noctua NF-A4x20 5V PWM. The price was arround €17,- not the cheapest but te reviews are amazing.
     
    Even on full speed its a lot more silence then the 20x20 mini fan but with a good air flow. But as you could read did i choose for a PWM variant so i could control the rpm´s with a PWM GPIO pin. And amazingly it did work! I have the PWM pin connected to pin 7 of the OrangePi 4.
     
    Commands to start pwm for the first time:
     
    cd /sys/class/pwm/pwmchip1/ echo 0 > export echo 1000000 > pwmchip1/pwm0/period echo 500000 > pwm0/duty_cycle #and with this step the fan goes on a lower speed echo 1 > pwm0/enable #and back on full speed without PWM echo 0 > pwm0/enable  
    So it´s really nice. And i found a nice script for the Nanopi M4 with also a RK3399 chip from @mar0ni in this topic
     
    To make it complete i paste also here the script from @mar0n
  14. Like
    haajee reacted to iamdrq in Orange Pi 4 Kernel 5.x.x rt5651 sound and bluetooth fixed   
    Yes,the orange pi 4's bluetooth also fixed.
    the main line kernel support bcm bt chip,so I use the kernel driver  and not use brcm_patchram_plus file do this.
    the 'wireless-wlan' and 'wireless-bluetooth' in dts,it is from rockchip's net/rfkill/rfkill-bt.c and net/rfkill/rfkill-wlan.c and this not found in main line kernel,so  'wireless-wlan' and 'wireless-bluetooth' should remove or disable,and wifi be driver by sdio node in dts.
    the bluetooth will  be driver by uart->bluetooth->compatible = "brcm,bcm4345c5"(serial@ff180000->bluetooth->compatible = "brcm,bcm4345c5")
    and the kernel config should enable CONFIG_SERIAL_DEV_BUS=y CONFIG_SERIAL_DEV_CTRL_TTYPORT=y CONFIG_BT_HCIUART_BCM=y CONFIG_BT_RFCOMM=m CONFIG_BT_RFCOMM_TTY=y
     
    but have a little problem,need  do 'btmgmt --index 0 public-addr 11:22:33:44:55:66' set bt mac after boot,otherwise hciconfig will show 'DOWN RAW',someone konw fix this?
     
    I did some dts over and hope this can help armbian fix 
    bluetooth-opi4.dts linux-rockchip64-current.config
  15. Like
    haajee reacted to FredrikA in Orange pi 4   
    I have no stability problem, since I got a cooling fan.
    I am using an OKDO usb-c power supply (the company that makes the PSU for raspberry pi). It has real 3A supply.
    I had it halt twice before
    Once because overheating
    Once because memory was exhausted when I tried to build tensorflow.
  16. Like
    haajee reacted to wsian in Orange pi 4   
    Support and waiting for it.
  17. Like
    haajee reacted to martinayotte in Orange pi 4   
    As I said, formatting is completely not needed since "etcher" will overwrite using partition scheme provided by the image.
  18. Like
    haajee reacted to martinayotte in Orange pi 4   
    I've use cheap heatsink purchased on eBay, its measures are around 2cm x 2cm and has adhesive, it seems to do the job.
  19. Like
    haajee reacted to Igor in Orange Pi One Plus - Constantly hangs   
    Or maybe reading recommended topic to understand what is the problem and how it will be / is fixed?
  20. Like
    haajee reacted to Igor in Softy install ISPconfig: password unknown   
    1234  
    https://github.com/armbian/config/blob/master/debian-software#L426
  21. Like
    haajee got a reaction from Philippe.Gresse-Lugue in H6 Famous Reboot problem   
    I just want to say that my OrangePI One Plus runs perfectly with the release candidate! :) Good job all! I have also give a little donate. Hope that could help you all in the future! Thank you.
  22. Like
    haajee reacted to martinayotte in H6 Famous Reboot problem   
    Another Good Catch !
    We had a fix done almost 2 months ago, by adding missing alias in DT, but it seems that this was lost during the switch from 5.0.y to 5.1.y ...
    Fix committed : https://github.com/armbian/build/commit/7cd2f9ff58a5bb9e4b8296b32d8796fccbd0338b
     
  23. Like
    haajee reacted to martinayotte in H6 Famous Reboot problem   
    Not related !
    But Good Catch !
    The status was "disabled" and "phy" missing ...
    Fixed for tomorrow's build !
  24. Like
    haajee reacted to kexec in H6 Famous Reboot problem   
    there are still some issues with hdmi but they should be fixed in near future
    for now if hdmi is a problem you can try RC kernel version.
    i have to warn that 5.1 kernel have bare minimum stuff compiled in to it and if you want something more fancy then you will face some problems.
     
     
     
  25. Like
    haajee reacted to martinayotte in H6 Famous Reboot problem   
    Yes !