Markus,

That worked!  Thank you very much.

Duane


On 10/28/2015 05:00 AM, [email protected] wrote:
Send elinux-MinnowBoard mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.elinux.org/mailman/listinfo/elinux-minnowboard
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of elinux-MinnowBoard digest..."


Today's Topics:

    1. Shutdown Without Keyboard or Mouse? (Duane A. Damiano)
    2. Re: Shutdown Without Keyboard or Mouse? (Markus Maier)


----------------------------------------------------------------------

Message: 1
Date: Tue, 27 Oct 2015 20:43:52 -0700
From: "Duane A. Damiano" <[email protected]>
To: [email protected]
Subject: [MinnowBoard] Shutdown Without Keyboard or Mouse?
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8; format=flowed

I would like to use a Minnow Board Max (MBM) to display the video from a
USB camera.  It doesn't need to do anything else and it will not be
connected to any network.

I have already figured out how to auto-login and auto-start a program
(cheese) to display the video.  However, I have not yet figured out a
way to properly power down the MBM.

Normally, the user would power down by clicking the appropriate menu
items in the GUI or by running a command like "halt" or "shutdown -h
now" in a command window.  But in this case, the user will not have a
keyboard or a mouse.  Can anyone think of a simple way to implement a
graceful shutdown, without just turning off the power?

I thought about connecting a button or switch to one of the GPIO pins
and watching it with a script.  When the pin goes low, I could run a
shutdown command.  But, the standard Debian kernel for the MBM does not
recognize the GPIO pins.  (It doesn't create /sys/class/gpio and
compiling a new kernel is beyond my comfort level.)

Any ideas for how to do this.  Or, is there some other hardware that
would be better than the MBM for this task?

Duane



------------------------------

Message: 2
Date: Wed, 28 Oct 2015 08:43:16 +0000 (UTC)
From: Markus Maier <[email protected]>
To: [email protected]
Subject: Re: [MinnowBoard] Shutdown Without Keyboard or Mouse?
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii

Duane A. Damiano <duaneaugust@...> writes:


Any ideas for how to do this.  Or, is there some other hardware that
would be better than the MBM for this task?

Hi Duane,

you might want to populate jumper J5 for that. You can use an external
switch connected to J5 to shutdown the board just the same way as pressing
the power switch SW1 would do. No watchdog, no script needed!

Cheers
Markus





------------------------------

Subject: Digest Footer

_______________________________________________
elinux-MinnowBoard mailing list
[email protected]
http://lists.elinux.org/mailman/listinfo/elinux-minnowboard


------------------------------

End of elinux-MinnowBoard Digest, Vol 88, Issue 1
*************************************************

_______________________________________________
elinux-MinnowBoard mailing list
[email protected]
http://lists.elinux.org/mailman/listinfo/elinux-minnowboard

Reply via email to