haajee
-
Posts
116 -
Joined
-
Last visited
Reputation Activity
-
haajee reacted to Igor in apt-get update fails with public key errors
Key is not deprecated, method is. On Noble / Sid and future.
sudo wget https://apt.armbian.com/armbian.key -O key sudo gpg --dearmor < key | sudo tee /usr/share/keyrings/armbian.gpg > /dev/null sudo chmod go+r /usr/share/keyrings/armbian.gpg sudo echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/armbian.gpg] http://apt.armbian.com $(lsb_release -cs) main $(lsb_release -cs)-utils $(lsb_release -cs)-desktop" | sudo tee /etc/apt/sources.list.d/armbian.list apt update
-
haajee reacted to Werner in dpkg: cannot write to log file '/var/log/dpkg.log': No space left on device
On your sd/eMMC/NVMe/whatever maybe but not on your ramlog device
As suggested long time ago check what is filling your logs and fix. 50M of compressed(!) text is a LOT.
You can increase its size but this will also reduce the overall free memory for other applications. check in /etc/default/ here.
Or disable ramlog which will write logs directly to your disk. However when using an sdcard this will significantly short its lifetime.
As for me I run pihole for years and never had an issue with filling up logs.
-
haajee got a reaction from berin in ORANGE PI 5 OPI5 micro desktop case design
Yes, i have. The possibilitie to add 4020 fan in the case instead of a 3010. The most 3010 fans are really noisy and if an 4020 will fit is it possible to add the Noctua NF-A4x20 PWM. And the is a lot more silent!
-
haajee reacted to royk in Orange Pi 5 Support
@haajeeGreat that you've got it working. No need to encode in Chromium, you only have to decode. Without acceleration you would have a full cpu load while watching a 4k video and missing frames.
-
haajee reacted to Efe Çetin in Orange Pi 5 Support
Can you try https://github.com/armbian/build/releases/tag/23.02.0-trunk.0130? This release should contains gui and nvme fixes. I'm not able to try it now
-
haajee reacted to Avatar Ng in Orange Pi 5 Support
I’ve gave armbian opi5 Jammy xfce 0128 build a spin, it’s as haajee
said, worse than 0127 build, previously at least I can get my setup done and stuck on desktop loading, however I’m getting weird scaling when I’m doing initial setup (account setup).
And something I forgot to mention is on build 0127, I did manage to “fix” the desktop issue by using other CLI session to login and install Gnome, and then when I do startx it complains about missing initx, so after I install that seems I can boot into wayland gnome desktop session, I’m glad that the usbc to display is working now.
will try to supplement the stats tomorrow.
-
haajee reacted to Werner in Orange Pi4 Wireless, bluetooth and ethernet doesnt work after update
No idea. Maybe @Igor can or cannot confirm a fix since he is maintainer for OPi4.
-
haajee reacted to TRS-80 in Rock Pi 4B (RK3399) Sound Broken After Latest Kernel Update
Done.
Next time @MichaIng (or anyone, really) please 'flag' the post to bring it to (all) moderator attention. I only happened to notice your request because I was skimming through the All Activity feed like I usually do.
-
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...
-
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.
-
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?
-
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.
-
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.
-
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
-
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.
-
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.
-
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.
-
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.
-
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.
-
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?
-
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
-
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
-
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.
-
-
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.