On/Off Switch Pad Working Bad - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: PINE A64(+) (https://forum.pine64.org/forumdisplay.php?fid=4) +--- Forum: General Discussion on PINE A64(+) (https://forum.pine64.org/forumdisplay.php?fid=3) +--- Thread: On/Off Switch Pad Working Bad (/showthread.php?tid=1022) |
RE: On/Off Switch Pad Working Bad - Xabaras76 - 06-23-2016 Thanks xalius for your answer, but now I don't know why the button is working. I have try another image (dietpi ) And another thing I have done is to power on the board with no sd card, then I kept pressed the power button to shutdown the system. And from then the button is working . I mean that if I press it the board power on and keep to be on.(no shutdown after few seconds ) The only thing I've notice is that I have to keep the button pressed for more than one second. Now I'm installing the dietpi image so I can't power the system off , but after I will try again with the ubuntu image I have used at the beginning. I wish everybody a great day. Regards Filippo RE: On/Off Switch Pad Working Bad - MarkHaysHarris777 - 06-23-2016 Interesting. Well, I'm not screwing around with it any longer till the buttons actually get here. RE: On/Off Switch Pad Working Bad - Xabaras76 - 06-27-2016 Hello to everybody.! I think I will follow MarkHaysHarris777 suggestion....to not screwing around with it because power button it is now acting as before.... If I press power button the board powers up...but after few seconds it off. So.....I will disconnect and reconnect the power cable to properly power the board. By the way...I wish a great day to everybody ! Best regards Filippo RE: On/Off Switch Pad Working Bad - dhardingham - 06-27-2016 Once the CPU has been shutdown, the power switch can only be start the boot sequence when there is a battery attached. If there is no battery, the power will be turned off. Just odd! RE: On/Off Switch Pad Working Bad - MarkHaysHarris777 - 06-27-2016 Yes, the PMIC detects whether the battery is plugged in, and if not then it powers down. Well, also the battery has to have a good charge to boot... weak battery means the PMIC will shutdown the system when the power button is pressed. I don't have my battery yet, so cannot test. The power button does send keycode 116 to the kernel to prompt a power down with gnu+linux; works well-- also tested with Droid. RE: On/Off Switch Pad Working Bad - pfeerick - 06-28-2016 (06-27-2016, 11:11 AM)dhardingham Wrote: Once the CPU has been shutdown, the power switch can only be start the boot sequence when there is a battery attached. If there is no battery, the power will be turned off. Just odd! This is exactly the same behaviour I have noticed - the power button requires a battery to be connected - I suspect a symptom of the fact that at heart the pine64 is the guts of a tablet computer... and they don't power up well without batteries! And as Mark pointed out, the power button sends keycode 116 to the kernel, so you can use that to trigger a power down with gnu+linux or re-purpose it for your own nefarious use! ;D This makes it (in my experience anyway):
RE: On/Off Switch Pad Working Bad - dhardingham - 06-28-2016 And the battery isn't being charged! RE: On/Off Switch Pad Working Bad - DonFL - 06-28-2016 I've had "as expected" behavior, running an android image, or a debian image, either shorting the pads (before I got switches) or after. Power on, and power off. Obviously, linux behavior and response is not the same as android. There is no reason I can see that the switch has to be installed to work as opposed to just putting a jumper across the pads. There's nothing magical being done here that suggest a mechanical switch is required. RE: On/Off Switch Pad Working Bad - pfeerick - 06-28-2016 (06-28-2016, 09:24 AM)dhardingham Wrote: And the battery isn't being charged! Indeed, I forgot to mention that. When you use a battery that doesn't have a three wire connection (the middle wire being for the batteries on-board thermistor/temperature sensor), you need to connect that to ground via a 10k resistor, which makes the APX chip think the battery is not too hot to charge RE: On/Off Switch Pad Working Bad - rvalecruz - 06-29-2016 (06-28-2016, 01:11 PM)DonFL Wrote: I've had "as expected" behavior, running an android image, or a debian image, either shorting the pads (before I got switches) or after. Power on, and power off. Obviously, linux behavior and response is not the same as android. Can you provide a picture or diagram of how I would jumper the power pads without a switch? Thanks. Rick |