From: Heiko Schocher <hs@denx.de>
To: Steve deRosier <derosier@gmail.com>
Cc: linux-embedded@vger.kernel.org, Wolfgang Denk <wd@denx.de>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>
Subject: Re: GPIO triggers kernel reboot
Date: Mon, 27 Jan 2014 07:22:18 +0100 [thread overview]
Message-ID: <52E5FB1A.2020205@denx.de> (raw)
In-Reply-To: <CALLGbRKK_ZcOB6nAiV67njrphXMQXN7Y2s81n5k3PWoSVrsrUw@mail.gmail.com>
Hello Steve,
Thanks for your answer!
Am 25.01.2014 20:39, schrieb Steve deRosier:
> Hi Heiko,
>
> It's certainly possible, and it's also easily done from user-space.
> Something like this is more policy than function. It's also a potential
> security issue. As such I'd expect it highly unlikely that the kernel
> maintainers would allow it to go upstream. Give it a try though.
Ok, thats what I also think ...
> I'd approach this from user-space. Add in the gpio-keys driver and use the
> input-event-daemon to trigger a reboot. Super easy.
Yes, that was also my suggestion, but is there a way to do this without
user space usage in a generic way?
bye,
Heiko
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
WARNING: multiple messages have this Message-ID (diff)
From: hs@denx.de (Heiko Schocher)
To: linux-arm-kernel@lists.infradead.org
Subject: GPIO triggers kernel reboot
Date: Mon, 27 Jan 2014 07:22:18 +0100 [thread overview]
Message-ID: <52E5FB1A.2020205@denx.de> (raw)
In-Reply-To: <CALLGbRKK_ZcOB6nAiV67njrphXMQXN7Y2s81n5k3PWoSVrsrUw@mail.gmail.com>
Hello Steve,
Thanks for your answer!
Am 25.01.2014 20:39, schrieb Steve deRosier:
> Hi Heiko,
>
> It's certainly possible, and it's also easily done from user-space.
> Something like this is more policy than function. It's also a potential
> security issue. As such I'd expect it highly unlikely that the kernel
> maintainers would allow it to go upstream. Give it a try though.
Ok, thats what I also think ...
> I'd approach this from user-space. Add in the gpio-keys driver and use the
> input-event-daemon to trigger a reboot. Super easy.
Yes, that was also my suggestion, but is there a way to do this without
user space usage in a generic way?
bye,
Heiko
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
next prev parent reply other threads:[~2014-01-27 6:22 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-25 16:02 GPIO triggers kernel reboot Heiko Schocher
2014-01-25 16:02 ` Heiko Schocher
2014-01-25 19:11 ` Mehaffey, John
2014-01-25 19:11 ` Mehaffey, John
2014-01-25 20:24 ` Mehaffey, John
2014-01-25 20:24 ` Mehaffey, John
2014-01-27 6:17 ` Heiko Schocher
2014-01-27 6:17 ` Heiko Schocher
2014-01-26 2:54 ` Florian Fainelli
2014-01-26 2:54 ` Florian Fainelli
[not found] ` <CALLGbRKK_ZcOB6nAiV67njrphXMQXN7Y2s81n5k3PWoSVrsrUw@mail.gmail.com>
2014-01-27 6:22 ` Heiko Schocher [this message]
2014-01-27 6:22 ` Heiko Schocher
2014-01-27 8:08 ` Arnaud Patard
2014-01-27 8:08 ` Arnaud Patard (Rtp)
2014-01-27 8:25 ` Geert Uytterhoeven
2014-01-27 8:25 ` Geert Uytterhoeven
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52E5FB1A.2020205@denx.de \
--to=hs@denx.de \
--cc=derosier@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-embedded@vger.kernel.org \
--cc=wd@denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.