Okay…just an update here. I got the kernel module to load but I am getting negative feedback in dmesg
for now.
Is this because GPIO pins being already hardcoded into the kernel is already available? Anyway, this is the output of dmesg
.
[ 169.891446] invalid GPIO 600022
[ 169.891474] gpioctrl - Error getting pin 22
[ 182.258730] invalid GPIO 600022
[ 182.258757] gpioctrl - Error getting pin 22
[ 352.302909] gpioctrl - Error getting pin 24
[ 412.875153] gpioctrl - Error getting pin 24
I tried to listen to a small write up on the matter: GitHub - Johannes4Linux/Linux_Embedded_Interfaces: Minimal Examples for how to use Embedded Interfaces from Linux Userspace
That is where I started to end the journey. Anyway, if you have time, I would like to get your feedback on what may be getting in the way.
Seth
P.S. I know the GPIO pins in question are already allocated. Does this mean, I need to use different pins or another gpiochipN
?