11-29-2019, 06:26 PM
(11-29-2019, 03:01 PM)kit1cat Wrote:(11-29-2019, 02:52 PM)TookaFace Wrote: Hey, here what i've done with 6.4 (oled + IR):
Maybe you will have issue with lirc during install, it's normal.Code:sudo apt-get -y install python-smbus libjpeg-dev lirc
Code:sudo pip install -U pip
sudo -i pip install --upgrade pip setuptools
sudo -H pip install --upgrade luma.oled
Add to /boot/config:
Code:dtparam=spi=on
dtoverlay=gpio-ir,gpio_pin=4
Download those updated scripts for oled and lirc (with a menu now) (those files came from audiophonics iso image):
Code:https://drive.google.com/open?id=1zlMPlWGG9EwosFfl_FIrDrCgQLECErU8
Extract 'oled' folder into /home/pi/
Code:cd /home/pi/oled
sudo chmod 755 /home/pi/oled/raspdac_oled_main.py
sudo chmod 644 oled.service
sudo cp oled.service /etc/systemd/system/
sudo systemctl enable oled
Extract 'lirc' folder into /home/pi/
Code:cd /home/pi
sudo cp -r lirc/* /etc/lirc
And for finish:
Code:sudo apt-get install -f
That should normalize broken lirc install
Remove lines in /etc/modules or /etc/rc.local if you added these.
No need to do anything else now.
Reboot, and if i didn't forget anything, it should work.
Thanks, will give it ago.
Installed with no problems, but still no working remote. Will try again tomorrow with a fresh 6.4 image, mine has been updated a few times from 6.3.1. Remote was working fine in 6.3.