Craveiro Posted April 24, 2018 Report Posted April 24, 2018 (edited) Hey there. I have a Flirc (metal one) and i'm trying to do some automation. I'm trying do send IR signal to my TV box using the Flirc connected to a Raspberry. I have fallow this post http://blog.flirc.tv/index.php/2017/08/06/sdk-release-linux-rpi-ir-transmit-support/ But when i send the signal with send_ir_raw nothing happens. Heres the command output: ~ $ flirc_util send_ir_raw 0,482,204,200,203,205,675,231,236,141,230,204,203,179,229,200,204,249,158,174,230,205,509,231,369,179,535,236,666,231,203,205,675,231,203,174 [D] lib/libflirc/common/flirc_transport.c fl_open_hid(124): trying to open bootloader device [D] lib/libtransport/hid.c list_devs(280): --------------------------------------------------------- [D] lib/libtransport/hid.c list_devs(281): -----------------------Device List----------------------- [D] lib/libtransport/hid.c list_devs(282): --------------------------------------------------------- [D] lib/libtransport/hid.c list_devs(293): Device Found type: 20a0 0006 path: /dev/hidraw1 serial_number: [D] lib/libtransport/hid.c list_devs(294): [D] lib/libtransport/hid.c list_devs(295): Manufacturer: flirc.tv [D] lib/libtransport/hid.c list_devs(296): Product: flirc [D] lib/libtransport/hid.c list_devs(297): Release: 100 [D] lib/libtransport/hid.c list_devs(298): Interface: 0 [D] lib/libtransport/hid.c list_devs(299): Usage Page: 384 [D] lib/libtransport/hid.c list_devs(300): Usage: 0 [D] lib/libtransport/hid.c list_devs(293): Device Found type: 20a0 0006 path: /dev/hidraw2 serial_number: [D] lib/libtransport/hid.c list_devs(294): [D] lib/libtransport/hid.c list_devs(295): Manufacturer: flirc.tv [D] lib/libtransport/hid.c list_devs(296): Product: flirc [D] lib/libtransport/hid.c list_devs(297): Release: 100 [D] lib/libtransport/hid.c list_devs(298): Interface: 1 [D] lib/libtransport/hid.c list_devs(299): Usage Page: 0 [D] lib/libtransport/hid.c list_devs(300): Usage: 0 [D] lib/libtransport/hid.c list_devs(306): --------------------------------------------------------- [V] lib/libtransport/hid.c hid_dev_open(330): Device 20A0:5 not found [V] lib/libtransport/transport.c dev_open(88): no device found [V] lib/libflirc/common/flirc_transport.c _fl_open_libhid_btldr(56): no hid device found [D] lib/libflirc/common/flirc_transport.c fl_open_hid(130): trying to open main device [D] lib/libflirc/common/flirc_transport.c _fl_open_libhid_app(92): trying to open 0x20A0, 0x0006 [D] lib/libtransport/hid.c list_devs(280): --------------------------------------------------------- [D] lib/libtransport/hid.c list_devs(281): -----------------------Device List----------------------- [D] lib/libtransport/hid.c list_devs(282): --------------------------------------------------------- [D] lib/libtransport/hid.c list_devs(293): Device Found type: 20a0 0006 path: /dev/hidraw1 serial_number: [D] lib/libtransport/hid.c list_devs(294): [D] lib/libtransport/hid.c list_devs(295): Manufacturer: flirc.tv [D] lib/libtransport/hid.c list_devs(296): Product: flirc [D] lib/libtransport/hid.c list_devs(297): Release: 100 [D] lib/libtransport/hid.c list_devs(298): Interface: 0 [D] lib/libtransport/hid.c list_devs(299): Usage Page: 0 [D] lib/libtransport/hid.c list_devs(300): Usage: 0 [D] lib/libtransport/hid.c list_devs(293): Device Found type: 20a0 0006 path: /dev/hidraw2 serial_number: [D] lib/libtransport/hid.c list_devs(294): [D] lib/libtransport/hid.c list_devs(295): Manufacturer: flirc.tv [D] lib/libtransport/hid.c list_devs(296): Product: flirc [D] lib/libtransport/hid.c list_devs(297): Release: 100 [D] lib/libtransport/hid.c list_devs(298): Interface: 1 [D] lib/libtransport/hid.c list_devs(299): Usage Page: 0 [D] lib/libtransport/hid.c list_devs(300): Usage: 0 [D] lib/libtransport/hid.c list_devs(306): --------------------------------------------------------- [D] lib/libtransport/hid.c hid_find(255): Device Used type: 20a0 0006 path: /dev/hidraw1 serial_number: [D] lib/libtransport/hid.c hid_find(256): Manufacturer: flirc.tv [D] lib/libtransport/hid.c hid_find(257): Product: flirc [D] lib/libtransport/hid.c hid_find(258): Release: 100 [D] lib/libtransport/hid.c hid_find(259): Interface: 0 [D] lib/libtransport/hid.c hid_find(260): Usage Page: 0 [D] lib/libtransport/hid.c hid_find(261): Usage: 0 [V] lib/libtransport/hid.c hid_dev_open(336): Manufacturer String: flirc.tv [V] lib/libtransport/hid.c hid_dev_open(341): Product String: flirc [V] lib/libtransport/hid.c hid_dev_open(346): Serial Number String: flirc [V] lib/libtransport/hid.c hid_dev_open(347): [V] lib/libtransport/hid.c hid_send_packet(79): Report ID: 2 [V] lib/libtransport/hid.c hid_send_packet(80): Report len: 33 00: 02 67 65 74 76 65 72 73 69 6f 6e 00 00 30 74 03 .getversion..0t. 10: 00 e0 c6 d3 76 04 00 00 00 01 00 00 00 00 35 e9 ....v.........5. 20: 7e ~ [V] lib/libtransport/hid.c hid_send_packet(91): hid_write = 33 [V] lib/libtransport/hid.c hid_recv_packet(144): Report ID: 1 [V] lib/libtransport/hid.c hid_recv_packet(145): Report len: 33 [V] lib/libtransport/hid.c hid_recv_packet(156): retval = 33 00: 01 67 65 74 76 65 72 73 69 6f 6e 00 00 04 00 04 .getversion..... 10: 00 02 00 c5 74 00 d6 72 65 6c 65 61 73 65 00 00 ....t..release.. 20: 00 . [V] lib/libflirc/common/flirc_transport.c transport_new_get_version(40): Version: 4.4.2 0xD60074C5 [release] [D] lib/libflirc/flirc_driver.c determine_iface(113): fw_state: firmware [D] lib/libflirc/flirc_driver.c determine_iface(114): version: 4.4 [D] lib/libflirc/flirc_driver.c determine_iface(231): initializing fw ver4.4 [D] lib/libflirc/common/flirc_transport.c _fl_open_libhid_app(113): [Device Found] [V] lib/libflirc/common/flirc_transport.c _fl_open_libhid_app(114): FIRMWARE: 2 [V] lib/libflirc/common/flirc_transport.c fl_open_hid(132): application found [D] lib/libflirc/flirc_driver.c fl_open_device(263): device found, state: 2 [V] lib/libcmds/cmds.c run_cmds(251): running command: send_ir_raw [V] lib/libtransport/hid.c hid_send_packet(79): Report ID: 2 [V] lib/libtransport/hid.c hid_send_packet(80): Report len: 33 00: 02 69 72 74 72 61 6e 73 65 74 00 00 00 24 00 00 .irtranset...$.. 10: 00 05 00 00 00 00 00 00 00 ff ff ff ff 00 00 00 ................ 20: 00 . [V] lib/libtransport/hid.c hid_send_packet(91): hid_write = 33 [V] lib/libtransport/hid.c hid_recv_packet(144): Report ID: 1 [V] lib/libtransport/hid.c hid_recv_packet(145): Report len: 33 [V] lib/libtransport/hid.c hid_recv_packet(156): retval = 33 00: 01 69 72 74 72 61 6e 73 65 74 00 00 00 00 00 00 .irtranset...... 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 20: 00 . 00: 00 00 e2 01 cc 00 c8 00 cb 00 cd 00 a3 02 e7 00 ................ 10: ec 00 8d 00 .... [V] lib/libtransport/hid.c hid_send_packet(79): Report ID: 2 [V] lib/libtransport/hid.c hid_send_packet(80): Report len: 33 00: 02 69 72 74 72 61 6e 73 72 61 77 00 00 00 00 e2 .irtransraw..... 10: 01 cc 00 c8 00 cb 00 cd 00 a3 02 e7 00 ec 00 8d ................ 20: 00 . [V] lib/libtransport/hid.c hid_send_packet(91): hid_write = 33 [V] lib/libtransport/hid.c hid_recv_packet(144): Report ID: 1 [V] lib/libtransport/hid.c hid_recv_packet(145): Report len: 33 [V] lib/libtransport/hid.c hid_recv_packet(156): retval = 33 00: 01 69 72 74 72 61 6e 73 72 61 77 00 00 00 00 00 .irtransraw..... 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 20: 00 . 00: e6 00 cc 00 cb 00 b3 00 e5 00 c8 00 cc 00 f9 00 ................ 10: 9e 00 ae 00 .... [V] lib/libtransport/hid.c hid_send_packet(79): Report ID: 2 [V] lib/libtransport/hid.c hid_send_packet(80): Report len: 33 00: 02 69 72 74 72 61 6e 73 72 61 77 00 00 e6 00 cc .irtransraw..... 10: 00 cb 00 b3 00 e5 00 c8 00 cc 00 f9 00 9e 00 ae ................ 20: 00 . [V] lib/libtransport/hid.c hid_send_packet(91): hid_write = 33 [V] lib/libtransport/hid.c hid_recv_packet(144): Report ID: 1 [V] lib/libtransport/hid.c hid_recv_packet(145): Report len: 33 [V] lib/libtransport/hid.c hid_recv_packet(156): retval = 33 00: 01 69 72 74 72 61 6e 73 72 61 77 00 00 00 00 00 .irtransraw..... 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 20: 00 . 00: e6 00 cd 00 fd 01 e7 00 71 01 b3 00 17 02 ec 00 ........q....... 10: 9a 02 e7 00 .... [V] lib/libtransport/hid.c hid_send_packet(79): Report ID: 2 [V] lib/libtransport/hid.c hid_send_packet(80): Report len: 33 00: 02 69 72 74 72 61 6e 73 72 61 77 00 00 e6 00 cd .irtransraw..... 10: 00 fd 01 e7 00 71 01 b3 00 17 02 ec 00 9a 02 e7 .....q.......... 20: 00 . [V] lib/libtransport/hid.c hid_send_packet(91): hid_write = 33 [V] lib/libtransport/hid.c hid_recv_packet(144): Report ID: 1 [V] lib/libtransport/hid.c hid_recv_packet(145): Report len: 33 [V] lib/libtransport/hid.c hid_recv_packet(156): retval = 33 00: 01 69 72 74 72 61 6e 73 72 61 77 00 00 00 00 00 .irtransraw..... 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 20: 00 . 00: cb 00 cd 00 a3 02 e7 00 cb 00 ae 00 ............ [V] lib/libtransport/hid.c hid_send_packet(79): Report ID: 2 [V] lib/libtransport/hid.c hid_send_packet(80): Report len: 33 00: 02 69 72 74 72 61 6e 73 72 61 77 00 00 cb 00 cd .irtransraw..... 10: 00 a3 02 e7 00 cb 00 ae 00 00 00 00 00 00 00 00 ................ 20: 00 . [V] lib/libtransport/hid.c hid_send_packet(91): hid_write = 33 [V] lib/libtransport/hid.c hid_recv_packet(144): Report ID: 1 [V] lib/libtransport/hid.c hid_recv_packet(145): Report len: 33 [V] lib/libtransport/hid.c hid_recv_packet(156): retval = 33 00: 01 69 72 74 72 61 6e 73 72 61 77 00 00 00 00 00 .irtransraw..... 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 20: 00 . [D] lib/libflirc/flirc_driver.c fl_close_device(421): closing device [D] lib/libflirc/flirc_driver.c fl_close_device(432): freeing iface ~ $ Any help? Best regards. Edited April 24, 2018 by Craveiro Quote
yawor Posted April 26, 2018 Report Posted April 26, 2018 Hi, What TV box is that? I'm trying to decode the signal data you've used by I don't recognise the protocol. Is the Flirc IR window pointing in the TV box's direction? Flirc has really good IR receiver but the IR transmitter is not very powerful. Quote
Craveiro Posted April 27, 2018 Author Report Posted April 27, 2018 Hi. It's a Sagemcom box: https://www.dday.it/redazione/21974/vodafone-tv-la-nostra-prova-promettente-ma-ancora-acerba The flirc is very close to the box, almost touching Quote
yawor Posted April 27, 2018 Report Posted April 27, 2018 Can you open the log window with IR debugging turned on, press some buttons multiple times, then save the log to the file and post it here? Quote
yawor Posted April 27, 2018 Report Posted April 27, 2018 Could you also try checking the exact model of the box? Does it have a model name or number on the bottom of the device? Quote
Craveiro Posted April 27, 2018 Author Report Posted April 27, 2018 Sagemcom CS 50001 Log file attached. Thank you so much for your help! my_flirc_config.txt Quote
yawor Posted April 29, 2018 Report Posted April 29, 2018 Sorry it took so long. I've been able to sit down to this today. First of all, the protocol used by your Sagemcom remote is known as Nokia32. I've been able to decode the IR codes included in the attached file. I've also been able to transmit then from my Flirc and the received signal is correct (I've built myself a little Arduino based IR analyser, so I can record and analyse signals). On the other hand, I can't decode the IR signal data from your first post. The software I'm using doesn't recognise it neither a Nokia32 nor any other known protocol. I think may be somehow malformed. Try sending other signals, for example the ones from the file you've attached, and check if your box reacts to them. Quote
libreelec Posted March 22, 2020 Report Posted March 22, 2020 Trying to do the same thing but I get: LibreELEC:~/Flirc-3.25.2 # ./flirc_util ./flirc_util: error while loading shared libraries: libreadline.so.6: cannot open shared object file: No such file or directory LibreELEC:~/Flirc-3.25.2 # ldd ./flirc_util linux-vdso.so.1 (0x00007ffdd8ba5000) libreadline.so.6 => not found libusb-1.0.so.0 => /usr/lib/libusb-1.0.so.0 (0x00007f020ffc1000) libhidapi-hidraw.so.0 => not found libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f020ff9e000) libc.so.6 => /usr/lib/libc.so.6 (0x00007f020fde8000) libudev.so.1 => /usr/lib/libudev.so.1 (0x00007f020fdbd000) /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f020ffd5000) librt.so.1 => /usr/lib/librt.so.1 (0x00007f020fdb3000) Any suggestions? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.