Compile lcdproc hd44780 driver on Raspberry Pi running Debian Stretch

In order to get my 20×4 LCD display with cheap IIC/I2C/TWI/SPI Serial Interface Board running on Raspberry Pi I had to use patched file downloaded from NeighborGeek. You can check it out here

This worked fine on my RPi3 running Debian Jessie, but recently I have upgraded to Stretch and found out that his driver now is having issues. After running for longer period of time the screen would be full of garbage characters.

I thought I could repeat the steps, download source, patch the source, compile and use again file instead of the one provided by distribution.

First thing I did was to download latest source from GitHub:

cd lcdproc-master

Now I tried to apply the hd44780-i2c.c patch but it failed. Then I checked the hd44780-i2c.c file in the source I found out that patch is no longer needed just proper configuration in LCDd.conf.

In order to compile the latest driver from GitHub following steps are needed:

./configure --disable-libusb --disable-libusb-1-0 --enable-drivers=hd44780 --disable-libftdi

After you have compiled the driver, go to directory:

 cd /usr/lib/arm-linux-gnueabihf/lcdproc/

and backup existing file just in case something goes wrong:


Then copy the newly compiled driver in proper place:

cp /usr/local/src/lcdproc-master/server/drivers/ .

Edit LCDd.conf and add the following after hd44780 part:


You can download my newly compiled driver and LCDd.conf from this link  hd44780_debian_stretch.

I hope this has saved you some time and got your 20×4 LCD working with Debian Stretch.

Upgrade Xbian installation to support Raspberry Pi 3

Recently I bought two Raspberry Pi 3 devices, one for my RetroPie gaming center and one for my Kodi / Xbian always-on media-center.

Retropie with version 3.6 came out of the box with Raspberry Pi 3 support, so it was an easy to replace old unit with new one.

Xbian needs new kernel package (4.4.4+) to support Raspberry Pi 3. There are two ways to get your Xbian to support your new device: Continue reading “Upgrade Xbian installation to support Raspberry Pi 3”