[Dockstar] Shutdown and Wakeup options

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

[Dockstar] Shutdown and Wakeup options

Postby sambul13 » Thu Aug 23, 2012 8:40 pm

I am trying to power off ALARM on Dockstar, but using halt, shutdown or poweroff commands with any available options does not result in switching its power off. The device remains warm indicating its still powered indefinitely. Is there a way to switch off its power without removing the power plug? I don't want it to die prematurely due to constant unneeded heatup.

And reversing the question, once the device is powered off or halted, is there a way to wake it up without reboot? How about wake-on-lan feature? For example, if the device is in low power mode, but miniDLNA server is still visible in a media player, would be nice to fully wakeup the device by starting browsing its miniDLNA DB on TV screen. Is that possible?

If powering off the device isn't possible, how to power off its select USB port(s) with connected USB drives? I have media drive in USB enclosure hooked to Dockstar, it stops on its own when not accessed for some time, but its USB PCB remains powered until connected to it devices powers off its USB port.
sambul13
 
Posts: 258
Joined: Sat Aug 18, 2012 10:32 pm

Re: [Dockstar] Shutdown and Wakeup options

Postby WarheadsSE » Thu Aug 23, 2012 9:07 pm

Poweroff: known issue, being resolved, iirc.

Wake-On-Lan : not supported by the hardware.

Usb: hdparm.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: [Dockstar] Shutdown and Wakeup options

Postby sambul13 » Thu Aug 23, 2012 9:59 pm

I don't think hdparm will do what I described. My USB drive is already smart enough to stop spinning when the data is not requested for some time. But the enclosure USB PCB remains powered on until the Dockstar USB port power is switched off. There should be a way to switch selected Dockstar USB to a power saving mode or port off, and restore full power to it once the data is requested from the USB drive (by miniDLNA or such). May be some features of PM-Utils and Laptop Mode Tools can provide needed controls? The tools seem to partially overlap functionality and also complement each other.
Last edited by sambul13 on Sat Aug 25, 2012 1:58 pm, edited 1 time in total.
sambul13
 
Posts: 258
Joined: Sat Aug 18, 2012 10:32 pm

Re: [Dockstar] Shutdown and Wakeup options

Postby WarheadsSE » Fri Aug 24, 2012 1:48 am

Ah, I see where you are looking to got with USB power. While I am not immediately aware of the capabilities of that on the dockstar, on ARM it's a bit more complicated than you seem to be accustomed to. If it is the case, it will most likely be available via a GPIO pin, and there just might be something in pm-utils that knows how to make use of that GPIO to disable the power, but I see it as a bit unlikely.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: [Dockstar] Shutdown and Wakeup options

Postby sambul13 » Fri Aug 24, 2012 1:21 pm

$this->bbcode_second_pass_quote('WarheadsSE', 'P')oweroff: known issue, being resolved, iirc.
Wake-On-Lan : not supported by the hardware.


Could you point to the resolution activity thread?

In Proper way to shutdown 2-year old thread user geert says, the inability to switch power off is related to hwclock not available in Dockstar, so correction of /etc/rc.shutdown script is needed. I don't see any mentioning of hwclock in my system's rc.shutdown script, but it still doesn't switch to ANY power saving or power off mode, only halts the proc, but the device still heats up. But it did for him at least with power off. So what was changed that reverted the outcome?

There are reports that USB Thumbs get damaged overtime when powered 24/7 especially so close the heat source. The same goes for webcam, etc., and there is no real need for many users to keep it up all the time, only when streaming media or such.

Regarding Wake-on-Lan support, in Dockstar and Wake-on-lan (WOL) its cited "not to be supported" by the Dockstar Lan chipset. But it may be the driver issue: is it possible that kernel binds the driver that can't fully use Dockstar's ethernet chipset features, and the original chipset manufacturer's driver would reveal WOL feature? Though I couldn't find on the web any mentioning of WOL for Marvell mv643xx ethernet controller the Dockstar seems to use.
Last edited by sambul13 on Sat Aug 25, 2012 1:54 pm, edited 2 times in total.
sambul13
 
Posts: 258
Joined: Sat Aug 18, 2012 10:32 pm

Re: [Dockstar] Shutdown and Wakeup options

Postby WarheadsSE » Sat Aug 25, 2012 2:25 am

Let me put it this way:
You can put a wake on lan capable network card in an x86 box, but of the motherboard does not support it, you're SOL.



You're SOL.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: [Dockstar] Shutdown and Wakeup options

Postby sambul13 » Sat Aug 25, 2012 4:55 pm

But is it possible to put the Mobo into one of less demanding power saving states without switching off completely and still retaining lan service, so that it can be fully powered up again once minidlna or similar service is requested by a user say via TV or website (with switching relevant Dockstar USB ports power OFF/ON in the process)?

I got it, WOL isn't there, but leaving LAN port power On and putting the system into a select state may do the trick, as it doesn't seem to require actual wake up from Standby? There are several ACPI states available in Linux Power Management, and hopefully some don't require WOL functionality. The goal is not to heat up Dockstar when not in use. Btw, acpidump utility is available with pmtools to check plug computer board available ACPI tables.

What should at least be possible is to switch the Dockstar power Off completely via xterm shutdown command. Anyone actually checked, why it remains so hot after halting the proc? Something keeps working hard after that resulting in heat buildup, since the power supplied by its adapter is hardly further converted.
Last edited by sambul13 on Sat Aug 25, 2012 9:09 pm, edited 2 times in total.
sambul13
 
Posts: 258
Joined: Sat Aug 18, 2012 10:32 pm

Re: [Dockstar] Shutdown and Wakeup options

Postby WarheadsSE » Sat Aug 25, 2012 8:37 pm

Ok:
- search the forum/github issues yourself.
- Mr. SP, then pull the tools and figure it out.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: [Dockstar] Shutdown and Wakeup options

Postby sambul13 » Sat Aug 25, 2012 9:08 pm

I'm not fluent in Linux enough to resolve such issues on the spot. It requires more experience. :D
sambul13
 
Posts: 258
Joined: Sat Aug 18, 2012 10:32 pm


Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 35 guests