aboutsummaryrefslogtreecommitdiffstats
path: root/config/lcdproc-dev/lcdproc.inc
Commit message (Collapse)AuthorAgeFilesLines
* LCDProc: Again on the service start/stop/restartMichele Di Maria2012-02-201-3/+1
| | | | | | - The Client now runs in background (added a trailing & at the end of the command that runs the client); - Removed the delays in the script during the service stop; - Fixed the "default max states" information when it is not defined explicitally in the advanced configuration.
* Improvements for stability and optimizazionsMichele Di Maria2012-02-091-29/+17
| | | | | | | | | | | | | | | | - Improved the reception of data from LCDd. Now there's a cycle that run until there's no more data do receive. Before that there was the possibility of a buffer overflow in LCDd. The timeout of the receiving socket is 25ms. - Optimized the number of commands sent to LCDd every cycle. Now it is sent only the half; - Rewritten with better code the error handling; - Increased to 3 the number of attempts the client performs to reconnect to LCDd in case of disconnection; - Simplified the startup scripts. Now lcdproc_client.sh is not generated/run anymore, since the error handling is managed by the client; - Changed the startup scripts to run both LCDd then the client as "nice" process; - Capped the wait time between each client cycle to 5 seconds. It still is calculated as the refresh frequency * the number of screen activated, but now it's capped; - Increased to 8000 chars the trunk of data received from LCDd; - Improved the "service stop" script. Now it cycle until LCDd is definitely killed and works even if LCDd is hung; - Added a "welcome" string on the panel at the LCDd startup; Thanks, Michele
* Kills explicitly the clients on the package resyncMichele Di Maria2012-02-011-0/+4
|
* - Added a 20ms delay between each command sent from the client to LCDproc.Michele Di Maria2012-02-011-9/+3
| | | | | - Better managed errors. Now the client resets the error counter every successful communication session with LCDproc (before was a global counter). The error counter is managed inside the client (lcdproc_client.php). - Because of the above change, now the "client script" (lcdclient.sh) do not cycle anymore.
* - Fix the uptime screenMichele Di Maria2012-01-231-7/+9
| | | | | | - In the settings, "Enable LCDproc" becomes "Enable LCDproc at startup" - Added "After Install Info" message - Limited the client loop to three times. After three errors connecting to the LCDd service the client will end
* Correct old defunct email addresssmos2012-01-151-2/+2
|
* - Removed driver "HD44780 fast" since the problem why this fork was created ↵Michele Di Maria2012-01-081-26/+32
| | | | | | | | has been solved in a different way - Set the custom Keys and Menu section for the "sdelcd" driver - Added the Blacklight setting. Now it is possible to optionally turn the blacklight on, off or (default) to leave it managed by the panel - Added the "output led" support for the "CFontz633" driver. This is totally to test since my panel doesn't have any output led, worked almost blind
* Adds the sdeclcd driver.Michele Di Maria2012-01-061-0/+3
|
* Many improvements/tweaks.Michele Di Maria2012-01-051-49/+111
| | | | | | - Added in the com port selection: com1 (dev/cua0), com1 and com2 alternative (dev/cuau0 and dev/cuau1) - Added com port speed selection (hope users won't make a mess) - Added Contrast/Brightness/Offbrightness selection. If the setting from the user do not match the possibility of the driver the setting is just ignored.
* Some little fix/debug.Michele Di Maria2012-01-041-0/+15
| | | | Added the driver "hd44780 fast" as alternative to the previous driver that had set some delays.
* Uses the pfSense built-in functions to start/stop/restart the service in ↵Michele Di Maria2011-12-191-51/+13
| | | | stead of the functions defined by the first developer.
* The previous change solves the problems on save, not during reinstall.Michele Di Maria2011-12-181-2/+3
| | | | | | This change solves also the problems during reinstall. Thanks Michele
* Stops the service before doing anything to the configuration.Michele Di Maria2011-12-181-7/+10
| | | | This solves a problem during reinstall and saving the settings while the service is running.
* - Added 40x2 display size (I found out that some display has this size)Michele Di Maria2011-12-171-14/+126
| | | | | | | - I managed in the code ALL the drivers available in the package. Consider that before this change only 12 drivers on 35 were supported. Now all the selectable panels are supposed to work, with the default configuration values. If someone has problems with the new added drivers please let me know - I added the IN/OUT statistics for a selectable interface. For the selected interface IN and OUT bytes are shown - In the summary (visible to the ones that have a 4 line display) I added, if the width of the panel is bigger than 16 rows, the frequency in percent currently used - I reduced the CPU interval in the load calculation from 1s to 250ms. This because setting the refresh of the panel to 1 second was actually 2 seconts (1 to wait for the refresh, 1 to wait for the CPU calculation)
* Updates LCDProc to version 0.5.4.Michele Di Maria2011-12-161-0/+425
Include a full list of all the drivers available (default build). This is a development version under test, it's not granted it works in all conditions. Reference: http://redmine.pfsense.org/issues/1406