You are not logged in.
Pages: 1
Dear all,
Every time I want to shut our SBC+Display system (with SliTaz 4 installed on the 2GiB CompactFlash II) down, the system evolves from normal activity to a system halt.
This is an input-free, standalone, always-on system whose power-off behavior is managed by an external system.
How should I proceed in order to convince the system (the SBC) to actually shut down?
Thank you so much for your time!
Kind regards
Offline
Slitaz uses poweroff to shutdown the hardware.
Try in terminal
poweroff -f
If hardware supports wake-on-lan with computers connected over ethernet/internet you can use ether-wake to power up/down from another computer.
Offline
@mojo: Thank you so much for your contribution.
I'm sorry to tell you it doesn't work, either.
I had used shutdown and poweroff (didn't use that option) and the system was just halted, not powered off. It just closed down every service or process and went to a halt.
I have just issued [c]sudo poweroff -f[/c] and the system got immediately hung. It is clearly not the effect I was looking for.
Thank you so much for your time anyway.
KR.
Antonio
Offline
Normally the command is, as root :-
shutdown -h now
that should shutdown the system & halt (ie. switch off).
HTH
@fatmac: I have been dealing with another urgent project for a while.
Now that it is almost out, I'm back to this one.
I had already tried to use shutdown. However, shutdown doesn't seem to be installed in the system.
I tried to use it as normal user, via sudo, and directly as root. Same answer: [c]shutdown: command not found[/c].
I tried to install it via [c]tazpkg -gi shutdown[/c] (naive, isn't it?); I got:
[c]unable to find: shutdown in the mirror's packages' list[/c]
and
[c]unable to find: get-shutdown in the mirror's packages' list[/c].
Any hint here?
Thank you so much for your time and your help.
Kind regards,
Antonio
Offline
Hi Antonio,
poweroff works great for me, and I even bind it to Power button in my netbook, using xbindkeys.
Do you remember old PC with old windows98 on board? At the end of work it halted with picture "Now you can power off" (or something similar). Why? Due to lack of ACPI (Advanced Configuration and Power Interface).
So, I think your machine is not ACPI-powered, or you have not install needed drivers. I've not digged it deeper, sorry, and can't help more.
Offline
If indeed ACPI is needed for poweroff -f to work, you will need to have it enabled in your BIOS.
I'm not sure myself as I'm a long time Debian user & quite new to SliTaz.
simply 'poweroff' works ok for me, both on a physical machine and -since today- my VirtualBox system.
/emgi
Offline
@fatmac: You pointed me to the right direction.
I went down our system BIOS and found that it was not properly set.
I found the matching option, set it to ATX Power, hit F10 and now I'm able to actually power the system off.
In fact, I've been playing a bit with poweroff available options and now our application is properly set to order the system to power off when it is needed and as ordered.
Thanks a lot to fatmac and to all the answering people for your time and your help.
SliTaz is a very good distro and its supporting community stands up at the highest level.
Kind regards,
Offline
Pages: 1
[ Generated in 0.015 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]