[rpi] How to setup LCDproc for OSMC
* reference https://www.raspberrypi.org/forums/viewtopic.php?f=35&t=108385
1. i2c tools, LCDproc 패키지 설치
sudo apt-get update sudo apt-get -y install dpkg-dev gcc sudo apt-get -y install lcdproc lcdproc-extra-drivers sudo apt-get -y install i2c-tools
2. Edit configure
sudo echo ”i2c-bcm2708″ >> /etc/modules sudo echo "i2c-dev" >> /etc/modules sudo echo "dtparam=i2c_arm=on" >> /boot/config.txt
3. 라즈베리파이 용 HD44780.so 설치 및 LCDd.conf 수정
wget http://zzeromin.cafe24.com/hd44780.so sudo cp hd44780.so /usr/lib/arm-linux-gnueabihf/lcdproc/ sudo wget -O /etc/LCDd.conf http://zzeromin.cafe24.com/LCDd.conf sudo /etc/init.d/LCDd restart
4. Install and configure LCDproc Addon for OSMC
* Enable/install LCDproc via OSMC In the OSMC manin menu got to Settings >> Add-ons >> Get add-ons >> XBMC/Kodi add-on repository >> Services >> XBMC LCDproc >> Install
* Configure scrolling speed LCDproc via OSMC Settings - Add-ons - XBMC LCDproc - Configure - Behaviour - Delay for scrolling text - 0~10
5. Etc 재시작 명령어
sudo systemctl restart LCDd.service
* LCDd.conf
## This file was written by cme command. ## You can run 'cme edit <application>' to modify this file. ## Run 'cme list' to get the list of applications available on your system ## You may also modify the content of this file with your favorite editor.
[server] DriverPath=/usr/lib/arm-linux-gnueabihf/lcdproc/ Driver=hd44780 Bind=127.0.0.1 Port=13666 User=nobody WaitTime=3 ServerScreen=no
NextScreenKey=Right PrevScreenKey=Left ReportToSyslog=yes ToggleRotateKey=Enter
[menu] DownKey=Down EnterKey=Enter MenuKey=Escape UpKey=Up
[hd44780] ConnectionType=i2c Device=/dev/i2c-1 # rpi b+, rpi2 use "/dev/i2c-1" Port=0x27 # i2cdetect -y 1 Backlight=yes Size=16x2 # LCD1602 =16x2, 2004=20x4 DelayBus=false DelayMult=1 Keypad=no
















