Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

LIRC partial read 8 bytes

I tried to create my own universal remote using my Raspberry Pi 3 with newest Raspbian. After constructing little receiver and transmitter (tutorial I followed) and connecting everything up I got this message when trying to receive IR.

pi@raspberrypi:~ $ sudo modprobe lirc_rpi
pi@raspberrypi:~ $ sudo kill $(pidof lircd)
pi@raspberrypi:~ $ mode2 -d /dev/lirc0
Using driver devinput on device /dev/lirc0
Trying device: /dev/lirc0
Using device: /dev/lirc0
Partial read 8 bytes on /dev/lirc0pi@raspberrypi:~ $

How can I fix it ?

like image 550
EvilDumplings Avatar asked Jan 25 '18 23:01

EvilDumplings


1 Answers

The answer from @leamas points me to the right direction but changing driver = devinput to driver = default in /etc/lirc/lirc_options.conf does not help. But with this command I get it to run:

rpi3 ~$ sudo mode2 --driver default --device /dev/lirc0

With sudo adduser pi video, logout and login, I do not need sudo for the command.

like image 63
Ingo Avatar answered Sep 17 '22 04:09

Ingo