[Arm-dev] Different issues with "DTOVERLAY".

Mon Sep 10 15:28:49 UTC 2018
Stephan Guilloux <stephan.guilloux at crisalid.com>

Hello,

Small issues, today, with dtoverlay gpio-shutdown/poweroff

     [root at mypi ~]# dtoverlay gpio-shutdown
     su: user pi does not exist
     * Failed to apply overlay '1_gpio-shutdown' (kernel)
     su: user pi does not exist
     [root at mypi ~]# dtoverlay gpio-poweroff
     su: user pi does not exist
     su: user pi does not exist
     [root at mypi ~]#

Even if I add a fake user "PI", this does not work better.

     [root at mypi ~]# useradd -r pi -p pi
     [root at mypi ~]#
     [root at mypi ~]#
     [root at mypi ~]# dtoverlay gpio-poweroff
     * Failed to apply overlay '2_gpio-poweroff' (kernel)
     [root at mypi ~]# dtoverlay gpio-shutdown
     * Failed to apply overlay '2_gpio-shutdown' (kernel)
     [root at mypi ~]#

But when I check the overlay list, I get:

     [root at mypi ~]# dtoverlay -l
     Overlays (in load order):
     0:  gpio-shutdown
     1:  gpio-poweroff
     [root at mypi ~]#

At least, something is done :-)

Last problems:
     [root at mypi ~]# dtoverlay -h gpio-shutdown
     * Help file not found
     [root at mypi ~]# dtoverlay -h gpio-poweroff
     * Help file not found
     [root at mypi ~]# dtoverlay -h rpi-rtc
     * Help file not found
     [root at mypi ~]# dtoverlay -h rpi-display
     * Help file not found
     [root at mypi ~]#



In case ...
     [root at mypi ~]# cat /proc/version
     Linux version 4.14.65-v7.1.el7 
(mockbuild at armhfp-03.bsys.centos.org) (gcc version 4.8.5 20150623 (Red 
Hat 4.8.5-28) (GCC)) #1 SMP Mon Aug 20 19:04:20 UTC 2018
     [root at mypi ~]#

     [root at mypi ~]# rpm -qa 'raspberrypi-vc*'
     raspberrypi-vc-demo-source-20170705-502.gitaa39775.el7.noarch
     raspberrypi-vc-libs-20170705-502.gitaa39775.el7.armv7hl
     raspberrypi-vc-utils-20170705-502.gitaa39775.el7.armv7hl
     [root at mypi ~]#


Stephan.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/arm-dev/attachments/20180910/8253df34/attachment-0005.html>