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

    LEDs & Thermal Sensors for APU1C support

    Scheduled Pinned Locked Moved Hardware
    21 Posts 6 Posters 8.2k 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.
    • N Offline
      nscheffer
      last edited by

      Hi,

      I got recently APU1C board running pfSense 2.1.2.
      I would like to be able to use the LEDs in front on the board and to have the sensors enabled, how to proceed ?
      Many thanks in advance.

      Regards

      Nicolas

      1 Reply Last reply Reply Quote 0
      • N Offline
        nscheffer
        last edited by

        I got the answer for the thermal sensor : use pfSense > 2.2

        ![Capture d’écran 2014-04-17 à 18.45.11.png](/public/imported_attachments/1/Capture d’écran 2014-04-17 à 18.45.11.png)
        ![Capture d’écran 2014-04-17 à 18.45.11.png_thumb](/public/imported_attachments/1/Capture d’écran 2014-04-17 à 18.45.11.png_thumb)

        1 Reply Last reply Reply Quote 0
        • N Offline
          nscheffer
          last edited by

          Christian at the PC Engines forum suggest an URL about someone who writer ALix and APU1C LEDs driver for Linux :
          http://daduke.org/linux/apu/

          Could we have this integrate in pfSense or the 2 existing packages must be upgraded to support the APU1C ?

          1 Reply Last reply Reply Quote 0
          • ? This user is from outside of this forum
            Guest
            last edited by

            The LED work is already done, and this is what you get when you buy an APU system from the pfSense store (or Netgate).

            1 Reply Last reply Reply Quote 0
            • B Offline
              Blooregard
              last edited by

              Nope…

              I'm using a APU from netgate with preloaded pfsense (netgate firmware) and LEDs aren't working... Which /dev/file* may I look for?

              APU 2GB RAM - 2.1.3-RELEASE (amd64)
              built on Thu May 01 15:47:17 EDT 2014
              FreeBSD 8.3-RELEASE-p16

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

                What is your firmware update URL set to?

                Steve

                1 Reply Last reply Reply Quote 0
                • B Offline
                  Blooregard
                  last edited by

                  https://firmware.netgate.com/auto-update/APU/amd64

                  1 Reply Last reply Reply Quote 0
                  • B Offline
                    Blooregard
                    last edited by

                    The /dev/led should not be there?

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

                      I don't know, I don't have an APU. That looks like the correct firmware URL though.  :-\

                      Steve

                      1 Reply Last reply Reply Quote 0
                      • B Offline
                        Blooregard
                        last edited by

                        Somebody with an APU bought from netgate and frontal LEDs working?

                        1 Reply Last reply Reply Quote 0
                        • ? This user is from outside of this forum
                          Guest
                          last edited by

                          @Blooregard:

                          Somebody with an APU bought from netgate and frontal LEDs working?

                          I just went back and built an APU (my first 4GB unit, heh), booted, logged into the shell (8 on the console), and

                          [2.1.3-RELEASE][root@pfSense.localdomain]/root(1): echo 101 > /dev/gpioapu

                          as expected, the two outside LEDs light up.

                          IMG_1527.jpg
                          IMG_1527.jpg_thumb
                          IMG_1528.jpg
                          IMG_1528.jpg_thumb

                          1 Reply Last reply Reply Quote 0
                          • forbiddenlakeF Offline
                            forbiddenlake
                            last edited by

                            I have an APU1C (not via netgate) and am running pfsense 2.1.3 (full install), and I do not have a /dev/gpioapu.  What are my options for LEDing?

                            1 Reply Last reply Reply Quote 0
                            • ? This user is from outside of this forum
                              Guest
                              last edited by

                              We'll be releasing a Platform Specific Release for the APU, though not for "full install".

                              1 Reply Last reply Reply Quote 0
                              • B Offline
                                Blooregard
                                last edited by

                                Thanks Gonzopancho!!

                                I've found another implementation for FreeBSD that uses /dev/led. This implementation for APU/Pfsense have some limitations comparing with "/dev/led" one.

                                Did you know if is possible to use Larry's implementation in PfSense?

                                http://lists.freebsd.org/pipermail/freebsd-bugs/2014-May/056217.html

                                Cheers!

                                1 Reply Last reply Reply Quote 0
                                • X Offline
                                  xak
                                  last edited by

                                  Anybody have any luck getting blinkled to work on a non-Netgate APU? I have an APU1D running 2.1.5 and have no /dev/led* or /dev/gpioapu. Am I correct in assuming that a proprietary Netgate-specific distribution of pfSense must be used to achieve this functionality?

                                  Thanks.

                                  PC Engines APU1D 4GB
                                  SanDisk mSATA SSD P4 16GB
                                  2.4.0-RELEASE (amd64)
                                  TL-SG1024DE + UAP-AC-PRO
                                  TWC 200/20 Mbit

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

                                    Did you try using Larry Baird's driver linked to above? I just downloaded it and it builds into a loadable kernel module OK. I don't have an APU to test it with though.

                                    Steve

                                    1 Reply Last reply Reply Quote 0
                                    • ? This user is from outside of this forum
                                      Guest
                                      last edited by

                                      Larry's driver is ours.  He seems to have decided to remove Ermal's name.

                                      Fun times

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

                                        Ouch.  :-\

                                        1 Reply Last reply Reply Quote 0
                                        • X Offline
                                          xak
                                          last edited by

                                          @stephenw10:

                                          Did you try using Larry Baird's driver linked to above? I just downloaded it and it builds into a loadable kernel module OK. I don't have an APU to test it with though.

                                          Forgive me for going slightly off topic, but I can't seem to find an image for FREEBSD-8.3 anywhere, has it been EOL'd? What is the best way to get a VM going to build stuff like this for pfSense 2.1.x? Thanks!

                                          PC Engines APU1D 4GB
                                          SanDisk mSATA SSD P4 16GB
                                          2.4.0-RELEASE (amd64)
                                          TL-SG1024DE + UAP-AC-PRO
                                          TWC 200/20 Mbit

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

                                            From FreeBSD directly:
                                            http://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/amd64/ISO-IMAGES/8.3/

                                            If you're running VMware then I have used these:
                                            http://www.thoughtpolice.co.uk/vmware/#freebsd8.3

                                            Steve

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