EDIT: OH, so embarrassing… this is why we don’t let the software guy hook up the hardware. I swapped the power and ground connections. But I’ll leave this here, as it may be useful, and I should be able to provide information about this remote, once I get it working.
I have
- Current OSMC Krypton
- TSOP4838 connected to pins 1, 6, 12 (GPIO 18)
- Zenith ZB310 remote (yes, the batteries are in, and it works)
ls -l /dev/lir* says:
crw-rw---- 1 root video 244, 0 Feb 21 12:53 /dev/lirc0
dmesg includes:
[ 4.361247] lirc_dev: IR Remote Control driver registered, major 244
[ 4.419405] lirc_rpi: module is from the staging directory, the quality is unknown, you have been warned.
[ 4.433487] bcm2835-wdt 3f100000.watchdog: Broadcom BCM2835 watchdog timer
[ 4.438122] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
[ 4.692339] input: Logitech Gamepad F310 as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4:1.0/input/input0
[ 4.692709] usbcore: registered new interface driver xpad
[ 4.933151] FAT-fs (mmcblk0p6): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 5.378641] lirc_rpi: auto-detected active low receiver on GPIO pin 18
[ 5.378970] lirc_rpi lirc_rpi: lirc_dev: driver lirc_rpi registered at minor = 0
[ 5.378984] lirc_rpi: driver registered!
[ 5.605941] input: lircd as /devices/virtual/input/input1
lsmod includes:
bcm2835_gpiomem 4026 0
bcm2835_thermal 2541 0
bcm2835_wdt 4081 0
lirc_rpi 9342 3
lirc_dev 11576 1 lirc_rpi
rc_core 25745 1 lirc_dev
sudo cat /sys/kernel/debug/gpio says:
GPIOs 0-53, platform/3f200000.gpio, pinctrl-bcm2835:
gpio-35 ( |? ) in hi
gpio-47 ( |? ) out lo
My config.txt includes:
# Infrared Remote Control`
dtoverlay=lirc-rpi
dtparam=gpio_in_pin=18
dtparam=gpio_out_pin=17
To ensure nothing else is competing for access to this, I use:
sudo kill $(pidof lircd)
sudo systemctl stop lircd_helper@lirc0
Then neither of these produce any results:
mode2 -d /dev/lirc0
irrecord -d /dev/lirc0 ~/newlircd.conf
I tried search for answers what to do next, but I haven’t found anyone where they aren’t getting anything at all back…