|
From: Mariusz F. <mf...@fa...> - 2025-09-13 09:35:10
|
I am using: IR Receiver + Wire - Iduino SE027 IR 940nm Transmitter + Wire - Iduino SE028 I can record: ir-ctl -rtv.ir -d /dev/lirc1 cat tv.ir +4541 -4401 +603 -1622 +623 -1631 +617 -1621 +629 -494 +623 -505 +623 -506 +622 -505 +624 -504 +627 -1620 +621 -1623 +629 -1630 +606 -507 +632 -495 +621 -504 +623 -505 +625 -504 +622 -505 +624 -1639 +634 -480 +622 -503 +649 -481 +622 -506 +621 -506 +623 -505 +649 -1601 +624 -500 +649 -1600 +617 -1625 +621 -1627 +619 -1623 +632 -1619 +613 -1623 +646 -24922 +4519 -4404 +615 -1624 +618 -1626 +644 -1601 +647 -479 +648 -481 +654 -476 +621 -504 +624 -505 +647 -1600 +647 -1599 +622 -1624 +627 -510 +646 -480 +645 -491 +606 -508 +620 -502 +649 -477 +626 -1625 +627 -493 +652 -481 +642 -486 +630 -496 +645 -475 +622 -503 +622 -1626 +645 -482 +623 -1635 +634 -1600 +618 -1625 +620 -1625 +640 -1606 +631 -1617 +647 -27229 +4532 -4394 +641 -1607 +610 -1626 +622 -1626 +643 -481 +647 -480 +621 -514 +646 -474 +647 -490 +642 -1598 +642 -1600 +643 -1601 +644 -481 +647 -483 +657 -470 +644 -482 +648 -482 +644 -482 +647 -1601 +619 -507 +647 -481 +648 -479 +627 -502 +643 -483 +644 -485 +643 -1603 +646 -482 +645 -1601 +642 -1613 +616 -1620 +645 -1599 +642 -1604 +642 -1603 +655 -19502 +4556 -4370 +641 -1605 +642 -1605 +638 -1602 +643 -484 +644 -485 +645 -484 +642 -484 +644 -483 +643 -1614 +639 -1596 +639 -1607 +639 -484 +643 -485 +643 -484 +644 -485 +656 -472 +643 -487 +642 -1603 +647 -488 +635 -483 +644 -483 +642 -485 +643 -488 +652 -474 +643 -1604 +642 -484 +642 -1605 +641 -1607 +640 -1615 +636 -1594 +641 -1623 +626 -1601 +640 -21768 but when I execute: ir-ctl -stv.ir warning: tv.ir:4: trailing space ignored I see that IR is working (Iduino SE028 has LED and using my mobile camera), but TV is not switching ON. My config: ir-ctl -f -d /dev/lirc0 Receive features /dev/lirc0: - Device cannot receive Send features /dev/lirc0: - Device can send raw IR - IR scancode encoder - Set carrier - Set duty cycle ir-ctl -f -d /dev/lirc1 Receive features /dev/lirc1: - Device can receive raw IR - Can report decoded scancodes and protocol - Receiving timeout 12664 microseconds - Can set receiving timeout min 1 microseconds, max 1250000 microseconds Send features /dev/lirc1: - Device cannot send cat /boot/firmware/config.txt # For more options and information see # http://rptl.io/configtxt # Some settings may impact device functionality. See link above for details # Uncomment some or all of these to enable the optional hardware interfaces #dtparam=i2c_arm=on #dtparam=i2s=on #dtparam=spi=on # Enable audio (loads snd_bcm2835) dtparam=audio=on # Additional overlays and parameters are documented # /boot/firmware/overlays/README # Automatically load overlays for detected cameras camera_auto_detect=1 # Automatically load overlays for detected DSI displays display_auto_detect=1 # Automatically load initramfs files, if found auto_initramfs=1 # Enable DRM VC4 V3D driver dtoverlay=vc4-kms-v3d max_framebuffers=2 # Don't have the firmware create an initial video= setting in cmdline.txt. # Use the kernel's default instead. disable_fw_kms_setup=1 # Disable compensation for displays with overscan disable_overscan=1 # Run as fast as firmware / board allows arm_boost=1 [cm4] # Enable host mode on the 2711 built-in XHCI USB controller. # This line should be removed if the legacy DWC2 controller is required # (e.g. for USB device mode) or if USB support is not required. otg_mode=1 [cm5] dtoverlay=dwc2,dr_mode=host [all] dtoverlay=gpio-ir,gpio_pin=27 dtoverlay=gpio-ir-tx,gpio_pin=22 cat /etc/lirc/lirc_options.conf # These are the default options to lircd, if installed as # /etc/lirc/lirc_options.conf. See the lircd(8) and lircmd(8) # manpages for info on the different options. # # Some tools including mode2 and irw uses values such as # driver, device, plugindir and loglevel as fallback values # in not defined elsewhere. [lircd] nodaemon = False driver = devinput device = auto output = /var/run/lirc/lircd pidfile = /var/run/lirc/lircd.pid plugindir = /usr/lib/arm-linux-gnueabihf/lirc/plugins permission = 666 allow-simulate = No repeat-max = 600 #effective-user = #listen = [address:]port #connect = host[:port] #loglevel = 6 #release = true #release_suffix = _EVUP #logfile = ... #driver-options = ... [lircmd] uinput = False nodaemon = False # [modinit] # code = /usr/sbin/modprobe lirc_serial # code1 = /usr/bin/setfacl -m g:lirc:rw /dev/uinput # code2 = ... # [lircd-uinput] # add-release-events = False # release-timeout = 200 # release-suffix = _EVUP driver = default device = /dev/lirc0 driver = default device = /dev/lirc0 Any idea? |