[nas-2000] Re: how to grab the power-button?

  • From: "Alfred Bruckner" <alfred.bruckner@xxxxxx>
  • To: <nas-2000@xxxxxxxxxxxxx>
  • Date: Tue, 27 Nov 2007 10:23:30 +0100

there must be some other connections between CPU and CPD, because shortly
after boot the button immediately shuts off power, later there is the delay.
So there must be some Signal coming from CPU, telling the CPLD to use the


-----Original Message-----
From: nas-2000-bounce@xxxxxxxxxxxxx [mailto:nas-2000-bounce@xxxxxxxxxxxxx]
On Behalf Of Felix Mellmann
Sent: Tuesday, November 27, 2007 10:11 AM
To: nas-2000@xxxxxxxxxxxxx
Subject: [nas-2000] Re: how to grab the power-button?

since I have some troubles with my debian on the nas (...) I haven't
found the time for reconstructing what
/sausalito/handlers/base/power/powermgmt does. But it seems, that it
opens /dev/sl_pwr and simply waits ...
The CPLD should also take care of the USB mode, since the device is shut
down immetiately on pressing that button.


Alfred Bruckner schrieb:
> Hi,
> the power button has two connections:
> 1. to U4 which is a CPLD (programmable logic - cannot be modified) that
> device seems to have some internal timer which causes the power LED to
> and later switches off the power
> 2. directly to the CPU on GPIO25, where it should generate an interrupt
> SW initiates a system shutdown
> Alfred

Other related posts: