Netgate m1n1wall

Author Topic: Firebox LCD Driver for LCDProc  (Read 93957 times)

leeg5168 and 1 Guest are viewing this topic.

Offline fastcon68

  • Sr. Member
  • ****
  • Posts: 593
    • View Profile
Re: Firebox LCD Driver for LCDProc
« Reply #165 on: May 31, 2011, 08:44:42 pm »
I can't get the writeio to execute.  I guess I need to execute the sudo command, is that right?
RC

Online stephenw10

  • Hero Member
  • *****
  • Posts: 8113
    • View Profile
Re: Firebox LCD Driver for LCDProc
« Reply #166 on: June 01, 2011, 04:29:17 am »
Did you chmod it?
Code: [Select]
chmod 0755 writeioAre you logged in as root?

There is no sudo command.

Steve

Offline fastcon68

  • Sr. Member
  • ****
  • Posts: 593
    • View Profile
Re: Firebox LCD Driver for LCDProc
« Reply #167 on: June 02, 2011, 06:02:34 am »
Whch Driver do I need to use for the LCD on the x6000?  LCDPROC or the one stephenw10 has written.  I did a upgrade to the latest version last night and realized that the LCD stopped working after the upgrade was done.

I am having to use the 2GB nano version because the 4GB nano release will not fit on my flash drive.

RC

Online stephenw10

  • Hero Member
  • *****
  • Posts: 8113
    • View Profile
Re: Firebox LCD Driver for LCDProc
« Reply #168 on: June 02, 2011, 06:06:11 am »
Use the firebox script, lcdd4. Unfortunately because it isn't a proper pfSense package, yet, it doesn't survive an update.

2GB image is fine, I'm using the 1GB image on a 4GB card.

Steve

Offline FJSchrankJr

  • Full Member
  • ***
  • Posts: 127
    • View Profile
    • SMCO L.L.C. - Embedded Systems Engineering
Re: Firebox LCD Driver for LCDProc
« Reply #169 on: June 09, 2011, 09:09:21 pm »
Hey Steve! It's been awhile hope your well.

Got a question for you, I made the mistake of finding the lcdd3.tar file before I noticed this post with lcdd4.tar, is the file system mounting restored on reboot or should I reinstall after using lcdd3? I noticed after reboot it's writable and not sure if it should be. lcdd3.tar is what I used and on a X700

Thanks a bunch!
-Fred

Online stephenw10

  • Hero Member
  • *****
  • Posts: 8113
    • View Profile
Re: Firebox LCD Driver for LCDProc
« Reply #170 on: June 10, 2011, 05:43:06 am »
Which version of pfSense are you running?

There is a bug in current 2.0 snapshots (unless it's been fixed while I wasn't looking!) that leaves the filesystem mounted read-write. It's not really a problem or anything to worry about.

The lcdd3 script used the mount command directly which is not the correct way to do it in recent versions. This combined with the bug can leave the filesystem mounted read-only with no way to remount it RW. This means that you can't save changes, add packages etc.

If you used lcdd3 and you're running 2.0Beta5 or newer you may have a problem.

Steve

Offline FJSchrankJr

  • Full Member
  • ***
  • Posts: 127
    • View Profile
    • SMCO L.L.C. - Embedded Systems Engineering
Re: Firebox LCD Driver for LCDProc
« Reply #171 on: June 10, 2011, 07:18:36 am »
Which version of pfSense are you running?

There is a bug in current 2.0 snapshots (unless it's been fixed while I wasn't looking!) that leaves the filesystem mounted read-write. It's not really a problem or anything to worry about.

The lcdd3 script used the mount command directly which is not the correct way to do it in recent versions. This combined with the bug can leave the filesystem mounted read-only with no way to remount it RW. This means that you can't save changes, add packages etc.

If you used lcdd3 and you're running 2.0Beta5 or newer you may have a problem.

Steve

Thank you for the reply Steve! You're always a big help.


I installed lcdd3 on a 2.0-RC1 system and just updated yesterday with a current snapshot. It would not be a problem for this system to be reinstalled because it's not live yet and I have a backup config. I just need to make sure this system is stable so it would definetely be worth the extra work to re-do it and install the lcdd4 instead. What do you think?

This script is terrific, thank you for this and to everyone else who worked on it
-Fred

Online stephenw10

  • Hero Member
  • *****
  • Posts: 8113
    • View Profile
