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

LCDProc 0.5.4-dev

pfSense Packages
68
587
595.6k
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.
  • S
    stephenw10 Netgate Administrator
    last edited by Sep 10, 2013, 9:44 PM

    It's detailed in the post I linked to above.

    Two interesting developments have happened recently that may help here.
    JimP's watchdog package. It may be able to restart the service correctly after boot and if it fails. Though I suspect it only monitors the daemon and not the client.
    The rc startup patches may help lcdproc-dev start correctly at boot.

    Steve

    1 Reply Last reply Reply Quote 0
    • T
      Topper727
      last edited by Oct 22, 2013, 5:59 AM

      I have the CrystalFontz 735 Display which emulates the 635 and will go Graphic here in the very near future.

      I am wondering why the LED's on the display don't light using LcdProc.  What can I do?

      Dell 2950 g3 server
      Intel(R) Xeon(R) CPU E5430 @ 2.66GHz
      Current: 2000 MHz, Max: 2667 MHz
      8 CPUs: 2 package(s) x 4 core(s)
      8152 MiB and 600meg 10k drive
      Pfsense 2.4 .. Hoping to get the phpvirtualbox going again.

      1 Reply Last reply Reply Quote 0
      • S
        stephenw10 Netgate Administrator
        last edited by Oct 22, 2013, 10:14 AM

        You mean the backlight or some other LEDs?

        Steve

        1 Reply Last reply Reply Quote 0
        • K
          kilthro
          last edited by Oct 22, 2013, 10:24 AM

          @stephenw10:

          You mean the backlight or some other LEDs?

          Steve

          The leds down the side of the front of the unit.

          @Topper727:

          I have the CrystalFontz 735 Display which emulates the 635 and will go Graphic here in the very near future.

          I am wondering why the LED's on the display don't light using LcdProc.  What can I do?

          You can get them to work.
          I am still using this process/edits to the files and mine work. Not sure if much is diff between the 635/735 besides different type of lcd..

          You may be able to apply this to get them to work.

          http://forum.pfsense.org/index.php/topic,44034.msg302352.html#msg302352

          1 Reply Last reply Reply Quote 0
          • T
            Topper727
            last edited by Oct 29, 2013, 1:48 AM

            There is 4 dual color LED's on the left side of the 735 that I have.  In PFSENSE LCDPROC I see :

            Enable Output LEDs
            Enable the Output LEDs present on some LCD panels. This feature is currently supported by the CFontz633 driver only.
            Each LED can be off or show two colors: RED (alarm) or GREEN (everything ok) and shows:
            LED1: NICs status (green: ok, red: at least one nic down);
            LED2: CARP status (green: master, red: backup, off: CARP not implemented);
            LED3: CPU status (green < 50, red > 50%);
            LED4: Gateway status (green: ok, red: at least one gateway not responding, off: no gateway configured).

            The cFontz633 is no longer included in LCDProc builds, so I use the Crystalfontz packet.  This works good, buttons work and display shows information. But the 4 LED's on the left side do not show any thing.

            Dell 2950 g3 server
            Intel(R) Xeon(R) CPU E5430 @ 2.66GHz
            Current: 2000 MHz, Max: 2667 MHz
            8 CPUs: 2 package(s) x 4 core(s)
            8152 MiB and 600meg 10k drive
            Pfsense 2.4 .. Hoping to get the phpvirtualbox going again.

            1 Reply Last reply Reply Quote 0
            • T
              Topper727
              last edited by Oct 29, 2013, 2:31 AM Oct 29, 2013, 2:12 AM

              I found the fix.. In /usr/local/pkg/lcdproc_client.php

              down near line 469 you see the following

              function outputled_enabled_CFontz633(){
              global $config;
              $lcdproc_config = $config['installedpackages']['lcdproc']['config'][0];
              $value = $lcdproc_config['outputleds'];
              if (is_null($value))
              {return false;}
              else
              {
              if ($value && $lcdproc_config['driver'] == "CFontz633")
              {return true;}
              else
              {return false;}
              }

              Change the
              if ($value && $lcdproc_config['driver'] == "CFontz633")
              to
              if ($value && $lcdproc_config['driver'] == "CFontzPacket")

              that makes them work
              I know this is just fooling it to think it is the 633 driver when your using the Packet one.  I am not the developer or maintain this but could make all the changes needed to make it right and submit if need.

              it does seem to not be perfect though. All lan /wan is up and red shows for that LED and all gateways up but no LED .. sometimes the gateway one lights up then the lan/wan one will go green.. so some bug in code maybe?

              IMAG0013.jpg
              IMAG0013.jpg_thumb

              Dell 2950 g3 server
              Intel(R) Xeon(R) CPU E5430 @ 2.66GHz
              Current: 2000 MHz, Max: 2667 MHz
              8 CPUs: 2 package(s) x 4 core(s)
              8152 MiB and 600meg 10k drive
              Pfsense 2.4 .. Hoping to get the phpvirtualbox going again.

              1 Reply Last reply Reply Quote 0
              • T
                Topper727
                last edited by Oct 31, 2013, 10:03 PM Oct 31, 2013, 9:53 PM

                I got it going for most part.  I can't get result from Gateway #4 LED just green it lights always. But others work.  Fixed some typos in the lcdproc_client.php file.  I submitted it to github and here is link

                https://github.com/pfsense/pfsense-packages/pull/532

                I did not change the code in major way or the what LED does what.. Just made it work.

                http://www.youtube.com/watch?v=uYdyLdrT_PI

                IMAG0027.jpg_thumb
                IMAG0027.jpg

                Dell 2950 g3 server
                Intel(R) Xeon(R) CPU E5430 @ 2.66GHz
                Current: 2000 MHz, Max: 2667 MHz
                8 CPUs: 2 package(s) x 4 core(s)
                8152 MiB and 600meg 10k drive
                Pfsense 2.4 .. Hoping to get the phpvirtualbox going again.

                1 Reply Last reply Reply Quote 0
                • S
                  stephenw10 Netgate Administrator
                  last edited by Nov 1, 2013, 3:39 PM

                  Nice.  :)
                  You almost certainly shouldn't have a gateway on LAN, off topic though. Do you have another thread going to discuss that?

                  Steve

                  1 Reply Last reply Reply Quote 0
                  • T
                    Topper727
                    last edited by Nov 2, 2013, 7:50 PM Nov 2, 2013, 7:46 PM

                    I do not put gateway on lan.. I only do on Wan.. I think the checking code in there is what is not right. I am use to tools to see variable values and debugging tools.. I don't have any for doing this kind of work so makes it harder to know the failure.

                    Off topic. will look for or create for the problem I have with Gateway issue

                    Dell 2950 g3 server
                    Intel(R) Xeon(R) CPU E5430 @ 2.66GHz
                    Current: 2000 MHz, Max: 2667 MHz
                    8 CPUs: 2 package(s) x 4 core(s)
                    8152 MiB and 600meg 10k drive
                    Pfsense 2.4 .. Hoping to get the phpvirtualbox going again.

                    1 Reply Last reply Reply Quote 0
                    • M
                      mikeisfly
                      last edited by Nov 6, 2013, 2:19 AM

                      Please forgive my ignorance but I would like to get a few lines added to this package. When ever I upgrade my system or reinstall which isn't all the time admittedly, but I have to manually add the port necessary to get my crystal fontz 635 to work. It's kind of a pain in the you know what and it would be cool if it was there natively. I would love to have the following lines added:

                      /usr/local/pkg/lcdproc.inc:

                      
                      case "ttyU0":
                      	continue;
                      	break;
                      
                      

                      and

                      
                      case "ttyU0":
                           $realport = "/dev/ttyU0";
                      break;
                      
                      

                      /usr/local/pkg/lcdproc.xml:

                      
                       <option><value>ttyU0</value>
                      		<name>USB Com port 3 alternate (/dev/ttyU0)</name></option> 
                      
                      

                      I'm thinking some kind of commit is necessary but not sure of the process. I have no knowledge of github or am I over thinking the process?

                      1 Reply Last reply Reply Quote 0
                      • S
                        stephenw10 Netgate Administrator
                        last edited by Nov 6, 2013, 6:10 AM

                        That doesn't work with cuaU0 then? Odd.

                        Steve

                        1 Reply Last reply Reply Quote 0
                        • M
                          mikeisfly
                          last edited by Nov 6, 2013, 10:33 AM

                          That doesn't work with cuaU0 then? Odd.

                          Steve

                          Nope. I just stopped the service and tried that port. But when I try to restart the service it won't restart. I remember you helped awhile ago to discover ttyU0 was the port that I needed to use. I'm not sure if my screen is special but it's not usb its serial but connects to a USB port. When I connected to Windows that's when I discovered that it had some kind of USB to Serial adapter built into it. The screen is just a CrystalFontz 635 that I bought directly from CrystalFontz. If I use the crystalfontz 633 driver I get a blank screen, I have to use the crystalfontz packet driver. It is my understanding that I can only get the LED on the left side of the screen to work if I use the crystalfontz 633 driver. Would be nice to have those working.

                          Just for my knowledge what is the difference between cuaU0 and ttyU0? I tried to do a little searching but I'm not getting any answers.

                          1 Reply Last reply Reply Quote 0
                          • S
                            stephenw10 Netgate Administrator
                            last edited by Nov 6, 2013, 4:06 PM

                            As far as I know (and I'm a bit unsure on this) it's just a terminology difference. Older versions of FreeBSD used tty for serial ports, newer versions use cua but tty is kept for compatibility. In both cases the capital 'U' indicates a USB connected device.

                            Steve

                            1 Reply Last reply Reply Quote 0
                            • T
                              Topper727
                              last edited by Nov 6, 2013, 6:09 PM Nov 6, 2013, 5:43 PM

                              Yes, CrystalFontz Packet driver is what you need to use. As far as those LED's on the left edge the code I put up here makes those work.

                              https://github.com/pfsense/pfsense-packages/pull/532

                              Mike, Couple messages back I explained some you might be interested in seeing those (end of page 32)

                              Dell 2950 g3 server
                              Intel(R) Xeon(R) CPU E5430 @ 2.66GHz
                              Current: 2000 MHz, Max: 2667 MHz
                              8 CPUs: 2 package(s) x 4 core(s)
                              8152 MiB and 600meg 10k drive
                              Pfsense 2.4 .. Hoping to get the phpvirtualbox going again.

                              1 Reply Last reply Reply Quote 0
                              • M
                                mikeisfly
                                last edited by Nov 6, 2013, 8:03 PM

                                Yes I saw those but I thought is said that you needed to use the crystalfontz 633 driver. I will take a look again. Is there anyway that my port can be added to the package? Thanks.

                                1 Reply Last reply Reply Quote 0
                                • M
                                  mikeisfly
                                  last edited by Nov 6, 2013, 11:53 PM

                                  Topper727 wrote:

                                  Yes, CrystalFontz Packet driver is what you need to use. As far as those LED's on the left edge the code I put up here makes those work.

                                  https://github.com/pfsense/pfsense-packages/pull/532

                                  Mike, Couple messages back I explained some you might be interested in seeing those (end of page 32)

                                  Thanks my LEDs are now working they are on. Hopefully I will have sometime this week or weekend to workone the WAN gateway issue. I am also going to sit down to figure out how I can get my port added to this package.

                                  Thanks all for the help.

                                  1 Reply Last reply Reply Quote 0
                                  • T
                                    Topper727
                                    last edited by Nov 7, 2013, 6:52 AM

                                    Glad to see you got it working.  I hope to get my changes (fixes) put into the lcdproc package as well. I seen Michelle is one who started it.  Maybe she is one going to put these changes in and submit to package system? I am not familiar with this process yet.

                                    Dell 2950 g3 server
                                    Intel(R) Xeon(R) CPU E5430 @ 2.66GHz
                                    Current: 2000 MHz, Max: 2667 MHz
                                    8 CPUs: 2 package(s) x 4 core(s)
                                    8152 MiB and 600meg 10k drive
                                    Pfsense 2.4 .. Hoping to get the phpvirtualbox going again.

                                    1 Reply Last reply Reply Quote 0
                                    • J
                                      jasonlitka
                                      last edited by Nov 21, 2013, 11:56 PM

                                      I just got a pair of boxes which have LCDs in them that I'd love to get working.  Can anyone tell me how I'm supposed to identify which driver I should be using?

                                      The boxes are Lanner FW-8865.  I sent an email over to them asking for more info on what LCD was installed and how it was attached, but I was hoping that with any luck someone here would be able to get me started.

                                      http://www.lannerinc.com/products/x86-network-appliances/rackmount/fw-8865

                                      I can break anything.

                                      1 Reply Last reply Reply Quote 0
                                      • S
                                        stephenw10 Netgate Administrator
                                        last edited by Nov 22, 2013, 2:40 AM Nov 22, 2013, 2:35 AM

                                        There was a report recently that another Lanner box worked with the sdeclcd driver. That has code in it to work with the XTM5 which is a lightly modified Lanner box. Easy test.

                                        Steve

                                        Edit: http://forum.pfsense.org/index.php/topic,68481.msg375797.html#msg375797

                                        1 Reply Last reply Reply Quote 0
                                        • J
                                          jasonlitka
                                          last edited by Nov 22, 2013, 4:10 PM Nov 22, 2013, 3:31 PM

                                          @stephenw10:

                                          There was a report recently that another Lanner box worked with the sdeclcd driver. That has code in it to work with the XTM5 which is a lightly modified Lanner box. Easy test.

                                          Steve

                                          Edit: http://forum.pfsense.org/index.php/topic,68481.msg375797.html#msg375797

                                          You. Are. Awesome.  It was "USB COM Port 1" and "Watchguard Firebox with SDEC".

                                          Any idea if there's a way to get traffic statistics for multiple interfaces?  I'd love to be able to show total throughput on WAN1 + WAN2.

                                          EDIT:  Interestingly enough, Lanner just got back to me and said it's hooked up via Parallel.  Not sure why the setting I picked worked unless the driver portion ignored it.

                                          I can break anything.

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