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

    EZIO Driver for LCDproc

    Scheduled Pinned Locked Moved Hardware
    144 Posts 22 Posters 49.1k 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.
    • M
      MXNPD
      last edited by

      Is it possible to have the ezio connection type merged so we can go through the GUI?

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

        @MXNPD said in EZIO Driver for LCDproc:

        Is it possible to have the ezio connection type merged so we can go through the GUI?

        Still waiting to see the EZIO merged in with LCDProc, its been only about a year or so...no rush. :)

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

          Dammit it has! ☹
          I'll have to try and make some time... or try to get someone else more capable.
          I did look at adding it a while before that but hit a few issues that looked like they also needed fixing at the same time.
          I have some notes somewhere...

          Steve

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

            @stephenw10

            Just saying I have been waiting...and I am not giving you a hard time over it, for it not working with the GUI as well as the plug-in that works for the WatchGuard firewall display. There are a lot of folks who aren't *nix buffs.

            Thanks,

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

              maybe someone can test this? i don't have a ezio lcd to try
              https://redmine.pfsense.org/issues/10428
              https://github.com/pfsense/FreeBSD-ports/pull/833

              ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
              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.

              I 1 Reply Last reply Reply Quote 0
              • I
                ibysmalls @kiokoman
                last edited by

                @kiokoman

                I have a pfsense machine I need to setup which has the portwell ezio LCD on it.

                Let me know the steps I need to take and i’ll post results.

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

                  unfortunately you need to manually edit the files and add that stuff inside

                  /usr/local/pkg/lcdproc.inc
                  copy / paste what's in the correct line
                  https://github.com/pfsense/FreeBSD-ports/pull/833/commits/43e2f6a98e131c7da55f2205c623c70081aaff1b

                  /usr/local/www/packages/lcdproc/lcdproc.php
                  you need to add a single line from here
                  https://github.com/pfsense/FreeBSD-ports/pull/833/commits/00e1b87e30e328feaed9410b07cb04bf3aaac782

                  or you can download the files from here and upload to pfsense
                  https://drive.google.com/drive/u/0/folders/1fM-Jlmf8BY21kIEGueSxFWmrISZqcDj3

                  after that try to use the gui. the config will be overwritten, make a backup before testing

                  Immagine.jpg

                  ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                  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.

                  A S 2 Replies Last reply Reply Quote 1
                  • A
                    aprice512 @kiokoman
                    last edited by aprice512

                    @kiokoman

                    Thanks for that, just tested on my Smoothwall S8 (Caswell CAR 3036).

                    Just added the lines to lcdproc.inc & lcdprox.php. The only thing to note is a comma needs adding to the end of: (line 224 lcdproc.php).

                    'i2c' => 'LCD driven by PCF8574/PCA9554 connected via i2c'

                    Changed to 'i2c' => 'LCD driven by PCF8574/PCA9554 connected via i2c',

                    Without the comma the lcdproc service page just presents an error saying ezio is unexpected.

                    Thanks for your post, now I just need to get the buttons on the front to do something.

                    Alex

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

                      yeah, i forgot that comma sorry,
                      the lcd show stuff now right?
                      do the buttons need extra configuration?

                      this is the resulting conf file

                      [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/cuau0
                      Port=0x378
                      Speed=0
                      Contrast=850
                      Brightness=800
                      OffBrightness=0
                      OutputPort=no
                      Charmap=hd44780_default
                      DelayBus=true
                      Size=16x2
                      Backlight=no
                      Keypad=yes
                      KeyDirect_1=Enter
                      KeyDirect_2=Up
                      KeyDirect_3=Down
                      KeyDirect_4=Escape
                      
                      

                      ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                      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.

                      A 1 Reply Last reply Reply Quote 1
                      • A
                        aprice512 @kiokoman
                        last edited by

                        @kiokoman

                        Thanks,

                        The buttons don't appear to do anything at the moment, not sure what I expected to happen.

                        Where do I need to put / edit/ upload the conf file ?

                        Thanks again,

                        Alex

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

                          you can check the conf file here /usr/local/etc/LCDd.conf
                          it's the same/similar to the one posted by @stephenw10
                          idk if the buttons works in the first place with this driver, do they work for you @stephenw10 ?

                          ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                          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.

                          A 1 Reply Last reply Reply Quote 0
                          • A
                            aprice512 @kiokoman
                            last edited by

                            @kiokoman
                            Thanks,
                            Seems to be identical to the one you just provided.

                            [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
                            Port=0x378
                            Speed=0
                            Contrast=850
                            Brightness=800
                            OffBrightness=0
                            OutputPort=no
                            Charmap=hd44780_default
                            DelayBus=true
                            Size=16x2
                            Backlight=no
                            Keypad=yes
                            KeyDirect_1=Enter
                            KeyDirect_2=Up
                            KeyDirect_3=Down
                            KeyDirect_4=Escape

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

                              i was reading the old posts, someone needed to press esc multiple times to make it work

                              ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                              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.

                              A 1 Reply Last reply Reply Quote 0
                              • A
                                aprice512 @kiokoman
                                last edited by

                                @kiokoman

                                Pressing and holding ESC or the others appears to pause the current display. So they do something?

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

                                  idk, i don't have that display to try, that's why i'm asking here if it work 😂
                                  don't press & hold, press esc multiple times until it show the menu
                                  maybe try to set speed to 2400 or 9600

                                  ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                                  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
                                  • F
                                    fmertz
                                    last edited by

                                    From memory, I coded this as a "matrix" of buttons. Check the very first post, it shows keys KeyMatrix_4_* instead KeyDirect*

                                    Best of luck, keep us posted.

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

                                      🤦 🤦 🤦

                                      ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                                      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 stephenw10

                                        I was never able to make the buttons work on the Smoothwall S4 I have. But they did work fine on another device I have. I assumed maybe Smoothwall changed the firmware in someway (or my box is just broken).
                                        Let me test this.....

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

                                          @aprice512 make this change then go to lcdproc gui and save
                                          /usr/local/pkg/lcdproc.inc
                                          https://github.com/pfsense/FreeBSD-ports/pull/833/commits/02acad93446e912463e415accf27be9ff2ccee81

                                          ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                                          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.

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

                                            Yup, with those 2 changes it looks good:

                                            Apr 8 19:23:07 	LCDd 		LCDd version 0.5.9 starting
                                            Apr 8 19:23:07 	LCDd 		Using Configuration File: /usr/local/etc/LCDd.conf
                                            Apr 8 19:23:07 	LCDd 		Listening for queries on 127.0.0.1:13666
                                            Apr 8 19:23:10 	php 		lcdproc: Start client procedure. Error counter: (0)
                                            Apr 8 19:23:11 	LCDd 		Connect from host 127.0.0.1:46269 on socket 6 
                                            

                                            Generated config file:

                                            [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
                                            Port=0x378
                                            Speed=0
                                            Contrast=850
                                            Brightness=800
                                            OffBrightness=0
                                            OutputPort=no
                                            Charmap=hd44780_default
                                            DelayBus=true
                                            Size=16x2
                                            Backlight=no
                                            Keypad=yes
                                            KeyMatrix_4_1=Enter
                                            KeyMatrix_4_2=Up
                                            KeyMatrix_4_3=Down
                                            KeyMatrix_4_4=Escape
                                            

                                            That works great! The new lcdexec stuff is cool. 😀

                                            However there is some stuff that doesn't need to be in there: Port=0x378 That's the parallel port, not used here.
                                            I don't think the contrast/brightness is supported?
                                            Fixed screensize?

                                            Steve

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