tbsdtv / linux_media

TBS linux open source drivers
https://github.com/tbsdtv/linux_media/wiki
Other
174 stars 80 forks source link

TBS5520 IR remote control in Linux #339

Closed Tnix76 closed 1 month ago

Tnix76 commented 8 months ago

Hi all,

I've successfully installed and working fine the drivers for TBS5520 (1st ed.) in Linux. But I'd like to work the IR remote control. I don't know how to start with it but I've tried LIRC software suite with some commands like "irrecord" and I've not get any success. Anyone could tell me where I should search for information or tutorial?

Next some information about my system:

$ ir-keytable 
Found /sys/class/rc/rc0/ with:
        Name: TurboSight TBS 5520 DVB-S/S2/T/T2/C/ISDB-T
        Driver: dvb_usb_tbs5520
        Default keymap: rc-tbs-nec
        Input device: /dev/input/event14
        LIRC device: /dev/lirc0
        Supported kernel protocols: nec 
        Enabled kernel protocols: nec 
        bus: 3, vendor/product: 734c:5520, version: 0x0001
        Repeat delay: 500 ms, repeat period: 125 ms
$ uname -a
Linux xxxxxxxx 6.5.0-5-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.5.13-1 (2023-11-29) x86_64 GNU/Linux
$ sudo dmesg | grep tbs
[    5.773087] usb 3-6: firmware: direct-loading firmware dvb-usb-tbs5520-01.fw
[    5.773178] dvb-usb: downloading firmware from file 'dvb-usb-tbs5520-01.fw'
[    5.773180] tbs5520: start downloading tbs5520 firmware
[    5.888211] tbs5520: end downloading tbs5520 firmware
[    5.984748] tbs5520: TBS5520: frontend attached
[    6.040182] Registered IR keymap rc-tbs-nec
[    6.040279] rc rc0: lirc_dev: driver dvb_usb_tbs5520 registered at minor = 0, scancode receiver, no transmitter
[    6.040408] usbcore: registered new interface driver tbs5520

Thanks in advance.

crazycat69 commented 8 months ago

https://www.lirc.org/html/devinput.html https://github.com/gsliepen/inputlirc