<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Aug 9, 2013 at 11:24 PM, Stephen Worthington <span dir="ltr"><<a href="mailto:stephen_agent@jsw.gen.nz" target="_blank">stephen_agent@jsw.gen.nz</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class=""><div class="h5">On Fri, 9 Aug 2013 22:46:44 -0400, you wrote:<br>
<br>
>On Fri, Aug 9, 2013 at 9:01 PM, Stephen Worthington <<br>
><a href="mailto:stephen_agent@jsw.gen.nz">stephen_agent@jsw.gen.nz</a>> wrote:<br>
><br>
>> On Fri, 9 Aug 2013 19:22:09 -0400, you wrote:<br>
>><br>
>> >I'm in the middle of setting up my STB and LIRC, I've been following the<br>
>> >link at "<br>
>> ><a href="https://help.ubuntu.com/community/Motorola_DCT700_Channel_Change_Script" target="_blank">https://help.ubuntu.com/community/Motorola_DCT700_Channel_Change_Script</a>"<br>
>> >and when I get to the test the blaster part this is what the terminal<br>
>> >returns...<br>
>> ><br>
>> >daryl@daryl-A780L3C:~$ sudo /etc/init.d/lirc restart<br>
>> >[sudo] password for daryl:<br>
>> > * Stopping remote control daemon(s): LIRC [<br>
>> >OK ]<br>
>> > * Loading LIRC modules [<br>
>> >OK ]<br>
>> > * Starting remote control daemon(s) : LIRC [<br>
>> >OK ]<br>
>> >daryl@daryl-A780L3C:~$ irsend SEND_ONCE DCT700 info<br>
>> >irsend: command failed: SEND_ONCE DCT700 info<br>
>> >irsend: unknown remote: "DCT700"<br>
>> >daryl@daryl-A780L3C:~$ irsend SEND_START DCT700 info<br>
>> >irsend: command failed: SEND_START DCT700 info<br>
>> >irsend: unknown remote: "DCT700"<br>
>> >daryl@daryl-A780L3C:~$<br>
>> ><br>
>> >The emitter remained unlit throughout the test, I'm guessing that myth<br>
>> >doesn't know what serial port I'm using? I've configured LIRC in Myth<br>
>> >Control Center, by enabling an IR transmitter and selected "Serial port<br>
>> >(UART) Motorola cable box". What have I missed? Also I have not configured<br>
>> >nor do I use a remote for live TV viewing, I just need to control the STB<br>
>> >for recording. I run a single box front and back end connected to a TV via<br>
>> >HDMI, so live TV is very simple.<br>
>> ><br>
>> >Daryl<br>
>><br>
>> That error message normally means that lirc can not find a<br>
>> configuration with a "name DCT700" line. So where did you put the<br>
>> file with your DCT700 definition that you coped from that web page?<br>
>> Does your /etc/lirc/lircd.conf file point to it?<br>
>><br>
>> This is what I have in my lircd.conf:<br>
>><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 Windows Media Center Transceivers/Remotes (all)<br>
>> remote:<br>
>> include "/usr/share/lirc/remotes/mceusb/lircd.conf.mceusb"<br>
>><br>
>> #Configuration for the Microsoft Windows Media Center V2 (usb) : SkyTV<br>
>> New Zealand transmitter:<br>
>> include "/usr/share/lirc/extras/transmitters/skynz/general.conf"<br>
>><br>
>> The last include line points to where I have the configuration file<br>
>> for my transmitter.<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>
><br>
>This is my last line in lircd.conf: #Configuration for the Motorola DCT700<br>
>Set Top Box IR codes:<br>
>include "/etc/lirc/DCT700.conf"<br>
><br>
>Daryl<br>
<br>
</div></div>OK, that looks OK, so how did you make the DCT700.conf file? If you<br>
made it on a Windows PC, it will likely have the wrong end-of-line<br>
characters and that will make it fail to work on Linux. Also, check<br>
the permissions on the DCT700.conf file - use the same permissions as<br>
the /etc/lirc/lircd.conf file.<br>
<div class=""><div class="h5">_______________________________________________<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></div></div></blockquote><div><br></div><div>I made the file with Ubuntu's home file GUI, then moved it with the terminal. When I list the etc/lirc directory the DCT700 file is in blue print while all other doc's are white print. Do I need to give "DCT700.conf" to root? Should it remain in a folder, or be removed and appear as a doc like the others in that directory? Another thought, should the last line in my lircd.conf be separated by an empty line space? </div>
<div><br></div><div><div>daryl@daryl-A780L3C:~$ cd /etc/lirc</div><div>daryl@daryl-A780L3C:/etc/lirc$ ls</div><div>DCT700.conf hardware.conf.old lircd.conf~ lircmd.conf</div><div>hardware.conf lircd.conf lircd.conf.dpkg-old</div>
<div>daryl@daryl-A780L3C:/etc/lirc$ </div></div><div><br></div><div><div>#This configuration has been automatically generated via</div><div>#the Ubuntu LIRC package maintainer scripts.</div><div>#</div><div>#It includes the default configuration for the remote and/or</div>
<div>#transmitter that you have selected during package installation.</div><div>#</div><div>#Feel free to add any custom remotes to the configuration</div><div>#via additional include directives or below the existing</div>
<div>#Ubuntu include directives from your selected remote and/or</div><div>#transmitter.</div><div><br></div><div>#Configuration for the Serial Port (UART) : Motorola Cable box transmitter:</div><div>include "/usr/share/lirc/extras/transmitters/motorola/dctxxxx.conf"</div>
<div>#Configuration for the Motorola DCT700 Set Top Box IR codes:</div><div>include "/etc/lirc/DCT700.conf"</div></div><div><br></div><div>Daryl</div><div><br></div><div><br></div><div><br></div><div><br></div></div>
<br></div></div>