[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

R: R:performance information



...
> This means that the 4 enclosure's leds, when enabled, will blink on
> each
> I/O (and only theses 4 green ones). The hardware handle that by
> itself
>
> > It's not like this, at least in my situation.
> > echoing 1 to the amber of each disk turn on the amber led, but not
> the green
> > echoing 1 to the green of each disk does not produce any effect.
> Perhaps I am
>
> You can only enable either green or amber leds but not both. If you
> enable amber and green leds at the same time, only the amber leds will
> be on.
> So, before echoing 1 to the green led sysfs entry, echo 0 to the
> corresponding amber led sysfs entry
>
> > still missing some driver, but I wasn't able to find anything on the
> net
>
> the ss4000e/em7210 leds are only connected to the iop and to the f75111
> chipsets so you have all drivers.
>
> Arnaud

This is exactly what I did:

storage01:~# cd /sys/class/leds/
storage01:/sys/class/leds# dir
total 0
drwxr-xr-x 14 root root 0 Nov 25 08:39 .
drwxr-xr-x 23 root root 0 Nov 25 08:39 ..
drwxr-xr-x  3 root root 0 Nov 25 08:39 HD1:amber
drwxr-xr-x  3 root root 0 Nov 25 08:39 HD1:green
drwxr-xr-x  3 root root 0 Nov 25 08:39 HD2:amber
drwxr-xr-x  3 root root 0 Nov 25 08:39 HD2:green
drwxr-xr-x  3 root root 0 Nov 25 08:39 HD3:amber
drwxr-xr-x  3 root root 0 Nov 25 08:39 HD3:green
drwxr-xr-x  3 root root 0 Nov 25 08:39 HD4:amber
drwxr-xr-x  3 root root 0 Nov 25 08:39 HD4:green
drwxr-xr-x  3 root root 0 Nov 25 08:39 HD:amber
drwxr-xr-x  3 root root 0 Nov 25 08:39 HD:green
drwxr-xr-x  3 root root 0 Nov 25 08:39 status:amber
drwxr-xr-x  3 root root 0 Nov 25 08:39 status:green

echo 0 > HD1\:amber/brightness
echo 0 > HD2\:amber/brightness
echo 0 > HD3\:amber/brightness
echo 0 > HD4\:amber/brightness
echo 0 > HD\:amber/brightness
echo 0 > status\:amber/brightness

echo 1 > HD1\:green/brightness
echo 1 > HD2\:green/brightness
echo 1 > HD3\:green/brightness
echo 1 > HD4\:green/brightness
echo 1 > HD\:green/brightness
echo 1 > status\:green/brightness

but nothing happened
I have no problem in turnig on (fixed ) each amber led and the turn it off.
I have no problem in turnig on (fixed ) status and HD amber or green led and the turn them off.

Meanwhile, I saw brightness is a "strange" file, originally 4096 bytes sized, containig "0", the hex "0a" and the
remaing are zeroes. When I echo 1 it becames a "regular" file, containg only "1" (1 byte)

If I try to copy a 4096 bytes rearranged with an hex editor, I cannot do it (cp non permitted, rm brightness
not permitted...)

thanks for your help,

Andrea



Reply to: