Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3856

Troubleshooting • Stuggling with IR receiver

$
0
0
Hi all,

Struggling to get an IR reciever and remote working on my pi.

Pi is Pi 3B+ with Bookworm 64Bit OS., Reciever is this: https://amzn.eu/d/cdBVvxd

Ive connected it to GPIO 18 and enabled it (I think) in /boot/firmware/config.txt with the line:

Code:

dtoverlay=gpio-ir,gpio_pin=18
if I do

Code:

sudo ir-keytable -p all
like a guide told me to I get:

Code:

Protocols for device can not be changedError: unable to attach bpf program, lirc device name was not found

Code:

ir-keytable
gives me:

Code:

Found /sys/class/rc/rc1/ with:        Name: gpio_ir_recv        Driver: gpio_ir_recv        Default keymap: rc-rc6-mce        Input device: /dev/input/event2        LIRC device: /dev/lirc0        Attached BPF protocols: Operation not permitted        Supported kernel protocols: lirc rc-5 rc-5-sz jvc sony nec sanyo mce_kbd rc-6 sharp xmp imon        Enabled kernel protocols: lirc rc-6        bus: 25, vendor/product: 0001:0001, version: 0x0100        Repeat delay = 500 ms, repeat period = 125 msFound /sys/class/rc/rc0/ with:        Name: vc4-hdmi        Driver: cec        Default keymap: rc-cec        Input device: /dev/input/event0        Supported kernel protocols: cec        Enabled kernel protocols: cec        bus: 30, vendor/product: 0000:0000, version: 0x0001        Repeat delay = 0 ms, repeat period = 125 ms
Using

Code:

ir-keytable -t
or

Code:

evtest
to monitor inputs just provides no input, although when I press a button on the remote the LED on the receiver is flashing, so I know it is seeing the input.

Never really worked with this sort of thing so don't know what to try yet and googling the various error messages has just left me confused and bewildered.

Statistics: Posted by DrunkenDwarf — Thu Jan 30, 2025 2:03 am



Viewing all articles
Browse latest Browse all 3856

Trending Articles