Netgate Discussion Forum
    • Catégories
    • Récent
    • Mots-clés
    • Populaire
    • Utilisateurs
    • Recherche
    • S'inscrire
    • Se connecter

    Firebox LCD Driver for LCDProc

    Planifier Épinglé Verrouillé Déplacé Hardware
    398 Messages 97 Publieurs 506.7k Vues 2 Watching
    Charger plus de messages
    • Du plus ancien au plus récent
    • Du plus récent au plus ancien
    • Les plus votés
    Répondre
    • Répondre à l'aide d'un nouveau sujet
    Se connecter pour répondre
    Ce sujet a été supprimé. Seuls les utilisateurs avec les droits d'administration peuvent le voir.
    • M Hors-ligne
      MMan
      dernière édition par

      @trendchiller:

      fix it by:

      cd /lib
      ln -s libc.so.7 libc.so.6
      ln -s libkvm.so.4 libkvm.so.3

      then it works

      Yup. I did that.

      Friend also recommended using libmap.conf instead of ln, but I didn't get myself to try it yet.

      1 réponse Dernière réponse Répondre Citer 0
      • D Hors-ligne
        dizydiz
        dernière édition par

        Hi. Kinda new to this. I got a 128 MB card loaded with the PFSense but need some more detailed newb type help to get the LCD portion to work. Can anyone help me?

        Thanks for your time,

        Jess
        Dizydiz@gmail.com

        1 réponse Dernière réponse Répondre Citer 0
        • M Hors-ligne
          mike56
          dernière édition par

          I am also new and interested in getting the LCD to work on my Firebox. 1.2.1 final works great from CompactFlash otherwise.

          1 réponse Dernière réponse Répondre Citer 0
          • D Hors-ligne
            drallibor
            dernière édition par

            what is the chance somebody will get the buttons on the firebox x series working within lcdproc?  prior to installing pfsense on my watchguard I had full ubuntu server installed using lcd4linux.  The latest version of lcd4linux supports 100% the sdec lcd on the firebox x series as well as the buttons.  I was able to configure screens and reboot the firebox through the interface.

            The aptitude version of lcd4linux doesnt have this support, only the latest v10.1 rc2 version does which I manually downloaded and installed on top of the v10.0 that is available through aptitude.

            1 réponse Dernière réponse Répondre Citer 0
            • R Hors-ligne
              ridnhard19
              dernière édition par

              In response to a couple requests; I've posed the LCDproc driver code for the lcd.  I've been informed we might be able to make a charmap for the hd44780 standard driver in LCDproc. Doing this would allow the buttons to work too!

              Source code is posted on my site: http://www.ktechs.net/

              1 réponse Dernière réponse Répondre Citer 0
              • P Hors-ligne
                Phil
                dernière édition par

                Works fine here on 1.2.3-RC1, even without the symlinks. As I run an embeded kernel on a HDD, I just had to comment out the 2 mount lines in the install script before running.

                Would be nice to see the buttons working.

                Phil

                1 réponse Dernière réponse Répondre Citer 0
                • S Hors-ligne
                  Sifter
                  dernière édition par

                  @trendchiller:

                  fix it by:

                  cd /lib
                  ln -s libc.so.7 libc.so.6
                  ln -s libkvm.so.4 libkvm.so.3

                  then it works

                  Did you do this on an embedded system or full install?  When I try on an embedded, I get:

                  pfsense:/lib#  ln -s libc.so.7 libc.so.6
                  ln: libc.so.6: Read-only file system

                  1 réponse Dernière réponse Répondre Citer 0
                  • dotdashD Hors-ligne
                    dotdash
                    dernière édition par

                    http://doc.pfsense.org/index.php/Remount_embedded_filesystem_as_read-write

                    1 réponse Dernière réponse Répondre Citer 0
                    • S Hors-ligne
                      Sifter
                      dernière édition par

                      Thank you.  Awesome job on this.  Another x700 LCD working on an embedded system.

                      1 réponse Dernière réponse Répondre Citer 0
                      • S Hors-ligne
                        Sifter
                        dernière édition par

                        @Dayblade:

                        Since this has been rolled up in the LCDProc package - which driver did you write for the x700?  I cannot seem to find the name of the driver in question as well as what port did you assign it (parallel port?, usb com1?)

                        Thanks again guys.  One less X700 on the market.

                        Dayblade

                        I recently installed a full version of this and would also like to know if this was ever figured out.  What port and driver were used in the package for the watchguards?

                        1 réponse Dernière réponse Répondre Citer 0
                        • S Hors-ligne
                          Sifter
                          dernière édition par

                          Just bumpin this up, anyone?

                          1 réponse Dernière réponse Répondre Citer 0
                          • X Hors-ligne
                            Xmicrosoftie
                            dernière édition par

                            I've been looking for a firewall to replace an aging netgear fsv box.  Stumbled on pfSense, found it to be pretty amazing, got a decommisioned Firebox x700 and replaced the cf card with a 4g and lcdproc on the 1.2.3rc1 embedded image.  Works like a champ.  Had some troulble getting lcdproc to work but after finding this thread and adding symlinks, all is good.  Was there any ever progress with controlling the lcd with the buttons on the firebox and a charmap that was discussed in this thread?  Sorry to resurrect an old thread but thought those that originally started it might have more insight.

                            Thanks,
                            Eric

                            1 réponse Dernière réponse Répondre Citer 0
                            • R Hors-ligne
                              ridnhard19
                              dernière édition par

                              I've not done any work with mine at all. I started troubleshooting a problem with no connectivity and turned out the old firebox bit the dust  :(

                              So I won't have a test system any more to work with this specific LCD.  BUT I did build a kick-ass system with a power efficient mini-itx board, 6 GIG E ports, 2 GIG of memory, fan less and quite all in a nice small metal case. Now I wonder how  I can squeeze an LCD in there  ::)

                              I did have fun writing the driver for this. I've never written one before but sounds like a lot of you were able to make some use of it.

                              1 réponse Dernière réponse Répondre Citer 0
                              • J Hors-ligne
                                jjgoessens
                                dernière édition par

                                Hello,

                                I found where is the keyboard,  :) i just wrote a scanning program which tracks changes on all ports… ;D

                                and if found the 4 pushbuttons are at address 0x379 !!

                                for the moment, i am not able to reach the front panel lights...

                                if it was easy to write a small test program, when i tried to modify sdeclcd to add the key_read routine, unfortunately, i encounter a lot of difficulties to compile it ???

                                If someone could support me for that, so all fireboxes X series could enable the keyboard !

                                Jean Jacques

                                1 réponse Dernière réponse Répondre Citer 0
                                • R Hors-ligne
                                  ridnhard19
                                  dernière édition par

                                  You have to download the source for lcdproc and modify the autoconfig scripts to find your sources. The best advice I have is to look at the lcdproc documentation on how to integrate a new driver and use the already established name of the files that I've posted. They have a whole
                                  section on how to develop drivers and integrate the
                                  with the autoconfig and autobuild scripts. Once you do that you can just type make :) after you run the configure script of course setting the parameter to include your driver.

                                  1 réponse Dernière réponse Répondre Citer 0
                                  • J Hors-ligne
                                    jjgoessens
                                    dernière édition par

                                    While you were writing, i found the developer documentation.

                                    i was not able to ./configure –enable-driver=all ... there was an error in the documentation, the right switch is --enable-drivers...

                                    unfortunately, i do not know why, the new driver i called sdeclcd2 becomes sdeclcd2SO in the makefile !!
                                    i corrected that manually and i am able to compile it ! :)

                                    Now, i am proud  ;D to tell that my driver is working fine, the 4 buttons returns "Left","Right","Up" and "Down" and i can change the screens.

                                    For sure, the main part of the program is your, not mine !!

                                    I will put in online in a few days because i prefer to test it before.

                                    About the name, do you want to keep this name ?

                                    Jean Jacques

                                    1 réponse Dernière réponse Répondre Citer 0
                                    • R Hors-ligne
                                      ridnhard19
                                      dernière édition par

                                      I'd prefer it say the same as it references the name of the LCD module that is being used in the fireboxes.  I think we should also submit the source code to the project so people can just download it as part of the normal distribution of LCDProc.  Then again i'm not sure if there is such of a "demand" to warrant a driver that is for something so specific.

                                      1 réponse Dernière réponse Répondre Citer 0
                                      • J Hors-ligne
                                        jjgoessens
                                        dernière édition par

                                        I agree, it's a so specific driver that it may not included in lcdproc.

                                        Anyway, it can be added to pfsense, maybe in download area for those who got a nice red firebox box (i like the color!)

                                        I have made some tests, it works fine, it's nice in addition with lcdexec.

                                        I prefer to have more feedback before giving it. Additionnally, i need to understand my compilation troubles, i certainely did someting wrong in the *.am files, but i do not see what for the moment.

                                        nota : I removed the #include "shared/str.h", because it was giving me a compile error (file not found). It compiles without. Have you some idea?

                                        Jean Jacques

                                        1 réponse Dernière réponse Répondre Citer 0
                                        • J Hors-ligne
                                          jjgoessens
                                          dernière édition par

                                          Hello all,

                                          I solved all my compile problems!
                                          It was a mistake in Makefile.am …

                                          so i tested th driver yesterday and today, it works.

                                          here is attached the file, jst change the name : remove the .txt

                                          make a copy of previous sdeclcd.so file, in case of trouble, you can reinstall it
                                          copy it instead of original sdeclcd.so
                                          restart LCDd

                                          Then the 4 keys send messages "Up","Down","Left","Right"

                                          So the standard LCDd.conf will work.

                                          if you want to use my kbd setup, here it is :

                                          PrevScreenKey=Down
                                          NextScreenKey=Up

                                          [menu]

                                          MenuKey=Left
                                          EnterKey=Right
                                          UpKey=Up
                                          DownKey=Down

                                          Enjoy  :D

                                          Jean Jacques

                                          sdeclcd.so.txt

                                          1 réponse Dernière réponse Répondre Citer 0
                                          • J Hors-ligne
                                            jjgoessens
                                            dernière édition par

                                            Hi all Fireboxes users!

                                            Good news, I improved a little bit sdeclcd.so driver, by adding now a backlight timer.

                                            here are instructions:

                                            • backup your old sdeclcd.so to sdeclcd.so.bak, just in case of trouble, you can reinstall the previous one
                                            • donwload sdeclcd.so.txt, rename it sdeclcd.so
                                            • copy the new sdeclcd.so instead of the old
                                            • edit the /usr/local/etc/LCDd.conf file and add in [sdeclcd] section:
                                              ================================
                                              Backlight_Timer=60 if you want 60 seconds
                                              ================================
                                              notice: if no entry is written in LCDd.conf, or if value is set to 0, the timer is disabled.
                                            • you need to restart your lcdproc driver :
                                            • killall LCDd
                                            • LCDd
                                            • lcdproc
                                            • lcdexec (if you use it)
                                              or reboot your Firebox
                                              => after 60 seconds (or the time you decided), the backlight will turn off. any key will turn it on.  ;D

                                            keep me informed of your trials.

                                            Enjoy it  :)

                                            Jean Jacques

                                            sdeclcd.so.txt

                                            1 réponse Dernière réponse Répondre Citer 0
                                            • Premier message
                                              Dernier message
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.