Re: LCDd Command/Display Latency

Martin T Jones <[email protected]> Tue, 12 Jun 2012 16:27:31 +0100
Newsgroups gmane.comp.sysutils.lcdproc
Message-ID <[email protected]>
On 12/06/12 00:58, Caylan Larson wrote:
> Hi,
>
> Is there any way to reduce the latency between submitting a command via port 13666 and updating the LCD?  I'm experiencing a 1.5 second delay in command submission and LCD display.
>
> I'm using a picolcd in an M300 case.
>
> Thank you,
>
> Caylan
>
> _______________________________________________
> LCDproc mailing list
> [email protected]
> http://lists.omnipotent.net/mailman/listinfo/lcdproc
>    
You need LCDproc version 0.5.5 built with libusb version 1.0 to get good 
response times.

I expect pre-built versions in the distribution packages are still using 
libusb-0.1 which makes the picoLCD driver very sluggish due to a 500ms 
wait for key input.

You will get the following message from LCDd if you are using the 
picoLCD driver with libusb version 1.0.

LCDd: picolcd: Key repeat: delay 300, interval 200

If you do not get the above message install libusb-1.0 then obtain and 
build the latest LCDproc, see:
http://lcdproc.sourceforge.net/docs/current-user.html

I use the following configure command, you may need to change the prefix 
and may want to omit debug.

./configure --enable-drivers=picolcd,lirc --prefix=/usr --enable-debug --enable-lcdproc-menus

Check the output includes the following lines:

The picolcd driver is using the libusb-1.0 library.

---------------------------------------

LCDd will be compiled with the drivers:

     -  picolcd

Next build using:

make


Then test, see:
http://lcdproc.sourceforge.net/docs/current-user.html#running-lcdd

Hopefully this will give you version with good response times.

Good luck.

Martin