[HOW TO] KODI Linux on Amlogic TV Boxes - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52) +---- Thread: [HOW TO] KODI Linux on Amlogic TV Boxes (/showthread.php?tid=180446) Pages:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
|
RE: [HOW TO] XBMC Linux on Geniatech Devices - tinker - 2014-03-01 (2014-03-01, 03:52)superfreak79 Wrote: Can someone help me with a remote control problem? At the top of remote.conf, there is a serial number that identifies the remote that has to be correct for it to work. Since we all mostly have stock My Gicas, we've only had to deal with the one remote. Try using the remote from your stock My Gica and see if it works. tinker RE: [HOW TO] XBMC Linux on Geniatech Devices - tinker - 2014-03-01 (2014-01-21, 18:09)sonicov Wrote: Actually there is one thing I would like to change for ATV520E remote. The button with two "windows". Check picture below, the button next right to "home" button. sonicov: Guess what! I figured out the scancode for EPG! Remote.conf uses standard keyboard keycodes. I found a table of them here: http://www.win.tue.nl/~aeb/linux/kbd/scancodes-1.html Using the table on this page, the keycode for 'e' is 0x12 in hex and 18 in decimal. Since the codes in the table are in hex, use the '0x' prefix so you don't have to convert. So, the scancode for EPG in remote.conf looks like this: Code: 0x51 0x12 ;EPG BTW: Could you tell me what remote's key code is for the 'Mouse' button? Since the mouse doesn't seen to work, I'd like to re-assign it. Folks: Using the scancode table in the link above, you can change the double window (or Mouse) button to anything a single XBMC keystroke can deliver, EPG is just one choice. Use the XBMC keyboard shortcuts table to find the command you want, match it up with the value in the scancode table, then insert that value into the remote.conf file. I figured out another use for that double window button to the right of the home button. I changed it to: Code: 0x51 166 ;MEDIA_STOP This is the 'Stop' command, so it'll stop any media playing. It saves two steps and adds a new function to the remote that is used a lot. Code: 0x51 164 MEDIA_PLAY_PAUSE This command will toggle Play/Pause like the spacebar on a keyboard, another handy button to have. Here's a table with many keycodes that match up with XBMC in decimal: http://minixforums.com/threads/x7-modified-firmware-not-official.3660/page-3#post-33475 Not all of them line up, but the letters, numbers and symbols seem OK, but it should be enough to map most XBMC commands to the remote: tinker RE: [HOW TO] XBMC Linux on Geniatech Devices - redi - 2014-03-01 That is awesome. Anyone want to make a new remote.conf with instant power off? (2014-02-28, 23:06)tinker Wrote: Folks: RE: [HOW TO] XBMC Linux on Geniatech Devices - tinker - 2014-03-02 redi: You could do it yourself. Use XBMC File Manager to copy the remote.conf file from etc/xbmc/ to somewhere you can edit it, a USB stick or network share. Then open it up in a word processor (notepad for Windows doesn't work, so use wordpad instead). Modify the line that defines Power to the value you want. Save the file and use XBMC File Manager to replace the remote.conf file where you found it. Reboot to see the results. Google how to use the XBMC File Manager if you need to but it's pretty counter-intuitive. just remember, 'c' brings up the context menu for highlighted files. tinker RE: [HOW TO] XBMC Linux on Geniatech Devices - redi - 2014-03-02 You know right after I posted I realized its a really simple edit. Thanks I'll edit it. Instant power off is exactly what I need. RE: [HOW TO] XBMC Linux on Geniatech Devices - tinker - 2014-03-02 redi: It's better if folks edit there own remote.conf anyway. Some might have different remotes besides the one in the picture and this mod should work for all of them, even if it doesn't have a power button. tinker RE: [HOW TO] XBMC Linux on Geniatech Devices - tinker - 2014-03-02 sonicov: Don't worry, I found the scancode for the 'Mouse' button right in the remote.conf file! Code: fn_key_scancode = 0x50 I haven't tried to get the mouse working but this key can be assigned to any function like I did above. I assigned the Play/Pause function to test it by adding this line to my remote.conf: Code: 0x50 164 ;MEDIA_PLAY_PAUSE tinker RE: [HOW TO] XBMC Linux on Geniatech Devices - Biatsch - 2014-03-02 https://www.dropbox.com/sh/1r3anv4hfubi5wr/Ss2bD31f9Q try out some remote configs....... u have to rename in remote.conf .... maybe mouse cauld work ..... mine hasnt got a mouse button and doublewindow isnt there, too RE: [HOW TO] XBMC Linux on Geniatech Devices - tinker - 2014-03-02 (2014-03-02, 11:44)Biatsch Wrote: https://www.dropbox.com/sh/1r3anv4hfubi5wr/Ss2bD31f9Q Biatsch: Thanks for the remote.conf file collection. I've had a look at them and there is some number juggling I can try with them but there's always the chance that the mouse cursor function the My Gica had in Android simply doesn't exist in Linux/XBMC. Still, it was worth the time finding out what the scancodes were so that every button on the remote can work. Also, thanks for your earlier work helping get the other buttons to work. I'll write up a remote.conf that uses all the buttons and pass it on (once I figure what works best). Can you post a picture of your remote? tinker RE: [HOW TO] XBMC Linux on Geniatech Devices - superfreak79 - 2014-03-02 (2014-03-01, 05:12)tinker Wrote: At the top of remote.conf, there is a serial number that identifies the remote that has to be correct for it to work. Since we all mostly have stock My Gicas, we've only had to deal with the one remote. Yes, the ATV520E remote works with the generic ATV1200. I logged the scan codes used with the ATV520E remote and it matches with the Biatsch remote.conf . RE: [HOW TO] XBMC Linux on Geniatech Devices - tinker - 2014-03-03 Folks: So, here's my remote.conf file that I'm using with all buttons functioning (but no 'mouse'). It's based on the original Android remote.conf, Biatsch's version and stuff I learned here. This is the remote I'm using: I've mapped the double window button beside 'Home' to MEDIA_PLAY_PAUSE and the 'Mouse' button beside 'Power' to MEDIA_STOP. I've also commented the remote.conf file to make it easier to modify. Select all the text in the code window below and then right click 'Copy'. Paste it into a word processor and save it as 'remote.conf'. You can then use XBMC's File Manager under 'System' to move the file to etc/xbmc/remote.conf. Code: #********************************************************************************************************* tinker AW: [HOW TO] XBMC Linux on Geniatech Devices - Biatsch - 2014-03-03 Mine is looking like this Quote: #********************************************************************************************************* RE: [HOW TO] XBMC Linux on Geniatech Devices - tinker - 2014-03-03 Biatsch: So, same number of buttons, different assignment. The zoom buttons replace the two I modified. Is next/previous track really useful? tinker RE: [HOW TO] XBMC Linux on Geniatech Devices - Biatsch - 2014-03-03 For playing music ..... Yes RE: [HOW TO] XBMC Linux on Geniatech Devices - jjhtpc - 2014-03-05 For all users using the Mele f10 pro with the geniatec v2 inux build I have found that on reboot sound tries to come through the built in speaker on the remote. This is due to the asound.conf being installed with the card # instead of the named device. To fix this change the asound.conf file in /etc to have the following: pcm.!default { type hw card AMLDUMMYCODEC } pcm.default.card AMLDUMMYCODEC You may want to verify the card0 default name, but this is what worked for me. I hope this helps. |