GPIO-Direction issue

Kumar Thangavel thangavel.k at hcl.com
Wed Dec 11 23:50:19 AEDT 2019


Hi All,

        I am using entity manager configuration file(.json) to enable the GPIO pin.
        The gpio node was created in /sys/class/gpio/* using configuration files.
        I set Direction as "Out" in json. But it was not getting changed in /sys/class/gpio/gpio*/Direction. The Direction was still remains as "in".

        Please find the attached logs for your reference.

        Could you please let us know how to set direction of GPIO.

Thanks,
Kumar.
::DISCLAIMER::
________________________________
The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates. Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of authorized representative of HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any email and/or attachments, please check them for viruses and other defects.
________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20191211/b0f07edb/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GPIO_log.png
Type: image/png
Size: 32834 bytes
Desc: GPIO_log.png
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20191211/b0f07edb/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GPIO_config.PNG
Type: image/png
Size: 3220 bytes
Desc: GPIO_config.PNG
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20191211/b0f07edb/attachment-0003.png>


More information about the openbmc mailing list