leds and rtc problem
Hi all, this is a follow-up of yesterday problem about poerformance
I was said to do:
>The disks leds are disabled by default and don't have a trigger to
>enable them. Look at the /sys/class/leds/ directory. If you want to
>enable them, echo '1' in the brightness file. For instance:
>echo 1 > /sys/class/leds/HD1:green/brightness
>The hardware will do the rest for the disk I/O access for the green
>leds.
Now I compiled my zImage with leds support, and on boot I can read:
....
INIT: version 2.86 booting
Starting the hotplug events dispatcher: udevd.
Synthesizing the initial hotplug events...done.
Waiting for /dev to be fully populated...Registered led device: status:amber
Registered led device: HD:green
done.
...
lsmod output:
storage01:/sys/class/leds# lsmod
Module Size Used by
dm_snapshot 15712 0
dm_mirror 24960 0
dm_mod 51876 2 dm_snapshot,dm_mirror
leds_gpio 3072 0
led_class 3876 1 leds_gpio
and /sys/class/leds directory:
storage01:/sys/class/leds# dir
total 0
drwxr-xr-x 4 root root 0 Nov 19 15:19 .
drwxr-xr-x 22 root root 0 Jan 1 1970 ..
drwxr-xr-x 3 root root 0 Nov 19 15:19 HD:green
drwxr-xr-x 3 root root 0 Nov 19 15:19 status:amber
So: I have no HD1:green directory;
inside HD:green I can see:
storage01:/sys/class/leds/HD:green# dir
total 0
drwxr-xr-x 3 root root 0 Nov 19 15:19 .
drwxr-xr-x 4 root root 0 Nov 19 15:19 ..
-rw-r--r-- 1 root root 0 Nov 19 15:20 brightness
lrwxrwxrwx 1 root root 0 Nov 19 15:20 device -> ../../../devices/platform/leds-gpio.1
drwxr-xr-x 2 root root 0 Nov 19 15:20 power
lrwxrwxrwx 1 root root 0 Nov 19 15:20 subsystem -> ../../leds
-rw-r--r-- 1 root root 4096 Nov 19 15:20 trigger
-rw-r--r-- 1 root root 4096 Nov 19 15:20 uevent
I tried to echo 1 into this brightness file, but nothing changed
What else can I try ?
---
2nd question: I have no rtc inside; I setup in order to get the time from an external time server,
and it is ok; Anyway I would like to know if this system (ss4000e) actually support rtc, and
what can I try to do to enable it. I have non /dev/rtc0 nor any module compiled about rtc
thanks in advance,
Andrea
Reply to: