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

    EZIO Driver for LCDproc

    Scheduled Pinned Locked Moved Hardware
    144 Posts 22 Posters 43.6k 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.
    • kiokomanK
      kiokoman LAYER 8
      last edited by kiokoman

      indeed @Smoothrunnings, all the patch and dev must be done on the dev version of pfsense aka 2.5.0, they then decide if and when to port it to the other version, i can't submit a patch directly to 2.4.5. that's why i was saying that, the patch was intended for 2.5.0 not for 2.4.5 but they decided to port and buld it for 2.4.5 before 2.5.0.

      ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
      Please do not use chat/PM to ask for help
      we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
      Don't forget to Upvote with the 👍 button for any post you find to be helpful.

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

        It's in the 2.5 dev source, the package builders just haven't run yet.

        1 Reply Last reply Reply Quote 0
        • kiokomanK
          kiokoman LAYER 8
          last edited by

          yes i understand, i was just explaining to him why i brought up version 2.5 in this discussion

          ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
          Please do not use chat/PM to ask for help
          we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
          Don't forget to Upvote with the 👍 button for any post you find to be helpful.

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

            Hi all,

            I tried the updated package out I'm running 2.4.5 on a Smoothwall S4, however it seems unable to write the config file, as it never appears. I created the config file /usr/local/etc/LCDd.conf manually and was still unable to start the service. I then modified /usr/local/pkg/lcdproc.inc, line define('LCDPROC_RCFILE', '/usr/local/etc/rc.d/lcdproc.sh'); as the filesystem showed the rc file without .sh

            The service then started however clearly the client is not communicating as I just have LCDPROC servrer Cli: 0 on the screen.

            That's as far as I have got so far. I did previously have this working using the shellcmd method.
            :|

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

              Did you save both the LCD drive screens tabs in the package? Both need to have at least one thing set before the package will start.

              Steve

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

                @stephenw10 yes, reinstalled the package and have done the same just to make sure I am not mad. so no mods this time, same effect. Ie lcdproc server is running but no client connected.

                1 Reply Last reply Reply Quote 0
                • S
                  Smoothrunnings @kiokoman
                  last edited by

                  @kiokoman

                  I have mine setup just like yourself image shows, but when I run the LCDproc service is fails. Any ideas?

                  My SmoothWall uses the CAR-3030.

                  Thanks,

                  1 Reply Last reply Reply Quote 0
                  • kiokomanK
                    kiokoman LAYER 8
                    last edited by

                    check system log

                    try from console to run

                    /usr/local/sbin/LCDd -c /usr/local/etc/LCDd.conf -u nobody
                    

                    if it starts the next step is to run

                    /usr/local/bin/php -f /usr/local/pkg/lcdproc_client.php
                    

                    report any error

                    ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                    Please do not use chat/PM to ask for help
                    we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
                    Don't forget to Upvote with the 👍 button for any post you find to be helpful.

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

                      Yeah, check the logs, what errors it it showing?

                      What exactly do you mean by the service fails?

                      Steve

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

                        I still have the issue too. GUI doesn't save config file, if I manually create the config file and ssh to start the services they work. Init name looks wrong to me one in PHP or Inc has .sh and my box didn't or might have been the other way round. Ages since I looked, but as the package was prepared for Dev but released on stable, their might be differences.🙄

                        1 Reply Last reply Reply Quote 0
                        • kiokomanK
                          kiokoman LAYER 8
                          last edited by

                          i can't reproduce it, if i delete /usr/local/etc/LCDd.conf on my 2.4.5-p1 it is created again if i press "save"

                          ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                          Please do not use chat/PM to ask for help
                          we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
                          Don't forget to Upvote with the 👍 button for any post you find to be helpful.

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

                            I will have another play maybe tonight. And check what happens on mine again. Because my memory is a bit vague

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

                              In the version 2.4.5-RELEASE-p1 it's built in!!! :-)

                              LCD_ABE_200_Ver002.png

                              1 Reply Last reply Reply Quote 1
                              • P
                                pulsecity
                                last edited by

                                Been a long time since I went in the loft, the /usr/local/etc/LCDd.conf is never created when pressing save.

                                System Log says:

                                Nov 25 12:43:06 php-fpm 56811 lcdproc: Sync: Begin package sync
                                Nov 25 12:43:06 php-fpm 56811 lcdproc: The selected COM port is not valid!

                                The same port works fine when I manually create the file and start it with the following, so it's just GUI issues.

                                /usr/bin/nice -20 /usr/local/sbin/LCDd -c /usr/local/etc/LCDd.conf -u nobody
                                /usr/bin/nice -20 /usr/local/bin/lcdproc -c /usr/local/etc/lcdproc.conf
                                /usr/bin/nice -20 /usr/local/bin/lcdexec -c /usr/local/etc/lcdexec.conf

                                I've now removed gui package and just edit the conf files manually :(

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

                                  What com port are you trying to set? Does it exist in /dev?

                                  Steve

                                  P 1 Reply Last reply Reply Quote 0
                                  • P
                                    pulsecity @stephenw10
                                    last edited by

                                    @stephenw10 /dev/cuau1 yes its in dev and works fine with the config manually created and the commands run, so now I have the following in shellcmd:

                                    /usr/bin/nice -20 /usr/local/sbin/LCDd -c /usr/local/etc/LCDd.conf -u nobody
                                    /usr/bin/nice -20 /usr/local/bin/lcdproc -c /usr/local/etc/lcdproc.conf

                                    /usr/local/etc/LCDd.conf looks like:

                                    [server]
                                    DriverPath=/usr/local/lib/lcdproc/
                                    Driver=hd44780
                                    Bind=127.0.0.1
                                    Port=13666
                                    ReportLevel=3
                                    ReportToSyslog=yes
                                    User=nobody
                                    Foreground=no
                                    ServerScreen=no
                                    GoodBye="Thanks for using"
                                    GoodBye=" pfSense "
                                    WaitTime=5
                                    ToggleRotateKey=Enter
                                    PrevScreenKey=Left
                                    NextScreenKey=Right
                                    ScrollUpKey=Up
                                    ScrollDownKey=Down
                                    [menu]
                                    MenuKey=Escape
                                    EnterKey=Enter
                                    UpKey=Up
                                    DownKey=Down
                                    [hd44780]
                                    driverpath=/usr/local/lib/lcdproc/
                                    ConnectionType=ezio
                                    Device=/dev/cuau1
                                    Keypad=yes
                                    Size=16x2
                                    KeyMatrix_4_1=Enter
                                    KeyMatrix_4_2=Up
                                    KeyMatrix_4_3=Down
                                    KeyMatrix_4_4=Escape

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

                                      Can we see a screenshot of the exact settings you're trying to enter in the package?

                                      Is it possible your browser is auto-filling hidden fields?

                                      Steve

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