Perhaps this guide helps.
Fedora 38 Installation on the Framework Laptop 13 - Framework Guides - Step 6 - Completing Setup - Enable brightness keys. You can also see http://community.frame.work/t/tracking-12th-gen-not-sending-xf86monbrightnessup-down/20605/11.