A sensor can be controlled by toggling GPIO lines from userspace, but Linux may already have a subsystem driver for its interface. How should a project choose the implementation without duplicating timing-sensitive behavior in a script?
Reference: Linux kernel: GPIO character-device API (https://docs.kernel.org/userspace-api/gpio/chardev.html).




