<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Off the wall - How to control STATUS LED in general purpose Linux? in SmartZone and Virtual SmartZone</title>
    <link>https://community.ruckuswireless.com/t5/SmartZone-and-Virtual-SmartZone/Off-the-wall-How-to-control-STATUS-LED-in-general-purpose-Linux/m-p/98698#M5745</link>
    <description>&lt;P&gt;I don't expect much of a reply on this (unless someone at Ruckus is feeling&amp;nbsp;&lt;EM&gt;really&lt;/EM&gt; generous) but I recently got my hands on a SmartZone 100 controller that's EOL'd and out of support and to add insult to injury, it also has a failing hard drive.&amp;nbsp; It was destined to the e-waste recycler but I snagged it in the hopes I could do something cool with it and so far it's been a beastly OPNSense firewall.&amp;nbsp;&lt;/P&gt;&lt;P&gt;There's one small catch, the flashing red STATUS LED on the front of the chassis.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After performing some disk forensics on the failing hard drive, I've managed to find out that the LED is controlled by a pair of entries in /proc (specifically RED_LED = /proc/v54bsp/sysLed0 and GREEN_LED = /proc/v54bsp/sysLed1) and by a script, /usr/sbin/led.sh.&amp;nbsp; &amp;nbsp;This is called from rks-systools.&amp;nbsp; Further examination of the drive indicates that this may be part of a custom linux module called v54_bsp.ko.&amp;nbsp; I'm guessing that v54_bsp exposes the two sysLed entries in /proc and uses that to manipulate the hardware to flash the LED to indicate various states of the appliance.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, that's where I'm dead in the water.&lt;/P&gt;&lt;P&gt;From what I see, the v54_bsp module does a lot more than just controlling a status LED but that's all that I'm really interested in.&amp;nbsp; I'm not trying to reverse engineer any trade secrets or any of that nonsense, I just want to figure out how to change the STATUS LED to make it more useful.&amp;nbsp; Is there someone that can tell me what the hardware chip is used to control the LED so that I can examine its datasheets and learn how to control it?&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
    <pubDate>Thu, 24 Oct 2024 19:04:20 GMT</pubDate>
    <dc:creator>firestorm_v1</dc:creator>
    <dc:date>2024-10-24T19:04:20Z</dc:date>
    <item>
      <title>Off the wall - How to control STATUS LED in general purpose Linux?</title>
      <link>https://community.ruckuswireless.com/t5/SmartZone-and-Virtual-SmartZone/Off-the-wall-How-to-control-STATUS-LED-in-general-purpose-Linux/m-p/98698#M5745</link>
      <description>&lt;P&gt;I don't expect much of a reply on this (unless someone at Ruckus is feeling&amp;nbsp;&lt;EM&gt;really&lt;/EM&gt; generous) but I recently got my hands on a SmartZone 100 controller that's EOL'd and out of support and to add insult to injury, it also has a failing hard drive.&amp;nbsp; It was destined to the e-waste recycler but I snagged it in the hopes I could do something cool with it and so far it's been a beastly OPNSense firewall.&amp;nbsp;&lt;/P&gt;&lt;P&gt;There's one small catch, the flashing red STATUS LED on the front of the chassis.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After performing some disk forensics on the failing hard drive, I've managed to find out that the LED is controlled by a pair of entries in /proc (specifically RED_LED = /proc/v54bsp/sysLed0 and GREEN_LED = /proc/v54bsp/sysLed1) and by a script, /usr/sbin/led.sh.&amp;nbsp; &amp;nbsp;This is called from rks-systools.&amp;nbsp; Further examination of the drive indicates that this may be part of a custom linux module called v54_bsp.ko.&amp;nbsp; I'm guessing that v54_bsp exposes the two sysLed entries in /proc and uses that to manipulate the hardware to flash the LED to indicate various states of the appliance.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, that's where I'm dead in the water.&lt;/P&gt;&lt;P&gt;From what I see, the v54_bsp module does a lot more than just controlling a status LED but that's all that I'm really interested in.&amp;nbsp; I'm not trying to reverse engineer any trade secrets or any of that nonsense, I just want to figure out how to change the STATUS LED to make it more useful.&amp;nbsp; Is there someone that can tell me what the hardware chip is used to control the LED so that I can examine its datasheets and learn how to control it?&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2024 19:04:20 GMT</pubDate>
      <guid>https://community.ruckuswireless.com/t5/SmartZone-and-Virtual-SmartZone/Off-the-wall-How-to-control-STATUS-LED-in-general-purpose-Linux/m-p/98698#M5745</guid>
      <dc:creator>firestorm_v1</dc:creator>
      <dc:date>2024-10-24T19:04:20Z</dc:date>
    </item>
  </channel>
</rss>

