<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/4.2.2">
</HEAD>
<BODY>
<BR>
<BR>
On Wed, 2013-04-03 at 09:12 -0700, Dennis Stansfield wrote:<BR>
<BLOCKQUOTE TYPE=CITE>
    I'm in dire need of&nbsp; help getting an mceusb ir blaster to work properly for use with mythtv.&nbsp; I know there is a lot of expertise on lirc for mythtv here, I hope it's not too off topic.<BR>
    <BR>
    It's probably some minor issue, but I've been beating my head against the wall for a good week now, and just not getting anywhere. This is for my daughter's production mythtv (working remotely just makes it more challenging). <BR>
    <BR>
    Although she had been patient with her dad, I'm loosing all my geek creds here.&nbsp; I'm also not totally a newbie, I'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:&nbsp; I have the remote working (ir-keytable), but can't get the ir blaster to work using mceusb.&nbsp; When I use irsend it acts like it worked, but no ir signal comes out the other end.&nbsp; <BR>
    <BR>
    I've read other posts that indicate it should work (including one from Jarod I believe), but no luck for me.<BR>
    <BR>
    I'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!&nbsp; 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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [ 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.&nbsp; If any other information would be helpful, I'd be glad to provide it.<BR>
    <BR>
    I'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'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'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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 12739&nbsp; 0 <BR>
    lirc_dev&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 18700&nbsp; 1 ir_lirc_codec<BR>
    rc_core&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 21263&nbsp; 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&nbsp; 3 07:23 /dev/lirc0<BR>
    lrwxrwxrwx 1 root root&nbsp;&nbsp;&nbsp;&nbsp; 19 Apr&nbsp; 3 07:23 /dev/lircd -&gt; /var/run/lirc/lircd<BR>
    lrwxrwxrwx 1 root root&nbsp;&nbsp;&nbsp;&nbsp; 20 Apr&nbsp; 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>
    [&nbsp;&nbsp; 32.258523] lirc_dev: IR Remote Control driver registered, major 249 <BR>
    [&nbsp;&nbsp; 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&nbsp; 3 08:59:04 dennis-M11x lircd-0.9.0[4111]: caught signal<BR>
    Apr&nbsp; 3 08:59:13 dennis-M11x lircd-0.9.0[4160]: lircd(devinput) ready, using /var/run/lirc/lircd<BR>
    Apr&nbsp; 3 08:59:13 dennis-M11x lircd-0.9.0[4165]: lircd(default) ready, using /var/run/lirc/lircd1<BR>
    Apr&nbsp; 3 08:59:13 dennis-M11x lircd-0.9.0[4165]: connected to localhost<BR>
    Apr&nbsp; 3 08:59:13 dennis-M11x lircd-0.9.0[4160]: accepted new client from 127.0.0.1<BR>
    Apr&nbsp; 3 08:59:13 dennis-M11x lircd-0.9.0[4160]: initializing '/dev/input/by-id/usb-Microsoft_Microsoft_IR_Transceiver_MS1643ZR-event-if00'<BR>
    Apr&nbsp; 3 08:59:48 dennis-M11x lircd-0.9.0[4165]: accepted new client on /var/run/lirc/lircd1<BR>
    Apr&nbsp; 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">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>
</BLOCKQUOTE>
<BR>
I believe I have solved my issue, and want to share it with the group in case it will help another user.<BR>
<BR>
Apparently the ir-blaster I was using is an older version, not supported by the mceusb driver.&nbsp; I changed to a newer ir-blaster (still a Phillips mceusb) and it appears to work great!&nbsp; I didn't have to change a thing more other than doing a dpkg-reconfigure licr to update the REMOTE_DEVICE.&nbsp; YMMV of course.<BR>
<BR>
Just as a reminder, don't forget to apply the patch&nbsp; referenced above or you will get a lirc install error about an unknown file.<BR>
<BR>
Good Luck!<BR>
<BR>
<BR>
</BODY>
</HTML>