08-27-2016, 11:22 PM
(This post was last modified: 08-27-2016, 11:24 PM by MarkHaysHarris777.)
(08-27-2016, 10:58 PM)pfeerick Wrote: Your debian comments are directed more when running as a GUI/desktop box, aren't they? As with a headless/console config, the power button will do zilch/nada/nothing if you press or tap it, unless you specifically add a monitor for it. And naturally, if you hold it for ~10 seconds, it will do a forced power off.
I had thought about adding another female header to the pine next to the one for the IR receiver for the LEDs, but since the board doesn't use 2.54mm spacing for the LEDs (instead 2mm, center to center), a female header wouldn't fit, and a male one would need a bit too much bending for my liking. Thus plus the holes were a bit small for the thickness of bog standard 2.54mm spaced headers. I do have some of the round smaller pitch headers, but that would just have been a pain, as it would have been the only connector using it. Might as well just use the header pin on the EXP header... it's already there!
Correct on all points ... yes, for headless operation you have to have some kind of monitor; I don't do that in the sense of the system monitor, however.
For my headless servers my power button triggers "my own" interrupt within a python button monitor. In other words, instead of responding to the system interrupt I built a button monitor ( will post this next week ) that allows for a -SIGHUP as well as the button push. Again, I have a three second timer on it; which prevents accidental pressing. When I press and hold my headless machines' power button for three seconds the system enters into a normal 'shutdown -h now', so that I can power it off cleanly without having to sign in remote.
As for the holes, yes, they are slightly problematic due to size. For instance, if you were to solder an LED in the system led position, it fits better if you use a 3mm LED, rather than a 5mm standard LED. But, if you put the male header pin(s) in that position , there is a cool trick you can employ. You don't 'need' the header pin spacer! all you really need are the pins. So, you pull the pins from their plastic spacer with a pair of needle nose pliers and then solder the pin in place 'without' the header spacer. I use individual female jumper wires, but you can use a standard female jumper pair because the actual spacing is soooo close that even though its slightly tight it still works fine. The benefit to doing this rather than using the EXP header, is that it frees up the EXP header for other header plugs, like the cp2102 serial tty bridge from the pine store. Anyway, its not for everybody, but it is an option which I have used.
marcushh777
please join us for a chat @ irc.pine64.xyz:6667 or ssl irc.pine64.xyz:6697
( I regret that I am not able to respond to personal messages; let's meet on irc! )
please join us for a chat @ irc.pine64.xyz:6667 or ssl irc.pine64.xyz:6697
( I regret that I am not able to respond to personal messages; let's meet on irc! )