phosphor-gpis-monitor
Hi,
I am trying to use phosphor-gpio-monitor and was wondering what is the parameter DEVPATH=”” needs to be passed. I thought it is /dev/gpiochip0 but with this I am getting error in init_event. Please let me know if anyone used this and how do I define path for this. Do I need anything in kernel to build.
Regards
-Vijay
Quoted 7 lines · Vijay Khemka
Hi,
I am trying to use phosphor-gpio-monitor and was wondering what is the parameter DEVPATH=”” needs to be passed. I thought it is
/dev/gpiochip0but with this I am getting error ininit_event.Please let me know if anyone used this and how do I define path for this. Do I need anything in kernel to build.
Hi, on our system we use this to monitor a GPIO for a host crash, and we use:
# cat /etc/default/obmc/gpio/checkstop DEVPATH=/dev/input/by-path/platform-gpio-keys-event KEY=74 POLARITY=1 [email protected]
Quoted 4 lines
Regards
-Vijay