-
Upcoming Events
-
-
Volunteering positions
-
Build framework maintainer
Position: Framework maintainerNumber of places: 16Applicants: 6
-
-
Chat | Social Media
#armbian at
irc.libera.chat or irc.oftc.net
Matrix or Discord
Mastodon | π -
Popular Now
-
Activity Stream
-
11
Custom Build ot working completly
@Igor Thanks. The weird noise is resolved. It was HDMI cable. -
1
-
1
BananaPi M5 PWM
Hi everyone, I'm trying to control an 5v PWM Fan using hardware PWM pins of Banana Pi M5. I'm not able to output any pwm signal on any pin. It looks like there is an pwm controller visible at `/proc/device-tree/soc/bus@ffd00000/pwm@19000`. File `/proc/device-tree/soc/bus@ffd00000/pwm@19000/status` has content `okay` and file `/proc/device-tree/soc/bus@ffd00000/pwm@19000/pinctrl-0` has content `&`. When i run script: echo 0 | tee /sys/class/pwm/pwmchip0/export echo 40000 | tee /sys/class/pwm/pwmchip0/pwm0/period echo 20000 | tee /sys/class/pwm/pwmchip0/pwm0/duty_cycle echo 1 | tee /sys/class/pwm/pwmchip0/pwm0/enable echo 1 | tee /sys/class/pwm/pwmchip1/export echo 40000 | tee /sys/class/pwm/pwmchip1/pwm1/period echo 20000 | tee /sys/class/pwm/pwmchip1/pwm1/duty_cycle echo 1 | tee /sys/class/pwm/pwmchip1/pwm1/enable (only those 2 pins of PWMs are free, script runs without any errors) i cannot detect any pwm signals on any of 40-pin connector. Additionally after that : #: cat /sys/kernel/debug/pinctrl/*/pinmux-pins | grep pwm pin 81 (GPIOX_16): ffd19000.pwm (GPIO UNCLAIMED) function pwm_e group pwm_e pin 13 (GPIOE_1): ff802000.pwm (GPIO UNCLAIMED) function pwm_ao_d group pwm_ao_d_e #: cat /sys/kernel/debug/pwm 0: platform/ff802000.pwm, 2 PWM devices pwm-0 (sysfs ): requested enabled period: 100000 ns duty: 50000 ns polarity: normal pwm-1 (regulator-vddcpu ): requested enabled period: 1250 ns duty: 100 ns polarity: normal 1: platform/ffd19000.pwm, 2 PWM devices pwm-0 (wifi32k ): requested period: 30518 ns duty: 15259 ns polarity: normal pwm-1 (sysfs ): requested enabled period: 100000 ns duty: 50000 ns polarity: normal So looks like pwm signals are not routed to IO pins. I tried to add overlay : /dts-v1/; /plugin/; / { compatible = "bananapi,m5", "amlogic,meson-sm1"; fragment@0 { target-path = <&pwm_ef>; _overlay__ { status = "okay"; pinctrl-0 = <&pwm_e_pins>; pinctrl-names = "default"; }; }; fragment@1 { target-path = "/"; __overlay__ { pwm_e_pins: pwm_e_pins { compatible = "pwm-gpio"; pinctrl-names = "default"; pinctrl-0 = <&pwm_e>; }; }; }; }; which i compiled with dtc and added to `/boot/overlay-user`, after that i added a line user_overlays=meson-m5-custom-pwm to `/boot/armbianEnv.txt` But it didn't worked. I'm not surprised because it was generated by AI, and i don't now anything about overlays. Is there anybody that can help me with writing this overlay ? Or maybe there is simpler solution ? -
5
armbian-config problem
π§ββοΈπβπ Since introducing of systemd (by default in most Linux assemblies in past 10-15 years), its the systemd way: https://www.freedesktop.org/software/systemd/man/latest/hostnamectl.html This way is also handled if armbian-config is used. Also for other things, consider looking into systemd* how-to. Netplan - i understand you might dislike it - is just a wrapper - for systemd-networkd or Network Manager. -
9
server home assistant and armbian
Aliexpress randomly assembled electronics is expected to fail - you need to lower expectations, count on luck, read forum for clues, DIY. Little better are single board computers, then what is declared as supported, best what is platinum supported (for this use case FriendlyElec R3S would be perfect) following by Raspbbery Pi and x86 hardware. If you are looking for top first time experience buying a server, you should stick to https://www.supermicro.com/en/ I can assure you that Armbian works perfectly on any of servers they sell. But yes, price does not match.
-
-
Member Statistics