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

    Firebox LCD Driver for LCDProc

    Scheduled Pinned Locked Moved Hardware
    398 Posts 97 Posters 466.8k 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.
    • V
      vizi0n
      last edited by

      Is anyone else having issues with lcdproc-dev when disconnecting/reconnecting patch cables ?

      It seems like everytime the link state changes it reloads the php lcdproc script and creates a ton of errors in my syslog. Simply restarting the service doesn't work, but killing all the php scripts from the console and restarting the service fixes the issue.

      Typical errors I see after disconnecting/reconnecting a cable :

      
      Feb 14 23:25:38 	php: lcdproc: Failed to connect to LCDd process Connection reset by peer (54)
      Feb 14 23:25:38 	php: lcdproc: Failed to connect to LCDd process Connection reset by peer (54)
      Feb 14 23:25:38 	php: lcdproc: Failed to connect to LCDd process Connection reset by peer (54)
      Feb 14 23:25:38 	php: lcdproc: Failed to connect to LCDd process Connection reset by peer (54)
      Feb 14 23:25:38 	php: lcdproc: Failed to connect to LCDd process Connection reset by peer (54)
      Feb 14 23:25:38 	php: lcdproc: Too many errors, the client ends.
      Feb 14 23:25:38 	php: lcdproc: Too many errors, the client ends.
      Feb 14 23:25:38 	php: lcdproc: Too many errors, the client ends.
      Feb 14 23:25:38 	php: lcdproc: Too many errors, the client ends.
      Feb 14 23:25:38 	php: lcdproc: Too many errors, the client ends.
      Feb 14 23:25:38 	LCDd: Connect from host 127.0.0.1:27434 on socket 16
      Feb 14 23:25:38 	LCDd: Connect from host 127.0.0.1:33965 on socket 17
      Feb 14 23:25:38 	LCDd: Connect from host 127.0.0.1:60566 on socket 18
      Feb 14 23:26:42 	LCDd: Server shutting down on SIGTERM
      Feb 14 23:26:42 	LCDd: sock_send: socket write error
      Feb 14 23:26:42 	LCDd: sock_send: socket write error
      Feb 14 23:26:42 	LCDd: sock_send: socket write error
      Feb 14 23:26:42 	LCDd: sock_send: socket write error
      Feb 14 23:26:42 	LCDd: sock_send: socket write error
      Feb 14 23:26:42 	LCDd: sock_send: socket write error
      Feb 14 23:26:42 	LCDd: sock_send: socket write error
      Feb 14 23:26:42 	LCDd: sock_send: socket write error
      Feb 14 23:26:42 	LCDd: sock_send: socket write error
      Feb 14 23:26:42 	LCDd: sock_send: socket write error
      Feb 14 23:26:42 	LCDd: sock_send: socket write error
      Feb 14 23:26:42 	php: lcdproc: Start client procedure. Error counter: (0)
      Feb 14 23:26:42 	php: lcdproc: Start client procedure. Error counter: (0)
      Feb 14 23:26:42 	php: lcdproc: Start client procedure. Error counter: (0)
      Feb 14 23:26:42 	php: lcdproc: Connection to LCDd process lost ()
      Feb 14 23:26:42 	php: lcdproc: Start client procedure. Error counter: (0)
      Feb 14 23:26:43 	php: lcdproc: Connection to LCDd process lost ()
      Feb 14 23:26:43 	php: lcdproc: Start client procedure. Error counter: (0)
      Feb 14 23:26:43 	php: lcdproc: Connection to LCDd process lost ()
      Feb 14 23:26:43 	php: lcdproc: Start client procedure. Error counter: (0)
      Feb 14 23:26:53 	php: lcdproc: Failed to connect to LCDd process Operation timed out (60)
      Feb 14 23:26:53 	php: lcdproc: Start client procedure. Error counter: (1)
      Feb 14 23:26:53 	php: lcdproc: Failed to connect to LCDd process Operation timed out (60)
      Feb 14 23:26:53 	php: lcdproc: Start client procedure. Error counter: (1)
      Feb 14 23:26:53 	php: lcdproc: Failed to connect to LCDd process Operation timed out (60)
      Feb 14 23:26:53 	php: lcdproc: Start client procedure. Error counter: (1)
      Feb 14 23:26:53 	php: lcdproc: Failed to connect to LCDd process Operation timed out (60)
      Feb 14 23:26:53 	php: lcdproc: Start client procedure. Error counter: (1)
      Feb 14 23:26:54 	php: lcdproc: Failed to connect to LCDd process Operation timed out (60)
      Feb 14 23:26:54 	php: lcdproc: Start client procedure. Error counter: (1)
      Feb 14 23:26:54 	php: lcdproc: Failed to connect to LCDd process Operation timed out (60)
      Feb 14 23:26:54 	php: lcdproc: Start client procedure. Error counter: (1)
      
      

      And the list of processes :

      
      [2.2.6-RELEASE][admin@pfSense.localdomain]/root: ps aux | grep lcd
      root    12587  0.0  1.6 87052 33412  -  SN    3:47PM    0:07.32 /usr/local/bin/php -f /usr/local/pkg/lcdproc_client.php
      root    50205  0.0  1.6 87052 33448  -  SN    4:11PM    0:06.95 /usr/local/bin/php -f /usr/local/pkg/lcdproc_client.php
      nobody  50226  0.0  0.1 10300  2064  -  SNs  11:25PM    0:00.06 /usr/local/sbin/LCDd -c /usr/pbi/lcdproc-i386/local/etc/LCDd.conf -u nobody
      root    50280  0.0  1.6 87052 33400  -  SN    4:22PM    0:06.78 /usr/local/bin/php -f /usr/local/pkg/lcdproc_client.php
      root    50300  0.0  1.6 82956 33168  -  SN   11:25PM    0:00.23 /usr/local/bin/php -f /usr/local/pkg/lcdproc_client.php
      root    71083  0.0  1.6 87052 33100  -  SN   Sat04PM    0:35.50 /usr/local/bin/php -f /usr/local/pkg/lcdproc_client.php
      root    87732  0.0  1.6 87052 33432  -  SN    3:48PM    0:07.28 /usr/local/bin/php -f /usr/local/pkg/lcdproc_client.php
      
      

      Is there any workaround for this? I am trying to read through posts but can't seem to find the solution

      1 Reply Last reply Reply Quote 0
      • 0
        0raid
        last edited by

        @cii:

        @pyroblast:

        Hello Steve,

        thanks for your fast answer.

        Too bad. I hoped, to let the backlight always on.
        If i didn't use the LCDproc the backlight is always on, but it shows this annoying "Booting OS…"

        pyro

        ps. runnung pfsense on a X1250e

        I've rebuilt the code from github to force the backlight always on.

        You can grab the file from https://www.dropbox.com/s/6ilykwt1p6zn4rm/sdeclcd.so, sadly Dropbox doesn't work nicely with fetch…

        You'll need to drop this in /usr/pbi/lcdproc-i386/lib/lcdproc/ and chmod 555 the file.  Don't forget to back up your original!  Once you reboot the backlight should be on.

        such the link direct to sdeclcd.so is not working , is anyone has this file already compile so the LCD of my watchguard stay always on?

        thanks!

        1 Reply Last reply Reply Quote 0
        • P
          peacemaker76
          last edited by

          @vizi0n:

          Is anyone else having issues with lcdproc-dev when disconnecting/reconnecting patch cables ?

          It seems like everytime the link state changes it reloads the php lcdproc script and creates a ton of errors in my syslog. Simply restarting the service doesn't work, but killing all the php scripts from the console and restarting the service fixes the issue.

          Hi vizi0n,

          yes same problem here, which is somewhat annoying…

          1 Reply Last reply Reply Quote 0
          • M
            Mattz
            last edited by

            Anyone some update/howto for this on 2.3 ?

            1 Reply Last reply Reply Quote 0
            • F
              finlstrm
              last edited by

              @Mattz:

              Anyone some update/howto for this on 2.3 ?

              Bump…

              I'm also looking for information on this..,,. I have a few units in production stuck at "2.2.6-RELEASE" that I wish to update to the latest "2.3.x-RELEASE", but it seems one of the packages we have installed has not been converted yet for the new release.

              As of this posing the 2.3 Removed Packages list [[url=https://doc.pfsense.org/index.php/2.3_Removed_Packages]https://doc.pfsense.org/index.php/2.3_Removed_Packages] still lists "lcdproc and lcdproc-dev" as "not converted"

              There's nothing else in the release that jumps out to me like it will break our current installs - however our LCD screens will cease to function (I'm not the type of guy to push an update and break any functionality of a device, no matter how small)…

              Selection_005.png
              Selection_005.png_thumb

              Hardware: Watchguard Firebox x1250e

              Is this a normal bug, or one of those horrifying ones that prove your whole project is broken beyond repair and should be burned to the ground?

              1 Reply Last reply Reply Quote 0
              • dotdashD
                dotdash
                last edited by

                @Mattz:

                Anyone some update/howto for this on 2.3 ?

                If you read back in this thread, instructions have already been posted to get LCDProc running on 2.3
                They are, unfortunately, not as easy as clicking on the install button. If you are not comfortable messing around in the shell and having to trace problems if the instructions don't work 100%, then wait for the official package.
                If you think a broken LCD is not worth the enhancements in the new version, then stay on 2.2.6.
                If you really want a clean package in 2.3, your best best would be to post a bounty and throw enough money at a developer to get it fixed.

                1 Reply Last reply Reply Quote 0
                • D
                  DeLorean
                  last edited by

                  With the previous tutorial to get LCDproc working,
                  i got it working under the latest pfSense 2.3.2
                  But i think that there's never gonna be a LCDproc package again,
                  because it's months since 2.3 came out, and still no package.
                  So for the moment the previous tutorial workarround to get it work, still works on the newest pfSense.

                  Grtz
                  DeLorean

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

                    Doesn't mean one couldn't be written. It just needs converting to the bootstrap GUI.

                    Though I found it never started correctly using just the package with the firebox driver. I started it with shellcmd and used the default client otherwise it fails to start or starts multiple times as shown above.

                    Steve

                    1 Reply Last reply Reply Quote 0
                    • D
                      dwfa
                      last edited by

                      Hi all,

                      I have just upgraded to 2.3.2 from pre 2.0 on my X550e.  All seems to be okay, but the LCDProc is giving me problems (cannot use the old instructions I had).  So I scoured this thread to find out the status and notice that someone wrote that there was a post on how to get the LCD to work.  I tried to find it in this thread (as the poster suggested), but could not.  I have spent a fair amount of time of searching and seem to be unable to find the post discussing how to get LCD working.  Would one of you please help me out and point me to the post?  Thx for all the help …


                      cheers!
                      dwfa

                      1 Reply Last reply Reply Quote 0
                      • dotdashD
                        dotdash
                        last edited by

                        @dwfa:

                        …someone wrote that there was a post on how to get the LCD to work.  I tried to find it in this thread (as the poster suggested), but could not.  I have spent a fair amount of time of searching and seem to be unable to find the post discussing how to get LCD working.  Would one of you please help me out and point me to the post?  Thx for all the help ...

                        My bad, I mixed my LCDproc threads. The post was by timotl, but it was in a different thread.
                        https://forum.pfsense.org/index.php?topic=44034.525

                        1 Reply Last reply Reply Quote 0
                        • D
                          dwfa
                          last edited by

                          Thx a bunch - I will read through it …

                          @dotdash:

                          @dwfa:

                          …someone wrote that there was a post on how to get the LCD to work.  I tried to find it in this thread (as the poster suggested), but could not.  I have spent a fair amount of time of searching and seem to be unable to find the post discussing how to get LCD working.  Would one of you please help me out and point me to the post?  Thx for all the help ...

                          My bad, I mixed my LCDproc threads. The post was by timotl, but it was in a different thread.
                          https://forum.pfsense.org/index.php?topic=44034.525

                          1 Reply Last reply Reply Quote 0
                          • D
                            dwfa
                            last edited by

                            Ran into a road block  :(

                            I understand what is being asked about getting files from the 2.2.6 release (however, I don't have that release).  So I downloaded the ISO for 2.2.6 to copy the files,and low and behold the files listed are not found on the ISO (used my linux box to mount the iso).  Now I am stumped (sorta).  Do I have to create a 2.2.6 install to get these lcdproc files or is there a package I can just grab them from?

                            lcdproc.inc -> /usr/local/pkg
                              lcdproc.xml -> /usr/local/pkg
                              lcdproc_client.php -> /usr/local/pkg
                              lcdproc_screens.xml -> /usr/local/pkg
                              lcdproc.sh -> /usr/local/etc/rc.d

                            If I have to create a VM image I can, but I thought they would have been on the ISO image.  Or am I missing something.

                            –--
                            cheers!
                            dwfa

                            1 Reply Last reply Reply Quote 0
                            • chpalmerC
                              chpalmer
                              last edited by

                              Look at his sig line.

                              https://forum.pfsense.org/index.php?topic=44034.msg609820#msg609820

                              Triggering snowflakes one by one..
                              Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

                              1 Reply Last reply Reply Quote 0
                              • D
                                dlucas46
                                last edited by

                                @dwfa:

                                Ran into a road block  :(

                                I understand what is being asked about getting files from the 2.2.6 release (however, I don't have that release).  So I downloaded the ISO for 2.2.6 to copy the files,and low and behold the files listed are not found on the ISO (used my linux box to mount the iso).  Now I am stumped (sorta).  Do I have to create a 2.2.6 install to get these lcdproc files or is there a package I can just grab them from?

                                lcdproc.inc -> /usr/local/pkg
                                  lcdproc.xml -> /usr/local/pkg
                                  lcdproc_client.php -> /usr/local/pkg
                                  lcdproc_screens.xml -> /usr/local/pkg
                                  lcdproc.sh -> /usr/local/etc/rc.d

                                If I have to create a VM image I can, but I thought they would have been on the ISO image.  Or am I missing something.

                                –--
                                cheers!
                                dwfa

                                Save your self the hassle and just use the new 2.3 package:

                                https://forum.pfsense.org/index.php?topic=110177.msg647262#msg647262

                                1 Reply Last reply Reply Quote 0
                                • D
                                  DeLorean
                                  last edited by

                                  @dwfa:

                                  Ran into a road block  :(

                                  I understand what is being asked about getting files from the 2.2.6 release (however, I don't have that release).  So I downloaded the ISO for 2.2.6 to copy the files,and low and behold the files listed are not found on the ISO (used my linux box to mount the iso).  Now I am stumped (sorta).  Do I have to create a 2.2.6 install to get these lcdproc files or is there a package I can just grab them from?

                                  lcdproc.inc -> /usr/local/pkg
                                    lcdproc.xml -> /usr/local/pkg
                                    lcdproc_client.php -> /usr/local/pkg
                                    lcdproc_screens.xml -> /usr/local/pkg
                                    lcdproc.sh -> /usr/local/etc/rc.d

                                  If I have to create a VM image I can, but I thought they would have been on the ISO image.  Or am I missing something.

                                  –--
                                  cheers!
                                  dwfa

                                  You can find a tutorial that i made for getting the LCDproc to work with pfSense 2.3.x
                                  https://forum.pfsense.org/index.php?topic=44034.msg645684#msg645684

                                  Grtz
                                  DeLorean

                                  1 Reply Last reply Reply Quote 0
                                  • P
                                    poneyboy
                                    last edited by

                                    @theeddie:

                                    seems the driver with the lcd time out disabled is gone

                                    anyone got a copy, or maybe a driver with a 5 min timeout.

                                    Hi,
                                    I am running x550e and XTM5 with pfSense 2.3. I would be very interested in a driver witchout backlight timeout as we can set the backlight on or off in the LCDproc interface. Does somebody know where to find this?
                                    Thanks

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

                                      The backlight timeout was hardcoded into the driver originally because the actual SDEC LCDs have a limited backlight lifespan and many of them had already seen a lot of hours. It was common to find the X core boxes witha broken backlight.

                                      The code to disable it should be in the driver. It would need to be altered and recompiled against the current lcdproc version though.

                                      Steve

                                      1 Reply Last reply Reply Quote 0
                                      • P
                                        poneyboy
                                        last edited by

                                        Hi,
                                        A friend recompiled the driver. Here is the translated procedure from french.

                                        Instruction mod lcdproc :
                                        Stop LCDproc service
                                        Replace sdeclcd.so in /usr/local/lib/lcdproc
                                        sdeclcd.so here : https://transfer.sh/t1Cjm/sdeclcd.so
                                        I made mv /usr/local/lib/lcdproc/sdeclcd.so /usr/local/lib/lcdproc/sdeclcd.so.bak
                                        then curl -O “https://transfer.sh/t1Cjm/sdeclcd.so”
                                        and chmod +x the new sdeclcd.so file.
                                        Then you restard LCDproc service and it runs with backlight without the timeout

                                        We tried on our XTM5 but it should work with other boxes.

                                        1 Reply Last reply Reply Quote 0
                                        • 0
                                          0raid
                                          last edited by

                                          @poneyboy:

                                          Hi,
                                          A friend recompiled the driver. Here is the translated procedure from french.

                                          Instruction mod lcdproc :
                                          Stop LCDproc service
                                          Replace sdeclcd.so in /usr/local/lib/lcdproc
                                          sdeclcd.so here : https://transfer.sh/t1Cjm/sdeclcd.so
                                          I made mv /usr/local/lib/lcdproc/sdeclcd.so /usr/local/lib/lcdproc/sdeclcd.so.bak
                                          then curl -O “https://transfer.sh/t1Cjm/sdeclcd.so”
                                          and chmod +x the new sdeclcd.so file.
                                          Then you restard LCDproc service and it runs with backlight without the timeout

                                          We tried on our XTM5 but it should work with other boxes.

                                          not working in pfsense 2.1 running on firebox x550e :(

                                          LCDd: Could not open driver module /usr/local/lib/lcdproc/sdeclcd.so: /usr/local/lib/lcdproc/sdeclcd.so: unsupported file layout

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

                                            It would have to be compiled against the current LCD proc version and probably FreeBSD version. It might be 64bit if was compiled for the XTM5 also.

                                            Any reason you are running such an old version? Get to 2.3.2 and enjoy.  :)

                                            Steve

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