#
✕ nick:artemis
#asahi · 2022-10-28 16:14
artemismps: ok no problem
#asahi · 2022-10-28 16:13
artemismps: ok thanks you! I'll try
#asahi · 2022-10-28 16:12
artemisso I dunno what do to know
#asahi · 2022-10-28 16:12
artemisI also checked in the boot folder /boot and I also don't find these files here
#asahi · 2022-10-28 16:11
artemisI'm 16 and not into linux kernel development please don't be rude
#asahi · 2022-10-28 16:10
artemisbut when I run "ls /lib/modules/5.19.0-asahi-5-1-ARCH/build/arch/arm64/" there is no /boot file that I can modify
#asahi · 2022-10-28 16:09
artemishttps://tpaste.us/0WyK here is the patch I'm trying to apply on my system
#asahi · 2022-10-28 16:08
artemisbut I don't manage to find these files, even after downloading the asahi-linux-headers
#asahi · 2022-10-28 16:07
artemisI think its because I didn't add the diff in all the arch/arm64/boot/dts/apple/*.dtsi
#asahi · 2022-10-28 16:04
artemispwm/pwm-apple.c:94:13: warning: assignment to ‘struct clk *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
#asahi · 2022-10-28 16:04
artemisand there is also a warning:
#asahi · 2022-10-28 16:04
artemispwm/pwm-apple.c:94:15: error: implicit declaration of function ‘devm_clk_get_enabled’ [-Werror=implicit-function-declaration]
#asahi · 2022-10-28 16:04
artemisHere is the error:
#asahi · 2022-10-28 16:04
artemisbut it does not work unfortunately
#asahi · 2022-10-28 16:04
artemisand then I tried to compiled it with "make -C /lib/modules/$(uname -r)/build/ M=/home/alarm/dev/pwm modules"
#asahi · 2022-10-28 16:03
artemisI downloaded the pwm folder
#asahi · 2022-10-28 16:03
artemisI use this https://github.com/AsahiLinux/linux/pull/57/files#
#asahi · 2022-10-28 16:02
artemisI am tryin to compile pwm drivers to make my keyboard backligth work
#asahi · 2022-10-28 16:02
artemishi