<br><br><div class="gmail_quote">On Wed, Apr 3, 2013 at 11:12 AM, Dennis Stansfield <span dir="ltr">&lt;<a href="mailto:dennis@stansfield.biz" target="_blank">dennis@stansfield.biz</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<u></u>


  
  

<div>
I&#39;m in dire need of  help getting an mceusb ir blaster to work properly for use with mythtv.  I know there is a lot of expertise on lirc for mythtv here, I hope it&#39;s not too off topic.<br>
<br>
It&#39;s probably some minor issue, but I&#39;ve been beating my head against the wall for a good week now, and just not getting anywhere. This is for my daughter&#39;s production mythtv (working remotely just makes it more challenging). <br>

<br>
Although she had been patient with her dad, I&#39;m loosing all my geek creds here.  I&#39;m also not totally a newbie, I&#39;ve been using and setting up mythtv for about 5-6 years now. Always with an mce blaster.<br>
<br>
Here is the issue in a nutshell:  I have the remote working (ir-keytable), but can&#39;t get the ir blaster to work using mceusb.  When I use irsend it acts like it worked, but no ir signal comes out the other end.  <br>

<br>
I&#39;ve read other posts that indicate it should work (including one from Jarod I believe), but no luck for me.<br>
<br>
I&#39;d greatly appreciate any insight you can give me, and if anyone has a working hardware.conf and lircd.conf using ir-keytable for sending and mceusb as an ir-blaster, that would also be very helpful.<br>
<br>
Thanks in advance!<br>
<br>
Mythtv devs, you guys are great!  What a fantastic bit of coding magic!!<br>
<br>
Dennis<br>
<br>
<br>
<br>
Here are the results of irsend:<br>
<br>
irsend --device=/var/run/lirc/lircd1 SEND_ONCE SAE8000 8<br>
<br>
results in lircd -n<br>
$ sudo /etc/init.d/lirc start <br>
* Starting remote control daemon(s) : LIRC                              [ OK ] <br>
lircd-0.9.0[4120]: lircd(default) ready, using /var/run/lirc/lircd1<br>
lircd-0.9.0[4120]: connected to localhost<br>
# this is the point where I use irsend #<br>
lircd-0.9.0[4120]: accepted new client on /var/run/lirc/lircd1<br>
lircd-0.9.0[4120]: removed client<br>
<br>
But, no results (red light, channel change) on the ir-blaster.<br>
<br>
<br>
<br>
Here is the set up and system information.  If any other information would be helpful, I&#39;d be glad to provide it.<br>
<br>
I&#39;m runing Mythbuntu 12.04 LTE - fixes <br>
<br>
$ echo `uname -r`<br>
3.2.0-39-generic-pae<br>
<br>
$ lircd -v<br>
lircd 0.9.0<br>
<br>
<br>
$ cat /etc/lirc/hardware.conf<br>
# /etc/lirc/hardware.conf<br>
#<br>
#Chosen Remote Control<br>
REMOTE=&quot;Linux input layer (/dev/input/eventX)&quot;<br>
REMOTE_MODULES=&quot;&quot;<br>
REMOTE_DRIVER=&quot;devinput&quot;<br>
REMOTE_DEVICE=&quot;/dev/input/by-id/usb-Microsoft_Microsoft_IR_Transceiver_MS1643ZR-event-if00&quot;<br>
REMOTE_SOCKET=&quot;&quot;<br>
REMOTE_LIRCD_CONF=&quot;devinput/lircd.conf.devinput&quot;<br>
REMOTE_LIRCD_ARGS=&quot;&quot;<br>
<br>
#Chosen IR Transmitter<br>
TRANSMITTER=&quot;Microsoft Windows Media Center V2 (usb) : Scientific Atlanta Cable box&quot;<br>
TRANSMITTER_MODULES=&quot;lirc_dev mceusb&quot;<br>
TRANSMITTER_DRIVER=&quot;&quot;<br>
TRANSMITTER_DEVICE=&quot;/dev/lirc0&quot;<br>
TRANSMITTER_SOCKET=&quot;&quot;<br>
TRANSMITTER_LIRCD_CONF=&quot;scientificatlanta/general.conf&quot;<br>
TRANSMITTER_LIRCD_ARGS=&quot;&quot;<br>
<br>
#Enable lircd<br>
START_LIRCD=&quot;true&quot;<br>
<br>
#Don&#39;t start lircmd even if there seems to be a good config file<br>
#START_LIRCMD=&quot;false&quot;<br>
<br>
#Try to load appropriate kernel modules<br>
LOAD_MODULES=&quot;false&quot;<br>
<br>
# Default configuration files for your hardware if any<br>
LIRCMD_CONF=&quot;&quot;<br>
<br>
#Forcing noninteractive reconfiguration<br>
#If lirc is to be reconfigured by an external application<br>
#that doesn&#39;t have a debconf frontend available, the noninteractive<br>
#frontend can be invoked and set to parse REMOTE and TRANSMITTER<br>
#It will then populate all other variables without any user input<br>
#If you would like to configure lirc via standard methods, be sure<br>
#to leave this set to &quot;false&quot;<br>
FORCE_NONINTERACTIVE_RECONFIGURATION=&quot;false&quot;<br>
START_LIRCMD=&quot;&quot;<br>
<br>
<br>
$ cat /etc/lirc/lircd.conf<br>
#This configuration has been automatically generated via<br>
#the Ubuntu LIRC package maintainer scripts.<br>
#<br>
#It includes the default configuration for the remote and/or<br>
#transmitter that you have selected during package installation.<br>
#<br>
#Feel free to add any custom remotes to the configuration<br>
#via additional include directives or below the existing<br>
#Ubuntu include directives from your selected remote and/or<br>
#transmitter.<br>
<br>
#Configuration for the Linux input layer (/dev/input/eventX) remote:<br>
include &quot;/usr/share/lirc/remotes/devinput/lircd.conf.devinput&quot;<br>
<br>
#Configuration for the Microsoft Windows Media Center V2 (usb) : Scientific Atlanta Cable box transmitter:<br>
include &quot;/usr/share/lirc/extras/transmitters/scientificatlanta/general.conf&quot;<br>
<br>
<br>
$ lsmod | grep lirc<br>
ir_lirc_codec          12739  0 <br>
lirc_dev               18700  1 ir_lirc_codec<br>
rc_core                21263  10 ir_lirc_codec,ir_mce_kbd_decoder,ir_sony_decoder,ir_jvc_decoder,ir_rc6_decoder,ir_rc5_decoder,rc_rc6_mce,ir_nec_decoder,mceusb<br>
<br>
$ ls -l /dev/lirc*<br>
crw------- 1 root root 249, 0 Apr  3 07:23 /dev/lirc0<br>
lrwxrwxrwx 1 root root     19 Apr  3 07:23 /dev/lircd -&gt; /var/run/lirc/lircd<br>
lrwxrwxrwx 1 root root     20 Apr  3 07:23 /dev/lircd1 -&gt; /var/run/lirc/lircd1<br>
<br>
$ lsusb<br>
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br>
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br>
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub<br>
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub<br>
Bus 001 Device 003: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth)<br>
Bus 001 Device 004: ID 064e:8101 Suyin Corp. <br>
Bus 002 Device 003: ID 045e:006d Microsoft Corp. eHome Remote Control Keyboard keys<br>
Bus 002 Device 004: ID 187c:0514 Alienware Corporation <br>
Bus 001 Device 005: ID 413c:8161 Dell Computer Corp. Integrated Keyboard<br>
Bus 001 Device 006: ID 413c:8162 Dell Computer Corp. Integrated Touchpad [Synaptics]<br>
Bus 001 Device 007: ID 413c:8160 Dell Computer Corp. Wireless 365 Bluetooth<br>
<br>
$ dmesg | grep lirc<br>
[   32.258523] lirc_dev: IR Remote Control driver registered, major 249 <br>
[   32.259400] rc rc0: lirc_dev: driver ir-lirc-codec (mceusb) registered at minor = 0<br>
<br>
<br>
$ cat /var/log/syslog | grep lirc<br>
Apr  3 08:59:04 dennis-M11x lircd-0.9.0[4111]: caught signal<br>
Apr  3 08:59:13 dennis-M11x lircd-0.9.0[4160]: lircd(devinput) ready, using /var/run/lirc/lircd<br>
Apr  3 08:59:13 dennis-M11x lircd-0.9.0[4165]: lircd(default) ready, using /var/run/lirc/lircd1<br>
Apr  3 08:59:13 dennis-M11x lircd-0.9.0[4165]: connected to localhost<br>
Apr  3 08:59:13 dennis-M11x lircd-0.9.0[4160]: accepted new client from 127.0.0.1<br>
Apr  3 08:59:13 dennis-M11x lircd-0.9.0[4160]: initializing &#39;/dev/input/by-id/usb-Microsoft_Microsoft_IR_Transceiver_MS1643ZR-event-if00&#39;<br>
Apr  3 08:59:48 dennis-M11x lircd-0.9.0[4165]: accepted new client on /var/run/lirc/lircd1<br>
Apr  3 08:59:48 dennis-M11x lircd-0.9.0[4165]: removed client<br>
<br>
<br>
I have applied patch: <a href="https://bugs.launchpad.net/ubuntu/+source/lirc/+bug/1004239" target="_blank">https://bugs.launchpad.net/ubuntu/+source/lirc/+bug/1004239</a> to fix a linking/location issue.<br>
<br>
$ irsend LIST SAE8000 &quot;&quot;<br>
irsend: 000000000037c107 power<br>
irsend: 000000000036c127 guide<br>
irsend: 000000000036f920 menu<br>
irsend: 000000000036213b info<br>
irsend: 000000000036812f select_up<br>
irsend: 000000000037a10b select_down<br>
irsend: 0000000000366133 select<br>
irsend: 000000000037810f select_left<br>
irsend: 0000000000364137 select_right<br>
irsend: 000000000036d924 select_page+<br>
irsend: 000000000037d904 select_page-<br>
irsend: 0000000000366932 exit<br>
irsend: 0000000000373918 settings<br>
irsend: 000000000037e902 A<br>
irsend: 000000000036193c B<br>
irsend: 000000000037191c C<br>
irsend: 000000000036093e vol+<br>
irsend: 000000000037091e vol-<br>
irsend: 0000000000377111 ch+<br>
irsend: 000000000036f121 ch-<br>
irsend: 000000000036892e mute<br>
irsend: 000000000037f101 fav<br>
irsend: 000000000036e123 last<br>
irsend: 000000000037c906 rew8secs<br>
irsend: 000000000036c926 list<br>
irsend: 000000000036b129 live<br>
irsend: 000000000037291a rew<br>
irsend: 000000000036293a ff<br>
irsend: 000000000037990c play<br>
irsend: 0000000000365934 stop<br>
irsend: 0000000000374117 pause<br>
irsend: 0000000000375914 rec<br>
irsend: 000000000036113d 1<br>
irsend: 000000000037111d 2<br>
irsend: 000000000036912d 3<br>
irsend: 000000000037910d 4<br>
irsend: 0000000000365135 5<br>
irsend: 0000000000375115 6<br>
irsend: 000000000036d125 7<br>
irsend: 000000000037d105 8<br>
irsend: 0000000000363139 9<br>
irsend: 000000000037e103 asterisk<br>
irsend: 0000000000373119 0<br>
irsend: 000000000036b928 pound<br>
irsend: 000000000037b908 pip_power<br>
irsend: 0000000000367930 pip_swap<br>
irsend: 0000000000377910 pip_move<br>
irsend: 000000000036e922 pip_ch+<br>
irsend: 000000000037f900 pip_ch-<br>
irsend: 0000000000376113 video_source<br>
<br>
<br>
<br>
</div>

<br>_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
<a href="http://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br>
<br></blockquote></div><br><br>Are you trying to use a remote and the ir blaster at the same time?<br><br>Dan<br>