• Content Count

  • Joined

  • Last visited

About haajee

  • Rank
    Advanced Member

Profile Information

  • Gender
  • Location
    Drenthe, Netherlands

Recent Profile Visitors

389 profile views
  1. 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?
  2. Oh and btw i got contineusly the error bluetoothd[808]: a2dp-sink profile connect failed for F2:BF:67:4E:E2:A6: Protocol not available The solution therefore is to run manually bluetooth-modules-discover. pactl load-module module-bluetooth-discover
  3. 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.
  4. I has upgraded and even with a clean image Focal Desktop from here doesn´t Bluetooth works... Bleutoothctl list doesn´t show the bluetooth module also. hciconfig shows the adapter but with status down. When i try to start with hciconfig hci0 up i got the error messge: Can't init device hci0: Operation not supported (95).
  5. hmm, i thought it was just working a few time ago. 5.7 not yet available what i see? Just waiting what i read..?
  6. Hi all, I wanna try to use the hardware PWM on pin 7 of my orange pi one plus. Connect the fan. Toggle the SPI to enable, install wiring orangepi and all looks ok. But when in go to /sys/class/pwm i got a empty directory. I thought the should be a device pwmchip0 or something. I searched on the internet but can´t find a solution. This is what WiringOrangePi shows: Is there someone who knows what i do wrong or hwat i should do? Thank you!
  7. haajee

    Orange pi 4

    i may hope the temperature reading is wrong. 83 degrees Celsius wil melt your case i think.
  8. Is it possible to add the bluetooth and sound fix to the armbian kernel/firmware? After every kernel update sound and bluetooth stops working and it´s clear this fix works. Should be really nice!
  9. haajee

    Orange pi 4

    But not less stable than a allwinner i think?
  10. haajee

    Orange pi 4

    There is not much life in this Orange Pi 4 topic what i see. What Armbian build runs the best on the Orange Pi 4 / RK3399?
  11. The bluetooth of the OPI4 drives me a little bit crazy. Try for a week to connect a bluetooth speaker but can´t get it working. I know that directly after a reboot i could start a scan: sudo bluetoothctl scan on. But after a few minutes i got contineusly .. @4-OrangePi:~ $ sudo bluetoothctl Agent registered [bluetooth]# scan on [bluetooth]# power on Changing power on succeeded [bluetooth]# scan on Failed to start discovery: org.bluez.Error.InProgress [bluetooth]# scan on Failed to start discovery: org.bluez.Error.InProgress Failed to start discovery: org.freedesktop.DBus.Error.NoReply [bluetooth]#
  12. haajee

    Orange pi 4

    And how can i fix my bluetooth again? there is a new kernel pushed without the fix i think so it works anymore.......
  13. I got it working but yesterday i got a kernel upgrade and bluetooth is not working anymore. There was a pull request with fix made for armbian?
  14. haajee

    Orange pi 4

    You mean an buster with the 5.x kernel without desktop i think? I am waiting also therefore. There is a version with kernel 4.x and i i try to upgrade the kernel there goes something wrong. So from me also the question for a buster server version with kernel 5.x And yes i have donated For the people who are interested, Geekworm have a metal case for the OrangePi 4. https://nl.aliexpress.com/item/4000899514401.html
  15. I run it on Buster with kernel 5.6.2