<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Apr 5, 2017 at 12:47 PM, mythtv <span dir="ltr"><<a href="mailto:mythtv@mdabbs.org" target="_blank">mythtv@mdabbs.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 04/05/2017 01:00 PM, Karl Newman wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
On Wed, Apr 5, 2017 at 10:36 AM, mythtv <<a href="mailto:mythtv@mdabbs.org" target="_blank">mythtv@mdabbs.org</a> <mailto:<a href="mailto:mythtv@mdabbs.org" target="_blank">mythtv@mdabbs.org</a>>> wrote:<br>
<br>
    On 04/05/2017 12:08 PM, Peter Bennett wrote:<br>
<br>
<br>
<br>
        On 04/05/2017 12:45 PM, mythtv wrote:<br>
<br>
            Can anyone assist me with getting the Ortek VRC-1100<br>
            working on Gentoo.  Everything I read seems to be Ubuntu<br>
            related with hardware.conf files and what not.  Gentoo<br>
            doesn't have that. I've seen some info on using devinput<br>
            but I don't think I have my kernel, my udev rules, and<br>
            other stuff configured correctly.  irw does nothing and<br>
            mode2 says it doesn't work with this hardware yet.  Please<br>
            help. Thanks!<br>
<br>
<br>
        I think you are over-complicating matters. It emulates a<br>
        keyboard, so just plug it in and it works. I have 5 of these<br>
        on Ubuntu and raspbian systems. They are detected as a<br>
        keyboard by the system. If that is not happening then check<br>
        logs to see what the error is. If you run lsusb you should see<br>
        this<br>
<br>
        Bus 001 Device 004: ID 05a4:9881 Ortek Technology, Inc. IR<br>
        receiver [VRC-1100 Vista MCE Remote Control]<br>
<br>
        There are instructions in the wiki for making it work with<br>
        lirc, but that seems rather a waste of time. It works fine<br>
        without.<br>
<br>
        Peter<span class="gmail-"><br>
<br>
<br>
    If you're not using it with lirc, how do you map all of the keys?<br>
    Is that explained in the inputlircd portion of the wiki page? And<br>
    do you have to use the remote that came with it, or can you use<br>
    other generic IR remotes like a Hauppauge or other MCE remote?<br>
<br>
<br></span>
I'm using one of these on Gentoo without lirc. Here's my section of the Wiki: <a href="https://www.mythtv.org/wiki/Adesso_ARC-1100#Alternate_Configuration" rel="noreferrer" target="_blank">https://www.mythtv.org/wiki/Ad<wbr>esso_ARC-1100#Alternate_Config<wbr>uration</a> You map the keys using the key editor in MythFrontend setup.<br>
<br>
Karl<br>
<br>
</blockquote>
Ok, so when I disable the lirc stuff in the kernel, and shutdown lircd, I see entries in dmesg that it recognizes the device, but following some guidance on <a href="https://www.mythtv.org/wiki/HID_Remotes" rel="noreferrer" target="_blank">https://www.mythtv.org/wiki/HI<wbr>D_Remotes</a>, ir-keytable doesn't see any device.  What kernel settings do I need for ir-keytable to even see it?  Nothing is happening with this thing except when I plug it in, the red LED comes on for a second, then nothing.<br></blockquote></div><br></div><div class="gmail_extra">ir-keytable will not see it by default, because it doesn't exist in /sys/class/rc/. Mine created devices at /dev/input/event5 (keyboard) and /dev/input/event6 (mouse) by default. The udev rules I posted on the wiki add a symlink at /dev/input/irremote0 (keyboard) and /dev/input/irremote1 (mouse). You could try to find it using `ir-keytable -d /dev/input/event0` and increment the number after event until you find it. My receiver says this for that command:<br>Name: HID 05a4:9881<br>bus: 3, vendor/product: 05a4:9881, version: 0x0110<br></div><div class="gmail_extra">Then you can show the scancode-key map by `ir-keytable -r -d /dev/input/event4` or whatever event# you find it at.<br><br></div><div class="gmail_extra">Karl<br></div></div>