Hi community,
After a multiple hours of debugging, i got it working, even if i need to
say that i just did a "dirty" hack inside the plugin file of IRBlaster.
Reason for this is because i still not understand the source of the
problem... In Windows the original file is working.... in freeBSD
not...
I found in the debug messages that the IR command was not transfered
correctly, and inside the prefix the 0x4004 was double....
[22-02-08 21:55:35.7203] Plugins::IRBlaster::Plugin::IRBlastSend (737)
*** IR-Blaster: min_repeat: 1, code: *0x38BC81*#Was:Power
[22-02-08 21:55:35.7204] Plugins::IRBlaster::Plugin::IRBlastSend (1003)
*** IR-Blaster: irstr: 0x00 0x00 *0x40 0x04 0x40 0x04* 0x05 *0x38 0x30
0x23* 0x10 0x93 0x0E 0x93 0x30 0x13
[22-02-08 21:55:35.9307]
Plugins::IRBlaster::Plugin::IRBlastSendCallbackFab4 (1309) ***
IR-Blaster: 0x00 0x00 0x40 0x04 0x40 0x04 0x05 0x38 0x30 0x23 0x10 0x93
0x0E 0x93 0x30 0x13
After doing the follwoing hack in the IR Blaster Plugin file, it is
working (line 812-826 of Plugin.pm):
Code:
--------------------
my $fullircmd = sprintf( "%08X%08X", $irCmdHigh32, $irCmdLow32);
$irstr = "0x" . substr( $fullircmd, 0, 2);
$irstr .= " 0x" . substr( $fullircmd, 2, 2);
$irstr .= " 0x" . substr( $fullircmd, 4, 2);
$irstr .= " 0x" . substr( $fullircmd, 6, 2);
# $IRSTR .= \" 0X\" . SUBSTR( $FULLIRCMD, 8, 2); # COMMENT OUT
# $IRSTR .= \" 0X\" . SUBSTR( $FULLIRCMD, 10, 2); # COMMENT OUT[/B]
$IRSTR .= \" 0X\" . SUBSTR( $FULLIRCMD, 12, 2);
$IRSTR .= \" 0X\" . SUBSTR( $FULLIRCMD, 14, 2);
[B]$IRSTR .= \" 0X\" . SUBSTR( $FULLIRCMD, 16, 2); # ADD THIS LINE
$IRSTR .= \" 0X\" . SUBSTR( $FULLIRCMD, 18, 2); # ADD THIS LINE
$irstr .= sprintf( " 0x%02X", $irnumbits);
--------------------
If anybody can explain me this, i would be glad.
For me this hack is working, maybe somebody else have similar problems,
and finds this helpfull as well.
Best Regards,
Stefan
------------------------------------------------------------------------
onki2's Profile: http://forums.slimdevices.com/member.php?userid=70858
View this thread: http://forums.slimdevices.com/showthread.php?t=115933
_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter