I decided to replace default Zippy joystick that came with iCade with Sanwa JLF-TP-8Y-MB without mounting plate that fits perfectly into mounting holes in the casing. In order to overcome some configuration issues created by physical mounting of the joystick I needed to look into xboxdrv.
In order to get my 20×4 LCD display with cheap IIC/I2
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 hd44780.so file instead of the one provided by distribution.
First thing I did was to download latest source from GitHub:
wget https://github.com/lcdproc/lcdproc/archive/master.zip unzip master.zip 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:
./autogen.sh ./configure --disable-libusb --disable-libusb-1-0 --enable-drivers=hd44780 --disable-libftdi make
After you have compiled the driver, go to directory:
and backup existing file just in case something goes wrong:
cp hd44780.so hd44780.so.orig
Then copy the newly compiled driver in proper place:
cp /usr/local/src/lcdproc-master/server/drivers/hd44780.so .
Edit LCDd.conf and add the following after hd44780 part:
i2c_line_RS=0x01 i2c_line_RW=0x02 i2c_line_EN=0x04 i2c_line_BL=0x80 i2c_line_D4=0x10 i2c_line_D5=0x20 i2c_line_D6=0x40 i2c_line_D7=0x80 Backlight=yes BacklightInvert=yes
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.
For example you have downloaded 32GB .img file from the Internet and you burned it to your SD card by using dd command in Linux:
dd if=pi.img bs=4M|pv|dd of=/dev/mmcblk0 bs=4M
Just to mention again, it’s good to have pv command in the middle in order to track progress of the write. Continue reading “Can’t mount partition copied from image file on your SD card”
Install the driver first from github:
sudo apt-get install git git clone https://github.com/abperiasamy/rtl8812AU_8821AU_linux 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
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”