I have an IR sensor and I have successfully connected it with RaspberryPI and Ardunio in the past using GPIO pins.
I am thinking of connecting the same sensor(IR sensor) with my Linux desktop using the USB port. Connecting it with raspberry PI was straightforward using the GPIO and then reading the input value at a particular GPIO pin.
In my Linux system, I am thinking to use a USB TO Serial TTL Converter Module] USB to TTL Serial Cable or PL2303 USB UART Board.
Goal: My end goal is to use an IR remote to control the media centre Kodi installed in my Ubuntu 20.04 LTS using an IR remote, IR receiver sensor.
I am aware of software/libraries such as lirc and have successfully used it in RaspberryPi OS and Libreelec os. All the blogs/articles that I found on the internet pointed me to buy a USB IR receiver. If you can please tell me the steps involved in achieving the above goal. Thank you very much.