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.4k 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.
    • 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
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        ....and the buttons on the S4 work fine too if I enter the correct conf lines. 🙄

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

          @kiokoman

          Perfect seems to be working now, Port speed in the GUI doesn't seem to make a difference 9600 and 2400 both work.

          @stephenw10 What is the lcdexec stuff?

          Thanks,

          Alexs

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

            nice, 😂 now it's time to clean up the stuff

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

            stephenw10S 1 Reply Last reply Reply Quote 1
            • I
              ibysmalls
              last edited by

              Greate Work guys.

              I'll setup my Smoothwall S4 now - I need to ship it to a customer anyway with pfsense on it. I think the port speed doesn't really apply from the gui I have found and never really found an instance where I have had to change it away from 9600.

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

                @aprice512 said in EZIO Driver for LCDproc:

                @stephenw10 What is the lcdexec stuff?

                This patch added some default lcdexec commands. You have to enable it in the package setup: pfSense control menu

                Once you do you get an extra menu at the LCD, press ESC to see the Options> line then hit DOWN and you'll see pfSense> where you can choose to reboot or shutdown. From the LCD! 😁

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

                  @kiokoman I don't believe we need anything more set that what is shown in @fmertz's first post here.

                  It looks like the baud rate is hardcoded at 2400.

                  Steve

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

                    ok,done, i have cleaned more stuff

                    ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                    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 1
                    • stephenw10S
                      stephenw10 Netgate Administrator
                      last edited by

                      This is merged and looks good. It's in lcdproc package version: 0.10.6_10

                      Steve

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

                        Since my EZIO-100 is Serial based and I don't have a serial connection on my motherboard, I have a USB to Serial adapter, but I am unsure of how I would use this here, I plugged everything in, yet nothing on the screen, but I'm not sure if it has to do with setting the COM port to something specific.

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

                          @MXNPD try all available ports

                          anyway @stephenw10
                          it''s not available for my 2.5.0. only for 2.4.5
                          2.5.0 is still on LCDproc sysutils 0.10.8_4 for me

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

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

                            Same here. The 2.5 package builders may not be running right now. Other priorities with 2.4.5 issues.

                            @MXNPD Check /dev for new devices when you attach it. Check the system log or dmesg for errors if you don't see a new device. I would expect it to be on /dev/cuaU0 though. Unless you have other USB com ports.

                            Steve

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

                              @kiokoman said in EZIO Driver for LCDproc:

                              @MXNPD try all available ports

                              anyway @stephenw10
                              it''s not available for my 2.5.0. only for 2.4.5
                              2.5.0 is still on LCDproc sysutils 0.10.8_4 for me

                              2.5.0 is a dev firewall, why would you run something that is dev in protection (aka beta)??

                              Thanks,

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

                                I mean there are reasons you might want to do that, obviously not recommended though.

                                But this was just commenting that the package had not been built for 2.5 yet. I assume the patch was developed and tested on 2.5 first in this instance.

                                Steve

                                1 Reply Last reply Reply Quote 0
                                • 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
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.