Pogoplug V4 - Reset Button Action
August 03, 2015 06:11PM
I'm looking to use the reset button on the back of the Pogoplug v4 to perform some action in Debian. Does anyone have experience with this?

My first thought is a "shutdown -h now" action but it would be nice to have two actions, one for a regular press of the button and one for a longer press of the button. Thanks

-grayman4hire
======================================
Pogoplug V2 and V3 Serial Connection
Tutorial - Pogoplug v4 (Series 4 and Mobile) with Linux (Debian or Arch)

OpenWRT on Pogoplug Mobile
Tutorial - Pogoplug E02/V4 with Arch Linux ARM
Hacking the Pogoplug v3/Oxnas (Pro/Classic) with Debian

OpenWRT on Pogoplug v3/Oxnas (Pro/Classic)
Re: Pogoplug V4 - Reset Button Action
August 03, 2015 06:45PM
grayman4hire Wrote:
-------------------------------------------------------
> I'm looking to use the reset button on the back of
> the Pogoplug v4 to perform some action in Debian.
> Does anyone have experience with this?
>
> My first thought is a "shutdown -h now" action but
> it would be nice to have two actions, one for a
> regular press of the button and one for a longer
> press of the button. Thanks

I'm currently using esekeyd to handle these buttons. It works really well. You can find davidedg's instruction here.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Pogoplug V4 - Reset Button Action
August 06, 2015 01:49PM
bodhi Wrote:
-------------------------------------------------------
> grayman4hire Wrote:
> --------------------------------------------------
> -----
> > I'm looking to use the reset button on the back
> of
> > the Pogoplug v4 to perform some action in
> Debian.
> > Does anyone have experience with this?
> >
> > My first thought is a "shutdown -h now" action
> but
> > it would be nice to have two actions, one for a
> > regular press of the button and one for a
> longer
> > press of the button. Thanks
>
> I'm currently using esekeyd to handle these
> buttons. It works really well. You can find
> davidedg's
> [url=https://github.com/davidedg/NAS-NS2MAX-mod/bl
> ob/ac2f11497247dff59db08c6cb4b30979a7f09e10/rootfs
> /rootfs.txt#L246]instruction here.[/url]

Thanks for the link. It's a little cryptic though. I'll need to look at it a little more carefully.

-grayman4hire
======================================
[url=http://blog.qnology.com/2013/10/pogoplug-e02-v2-serial-connection.html]Pogoplug V2 and V3 Serial Connection[/url][url=http://blog.qnology.com/2014/07/hacking-pogoplug-v4-series-4-and-mobile.html]
Tutorial - Pogoplug v4 (Series 4 and Mobile) with Linux (Debian or Arch)[/url]
[url=http://blog.qnology.com/2015/02/openwrt-on-pogoplug-mobile.html]OpenWRT on Pogoplug Mobile
[/url][url=http://blog.qnology.com/2013/03/tutorial-pogoplug-e02-with-arch-linux.html]Tutorial - Pogoplug E02/V4 with Arch Linux ARM[/url][url=http://blog.qnology.com/2015/04/hacking-pogoplug-v3oxnas-proclassic.html]
Hacking the Pogoplug v3/Oxnas (Pro/Classic) with Debian[/url][url=http://blog.qnology.com/2015/04/openwrt-on-pogoplug-v3oxnas-proclassic.html]
OpenWRT on Pogoplug v3/Oxnas (Pro/Classic)[/url]
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: