Re: lirc - Send doesn't work e.g. ir-ctl -stv.ir
Sean Young <[email protected]> Sat, 13 Sep 2025 22:07:27 +0100
| Newsgroups | gmane.comp.hardware.lirc |
|---|---|
| Message-ID | <[email protected]> |
On Sat, Sep 13, 2025 at 06:17:42PM +0200, Mariusz Ferdyn wrote: > I did the following: > = > = > ir-ctl -c 38400 -r -d /dev/lirc1 > warning: /dev/lirc1: does not support setting send carrier > +4539 -4387 +625 -1624 +622 -1627 +615 -1617 +626 -499 +633 -495 +629 -499 > +629 -500 +629 -499 +630 -1631 +624 -1611 +624 -1617 +626 -498 +629 -497 > +629 -500 +646 -483 +631 -498 +628 -498 +628 -1618 +628 -498 +629 -499 +6= 28 > -499 +627 -504 +616 -522 +618 -497 +628 -1618 +626 -508 +621 -1628 +628 > -1606 +614 -1648 +599 -1643 +595 -1649 +586 -1640 +605 -20639 > +4516 -4412 +599 -1641 +603 -1648 +597 -1647 +597 -522 +628 -500 +607 -521 > +606 -522 +605 -522 +608 -1641 +602 -1656 +596 -1643 +605 -511 +607 -519 > +605 -522 +607 -522 +606 -523 +621 -507 +606 -1645 +609 -513 +605 -522 +6= 06 > -522 +606 -536 +602 -519 +609 -511 +611 -1639 +601 -522 +605 -1664 +582 > -1642 +604 -1644 +610 -1642 +600 -1635 +603 -1641 +603 -22905 The first number should be near +9000. The reason the TV is not responding is because garbage is being sent. > +4521 -4404 +605 -1636 +611 -1632 +616 -1637 +609 -508 +636 -490 +656 -474 > +640 -487 +615 -511 +643 -1605 +641 -1617 +637 -1608 +625 -486 +611 -515 > +641 -486 +643 -485 +641 -486 +642 -489 +639 -1620 +624 -485 +644 -485 +6= 43 > -486 +641 -486 +642 -495 +604 -515 +643 -1609 +650 -478 +634 -1604 +611 > -1636 +637 -1606 +638 -1616 +653 -1592 +628 -1612 +632 -24149 > +4546 -4387 +632 -1603 +643 -1604 +641 -1606 +636 -486 +641 -495 +635 -485 > +641 -488 +641 -487 +643 -1608 +638 -1604 +639 -1629 +632 -479 +640 -487 > +667 -457 +634 -485 +641 -489 +650 -477 +632 -1614 +648 -489 +648 -469 +6= 38 > -487 +640 -487 +636 -493 +637 -490 +640 -1608 +638 -492 +645 -1600 +635 > -1609 +635 -1610 +634 -1611 +635 -1621 +639 -1607 +621 -26450 > = > = > = > +4484 -4439 +575 -1666 +579 -1663 +581 -1662 +582 -545 +582 -544 +583 -545 > +589 -539 +583 -546 +605 -1640 +581 -1665 +580 -1663 +607 -520 +594 -540 > +586 -548 +595 -521 +582 -544 +583 -544 +583 -1665 +582 -544 +584 -543 +6= 23 > -506 +607 -520 +607 -519 +609 -530 +597 -1639 +606 -519 +624 -1631 +608 > -1630 +606 -1638 +608 -1638 +607 -1639 +606 -1653 +600 -28186 > +4516 -4412 +603 -1637 +608 -1639 +604 -1637 +608 -518 +610 -517 +610 -518 > +634 -502 +612 -507 +615 -1644 +603 -1641 +595 -1636 +618 -513 +610 -510 > +610 -517 +628 -502 +636 -492 +610 -517 +612 -1639 +607 -516 +625 -503 +6= 12 > -516 +610 -517 +618 -511 +610 -517 +636 -1614 +631 -492 +612 -1636 +610 > -1636 +623 -1636 +607 -1634 +623 -1609 +611 -1642 +606 -20470 > = > It is during reading and - warning: /dev/lirc1: does not support setting > send carrier - is it hardware problem? That's a software problem. I don't understand this; the gpio-ir-tx driver has supported setting the tx carrier since the earliest version. = Could you please send the dmesg please? I'd like to see the kernel version and the IR messages. > Each time I see different digits. > = > = > I am using Raspbery Pi 1. Should I use newer hardware? Generating the carrier wave on Raspberry Pi 1 in software might not work. I would recommend either faster hardware or using the pwm-ir-tx driver. Still the not being able to set the carrier needs an explanation. > =A0cat /etc/os-release > PRETTY_NAME=3D"Raspbian GNU/Linux 12 (bookworm)" > NAME=3D"Raspbian GNU/Linux" > VERSION_ID=3D"12" > VERSION=3D"12 (bookworm)" > VERSION_CODENAME=3Dbookworm > ID=3Draspbian > ID_LIKE=3Ddebian > HOME_URL=3D"http://www.raspbian.org/" > SUPPORT_URL=3D"http://www.raspbian.org/RaspbianForums" > BUG_REPORT_URL=3D"http://www.raspbian.org/RaspbianBugs" > = > = > ir-ctl -c 38400 -screative.ir > and in other window=A0 ir-ctl -c 38400 -r -d /dev/lirc1 > Each time I execute ir-ctl -c 38400 -screative.ir I receive different dig= its > - but not series only one line like: > = > = > +43 -20874 > = > content of creative.ir is: > = > cat creative.ir=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 +9056 -4514 +572 -547 +593 = -538 +611 -522 +610 > -522 +610 -522 +587 -1694 +586 -538 +607 -520 +609 -1658 +583 -1685 +585 > -1682 +605 -1667 +605 -1660 +606 -523 +614 -1655 +623 -1646 +614 -1653 +6= 09 > -520 +611 -522 +611 -1659 +608 -518 +615 -521 +611 -519 +626 -511 +615 -5= 15 > +612 -1657 +635 -1633 +610 -520 +613 -1657 +620 -1650 +608 -1657 +610 -16= 57 > +610 -32641 > +9082 -2236 +609 -31152 > +9051 -2262 +607 -12929 There is definitely a problem there. The IR looks like valid nec or necx with some repeats, looks good. There should be no issue sending and receivi= ng that. Sean