[Lcdproc] HD44780 40x4 with Backlight and winamp wiring
Markus Dolze
bsdfan at nurfuerspam.de
Fri Feb 27 19:41:04 UTC 2009
Sascha wrote:
> Am Freitag 27 Februar 2009 08:21:16 schrieben Sie:
>
>> Sascha wrote:
>>
>>> Connect from host 127.0.0.1:36381 on socket 5
>>> screenlist_switch: switched to screen [_server_screen]
>>> sock_read_from_client: received 8020 bytes
>>> error: huh? Too much data received... quiet down
>>>
>>> Regards Sascha
>>>
>> OK, the server's receive buffer is too small to hold all the data sent
>> by the client. But I am wondering why your clients sends 8K whereas my
>> client send only about 6K with the same config file.
>>
>> The attached patch increases the receive buffer. Please patch and try
>> again with reportlevel 5.
>>
>> I am interested in the commands the client actually send to compare them
>> to the one my client sends.
>>
>> Markus
>>
>
> If attached the log with your patch.
>
> Regards Sascha
>
OK, I think I now know what is going wrong.
The first thing is that the lcdproc client _adds_ screens you specify on
the command line to those activated in the config file. This is not a bug.
The second thing is that the CPUGraph screen is enabled in the config file.
Thus, if you start "lcdproc L" it uses both screen (cpugraph and load)
which use vertical bars. On a 40x4 display this creates an initial
message from lcdproc to LCDd which is large enough to trigger LCDd
closing the connection. Therefore it seems the 'L' screen is causing the
problem, but actually its not the screen itself, but all together.
Solutions:
1. Keep my patch. I will discuss this on the mailing list seperately.
2. Disable the CPUGraph screen if you don't need it.
BTW: Your 4 core CPU looks cool. However, if you notice the behaviour
reported here:
https://sourceforge.net/tracker2/?func=detail&aid=2580087&group_id=119&atid=100119
please report.
Regards,
Markus
More information about the LCDproc
mailing list