pravesh Posted January 20, 2019 Posted January 20, 2019 I am trying to user IR with lirc on rock64 with default module gpio-rc-recv but is getting error in dmesg. [ 5.852837] of_get_named_gpiod_flags: can't parse 'gpios' property of node '/ir-receiver[0]' [ 5.852856] gpio-rc-recv ir-receiver: Failed to get gpio flags (-2) [ 5.852879] gpio-rc-recv: probe of ir-receiver failed with error -2 Is it error with module or configuration with lirc? Please help
jock Posted January 27, 2019 Posted January 27, 2019 On 1/20/2019 at 5:50 PM, pravesh said: Image origin: https://www.armbian.com/download Build type: stable Board status: supported Development: not needed I confirm that provided information is true, complete and accurate. I am trying to user IR with lirc on rock64 with default module gpio-rc-recv but is getting error in dmesg. [ 5.852837] of_get_named_gpiod_flags: can't parse 'gpios' property of node '/ir-receiver[0]' [ 5.852856] gpio-rc-recv ir-receiver: Failed to get gpio flags (-2) [ 5.852879] gpio-rc-recv: probe of ir-receiver failed with error -2 Is it error with module or configuration with lirc? Please help The kernel log is quite explicit: the gpio-rc-recv kernel driver is failing to use the gpio pin. Most probably the gpio pin is not correctly configured in the device tree so the driver does not know which gpio pin to use.
Recommended Posts