front button:
# od -x /dev/event0
0000000 b5c7 4cbd 543c 000a 0001 0074 0001 0000
0000020 b5c7 4cbd 5449 000a 0000 0000 0000 0000
0000040 b5c8 4cbd a31f 000c 0001 0074 0000 0000
0000060 b5c8 4cbd a328 000c 0000 0000 0000 0000
back button not work
> Could you please post the contents of /tmp/board?
# cat /tmp/board
B1
but on bottom side of device is label "Rev.C1"
standard kernel from Alt-F-0.1B4 not works.
Its powered off after loading.
# dmesg |grep DNS
Machine: D-Link DNS-323
DNS-323: Identified HW revision C1
DNS-323: Found ethernet MAC address: 1c:bd:b9:89:5f:21.
I get this device recently. may be button is broken. I have not tested
it with standard firmware
> We have to live with it for now, unless you are able to edit some C
> source code and compile the kernel?
I can edit C source and compile kernel. But I cant connect serial to device
because that device is not mine own.
> Have you tested the fan with the zImage-C1-testing-2 kernel?
Just tested:
leds are working.
# cat /sys/devices/platform/mv64xxx_i2c.0/i2c-0/0-0048/temp1_input
36000
# cd /sys/class/hwmon/hwmon1/
# ls -l
lrwxrwxrwx 1 root root 0 Oct 19 16:44 device ->
../../../devices/platform/dns323c-fan.0
lrwxrwxrwx 1 root root 0 Oct 19 16:44 subsystem ->
../../hwmon
-rw-r--r-- 1 root root 4096 Oct 19 16:44 uevent
# cd device/
# ls -l
lrwxrwxrwx 1 root root 0 Oct 19 17:03 bus ->
../../../bus/platform
lrwxrwxrwx 1 root root 0 Oct 19 17:03 driver ->
../../../bus/platform/drivers/dns323c-fan
-r--r--r-- 1 root root 4096 Oct 19 17:03 fan1_input
lrwxrwxrwx 1 root root 0 Oct 19 17:03 hwmon:hwmon1 ->
../../../class/hwmon/hwmon1
-r--r--r-- 1 root root 4096 Oct 19 17:03 modalias
-r--r--r-- 1 root root 4096 Oct 19 17:03 name
-rw-r--r-- 1 root root 4096 Oct 19 17:04 pwm1
-rw-r--r-- 1 root root 4096 Oct 19 17:03 pwm1_enable
lrwxrwxrwx 1 root root 0 Oct 19 17:03 subsystem ->
../../../bus/platform
-rw-r--r-- 1 root root 4096 Oct 19 17:03 uevent
# echo 100 >pwm1
# readlink -f /sys/class/hwmon/hwmon1/device/pwm1
/sys/devices/platform/dns323c-fan.0/pwm1
fan is working.
# cd /sys/class/gpio/
# echo 10 >export
# cd gpio10/
# cat active_low
0
# cat direction
in
# cat edge
none
# cat value
1
# cat value
0
# cat value
1
yes. its gpio10. I have pressed reset button and do `cat value`, its
changed
> PS-I'm assuming that you can use and mount filesystems on disk and
> that the network is working at 100Mbps and 1Gbps.
filesystems on disk mounts automatically. network works at 1G, jumbo
frames are possible.
I see 'hdparm -t /dev/sda1' at 55MBs, when with dlink firmware no more
then 25MBs.
I dont know why, but 'hdparm -t /dev/sda' show only 22MBs. (With dlink
firmware was 16MBs).
reset button works:
# uname -a
Linux dlink-895F21 2.6.35.7 #9 Mon Oct 18 22:06:40 WEST 2010 armv5tel
GNU/Linux
# od -x /dev/event0
0000000 f27a 4cbd a1f1 000c 0001 0198 0001 0000
0000020 f27a 4cbd a1fe 000c 0000 0000 0000 0000
0000040 f27b 4cbd 5047 0001 0001 0198 0000 0000
0000060 f27b 4cbd 5050 0001 0000 0000 0000 0000
dlink-895F21 login: root
COLUMNS=136;LINES=35;export COLUMNS LINES;
# for i in $(seq 0 3); do cat /sys/class/hwmon/hwmon${i}/device/name; done
lm75
dns323c-fan
cat: can't open '/sys/class/hwmon/hwmon2/device/name': No such file or
directory
cat: can't open '/sys/class/hwmon/hwmon3/device/name': No such file or
directory