frank-w
(Frank W.)
August 24, 2023, 4:57pm
142
the problem with the top clock is still there (i do not have this in mainline).
and yes -517 is -EPROBEDEFER so a depency is not met and driver tries again later (it should)
but i sent fix for the thermal trips after verify it with daniel
https://patchwork.kernel.org/project/linux-mediatek/patch/[email protected] /
Dale
(Elad)
August 24, 2023, 4:59pm
143
Those look much better, thanks
groms
(groms)
August 24, 2023, 5:09pm
144
Iām on RC3
and this does not work for me:
echo 1 > /sys/class/thermal/cooling_device0/cur_state
Tried with 2 different Noctua PWM fans.
frank-w
(Frank W.)
August 24, 2023, 5:11pm
145
How have you both connected the fan? Iāve had problem with fan too because my fan requires a 5v pwm signal,but r3 only serves 3v3 level on pwm-pin on the 3pin-header.
But if it was working before it is strange
Dale
(Elad)
August 24, 2023, 5:12pm
146
Can you show us how the fan is connected?
groms
(groms)
August 24, 2023, 5:13pm
147
Before it used to be working.
groms
(groms)
August 24, 2023, 5:15pm
148
It is the same fan with the same cable. I tried several cables.
After:
echo 1 > /sys/class/thermal/cooling_device0/cur_state
The fan stops working when I connect the red cable with the blue one of the fan.
This is the fan:
https://noctua.at/en/products/fan/nf-a4x20-5v-pwm
Tried also with this:
https://noctua.at/en/products/fan/nf-f12-5v-pwm
The picture is from some previous post.
Rooot
(Rooot)
August 24, 2023, 5:21pm
149
this is where I bought the complete kit : https://www.amazon.com/dp/B0BDG6R41Q
frank-w
(Frank W.)
August 26, 2023, 10:40am
150
You can try this tree as daniel added the missing parts
https://git.openwrt.org/openwrt/staging/dangole.git
I also bought the same kit. I donāt get how the fan gets attached to the board. The fan did come with 4 screws but the holes in the board are much thicker than the screw. The base of the board also does not have sockets for the screw. How did you attach the fan to the board?
Sorry, it took me a while to figure out that the screws enter from the bottom of the board. I was trying enter the screw from the top of the fan into the board
groms
(groms)
August 26, 2023, 6:50pm
154
Build an image but it wonāt boot.
Iām starting to doubt that the router is broken
groms
(groms)
August 26, 2023, 6:59pm
155
Interesting. After fresh boot executed this:
echo 1 > /sys/class/thermal/cooling_device0/cur_state
Check to confirm and
cat /sys/class/thermal/cooling_device0/cur_state
is 1
And after few seconds check again and
/sys/class/thermal/cooling_device0/cur_state
is 0 again.
frank-w
(Frank W.)
August 26, 2023, 7:33pm
156
Yes because the trips are updated every x seconds (imho 5s) from systemā¦you can only override it only till next update
groms
(groms)
August 27, 2023, 12:49pm
157
What is the chance that this is a hardware problem on the board?
frank-w
(Frank W.)
August 27, 2023, 1:01pm
158
The reset of cur_state is normal behaviourā¦or what do you mean with hardware fault?
groms
(groms)
August 27, 2023, 1:09pm
159
Well, the fan works only if I disconnect the PWM wire, which is the red one in my case. And then it only runs at full speed and is a bit noisy. It used to work normally. I could set/adjust RPMs before .
frank-w
(Frank W.)
August 27, 2023, 1:16pm
160
is this the same with openwrt from @dangowrt ?
groms
(groms)
August 27, 2023, 1:21pm
161
I managed to build an image but was not able to boot with it. Can I test PWM functionality with your image @frank-w ? I mean this one:
Hi,
iāve created a basic debian-image with kernel 6.1.0 (from my main-branch) for sdcard-usage (uboot contains write-functions to flash nand and emmc from usb, files in bpi-r3_uboot.tar.gz), but have not tested again (will do when i get my new board).
login: root pw: bananapi
wan: dhcp-client
lanports: bridged 192.168.1.1/24 + dhcp-server
Network config is done using systemd-networkd (+resolved for dns)ā¦see files in /etc/systemd/network/
wifi: via wifi.sh script in /root (5g needs to set rā¦
frank-w
(Frank W.)
August 27, 2023, 1:24pm
162
Afair pwm patches were added after i created the imageā¦but you could use the image as base and build and install a newer kernel (6.5.rc)