Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    APU2C4 LEDs

    Scheduled Pinned Locked Moved Hardware
    12 Posts 3 Posters 1.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      AWeidner
      last edited by

      pfSense: 2.5.2-RELEASE (amd64)
      System: APU2C4

      apuled0: <APU2> at iomem 0xfed81610-0xfed8161b,0xfed81664-0xfed81667 on isa0
      [2.5.2-RELEASE][root@pfSense]/root: ls /dev/led
      led1 led2 led3
      

      Situation: LEDs not useful anymore

      In versions prior to 2.5.x one could use the LEDs to show various information. I set up mine to show the gateway status. In case something went wrong with the internet access, i asked employees on the remote site to tell me the status of the LEDs.

      Question: Is it possible to restore that functionality in any way? Or make use of the LEDs again at all?

      fireodoF 1 Reply Last reply Reply Quote 0
      • fireodoF
        fireodo @AWeidner
        last edited by

        @aweidner said in APU2C4 LEDs:

        I set up mine to show the gateway status.

        How did you do that?

        What BIOS Version (APU) do you use? What apuled driver do you use?

        Regards,
        fireodo

        Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
        SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
        pfsense 2.8.0 CE
        Packages: Apcupsd, Cron, Iftop, Iperf, LCDproc, Nmap, pfBlockerNG, RRD_Summary, Shellcmd, Snort, Speedtest, System_Patches.

        A 1 Reply Last reply Reply Quote 0
        • A
          AWeidner @fireodo
          last edited by stephenw10

          @fireodo

          The driver came from here: https://github.com/pcengines/apu2-documentation/issues/250

          Sorry, forgot the BIOS info.

          [2.5.2-RELEASE][root@pfSense]/root: dmidecode|grep -i bios
          SMBIOS 2.7 present.
          BIOS Information
                          BIOS is upgradeable
                  BIOS Revision: 4.0
          
          fireodoF 1 Reply Last reply Reply Quote 0
          • fireodoF
            fireodo @AWeidner
            last edited by fireodo

            @aweidner said in APU2C4 LEDs:

            @fireodo

            The driver came from here: [githubmate]

            OK, thats the right driver for freebsd 12.x

            Sorry, forgot the BIOS info.
            BIOS Revision: 4.0

            If the BIOS is greater then v4.9.0.7 - the Apuled driver dont work anymore. (even with use of

            debug.acpi.avoid="\_SB_.PCI0.GPIO"
            

            in loader.conf.local)

            Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
            SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
            pfsense 2.8.0 CE
            Packages: Apcupsd, Cron, Iftop, Iperf, LCDproc, Nmap, pfBlockerNG, RRD_Summary, Shellcmd, Snort, Speedtest, System_Patches.

            1 Reply Last reply Reply Quote 0
            • stephenw10S
              stephenw10 Netgate Administrator
              last edited by

              I swapped out your link for the real pcengines github site. I have no idea what 'githubmate' is but it looks like a pure spam wrapper.

              So the issue here is that the driver is not included or that the gwled package is no longer built?

              Steve

              A 1 Reply Last reply Reply Quote 1
              • A
                AWeidner @stephenw10
                last edited by

                @stephenw10 said in APU2C4 LEDs:

                I swapped out your link for the real pcengines github site. I have no idea what 'githubmate' is but it looks like a pure spam wrapper.

                Thank you, i was not aware of that.

                So the issue here is that the driver is not included or that the gwled package is no longer built?

                Steve

                Both i guess.

                The inclusion of the driver would be helpful for a start. One could always script something that makes use of the LEDs.

                GWLED was handy, because you could configure it through the menu system.

                1 Reply Last reply Reply Quote 0
                • stephenw10S
                  stephenw10 Netgate Administrator
                  last edited by

                  Hmm, well if the driver is included upstream that might be something relatively easy to include. If it's not that's unlikely to happen though. Let me see what's happening there...

                  fireodoF 1 Reply Last reply Reply Quote 0
                  • fireodoF
                    fireodo @stephenw10
                    last edited by

                    @stephenw10 said in APU2C4 LEDs:

                    Hmm, well if the driver is included upstream that might be something relatively easy to include. If it's not that's unlikely to happen though. Let me see what's happening there...

                    The driver sourcecode can be found here: Apuled Source

                    Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
                    SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
                    pfsense 2.8.0 CE
                    Packages: Apcupsd, Cron, Iftop, Iperf, LCDproc, Nmap, pfBlockerNG, RRD_Summary, Shellcmd, Snort, Speedtest, System_Patches.

                    1 Reply Last reply Reply Quote 0
                    • stephenw10S
                      stephenw10 Netgate Administrator
                      last edited by

                      Where is that referenced? There a discussion thread somewhere?

                      fireodoF 1 Reply Last reply Reply Quote 0
                      • fireodoF
                        fireodo @stephenw10
                        last edited by

                        @stephenw10

                        Here is the whole discussion:

                        Apuled freebsd

                        Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
                        SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
                        pfsense 2.8.0 CE
                        Packages: Apcupsd, Cron, Iftop, Iperf, LCDproc, Nmap, pfBlockerNG, RRD_Summary, Shellcmd, Snort, Speedtest, System_Patches.

                        1 Reply Last reply Reply Quote 0
                        • stephenw10S
                          stephenw10 Netgate Administrator
                          last edited by

                          Mmm, so two drivers available causing some conflict in which way to go....

                          I would not expect to see this in pfSense at least until one of those is accepted upstream in FreeBSD.

                          Steve

                          fireodoF 1 Reply Last reply Reply Quote 1
                          • fireodoF
                            fireodo @stephenw10
                            last edited by

                            @stephenw10

                            Yes, there are many opinions there. The driver I compiled from source is, in my case, in use with scripts based on "echo" and "morse" so no big deal.

                            Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
                            SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
                            pfsense 2.8.0 CE
                            Packages: Apcupsd, Cron, Iftop, Iperf, LCDproc, Nmap, pfBlockerNG, RRD_Summary, Shellcmd, Snort, Speedtest, System_Patches.

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post
                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.