Hello,<br><br>I've got a KWorld PCI DVB card that came with a remote control that'd i'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'm giving it another go after a harddrive upgrade with ubuntu 7.04. 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'd like to configure the other half of the keys, and without messing about with lirc if at all possible. 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> root 0x48, subw 0x0, time 7114733, (-84,38), root:(360,288),<br> state 0x0, keycode 36 (keysym 0xff0d, Return), same_screen YES,<br>" XLookupString gives 1 bytes: (0d) "
<br>" XmbLookupString gives 1 bytes: (0d) "<br> 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> root 0x48, subw 0x0, time 7308633, (153,247), root:(360,288),<br> state 0x0, keycode 160 (keysym 0x1008ff12, XF86AudioMute), same_screen YES,<br> XLookupString gives 0 bytes: <br> XmbLookupString gives 0 bytes:
<br> XFilterEvent returns: False<br><br>I've tried adding this to the keyboard mapping in mythweb, saved, and restarted the frontend, but the mute button does nothing. How can i make myth respond to the "XF86AudioMute" key?
<br><br>For problem 2, i get this xev output:<br><br>KeyPress event, serial 30, synthetic NO, window 0xe00001,<br> root 0x48, subw 0x0, time 4101920, (177,-26), root:(360,288),<br> state 0x0, keycode 177 (keysym 0x0, NoSymbol), same_screen YES,
<br> XLookupString gives 0 bytes: <br> XmbLookupString gives 0 bytes: <br> 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'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> Subsystem: KWorld Computer Co. Ltd. KWorld/VStream XPert DVB-T<br>
Flags: bus master, medium devsel, latency 32, IRQ 11<br> Memory at e6000000 (32-bit, non-prefetchable) [size=16M]<br> Capabilities: [44] Vital Product Data<br> 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> Subsystem: KWorld Computer Co. Ltd. KWorld/VStream XPert DVB-T<br> Flags: bus master, medium devsel, latency 32, IRQ 11
<br> Memory at e7000000 (32-bit, non-prefetchable) [size=16M]<br> Capabilities: [4c] Power Management version 2<br><br>