<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Verdana'; font-size:8pt; font-weight:400; font-style:normal;">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">On Wednesday 21 Nov 2012 18:50:33 Phill Edwards wrote:<br /></p>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; What am I missing here? </p>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:44px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">You need to put your remote definition in the hardware file and each of the codes you obtained with irw for all the key press. This will map the ir signals to keys.</p>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:44px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Last you need lircrc file in .mythtv to map the keys to actions in mythtv. You can do the same for mplayer, vlc etc.</p>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:44px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Im on my way home now and i can send you my files as example if you want.</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br />That would be brilliant if you could please share them. However, I should point out that lirc is running and I have the following /etc/lirc/hardware.conf and /etc/lirc/lircd.conf files and yet irw still does not respond at all.  <br /><br />hardware.conf:<br />---------------------<br /># /etc/lirc/hardware.conf<br />#<br />#Chosen Remote Control<br />REMOTE=&quot;Windows Media Center Transceivers/Remotes (all)&quot;<br />REMOTE_MODULES=&quot;lirc_dev mceusb&quot;<br />REMOTE_DRIVER=&quot;&quot;<br />REMOTE_DEVICE=&quot;/dev/lirc0&quot;</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; ">&nbsp;</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">On Ubuntu, at least with my remote, I never get a /dev/lirc0 created. Check to see if it's there. If not you can do what I always have to do which is to set it up to point directly at the device, which in my case is:</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">REMOTE_DEVICE=&quot;/dev/input/by-path/pci-0000:00:04.1-usb-0:3-event-ir&quot;</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Yours will likely be different but that might give you some pointers.</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; ">&nbsp;</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Mark</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; ">&nbsp;</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; ">&nbsp;</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br />REMOTE_SOCKET=&quot;&quot;<br />REMOTE_LIRCD_CONF=&quot;lircd.conf.mceusb&quot;<br />REMOTE_LIRCD_ARGS=&quot;&quot;<br /><br />#Chosen IR Transmitter<br />TRANSMITTER=&quot;None&quot;<br />TRANSMITTER_MODULES=&quot;&quot;<br />TRANSMITTER_DRIVER=&quot;&quot;<br />TRANSMITTER_DEVICE=&quot;&quot;<br />TRANSMITTER_SOCKET=&quot;&quot;<br />TRANSMITTER_LIRCD_CONF=&quot;&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;true&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 />lircd.conf:<br />--------------<br />I'm using the lircd.conf.mceusb file from /usr/share/lirc/remotes/mceusb/. This seems to have multiple remote definitions in it - is it OK to use it as-is with all those remotes defined in it?<br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /><br /></p></body></html>