Difference between revisions of "Gyration-GYR3101US-codes"

From LinuxMCE
Jump to: navigation, search
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{| class="wikitable"
+
{{versioninfo}}
 +
[[category: Input]]
 +
[[Category:Remote Controls]]
 +
 
 +
This page is being superceded by [[GYR3101 Integration Notes]]
 +
 
 +
== ToDo ==
 +
 
 +
The best solution would be if we could make it work without evrouter. Then we should need some way to have the higher keyevents in X. Any suggestions??
 +
 
 +
 
 +
Using [http://www.bedroomlan.org/~alexios/coding_evrouter.html evrouter] we would still need the following:
 +
* LinuxMCE should recognize the remote properly (now it saids it's a GO Cordless GC1005M but 'Registered: No')
 +
* This means we should reuse the fiire chief template (if it's possible to reroute it that way) or create a new one
 +
* Evrouter should route all high events to have the proper actions (so to key events or shell commands) (see the  [[Gyration-GYR3101US-codes#Working_document_for_usage_with_evrouter | template]])
 +
* Evrouter should be supplied with Lmce
 +
* it should have a proper way to automaticly start evrouter with the right configuration
 +
 
 +
 
 +
== Code table ==
 +
{| class="wikitable" border="1" cellpadding="5" cellspacing="0"
 
|-
 
|-
 
! name
 
! name
Line 38: Line 58:
 
|}
 
|}
  
{| class="wikitable"
+
 
 +
{| class="wikitable" border="1" cellpadding="5" cellspacing="0"
 
|-
 
|-
 
! name
 
! name
Line 59: Line 80:
 
| 100
 
| 100
 
| key/105
 
| key/105
 
 
|-
 
|-
 
| OK/Enter/Select
 
| OK/Enter/Select
Line 82: Line 102:
 
|}
 
|}
  
{| class="wikitable"
+
 
 +
{| class="wikitable" border="1" cellpadding="5" cellspacing="0"
 
|-
 
|-
 
! name
 
! name
Line 101: Line 122:
 
|}
 
|}
  
{| class="wikitable"
+
 
 +
{| class="wikitable" border="1" cellpadding="5" cellspacing="0"
 
|-
 
|-
 
! name
 
! name
Line 132: Line 154:
 
|}
 
|}
  
{| class="wikitable"
+
 
 +
{| class="wikitable" border="1" cellpadding="5" cellspacing="0"
 
|-
 
|-
 
! name
 
! name
Line 155: Line 178:
 
|}
 
|}
  
{| class="wikitable"
+
 
 +
{| class="wikitable" border="1" cellpadding="5" cellspacing="0"
 
|-
 
|-
 
! name
 
! name
Line 210: Line 234:
 
|}
 
|}
  
{| class="wikitable"
+
 
 +
{| class="wikitable" border="1" cellpadding="5" cellspacing="0"
 
|-
 
|-
 
! name
 
! name
Line 225: Line 250:
 
|}
 
|}
  
{| class="wikitable"
+
 
 +
{| class="wikitable" border="1" cellpadding="5" cellspacing="0"
 
|-
 
|-
 
! name
 
! name
Line 253: Line 279:
  
  
 +
== Picture ==
 
[[Image:Gyration-GYR3101US-codes.png]]
 
[[Image:Gyration-GYR3101US-codes.png]]
  
  
Device Template info (based on template #1848)
+
== Device Template info (based on template #1848) ==
 
<pre>
 
<pre>
 
The Device Template.
 
The Device Template.
Line 345: Line 372:
 
</pre>
 
</pre>
  
Working document for usage with evrouter
+
== Working document for usage with evrouter ==
 
<pre>
 
<pre>
 
#  Stop
 
#  Stop
Line 479: Line 506:
  
  
evtest gives the following output:
+
== evtest output ==
 +
evtest ( apt-get install lineakd ) gives the following output:
 +
 
 
<pre>
 
<pre>
 
Input driver version is 1.0.0
 
Input driver version is 1.0.0

Latest revision as of 23:48, 19 October 2012

Version Status Date Updated Updated By
710 Unknown N/A N/A
810 Unknown N/A N/A
1004 Unknown N/A N/A
1204 Unknown N/A N/A
1404 Unknown N/A N/A
Usage Information

This page is being superceded by GYR3101 Integration Notes

ToDo

The best solution would be if we could make it work without evrouter. Then we should need some way to have the higher keyevents in X. Any suggestions??


Using evrouter we would still need the following:

  • LinuxMCE should recognize the remote properly (now it saids it's a GO Cordless GC1005M but 'Registered: No')
  • This means we should reuse the fiire chief template (if it's possible to reroute it that way) or create a new one
  • Evrouter should route all high events to have the proper actions (so to key events or shell commands) (see the template)
  • Evrouter should be supplied with Lmce
  • it should have a proper way to automaticly start evrouter with the right configuration


Code table

name xev keycode evkeycode
Stop 164 key/166
Record 177 key/167
Pause 110 key/119
Play 179 key/207
Rewind 152 key/168
Fast Forward 180 key/208
Skip back 144 key/165
Skip ahead 153 key/163


name xev keycode evkeycode
Live TV - key/377
UP 98 key/103
Program guide - key/362
LEFT 100 key/105
OK/Enter/Select 36 key/28
Right 102 key/106
Go back 234 key/158
Down 104 key/108
Information 134 key/130


name xev keycode evkeycode
Left mouse button key/272
Mouse enable -
Right mouse button key/273


name xev keycode evkeycode
Volume UP 176 key/115
MCE Home 97 key/102
Channel UP - key/402
Volume Down 174 key/114
Mute 160 key/113
Channel Down - key/403


name xev keycode evkeycode
My Pictures 237 key/226
TV home - -
Music - key/391
My videos - key/393


name xev keycode evkeycode
1 10 key/2
2 11 key/3
3 12 key/4
4 13 key/5
5 14 key/6
6 15 key/7
7 16 key/8
8 17 key/9
9 18 key/10
* 50 & 17 key/42 & key/9
0 19 key/11
# 50&12 key/42 & key/4


name xev keycode evkeycode
clear 9 key/1
enter 36 key/28


name xev keycode evkeycode
Setup Menu - -
Last - -
Connect - -
Input - -
DVD Menu - key/410


Picture

Gyration-GYR3101US-codes.png


Device Template info (based on template #1848)

The Device Template.
Values taken from the gyration template for the fiire-chief.


These values are probably the same as on the fiire-chief:
1,10,U,Y
2,11,U,Y
3,12,U,Y
4,13,U,Y
5,14,U,Y
6,15,U,Y
7,16,U,Y
8,17,U,Y
9,18,U,Y
0,19,U,Y
shortcut1,10,H,Y
shortcut2,11,H,Y
shortcut3,12,H,Y
shortcut4,13,H,Y
shortcut5,14,H,Y
shortcut6,15,H,Y
shortcut7,16,H,Y
shortcut8,17,H,Y
shortcut9,18,H,Y
shortcut0,19,H,Y

fastforward,180,D
Rewind,152,D
Play,179,D
Stop,164,D

Down,104,R,Y
Up,98,R,Y
Left,100,R,Y
Right,102,R,Y
ok,36,D,Y
enter,36,D,Y
Record,177,D
SkipNext,153,R
SkipPrior,144,R

These have standard 'xev' output keys (and differ from the fiire):
Clear,9,D
voldn,176,R
VolUp,174,R


How to set these and which they are is still the question:
Power,100130,U
Halt,100130,H

red,100070,U
green,100073,U
yellow,100071,U
blue,100074,U
shortcutr,100070,H
shortcutg,100073,H
shortcuty,100071,H
shortcutb,100074,H
Music,100071,U
Videos,100074,U
tv,100073,U
Pictures,100070,U

enter,108,D,Y

chup,100156,R
chdown,100157,R

Pause,162,D
Pause,110,D

Mute,100226,D

menu,100194,U
avwizard,100194,H

Guide,100141,D

Back,100193,D

info,100201,U
help,100201,H

input,100202,U

Working document for usage with evrouter

#  	Stop
# "Gyration Gyration RF Technology Receiver" "/dev/input/event*" none key/166 "fill this in!"
	
# 	Record
"Gyration Gyration RF Technology Receiver" "/dev/input/event*" none key/167 "XKey/R"

# 	Pause
"Gyration Gyration RF Technology Receiver" "/dev/input/event*" none key/119 "XKey/P"

# 	Play
"Gyration Gyration RF Technology Receiver" "/dev/input/event*" none key/207 "XKey/P"

# 	Rewind
"Gyration Gyration RF Technology Receiver" "/dev/input/event*" none key/168 "XKey/Left"

# 	Fast Forward
"Gyration Gyration RF Technology Receiver" "/dev/input/event*" none key/208 "XKey/Right"

# 	Skip Back
"Gyration Gyration RF Technology Receiver" "/dev/input/event*" none key/165 "XKey/Home"

# 	Skip Forward
"Gyration Gyration RF Technology Receiver" "/dev/input/event*" none key/163 "XKey/End"

# 	Guide 
"Gyration Gyration RF Technology Receiver" "/dev/input/event*" none key/362 "XKey/M"

# 	Up
# "Gyration Gyration RF Technology Receiver" "/dev/input/event*" none key/103 "fill this in!"

# 	Left
# "Gyration Gyration RF Technology Receiver" "/dev/input/event*" none key/105 "fill this in!"

# 	Right
# "Gyration Gyration RF Technology Receiver" "/dev/input/event*" none key/106 "fill this in!"

# 	Down
# "Gyration Gyration RF Technology Receiver" "/dev/input/event*" none key/108 "fill this in!"

# 	Back
# "Gyration Gyration RF Technology Receiver" "/dev/input/event*" none key/158 "fill this in!"

# 	Info
"Gyration Gyration RF Technology Receiver" "/dev/input/event*" none key/130 "XKey/I"

# 	OK/Enter
# "Gyration Gyration RF Technology Receiver" "/dev/input/event*" none key/28 "fill this in!"

# 	Volume Up
"Gyration Gyration RF Technology Receiver" "/dev/input/event*" none key/115 "XKey/F11"

# 	Volume Down
"Gyration Gyration RF Technology Receiver" "/dev/input/event*" none key/114 "XKey/F10"

# 	Channel Up
"Gyration Gyration RF Technology Receiver" "/dev/input/event*" none key/402 "XKey/Up"

# 	Channel Down
"Gyration Gyration RF Technology Receiver" "/dev/input/event*" none key/403 "XKey/Down"

# 	Mute
"Gyration Gyration RF Technology Receiver" "/dev/input/event*" none key/113 "XKey/F9"

# 	1
# "Gyration Gyration RF Technology Receiver" "/dev/input/event*" none key/2 "fill this in!"
# 
# 	2
# "Gyration Gyration RF Technology Receiver" "/dev/input/event*" none key/3 "fill this in!"
# 
# 	3
# "Gyration Gyration RF Technology Receiver" "/dev/input/event*" none key/4 "fill this in!"
# 
# 	4
# "Gyration Gyration RF Technology Receiver" "/dev/input/event*" none key/5 "fill this in!"
# 
# 	5
# "Gyration Gyration RF Technology Receiver" "/dev/input/event*" none key/6 "fill this in!"
# 
# 	6
# "Gyration Gyration RF Technology Receiver" "/dev/input/event*" none key/7 "fill this in!"
# 
# 	7
# "Gyration Gyration RF Technology Receiver" "/dev/input/event*" none key/8 "fill this in!"
# 
# 	8
# "Gyration Gyration RF Technology Receiver" "/dev/input/event*" none key/9 "fill this in!"
# 
# 	9
# "Gyration Gyration RF Technology Receiver" "/dev/input/event*" none key/10 "fill this in!"
# 
# 	0
# "Gyration Gyration RF Technology Receiver" "/dev/input/event*" none key/11 "fill this in!"
# 
# 	*
# "Gyration Gyration RF Technology Receiver" "/dev/input/event*" none key/42 "fill this in!"
# "Gyration Gyration RF Technology Receiver" "/dev/input/event*" none key/9 "fill this in!"
# 
# 	#
# "Gyration Gyration RF Technology Receiver" "/dev/input/event*" none key/42 "fill this in!"
# "Gyration Gyration RF Technology Receiver" "/dev/input/event*" none key/4 "fill this in!"

# 	Clear
# "Gyration Gyration RF Technology Receiver" "/dev/input/event*" none key/1 "fill this in!"


# Other /dev/input/eventY events:
# 	Left Click
# "Gyration Gyration RF Technology Receiver" "/dev/input/event*" none key/272 "fill this in!"
# 
# 	Right Click
# "Gyration Gyration RF Technology Receiver" "/dev/input/event*" none key/273 "fill this in!"

# 	Live TV
"Gyration Gyration RF Technology Receiver" "/dev/input/event*" none key/377 "XKey/C"

# 	Windows
"Gyration Gyration RF Technology Receiver" "/dev/input/event*" none key/102 "XKey/Alt_L+Control_L+BackSpace"

# 	Pictures
# "Gyration Gyration RF Technology Receiver" "/dev/input/event*" none key/226 "fill this in!"
# 
# 	Music
# "Gyration Gyration RF Technology Receiver" "/dev/input/event*" none key/391 "fill this in!"
# 
# 	Video
# "Gyration Gyration RF Technology Receiver" "/dev/input/event*" none key/393 "fill this in!"

# 	DVD Menu
"Gyration Gyration RF Technology Receiver" "/dev/input/event*" none key/410 "XKey/O"


evtest output

evtest ( apt-get install lineakd ) gives the following output:

Input driver version is 1.0.0
Input device ID: bus 0x3 vendor 0xc16 product 0x2 version 0x110
Input device name: "Gyration Gyration RF Technology Receiver"
Supported events:
  Event type 0 (Sync)
  Event type 1 (Key)
    Event code 1 (Esc)
    Event code 2 (1)
    Event code 3 (2)
    Event code 4 (3)
    Event code 5 (4)
    Event code 6 (5)
    Event code 7 (6)
    Event code 8 (7)
    Event code 9 (8)
    Event code 10 (9)
    Event code 11 (0)
    Event code 12 (Minus)
    Event code 13 (Equal)
    Event code 14 (Backspace)
    Event code 15 (Tab)
    Event code 16 (Q)
    Event code 17 (W)
    Event code 18 (E)
    Event code 19 (R)
    Event code 20 (T)
    Event code 21 (Y)
    Event code 22 (U)
    Event code 23 (I)
    Event code 24 (O)
    Event code 25 (P)
    Event code 26 (LeftBrace)
    Event code 27 (RightBrace)
    Event code 28 (Enter)
    Event code 29 (LeftControl)
    Event code 30 (A)
    Event code 31 (S)
    Event code 32 (D)
    Event code 33 (F)
    Event code 34 (G)
    Event code 35 (H)
    Event code 36 (J)
    Event code 37 (K)
    Event code 38 (L)
    Event code 39 (Semicolon)
    Event code 40 (Apostrophe)
    Event code 41 (Grave)
    Event code 42 (LeftShift)
    Event code 43 (BackSlash)
    Event code 44 (Z)
    Event code 45 (X)
    Event code 46 (C)
    Event code 47 (V)
    Event code 48 (B)
    Event code 49 (N)
    Event code 50 (M)
    Event code 51 (Comma)
    Event code 52 (Dot)
    Event code 53 (Slash)
    Event code 54 (RightShift)
    Event code 55 (KPAsterisk)
    Event code 56 (LeftAlt)
    Event code 57 (Space)
    Event code 58 (CapsLock)
    Event code 59 (F1)
    Event code 60 (F2)
    Event code 61 (F3)
    Event code 62 (F4)
    Event code 63 (F5)
    Event code 64 (F6)
    Event code 65 (F7)
    Event code 66 (F8)
    Event code 67 (F9)
    Event code 68 (F10)
    Event code 69 (NumLock)
    Event code 70 (ScrollLock)
    Event code 71 (KP7)
    Event code 72 (KP8)
    Event code 73 (KP9)
    Event code 74 (KPMinus)
    Event code 75 (KP4)
    Event code 76 (KP5)
    Event code 77 (KP6)
    Event code 78 (KPPlus)
    Event code 79 (KP1)
    Event code 80 (KP2)
    Event code 81 (KP3)
    Event code 82 (KP0)
    Event code 83 (KPDot)
    Event code 86 (102nd)
    Event code 87 (F11)
    Event code 88 (F12)
    Event code 96 (KPEnter)
    Event code 97 (RightCtrl)
    Event code 98 (KPSlash)
    Event code 99 (SysRq)
    Event code 100 (RightAlt)
    Event code 102 (Home)
    Event code 103 (Up)
    Event code 104 (PageUp)
    Event code 105 (Left)
    Event code 106 (Right)
    Event code 107 (End)
    Event code 108 (Down)
    Event code 109 (PageDown)
    Event code 110 (Insert)
    Event code 111 (Delete)
    Event code 113 (Mute)
    Event code 114 (VolumeDown)
    Event code 115 (VolumeUp)
    Event code 116 (Power)
    Event code 119 (Pause)
    Event code 125 (LeftMeta)
    Event code 126 (RightMeta)
    Event code 127 (Compose)
    Event code 128 (Stop)
    Event code 130 (Props)
    Event code 131 (Undo)
    Event code 133 (Copy)
    Event code 134 (Open)
    Event code 135 (Paste)
    Event code 136 (Find)
    Event code 137 (Cut)
    Event code 138 (Help)
    Event code 139 (Menu)
    Event code 140 (Calc)
    Event code 142 (Sleep)
    Event code 143 (WakeUp)
    Event code 144 (File)
    Event code 150 (WWW)
    Event code 152 (Coffee)
    Event code 155 (Mail)
    Event code 156 (Bookmarks)
    Event code 158 (Back)
    Event code 159 (Forward)
    Event code 161 (EjectCD)
    Event code 163 (NextSong)
    Event code 164 (PlayPause)
    Event code 165 (PreviousSong)
    Event code 166 (StopCD)
    Event code 167 (Record)
    Event code 168 (Rewind)
    Event code 169 (Phone)
    Event code 171 (Config)
    Event code 172 (HomePage)
    Event code 173 (Refresh)
    Event code 174 (Exit)
    Event code 177 (ScrollUp)
    Event code 178 (ScrollDown)
    Event code 181 (?)
    Event code 206 (Close)
    Event code 207 (Play)
    Event code 208 (Fast Forward)
    Event code 209 (Bass Boost)
    Event code 210 (Print)
    Event code 212 (Camera)
    Event code 213 (Sound)
    Event code 219 (Finance)
    Event code 234 (?)
    Event code 235 (?)
    Event code 256 (Btn0)
    Event code 358 (Info)
    Event code 362 (Program)
    Event code 366 (PVR)
    Event code 376 (PC)
    Event code 377 (TV)
    Event code 378 (TV2)
    Event code 379 (VCR)
    Event code 380 (VCR2)
    Event code 381 (Sat)
    Event code 383 (CD)
    Event code 384 (Tape)
    Event code 385 (Radio)
    Event code 386 (Tuner)
    Event code 389 (DVD)
    Event code 396 (Memo)
    Event code 397 (Calendar)
    Event code 402 (ChannelUp)
    Event code 403 (ChannelDown)
    Event code 405 (Last)
    Event code 416 (?)
    Event code 417 (?)
    Event code 418 (?)
    Event code 419 (?)
    Event code 420 (?)
    Event code 421 (?)
    Event code 422 (?)
    Event code 423 (?)
    Event code 424 (?)
    Event code 425 (?)
    Event code 426 (?)
    Event code 427 (?)
    Event code 428 (?)
    Event code 429 (?)
    Event code 430 (?)
  Event type 2 (Relative)
    Event code 6 (HWheel)
  Event type 3 (Absolute)
    Event code 32 (Volume)
      Value      0
      Min        0
      Max      572
  Event type 20 (Repeat)
Testing ... (interrupt to exit)