DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#26 2010-06-16 19:11:25

netventure
Member
Registered: 2010-03-12
Posts: 9

Re: DNS323d GPIO/LED daemon for DNS323 Rev B1 (Debian)

Here's a button/input check:

venkatius@Storage:~$ evtest /dev/input/event0
Input driver version is 1.0.0
Input device ID: bus 0x19 vendor 0x1 product 0x1 version 0x100
Input device name: "gpio-keys"
Supported events:
  Event type 0 (Sync)
  Event type 1 (Key)
    Event code 116 (Power)
    Event code 408 (Restart)
Testing ... (interrupt to exit)
Event: time 1276704446.852130, type 1 (Key), code 116 (Power), value 1
Event: time 1276704446.852151, -------------- Report Sync ------------
Event: time 1276704447.102159, type 1 (Key), code 116 (Power), value 0
Event: time 1276704447.102175, -------------- Report Sync ------------
Event: time 1276704451.190002, type 1 (Key), code 116 (Power), value 1
Event: time 1276704451.190022, -------------- Report Sync ------------
Event: time 1276704460.538458, type 1 (Key), code 116 (Power), value 0
Event: time 1276704460.538476, -------------- Report Sync ------------


It's detected the power button and shutdown normally. Let me try booting it up again...

Offline

 

#27 2010-07-18 13:24:28

netventure
Member
Registered: 2010-03-12
Posts: 9

Re: DNS323d GPIO/LED daemon for DNS323 Rev B1 (Debian)

So, I've been observing this box and here is what I noticed:

The 'blinking' and 'steady' led states are effected by how warm or how cool the DNS-323 is when it is being switched off.
The power led comes up in steady state if the device is booted up when 'cool'. If the device is 'warm' or above a certain (undetermined) temperature, while powering up, the led goes into a blinking state.

Allow me to explain cool and warm since I don't have exact temperature measurements.

When I started posting to this thread, it was mid summer with local 'geographical' temperatures hovering in the 41*C range. Even if the device was powered down the whole day and switched on in the night, it would work in a 'blinking' state. The DNS-323 was always warm (even if switched off for several hours) since it was stationed in the penthouse which is always hot in summer (very hot in the day, warm in the night).

Fast forward several months and it's now the rainy season here. Average temperature is between 25*C and 32*C. Also, the 323 is now in the ground floor of the house, in the coolest corner. If I leave the device powered off for about 6-7 hours, it cools down enough that when I power it on, it comes up in a 'steady' state almost every evening.

If I let it run for about 20-30 mins, shut it down and then power it on again, it boots up in a blinking state. With what I've unscientifically, yet consciously observed, the device boots up in 'steady' state if it's below a specific temperature value(s?).

I'm thinking of trying acquiring/making a jtag to log the bootloader's messages and see if there's any difference in content between when it's 'steady' and 'blinking', but that's a long shot for now...

Offline

 

#28 2010-07-26 23:38:00

RoganDawes
Member
Registered: 2010-07-01
Posts: 44

Re: DNS323d GPIO/LED daemon for DNS323 Rev B1 (Debian)

You don't need JTAG to log the devices messages, just a serial console.

Offline

 

#29 2013-04-12 08:14:29

eastpole
Member
Registered: 2009-10-02
Posts: 9

Re: DNS323d GPIO/LED daemon for DNS323 Rev B1 (Debian)

balou1974 wrote:

New Kernel + new Daemon:

Kernel - http://merkel.debian.org/~tbm/tmp/kerne … _armel.deb

Daemon - see Attachment !!!!



The new Kernel is running really well!!! Try it out Marvell Cesar-Crypto is supported, too !!!

Wow, it's 2013, I'm just arriving at this point, and this useful old code still works great!

(I used the second iteration you posted --> ) dns323d.c, Size: 3,397 bytes, Downloads: 217

Thanks a tonne to Sothis and Manuel! I raise a toast to you, balou1974!

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB