Re: Blinking red battery light on XO-1
On 08/03/2012 11:38 PM, Hal Murray wrote: I have a hack script that reboots the XO every 4 hours. It's got a patch to check /sys/class/power_supply/olpc-battery/error and log the answer instead of rebooting. The error was 20 (Sorry I didn't remember to look there earlier.) 20 is 0x14 which is bank zero error. I think you are the 2nd person to report a transient bank 0 problem. Thats odd since I would expect a bank 0 error to be permanent. The code does several re-reads before giving up and throwing the error. From errors that dsd has reported I've been suspecting that there is some timing that may be marginal since a reset fixes it I wonder if there is something that is going wrong and messing up the 1-wire timing. -- Richard A. Smith rich...@laptop.org One Laptop per Child ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Blinking red battery light on XO-1
rich...@laptop.org said: Blinking Red is error. Next time it happens can you please boot to OFW and do ok watch-battery Then press a key to make watch-battery exit. When it exits it will tell you what the error is. Please pass that on. I just got one. When I got to OFW, it told me the lid switch was active and gave me 8 seconds before it powered off. On power up again, it was fine and the battery light was green. I wasn't smart/fast enough to notice when the battery light stopped blinking. Is there anything I can do while still running Linux? -- These are my opinions. I hate spam. ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Blinking red battery light on XO-1
On Fri, Aug 03, 2012 at 02:04:10PM -0700, Hal Murray wrote: When I got to OFW, it told me the lid switch was active and gave me 8 seconds before it powered off. Presumably the lid switch was not actually active and the EC was misbehaving. Onk XO-1, the magneto resistive sensor for the lid switch is connected to the embedded controller, and this advises Open Firmware of the lid being closed. To avoid it powering off, type lid-off and press enter. Yes, you only have eight seconds to do this. That way you might have been able to use watch-battery as Richard had suggested. -- James Cameron http://quozl.linux.org.au/ ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Blinking red battery light on XO-1
qu...@laptop.org said: To avoid it powering off, type lid-off and press enter. Yes, you only have eight seconds to do this. The printout said that, but I didn't even get started typing before it timed out. I'm not sure where 8 seconds came from. If that happened often enough I'd probably be able to do it fast enough. But that was the first time I had seen it. I wasn't quick enough to read and understand and type. Remember, I was trying to not destroy the evidence so I was going slowly. - Something similar happened a few months ago which is why I saved Richard's message. I have a hack script that reboots the XO every 4 hours. It's got a patch to check /sys/class/power_supply/olpc-battery/error and log the answer instead of rebooting. The error was 20 (Sorry I didn't remember to look there earlier.) -- These are my opinions. I hate spam. ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Blinking red battery light on XO-1
On Fri, Aug 03, 2012 at 08:38:05PM -0700, Hal Murray wrote: qu...@laptop.org said: To avoid it powering off, type lid-off and press enter. Yes, you only have eight seconds to do this. The printout said that, but I didn't even get started typing before it timed out. Yes, but I wanted you to be ready to have to do it. I'm not sure where 8 seconds came from. If that happened often enough I'd probably be able to do it fast enough. But that was the first time I had seen it. I wasn't quick enough to read and understand and type. Remember, I was trying to not destroy the evidence so I was going slowly. Sure, not a criticism, just making sure you have the tools you need. The eight seconds comes from here: http://tracker.coreboot.org/trac/openfirmware/browser/dev/olpc/lid.fth#L6 There's a two second delay before the message appears. The timer starts as soon as ok is printed. -- James Cameron http://quozl.linux.org.au/ ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel