Power Developer

software/other questions
Page 1 of 1

Author:  hardbop200 [ Thu Mar 08, 2012 5:41 pm ]
Post subject:  software/other questions

Hi! I'm running the Debian image that was posted here recently...it's right under my thread.

Ok, just a few quick questions:

1. Can I install acpi to get the battery status?
2. What is preventing the unit from shutting down? shutdown -r now just reboots the machine...
3. I cannot see any bootup information; I know it seems odd, but seeing all of that startup noise is comforting. How can I get it back?

Thank you! I'm having a ball! :)


Author:  hardbop200 [ Thu Mar 08, 2012 6:46 pm ]
Post subject: 

all - I'm running off no sleep, and it shows. please ignore 2 and 3; #2 is behaving exactly the way it should (duh), and I'm guessing the bootup info is going to the serial console.

sorry for the noise, I'm going to bed. :)

Author:  steev [ Sun Mar 11, 2012 5:14 am ]
Post subject: 

Hi Josh,

Noticed no one had replied to your thread here, acpi isn't used, however, there *should* be some threads on here about getting the battery status from the command line. I can't recall off the top of my head, but if you run a command similar to what gnome-power-manager runs you can see the info (or upower I guess it is called now; there may even be some cli frontend for upower somewhere.)

You're right about number 2, you probably wanted shutdown -h now; You can also just run "poweroff", shutdown -h now is good habit though as not all unix derivatives have poweroff.

For #3, you will have to modify the boot.script file in /boot. You want to change console=${console} (or it may explicitly say console=ttymxc0,115200 to console=tty1 in the boot line, and then re-run prep-kernel to regenerate the boot.scr file. (XX is the last tuple of the kernel version which I believe on the latest armhf is offering But the easiest way to check is to run uname -r. You may want to also remove the quiet option if it's there.

Page 1 of 1 All times are UTC-06:00
Powered by phpBB® Forum Software © phpBB Group