[mythtv-users] MCE remote not working
Don Brett
dlbrett at zoominternet.net
Sat Jul 8 15:36:02 UTC 2017
On 7/7/2017 10:01 AM, Stephen Worthington wrote:
> On Fri, 7 Jul 2017 09:32:54 -0400, you wrote:
>
>> On 7/6/2017 6:24 PM, Tyler T wrote:
>>>> Any ideas?
>>> Since your bus ID is 3 as per your ir-keytable output, you probably
>>> want to try 'evtest' on 3 not 15 as per
>>> https://www.mythtv.org/wiki/HID_Remotes
>>> _______________________________________________
>>> mythtv-users mailing list
>>> mythtv-users at mythtv.org
>>> http://lists.mythtv.org/mailman/listinfo/mythtv-users
>>> http://wiki.mythtv.org/Mailing_List_etiquette
>>> MythTV Forums: https://forum.mythtv.org
>>>
>> Thanks, that helped a lot. I had to install the keymap, the evtest
>> package, and generate a keytable. The wiki has a dead link to the
>> kernels input.h, so I couldn't correct the mappings. I tried using the
>> wiki's example, but only a few keys worked. Can someone point me to an
>> input.h file?
> I think the file you want may now be this one in current kernels:
>
> /usr/include/linux/input-event-codes.h
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
>
Thanks, that looks right. I have up/down/left/right/OK working (nothing
I did, they just worked), but most of the other buttons are not. In
evtest, the mappings seem to be correct, but mythtv isn't responding.
LiveTv doesn't respond to numbers and nothing responds to the back
button. I suspect KEY_BACK is the backspace key, so it switched it to
KEY_ESC in the mythtv key mapping (/home/don/.lirc/mythtv)....no
effect. Is there another mythtv mapping file I need to check out?
Don
From evtest:
Event: time 1499526723.365057, type 4 (EV_MSC), code 4 (MSC_SCAN), value
800f0401
Event: time 1499526723.365057, type 1 (EV_KEY), code 2 (KEY_1), value 1
Event: time 1499526723.365057, -------------- SYN_REPORT ------------
Event: time 1499526723.615846, type 1 (EV_KEY), code 2 (KEY_1), value 0
Event: time 1499526723.615846, -------------- SYN_REPORT ------------
Event: time 1499526727.165668, type 4 (EV_MSC), code 4 (MSC_SCAN), value
800f0402
Event: time 1499526727.165668, type 1 (EV_KEY), code 3 (KEY_2), value 1
Event: time 1499526727.165668, -------------- SYN_REPORT ------------
Event: time 1499526727.415869, type 1 (EV_KEY), code 3 (KEY_2), value 0
Event: time 1499526727.415869, -------------- SYN_REPORT ------------
Event: time 1499526730.375785, type 4 (EV_MSC), code 4 (MSC_SCAN), value
800f0423
Event: time 1499526730.375785, type 1 (EV_KEY), code 158 (KEY_BACK), value 1
Event: time 1499526730.375785, -------------- SYN_REPORT ------------
Event: time 1499526730.627862, type 1 (EV_KEY), code 158 (KEY_BACK), value 0
Event: time 1499526730.627862, -------------- SYN_REPORT ------------
Event: time 1499526742.467957, type 4 (EV_MSC), code 4 (MSC_SCAN), value
800f041e
Event: time 1499526742.467957, type 1 (EV_KEY), code 103 (KEY_UP), value 1
Event: time 1499526742.467957, -------------- SYN_REPORT ------------
Event: time 1499526742.719852, type 1 (EV_KEY), code 103 (KEY_UP), value 0
Event: time 1499526742.719852, -------------- SYN_REPORT ------------
Event: time 1499526749.583798, type 4 (EV_MSC), code 4 (MSC_SCAN), value
800f041f
Event: time 1499526749.583798, type 1 (EV_KEY), code 108 (KEY_DOWN), value 1
Event: time 1499526749.583798, -------------- SYN_REPORT ------------
Event: time 1499526749.835852, type 1 (EV_KEY), code 108 (KEY_DOWN), value 0
Event: time 1499526749.835852, -------------- SYN_REPORT ------------
From /usr/include/linux/input-event-codes.h
#define KEY_RESERVED 0
#define KEY_ESC 1
#define KEY_1 2
#define KEY_2 3
#define KEY_UP 103
#define KEY_PAGEUP 104
#define KEY_LEFT 105
#define KEY_RIGHT 106
#define KEY_END 107
#define KEY_DOWN 108
#define KEY_PAGEDOWN 109
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
More information about the mythtv-users
mailing list