Re: Firebox LCD Driver for LCDProc
« Reply #172 on: June 10, 2011, 08:55:47 am »
Hmm, well that's the exact set of things that I would expect to cause a problem. Perhaps the bug has been fixed?
Anyway if it's not a problem I would reflash and use lcdd4 to be sure.

Steve

Edit: Doesn't seem to have been fixed, not deliberately anyway! http://redmine.pfsense.org/issues/1279
« Last Edit: June 10, 2011, 09:00:09 am by stephenw10 »

Offline FJSchrankJr

  • Full Member
  • ***
  • Posts: 127
    • View Profile
    • SMCO L.L.C. - Embedded Systems Engineering
Re: Firebox LCD Driver for LCDProc
« Reply #173 on: June 10, 2011, 09:28:36 am »
Hmm, well that's the exact set of things that I would expect to cause a problem. Perhaps the bug has been fixed?
Anyway if it's not a problem I would reflash and use lcdd4 to be sure.

Steve

Edit: Doesn't seem to have been fixed, not deliberately anyway! http://redmine.pfsense.org/issues/1279


After all of my config experiments yesterday, I got the reflashing process down fast! no problem at all. Thanks for the help Steve and enjoy your weekend.
-Fred

Offline FJSchrankJr

  • Full Member
  • ***
  • Posts: 127
    • View Profile
    • SMCO L.L.C. - Embedded Systems Engineering
Re: Firebox LCD Driver for LCDProc
« Reply #174 on: June 10, 2011, 10:22:53 am »
Hmm, well that's the exact set of things that I would expect to cause a problem. Perhaps the bug has been fixed?
Anyway if it's not a problem I would reflash and use lcdd4 to be sure.

Steve

Edit: Doesn't seem to have been fixed, not deliberately anyway! http://redmine.pfsense.org/issues/1279

Slightly off topic a bit but do you know anything about the serial console menu not showing up on a watchguard. last message is "Bootup complete".
-Fred

Online stephenw10

  • Hero Member
  • *****
  • Posts: 8113
    • View Profile
Re: Firebox LCD Driver for LCDProc
« Reply #175 on: June 10, 2011, 10:28:44 am »
It seems to be an issue only with the X-Core, or at least I haven't had that problem with either the X-peak or X-e boxes. It may be a symptom of the file system being mounted incorrectly. It seemed to start showing up around the same time the lcdd3 script broke.

Steve

Offline FJSchrankJr

  • Full Member
  • ***
  • Posts: 127
    • View Profile
    • SMCO L.L.C. - Embedded Systems Engineering
Re: Firebox LCD Driver for LCDProc
« Reply #176 on: June 10, 2011, 02:33:18 pm »
It seems to be an issue only with the X-Core, or at least I haven't had that problem with either the X-peak or X-e boxes. It may be a symptom of the file system being mounted incorrectly. It seemed to start showing up around the same time the lcdd3 script broke.

Steve

That's what I am using the xcore. It seams as though the BIOS for the watchguard also has control of the LCD because I noticed without any CF card in there you can boot it and change the port speed from the LCD/keypad. Maybe something is conflicting, not sure will have to play around with it more but it's wierd that it works for the rest of the boot and stops at Bootup complete.
-Fred

Online stephenw10

  • Hero Member
  • *****
  • Posts: 8113
    • View Profile
Re: Firebox LCD Driver for LCDProc
« Reply #177 on: June 26, 2011, 06:30:05 pm »
Hello Firebox users!  :)
I am still working on getting the LCD driver into a proper pfSense package. It's proving to be far beyond my usual level of tinkering but it's all good fun.
Anyway as, jjgoessens said when he wrote it, there isn't enough memory in the LCD to hold all the special characters required for vertical graphs, big clock and the heartbeat graphic. His latest driver doesn't support the heatbeat as a result.
Personally I would rather see the heartbeat working as I don't use big clock or vertical graphs.
Is anybody out there actually using these features?

Steve

Offline TaNk

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Firebox LCD Driver for LCDProc
« Reply #178 on: July 22, 2011, 01:16:40 am »
when i try to install the tar package and give ./ command it say's permission denied . logged in via ssh as root

Online stephenw10

  • Hero Member
  • *****
  • Posts: 8113
    • View Profile
Re: Firebox LCD Driver for LCDProc
« Reply #179 on: July 22, 2011, 05:09:38 am »
You mean when you try to run this?
Code: [Select]
./install-embed2.lcdd.sh
Seems odd. It usually untars with the correct permissions.
You can reset the permissions with:
Code: [Select]
chmod 0755 install-embed2.lcddd.sh
What version of pfSense are you using?

Steve