2009-06-17, 07:28
i'm trying to get my live installation to blast IR so I can automate turning my A/V receiver on/off. i'm using an mceusb2 ir receiver with 2 blasters built-in.
no clue if i've configured lirc to blast via hardware.conf:
but if i run:
the talkback LED on the blaster doesn't blink and no IR signal is sent. i have verified that the blaster does blink when it transmits.
irsend does recognize the remote i'm trying to emulate at least:
as a test to make sure that a signal is received and CAN perform some action, i created a simple .lircrc file in /home/xbmc:
running irexec and then pressing MUTE on my remote i see:
so the signal is received and action is taken based on the .lircrc file... but the IR transmit (blasting) piece isn't working.
no clue if i've configured lirc to blast via hardware.conf:
Code:
#Chosen IR Transmitter
TRANSMITTER="None"
TRANSMITTER_MODULES="lirc_dev lirc_mceusb2"
TRANSMITTER_DRIVER=""
TRANSMITTER_DEVICE="/dev/lirc0"
TRANSMITTER_LIRCD_CONF=""
TRANSMITTER_LIRCD_ARGS=""
#Enable lircd
START_LIRCD="true"
#Don't start lircmd even if there seems to be a good config file
#START_LIRCMD="false"
#Try to load appropriate kernel modules
LOAD_MODULES="true"
# Default configuration files for your hardware if any
LIRCMD_CONF=""
#Forcing noninteractive reconfiguration
#If lirc is to be reconfigured by an external application
#that doesn't have a debconf frontend available, the noninteractive
#frontend can be invoked and set to parse REMOTE and TRANSMITTER
#It will then populate all other variables without any user input
#If you would like to configure lirc via standard methods, be sure
#to leave this set to "false"
FORCE_NONINTERACTIVE_RECONFIGURATION="false"
START_LIRCMD=""
but if i run:
Code:
$ irsend --device=/dev/lircd SEND_ONCE pioneer_vsx_07tx MUTE
the talkback LED on the blaster doesn't blink and no IR signal is sent. i have verified that the blaster does blink when it transmits.
irsend does recognize the remote i'm trying to emulate at least:
Code:
$ irsend list pioneer_vsx_07tx ""
irsend: 00000000a55a50af VOL+
irsend: 00000000a55ad02f VOL-
irsend: 00000000a55a38c7 PWR
irsend: 00000000a55a32cd CD
irsend: 00000000a55af00f VCR1
irsend: 00000000a55a708f VCR2
irsend: 00000000a55ab04f VDP
irsend: 00000000a55a30cf TV
irsend: 00000000a55a2ad5 VSEL
irsend: 00000000a55a728d TAPE1
irsend: 00000000a55ab847 TAPE2
irsend: 00000000a55ae21d TUNER
irsend: 00000000a55ab24d PHONO
irsend: 00000000a55a48b7 MUTE
irsend: 0000000025da807f 1
irsend: 0000000025da40bf 2
irsend: 0000000025dac03f 3
irsend: 0000000025da20df 4
irsend: 0000000025daa05f 5
irsend: 0000000025da604f 6
irsend: 0000000025dae01f 7
irsend: 0000000025da10ef 8
irsend: 0000000025da906f 9
irsend: 0000000025da00ff 0
irsend: 0000000025da6a95 FREQ+
irsend: 0000000025daea15 FREQ-
irsend: 0000000025dac837 BAND
irsend: 00000000a55a58a7 POWER_ON
irsend: 00000000a55ad827 POWER_OFF
as a test to make sure that a signal is received and CAN perform some action, i created a simple .lircrc file in /home/xbmc:
Code:
$ cat .lircrc
begin
remote = pioneer_vsx_07tx
button = MUTE
prog = irexec
repeat = 0
config = echo "Hello world!"
end
running irexec and then pressing MUTE on my remote i see:
Code:
$ irexec
Hello world!
Hello world!
Hello world!
Hello world!
so the signal is received and action is taken based on the .lircrc file... but the IR transmit (blasting) piece isn't working.