aboutsummaryrefslogtreecommitdiffstats
path: root/config/lcdproc-dev/lcdproc_client.php
Commit message (Collapse)AuthorAgeFilesLines
* Allow lcdproc_client to run foreverPhil Davis2012-10-261-0/+2
| | | In 2.1 a CPU time limit of 900 seconds is set for PHP scripts. Normal scripts used by the GUI should do their thing and finish. But lcdproc needs to run "forever" in the background.
* LCDProc: Again on the service start/stop/restartMichele Di Maria2012-02-201-3/+3
| | | | | | - 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-57/+63
| | | | | | | | | | | | | | | | - 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
* - Added a 20ms delay between each command sent from the client to LCDproc.Michele Di Maria2012-02-011-9/+30
| | | | | - 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-6/+7
| | | | | | - 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-2/+102
| | | | | | | | 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
* - Added 40x2 display size (I found out that some display has this size)Michele Di Maria2011-12-171-22/+84
| | | | | | | - 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)
* Many improvementsMichele Di Maria2011-12-161-14/+26
| | | | | | | 1) Added the Package Info page (points to the forum page) 2) Added "(x86 only)" for the description of the nexcom driver (the only one outside the build platform) 3) Solved a problem that in certain condition caused a high CPU usage 4) Added as optional the "welcome screen+version"
* Updates LCDProc to version 0.5.4.Michele Di Maria2011-12-161-0/+721
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