Skip to contentSkip to conversation

phosphor-gpis-monitor

DISCUSSION Vijay Khemka 2 participants 2 messages Sep 30, 2019 – Oct 1, 2019

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
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/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.

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