Hello,
I have a userland application on Raspberry Pi which uses select to read
input from a button connected to gpio like this:
GPIO --+ BUTTON - GND
|
+--- RESISTOR 2k -- VCC (3.3V)
The sysfs "file" I use select at is /sys/class/gpio/gpioX/value with the
method found in Do
Jerry Zhang wrote:
> The entry will only be created after the "Driver" probes the "Device"
> successfully. In your case, you need to be sure the corresponding
> platform_device is claimed in your board setup code.
What does claiming the device actually mean? Do I really need to
hardcode the GPIO