SOLVED!<br><br>To anyone in the same situation, with a remote that works out the box with the linux input layer,&nbsp; I have finally got myth to play with it by using inputlirc.<br><br>This is a &#39;fake&#39; lircd that just reads remote presses from the kernel input layer.&nbsp; So programs like myth where you can&#39;t configure &#39;unusual&#39; keys in the keybindings, but they can talk to lirc, can be made to work.
<br><br>There&#39;s still the absurdity of lircrc, where you configure myth to map the input-layer KEY_FASTFORWARD to keypress Right, then have myth-web configure keypress Right to be FastForward.&nbsp; But saves a whole lot of pain having to setup 
lircd.conf and lirc kernel modules etc etc.<br><br>HTH,<br>-dan.<br><span style="font-family: monospace;"><br></span><br><div><span class="gmail_quote">On 10/07/2007, <b class="gmail_sendername">Daniel Carter</b> &lt;<a href="mailto:dantheperson@gmail.com">
dantheperson@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello,<br><br>I&#39;ve got a KWorld PCI DVB card that came with a remote control that&#39;d i&#39;d like to use with myth.
<br><br>I spent many days trying to get this going under ubuntu 6.06LTS with lirc but could never get sensible events out of lirc.
<br><br>Now i&#39;m giving it another go after a harddrive upgrade with ubuntu 7.04.&nbsp; It seems with the new remote control support added to the kernel these days 50% of the keys are working straight out of the box :)<br>
<br>
I&#39;d like to configure the other half of the keys, and without messing about with lirc if at all possible.&nbsp; I have three problems to resolve, and none of the existing documentation seems to be any help as it all assumes lirc is needed for the remote to work.
<br><br>1) Some of the keys generate X11 key symbols that are not mapped in myth<br>2) Some of the keys generate keycodes that are not mapped to X11 key symbols.<br>3) Some of the keys do nothing.<br><br>First, an example of a key that works, there is a button on my remote that looks like an enter key, and this works out of the box in myth as the enter key. xev output shows:
<br><br>KeyPress event, serial 30, synthetic NO, window 0xe00001,<br>&nbsp;&nbsp;&nbsp; root 0x48, subw 0x0, time 7114733, (-84,38), root:(360,288),<br>&nbsp;&nbsp;&nbsp; state 0x0, keycode 36 (keysym 0xff0d, Return), same_screen YES,<br>&quot;&nbsp;&nbsp; XLookupString gives 1 bytes: (0d) &quot;
<br>&quot;&nbsp;&nbsp; XmbLookupString gives 1 bytes: (0d) &quot;<br>&nbsp;&nbsp;&nbsp; XFilterEvent returns: False<br><br>Now, for problem 1, if i press the mute button, this generates the key symbol XF86AudioMute.<br><br>KeyPress event, serial 27, synthetic NO, window 0xe00001,
<br>&nbsp;&nbsp;&nbsp; root 0x48, subw 0x0, time 7308633, (153,247), root:(360,288),<br>&nbsp;&nbsp;&nbsp; state 0x0, keycode 160 (keysym 0x1008ff12, XF86AudioMute), same_screen YES,<br>&nbsp;&nbsp;&nbsp; XLookupString gives 0 bytes: <br>&nbsp;&nbsp;&nbsp; XmbLookupString gives 0 bytes: 
<br>&nbsp;&nbsp;&nbsp; XFilterEvent returns: False<br><br>I&#39;ve tried adding this to the keyboard mapping in mythweb, saved, and restarted the frontend, but the mute button does nothing.&nbsp; How can i make myth respond to the &quot;XF86AudioMute&quot; key?
<br><br>For problem 2, i get this xev output:<br><br>KeyPress event, serial 30, synthetic NO, window 0xe00001,<br>&nbsp;&nbsp;&nbsp; root 0x48, subw 0x0, time 4101920, (177,-26), root:(360,288),<br>&nbsp;&nbsp;&nbsp; state 0x0, keycode 177 (keysym 0x0, NoSymbol), same_screen YES,
<br>&nbsp;&nbsp;&nbsp; XLookupString gives 0 bytes: <br>&nbsp;&nbsp;&nbsp; XmbLookupString gives 0 bytes: <br>&nbsp;&nbsp;&nbsp; XFilterEvent returns: False<br><br>I should be able to figure out how to map a keycode to a key symbol from the X docs unless anyone has other suggestions?
<br><br>For problem 3, xev simply outputs nothing, as though i hadn&#39;t even pressed the key. Any ideas on this one?<br><br>If i can just solve problem 1, this should allow me to get enough keys for a pretty usable remote, getting it all going would be much better...
<br><br>TIA,<br>dan.<br><br>Hardware is:<br><br>00:14.0 Multimedia video controller: Conexant CX23880/1/2/3 PCI Video and Audio Decoder (rev 05)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Subsystem: KWorld Computer Co. Ltd. KWorld/VStream XPert DVB-T<br>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Flags: bus master, medium devsel, latency 32, IRQ 11<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Memory at e6000000 (32-bit, non-prefetchable) [size=16M]<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Capabilities: [44] Vital Product Data<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Capabilities: [4c] Power Management version 2
<br><br>00:14.2 Multimedia controller: Conexant CX23880/1/2/3 PCI Video and Audio Decoder [MPEG Port] (rev 05)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Subsystem: KWorld Computer Co. Ltd. KWorld/VStream XPert DVB-T<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Flags: bus master, medium devsel, latency 32, IRQ 11
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Memory at e7000000 (32-bit, non-prefetchable) [size=16M]<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Capabilities: [4c] Power Management version 2<br><br>
</blockquote></div><br>