« Return to Thread: inputlirc: zeroconf LIRC daemon using Linux input event devices
Yan Seiner wrote:dishbert wrote:
> Thanks for the great little app, I found it with Synaptic from Ubuntu 8.04
> when I was just about to pull my hair out trying to get lirc to work with
> Mythtv. At last irw and input-events will work for me, (though not
> irrecord) but I'm not quite there yet.
>
> I'm trying to get a Twinhan DVB remote to work properly. It shows up fine:
>
> chris@PC-Linux:~$ lsusb
> ...
> Bus 001 Device 003: ID 6253:0100 TwinHan Technology Co., Ltd Ir reciver f.
> remote control
> Bus 001 Device 001: ID 0000:0000
>
> and here:
>
> /dev/input/event2
> bustype : BUS_USB
> vendor : 0x6253
> product : 0x100
> version : 272
> name : "Twinhan Tech Remote Control"
> phys : "usb-0000:00:10.0-1/input0"
> uniq : "1111111"
> bits ev : EV_SYN EV_KEY EV_MSC EV_LED EV_REP
>
> /dev/input/event3
> bustype : BUS_USB
> vendor : 0x6253
> product : 0x100
> version : 272
> name : "Twinhan Tech Remote Control"
> phys : "usb-0000:00:10.0-1/input1"
> uniq : "1111111"
> bits ev : EV_SYN EV_KEY EV_REL EV_MSC
>
> And some keys have worked fine from the begining with no adjustment
> whatever: Enter, Exit, the number keys etc. But the main keys I need to
> control Myth are Guide and the up and down arrow keys, and I can't make them
> work for the life of me.
>
> irw shows them like this when I press Guide, Up, Down: (the "e" is from the
> "Guide" keypress)
>
> e68 0 KEY_PAGEUP event2
> ^[[5~6d 0 KEY_PAGEDOWN event2
> ^[[6~
>
> And input-event like this:
>
> 11:26:16.594274: EV_MSC code=4 value=458760
> 11:26:16.594291: EV_KEY KEY_E pressed
> 11:26:16.594294: EV_SYN code=0 value=0
> e11:26:16.602269: EV_MSC code=4 value=458760
> 11:26:16.602284: EV_KEY KEY_E released
> 11:26:16.602286: EV_SYN code=0 value=0
>
> 11:26:18.673984: EV_SYN code=0 value=0
> 11:26:18.785973: EV_MSC code=4 value=458827
> 11:26:18.785990: EV_KEY KEY_PAGEUP pressed
> 11:26:18.785993: EV_SYN code=0 value=0
> ^[[5~11:26:18.793972: EV_MSC code=4 value=458827
> 11:26:18.793988: EV_KEY KEY_PAGEUP released
> 11:26:18.793990: EV_SYN code=0 value=0
>
> 11:26:19.569858: EV_SYN code=0 value=0
> 11:26:19.737844: EV_MSC code=4 value=458830
> 11:26:19.737860: EV_KEY KEY_PAGEDOWN pressed
> 11:26:19.737862: EV_SYN code=0 value=0
> ^[[6~11:26:19.753838: EV_MSC code=4 value=458830
> 11:26:19.753853: EV_KEY KEY_PAGEDOWN released
> 11:26:19.753856: EV_SYN code=0 value=0
>
> But when I go to edit my lircrc file, I can only get certain keys to work to
> open the guide, and "Guide" is not one of them. If I map the Myth command
> "m" to the "Stop" button or the "Up" keys, which irw says are KEY_TAB and
> KEY_HOME, it works fine. But if I map it to the "Guide" button, which
> input-events says is KEY_E(or to e), it doesn't work and that key does what
> it always did, which is to bring up the Channel Editor. Remapping the Up
> and Down keys does not stop them from performing the PageUp and PageDown
> functions either
>
> I've stripped my lircrc down to nothing to try to diagnose this, but no joy
> yet. When I start mythfrontend I can see it pointing the correct lircrc
> file.
>
> I can't understand why changes to that file work for some keys and not
> others.
>
See if this discussion helps.
http://sourceforge.net/mailarchive/forum.php?thread_name=497B3A7A.7060801%40seiner.com&forum_name=lirc-list
--Yan
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
« Return to Thread: inputlirc: zeroconf LIRC daemon using Linux input event devices
| Free embeddable forum powered by Nabble | Forum Help |