I've sunk about a week into trying to receive infrared on RPi v4. I've worked through the LIRC docs and a number of tutorials.
I am using the VS1838 IR receiver. I actually have 2 which I've been using to make sure that the fault is not with the receiver itself.
My wiring seems to be correct and I've verified that by connecting other devices with the same breadboard/wiring. I have data sent to GPIO 18, power to 3.3V, and ground to ground. I also experimented with temporarily higher voltage.
LIRC is installed. I've tried turning the service on, off, restarting it, rebooting, etc.
sudo ir-keytable -c -p all -t never detects any events. I have verified that the remote is working and have tried 2 alternate remotes.
mode2 -m -d /dev/lirc0 also returns nothing.
/boot/config.txt I have:
with help from Dmitry's answer below I ran
modinfo on the driver which shows me this:
filename: /lib/modules/5.10.63-v7l+/kernel/drivers/media/rc/gpio-ir-recv.ko license: GPL v2 description: GPIO IR Receiver driver srcversion: 5DDEB234BED17634DA37C0C alias: of:N*T*Cgpio-ir-receiverC* alias: of:N*T*Cgpio-ir-receiver depends: intree: Y name: gpio_ir_recv vermagic: 5.10.63-v7l+ SMP mod_unload modversions ARMv7 p2v8