drikanis Posted October 7, 2023 Report Share Posted October 7, 2023 Hi, I'm having an issue with sendir in flirc_util after updating the flirc package to 3.27.5. The code (if it's being sent at all) is not recognized by the device I'm trying to control with it. Works fine with 3.27.4. OS: OSMC (raspbian 11.8) FW Version: v4.6.5v4.6.5 SKU: Flirc 2.0 [dori] Branch: master Config: release Hash: 0x18BBFCFA 3.27.4 (works and code is recognized by receiving device): $ flirc_util sendir --raw='+9014 -4405 +535 -560 +588 -1615 +587 -508 +587 -1611 +587 -1611 +592 -1611 +587 -508 +587 -1615 +588 -508 +587 -482 +627 -464 +588 -508 +587 -483 +557 -1645 +609 -482 +588 -1611 +561 -538 +588 -482 +613 -1611 +587 -1611 +592 -508 +587 -478 +587 -1615 +609 -482 +592 -1611 +561 -1641 +609 -487 +587 -503 +592 -1611 +587 -1611 +592 -504 +591 -1611 +588' --repeat=2 Transmitting IR Pattern... +9014 -4405 +535 -560 +588 -1615 +587 -508 +587 -1611 +587 -1611 +592 -1611 +587 -508 +587 -1615 +588 -508 +587 -482 +627 -464 +588 -508 +587 -483 +557 -1645 +609 -482 +588 -1611 +561 -538 +588 -482 +613 -1611 +587 -1611 +592 -508 +587 -478 +587 -1615 +609 -482 +592 -1611 +561 -1641 +609 -487 +587 -503 +592 -1611 +587 -1611 +592 -504 +591 -1611 +588 -15000 Done! 3.27.5 (error and code is either not sent or not recognized by receiving device): $ flirc_util sendir --raw='+9014 -4405 +535 -560 +588 -1615 +587 -508 +587 -1611 +587 -1611 +592 -1611 +587 -508 +587 -1615 +588 -508 +587 -482 +627 -464 +588 -508 +587 -483 +557 -1645 +609 -482 +588 -1611 +561 -538 +588 -482 +613 -1611 +587 -1611 +592 -508 +587 -478 +587 -1615 +609 -482 +592 -1611 +561 -1641 +609 -487 +587 -503 +592 -1611 +587 -1611 +592 -504 +591 -1611 +588' --repeat=2 Transmitting IR Pattern... +9014 -4405 +535 -560 +588 -1615 +587 -508 +587 -1611 +587 -1611 +592 -1611 +587 -508 +587 -1615 +588 -508 +587 -482 +627 -464 +588 -508 +587 -483 +557 -1645 +609 -482 +588 -1611 +561 -538 +588 -482 +613 -1611 +587 -1611 +592 -508 +587 -478 +587 -1615 +609 -482 +592 -1611 +561 -1641 +609 -487 +587 -503 +592 -1611 +587 -1611 +592 -504 +591 -1611 +588 -15000 [E] lib/libflirc/firmware/fw_4.2.c _fl_transmit_raw(59): Value less than 40ms, increasing Done! Quote Link to comment Share on other sites More sharing options...
frangipan Posted September 19 Report Share Posted September 19 I see the same result with flirc_util 3.27.15+ and the following Flirc 2.0 USB firmwares: v4.9.6 v4.10.5 The workaround is to transform the "raw" codes into CSV, this can be done with the following command (Linux): raw="+9014 -4405 +535 ..... <rest of raw string>" csv=$(echo 0"$raw" | sed 's/ \?[+-]/,/g') flirc_util sendir --raw="$csv" Note the prefixed '0'. Quote Link to comment Share on other sites More sharing options...
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.