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.

Compile Realtek rtl8812AU/8821AU USB WiFi driver on Debian Jessie

Install the driver first from github:

sudo apt-get install git
git clone
cd rtl8812AU_8821AU_linux
sudo cp -R . /usr/src/rtl8812AU_8821AU_linux-1.0
sudo dkms add -m rtl8812AU_8821AU_linux -v 1.0
sudo dkms build -m rtl8812AU_8821AU_linux -v 1.0
sudo dkms install -m rtl8812AU_8821AU_linux -v 1.0

Continue reading “Compile Realtek rtl8812AU/8821AU USB WiFi driver on Debian Jessie”

Use two wireless network interfaces on Raspberry Pi 3

Recently I have made some physical changes to my home network. Moved the WiFi router to a more central position to get better coverage, but that meant also my main media player running Xbian could no longer be connected via Ethernet cable, but had to switch to WLAN.

Well wireless adapter on Pi3 is ok for basic stuff, but it does not have good antenna to achieve better network quality or it could run at least 150Mbits which I required. Continue reading “Use two wireless network interfaces on Raspberry Pi 3”

Pine64 2GB DDR3 SDRAM, 10/100/1000 MB Ethernet port unpacking and quick review

Even though in my mid May post I said I will not go into future endeavors with low cost devices this one I have ordered long time ago (April 2016) and it was delayed with shipping.

Pine64 looked interesting and promising since they raised $1.7M on Kickstarter offered 3 different variants for affordable price.

Allwinner is awful with their open source support so you will not be using this device for your next media center since Kodi will not work, but since it has 2GB RAM and 1Gb Ethernet it seems perfect fit for a small home server. Continue reading “Pine64 2GB DDR3 SDRAM, 10/100/1000 MB Ethernet port unpacking and quick review”