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

    CrystalFonts CFA633USB & PFSense - cant get LCDProc to work

    Scheduled Pinned Locked Moved General pfSense Questions
    17 Posts 4 Posters 3.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.
    • T Offline
      tdkmatt
      last edited by

      Hey All, Did you end up fixing this issue? i am having the exact same issue with my LCD (Same Model) and pfsense :(

      1 Reply Last reply Reply Quote 0
      • Z Offline
        Zenit
        last edited by

        Life got in the way, so I was not able to look into it until now.

        I found out that the LCD is on port ugen3.2. This is not a port I can select in the LCDproc settings. No idea where to go from here….

        Anyone have some pointers?

        PFSense Setup: 2.2ghz Core 2 E4500, 1gb RAM, 40gb HDD, 1x Intel GigE NIC + 1x Marvell GigE NIC, SeaSonic 300w PSU

        1 Reply Last reply Reply Quote 0
        • M Offline
          mer
          last edited by

          Can you ssh or console to your pfsense box?  If so, do "ls -ltr /dev | grep cua", make a note of what is there.  Then unplug the LCD if it's plugged in or plug it in if it's not and redo the ls -ltr /dev | grep cua.  The difference will be the device assigned to the LCD.
          ugen is the USB generic interface;  the cu is a serial device interface overlaid on the ugen, so yes, telling LCDProc to use ugen instead of cu will cause problems (LCDProc is treating it as a serial port, the ugen interface does not handle serial protocol directly)

          It will probably be named cuau### (notice the extra u after cua) based on your screen shot I would try /dev/cuau0.

          1 Reply Last reply Reply Quote 0
          • Z Offline
            Zenit
            last edited by

            It looks like the LCD is on cuaU0, when I unplugged it cuaU0 disappeared.

            I set LCDProc to use cuaU0, but the LCDProc service still is not starting.  I get the following error in the system log like before:

            Oct 6 15:36:29 	LCDd: LCDd version 0.5.7 starting
            Oct 6 15:36:29 	LCDd: Using Configuration File: /usr/pbi/lcdproc-amd64/local/etc/LCDd.conf
            Oct 6 15:36:29 	LCDd: Listening for queries on 127.0.0.1:13666
            Oct 6 15:36:29 	LCDd: Could not open driver module /usr/local/lib/lcdproc/CFontz633.so: Cannot open "/usr/pbi/lcdproc-amd64/local/lib/lcdproc/CFontz633.so"
            Oct 6 15:36:29 	LCDd: Driver [CFontz633] binding failed
            Oct 6 15:36:29 	LCDd: Could not load driver CFontz633
            Oct 6 15:36:29 	LCDd: There is no output driver
            Oct 6 15:36:29 	LCDd: Critical error while initializing, abort.
            Oct 6 15:36:35 	php: lcdproc: Failed to connect to LCDd process Operation timed out (60)
            

            EDIT: The CFontz633.so driver is totally missing from the /usr/pbi/lcdproc-amd64/local/lib/lcdproc/ directory. This explains why it is throwing the error.

            PFSense Setup: 2.2ghz Core 2 E4500, 1gb RAM, 40gb HDD, 1x Intel GigE NIC + 1x Marvell GigE NIC, SeaSonic 300w PSU

            1 Reply Last reply Reply Quote 0
            • M Offline
              mer
              last edited by

              so /usr/local/lib/lcdproc/CFontz633.so is symlinked to /usr/pbi/lcdproc-amd64/local/lib/lcdproc/CFontz633.so?
              It could be that the package install put it in a different place or is broken (I have not tried to down load it, I don't have a display).
              Next thing I'd try from ssh or console:
              find / -name "CFontz633*" -print

              You may get lucky and find it installed in a different directory.

              Another option would be uninstall lcdproc, redownload the package and then reinstall.

              1 Reply Last reply Reply Quote 0
              • Z Offline
                Zenit
                last edited by

                I reinstalled it - both the dev and the regular version lack the driver. I found an old package with the CFontz633.so driver in place, so I uploaded that to the PFSense box after extracting it from the package on my Windows desktop. Unfortunately said driver seems to be unsupported:

                Oct 6 17:12:26 	LCDd: Could not open driver module /usr/pbi/lcdproc-amd64/local/lib/lcdproc: /usr/pbi/lcdproc-amd64/local/lib/lcdproc/CFontz633.so: unsupported file layout
                

                PFSense Setup: 2.2ghz Core 2 E4500, 1gb RAM, 40gb HDD, 1x Intel GigE NIC + 1x Marvell GigE NIC, SeaSonic 300w PSU

                1 Reply Last reply Reply Quote 0
                • M Offline
                  mer
                  last edited by

                  @Zenit:

                  I reinstalled it - both the dev and the regular version lack the driver. I found an old package with the CFontz633.so driver in place, so I uploaded that to the PFSense box after extracting it from the package on my Windows desktop. Unfortunately said driver seems to be unsupported:

                  Oct 6 17:12:26 	LCDd: Could not open driver module /usr/pbi/lcdproc-amd64/local/lib/lcdproc: /usr/pbi/lcdproc-amd64/local/lib/lcdproc/CFontz633.so: unsupported file layout
                  

                  Well, I'm out of ideas;  you may have more luck in the packages subforum or asking package maintainers.
                  In the package you installed, is there a CFontzPacket.so?  If so, copy and rename that to CFontz633.so.  If not try doing:
                  Google for "freebsd 10 lcdproc package" you should be able to find the .txz package file for amd64.  download it, tar Jxvf <file>.txz, then look for CFontzPacket.so and cp/rename that to CFontz633.so</file>

                  1 Reply Last reply Reply Quote 0
                  • Z Offline
                    Zenit
                    last edited by

                    Actually, I just got some progress. I installed the dev version of LCDProc, selected the Packet driver, set the baud rate to 19200, and the interface to cuaU0. It light up with "Thanks for using pfsense!"

                    Finally something different than the CFA633 boot rom message.

                    I cant seem to get it to show any information like load, or uptime. Just the welcome message. At least I know the system can talk to the display…  :)

                    PFSense Setup: 2.2ghz Core 2 E4500, 1gb RAM, 40gb HDD, 1x Intel GigE NIC + 1x Marvell GigE NIC, SeaSonic 300w PSU

                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      mer
                      last edited by

                      @Zenit:

                      Actually, I just got some progress. I installed the dev version of LCDProc, selected the Packet driver, set the baud rate to 19200, and the interface to cuaU0. It light up with "Thanks for using pfsense!"

                      Finally something different than the CFA633 boot rom message.

                      I cant seem to get it to show any information like load, or uptime. Just the welcome message. At least I know the system can talk to the display…  :)

                      Good.  They may have renamed the drivers and such along the way so the CFontz633.so is invalid.  Now I really have no ideas on how to get it to display anything else.

                      1 Reply Last reply Reply Quote 0
                      • Z Offline
                        Zenit
                        last edited by

                        Went into the config of LCDProc, changed the server IP from 127.0.0.1 to localhost. Now it is working perfectly.

                        Success!  :D Thanks for the help mer.

                        Now my PFSense box is completely set up at last. Hopefully this C2D machine can last for some years more, I dont see the point in replacing the motherboard and CPU yet as the 2.2ghz Core 2 Duo is not heavy on power and handles the load of my WAN connection (150mbps) perfectly.

                        PFSense Setup: 2.2ghz Core 2 E4500, 1gb RAM, 40gb HDD, 1x Intel GigE NIC + 1x Marvell GigE NIC, SeaSonic 300w PSU

                        1 Reply Last reply Reply Quote 0
                        • M Offline
                          mer
                          last edited by

                          Cool.  I may have to pick one of those up and muck around.

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