I'm trying to get current screen brightness in my Linux kernel module. However, I don't know how can I access the brightness variable, though easily get it in an user-space application using the sysfs interface.
Please let me know a clue about this problem.
Thank you.