<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Netgear ReadyNAS duo V2 - hard disk presence LEDs</title>
        <description> Hello,
I have managed to run a rootfs of Debian 12 + OMV7 on this old NAS. Everything works except hard disk presence LEDs. Those two LEDs remain off, instead they should turn and stay on when an hard disk is connected in the sata port.
I know that an user managed to make them work by adjusting an udev rule file, but I am very noob in Linux and I have no idea how to do it. 
I&amp;#039;m quite stuck.
Please can someone help me to make those led to work? Thank you very much.</description>
        <link>https://forum.doozan.com/read.php?2,137891,137891#msg-137891</link>
        <lastBuildDate>Sun, 15 Mar 2026 14:50:21 -0500</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://forum.doozan.com/read.php?2,137891,137910#msg-137910</guid>
            <title>Re: Netgear ReadyNAS duo V2 - hard disk presence LEDs</title>
            <link>https://forum.doozan.com/read.php?2,137891,137910#msg-137910</link>
            <description><![CDATA[ Bodhi,<br />
I have managed to configure all the leds with systemd method, here I show how I have done it for people who might find useful for resolving similar issues:<br />
<br />
for configuring leds I have used udev rules: <br />
I have created a new rules file in /etc/udev/rules.d and called it 10-local.rules<br />
<pre class="bbcode">
cd /etc/udev/rules.d/
touch 10-local.rules</pre>
<br />
Then I have gained udev info for the leds that I wanted to configure using udevadm info:<br />
<pre class="bbcode">
udevadm info -a -p /sys/class/leds/status:blue:backup_led</pre>
this is the output:<br />
<pre class="bbcode">
looking at device &#039;/devices/platform/gpio-leds/leds/status:blue:backup_led&#039;:
    KERNEL==&quot;status:blue:backup_led&quot;
    SUBSYSTEM==&quot;leds&quot;
    DRIVER==&quot;&quot;
    ATTR{brightness}==&quot;0&quot;
    ATTR{max_brightness}==&quot;1&quot;
    ATTR{power/control}==&quot;auto&quot;
    ATTR{power/runtime_active_time}==&quot;0&quot;
    ATTR{power/runtime_status}==&quot;unsupported&quot;
    ATTR{power/runtime_suspended_time}==&quot;0&quot;
    ATTR{trigger}==&quot;[none] usb-gadget usb-host kbd-scrolllock kbd-numlock kbd-capslock kbd-kanalock kbd-shiftlock kbd-altgrlock kbd-ctrllock kbd-altlock kbd-shiftllock kbd-shiftrlock kbd-ctrlllock kbd-ctrlrlock f1072004.mdio-bus-mii:00:link f1072004.mdio-bus-mii:00:1Gbps f1072004.mdio-bus-mii:00:100Mbps f1072004.mdio-bus-mii:00:10Mbps usbport timer oneshot disk-activity disk-read disk-write ide-disk1 ide-disk2 mtd nand-disk heartbeat gpio cpu cpu0 default-on panic rfkill-any rfkill-none&quot;</pre>
<br />
this gives all the information for creating the rule. I have done the same with status:blue:disk1_led and status:blue:disk2_led<br />
After that I have edited my newly created 10-local.rules file and inserted these rules:<br />
<pre class="bbcode">
KERNEL==&quot;status:blue:backup_led&quot;, ATTR{trigger}=&quot;usb-host&quot;
KERNEL==&quot;status:blue:disk1_led&quot;, ATTR{trigger}=&quot;ide-disk1&quot;
KERNEL==&quot;status:blue:disk2_led&quot;, ATTR{trigger}=&quot;ide-disk2&quot;</pre>
<br />
The new rule can be tested with<br />
<pre class="bbcode">
udevadm test /sys/class/leds/status:blue:backup_led</pre>
<br />
And finally for activating the rules:<br />
<pre class="bbcode">
udevadm control --reload</pre>
<br />
After configuring those 3 leds, I wanted to make power led blinking upon issuing shutdown/reboot commands, so I created a new systemd service for doing so:<br />
The service file which I have called &quot;powerled-blink&quot; must be created in /etc/systemd/system and must have &quot;.service&quot; extension.<br />
<pre class="bbcode">
cd /etc/systemd/system
touch powerled-blink.service</pre>
<br />
Then I edited it with nano :<br />
<pre class="bbcode">
[Unit]
Description=Power led blinking at shutdown

[Service]
Type=oneshot
RemainAfterExit=true
ExecStart=/bin/true
ExecStop=/bin/bash -c &quot;echo timer  &gt; /sys/class/leds/status:blue:power_led/trigger&quot;

[Install]
WantedBy=multi-user.target</pre>
<br />
what this service do is running the command &quot;true&quot; (ExecStart=/bin/true) on boot and will mantain it as it is still running (Type=oneshot + RemainAfterExit=true) until the machine will stop. As soon as the machine stops the service will be stopped and before it&#039;s termination will execute what is in the ExecStop= , which in my case it is using the timer (that blinks on and off) trigger for status:blue:power_led.<br />
After that for activating the new service:<br />
<pre class="bbcode">
systemctl daemon-reload
systemctl enable powerled-blink
reboot</pre>
<br />
And all was done !]]></description>
            <dc:creator>AndreaCipcino</dc:creator>
            <category>Debian</category>
            <pubDate>Fri, 02 Aug 2024 10:48:15 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?2,137891,137896#msg-137896</guid>
            <title>Re: Netgear ReadyNAS duo V2 - hard disk presence LEDs</title>
            <link>https://forum.doozan.com/read.php?2,137891,137896#msg-137896</link>
            <description><![CDATA[ AndreaCipcino,<br />
<br />
My notes in the release.<br />
<br />
<blockquote class="bbcode"><div><small>Quote<br /></small><strong></strong><br />Updated 01 Nov 2023: <br />
<br />
Basic Debian bookworm Kirkwood rootfs for most Kirwood plugs: <br />
<br />
- tarball size: 250MB <br />
- install size: 714MB <br />
- The init system used in this rootfs is sysvinit . To boot with systemd, see Notes below. <br />
- Installed packages: nano, avahi, ntp, busybox-syslogd (log to RAM), htop, isc-dhcp-client, dialog, bzip2, nfs server/client, iperf, ethtool, sysvinit-core, sysvinit, sysvinit-utils, u-boot-tools, libubootenv-tool, mtd-utils, and orphan-sysvinit-scripts. <br />
- <b>see LED controls examples in /etc/rc.local, and /etc/init.d/halt</b></div></blockquote>
<br />
So do<br />
<pre class="bbcode">
ls -l /sys/class/leds</pre>
And you should see<br />
<pre class="bbcode">
status:blue:disk1_led
status:blue:disk2_led</pre>
<br />
And see this <a href="https://forum.doozan.com/read.php?2,23630"  rel="nofollow">Wiki topic for example</a><br />
<br />
How to control LEDs in Linux userspace (HDD LEDs triggers) <br />
<a href="https://forum.doozan.com/read.php?3,136816,136829#msg-136829"  rel="nofollow">https://forum.doozan.com/read.php?3,136816,136829#msg-136829</a><br />
<br />
If you are running systemd, instead of /etc/rc.local, you might need a different set up during boot to set the triggers.]]></description>
            <dc:creator>bodhi</dc:creator>
            <category>Debian</category>
            <pubDate>Fri, 26 Jul 2024 14:19:21 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?2,137891,137894#msg-137894</guid>
            <title>Re: Netgear ReadyNAS duo V2 - hard disk presence LEDs</title>
            <link>https://forum.doozan.com/read.php?2,137891,137894#msg-137894</link>
            <description><![CDATA[ Hello bodhi,<br />
yes I have used your rootfs of Bookworm with included kernel version 6.5.7. Then creating swap file, done apt-update / upgrade, and set it to boot with systemd. Then installed omv7. Should I update kernel with your latest version? <br />
There are 3 LEDs on Nas. &quot;Act&quot; led actually works with hard disks activity. Led &quot;1&quot; and &quot;2&quot; instead are always off.<br />
I don&#039;t know if it is related but I have X-RAID2 on those disks. I don&#039;t think that I should reformat the disks for use on omv7 since X-RAID2 with 2 disks should be using RAID1.  Thank you!<br />
<br />
Ps: during omv7 installation I got another &quot;update-initramfs&quot; so I have regenerated again the uInitrd boot file.]]></description>
            <dc:creator>AndreaCipcino</dc:creator>
            <category>Debian</category>
            <pubDate>Fri, 26 Jul 2024 02:22:09 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?2,137891,137893#msg-137893</guid>
            <title>Re: Netgear ReadyNAS duo V2 - hard disk presence LEDs</title>
            <link>https://forum.doozan.com/read.php?2,137891,137893#msg-137893</link>
            <description><![CDATA[ AndreaCipcino,<br />
<br />
&gt; I have managed to run a rootfs of Debian 12 + OMV7<br />
&gt; on this old NAS. Everything works except hard disk<br />
&gt; presence LEDs. <br />
<br />
Which kernel are you running on this ReadyNAS duo V2?<br />
<br />
If you are running my regularly released kernel here, then yes that&#039;s how it behaves. When you access the HDD, it will flash to show activities.]]></description>
            <dc:creator>bodhi</dc:creator>
            <category>Debian</category>
            <pubDate>Thu, 25 Jul 2024 20:47:57 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?2,137891,137891#msg-137891</guid>
            <title>Netgear ReadyNAS duo V2 - hard disk presence LEDs</title>
            <link>https://forum.doozan.com/read.php?2,137891,137891#msg-137891</link>
            <description><![CDATA[ Hello,<br />
I have managed to run a rootfs of Debian 12 + OMV7 on this old NAS. Everything works except hard disk presence LEDs. Those two LEDs remain off, instead they should turn and stay on when an hard disk is connected in the sata port.<br />
I know that an user managed to make them work by adjusting an udev rule file, but I am very noob in Linux and I have no idea how to do it. <br />
I&#039;m quite stuck.<br />
Please can someone help me to make those led to work? Thank you very much.]]></description>
            <dc:creator>AndreaCipcino</dc:creator>
            <category>Debian</category>
            <pubDate>Thu, 25 Jul 2024 18:24:11 -0500</pubDate>
        </item>
    </channel>
</rss>
