<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.linuxmce.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Syadnom</id>
	<title>LinuxMCE - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.linuxmce.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Syadnom"/>
	<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php/Special:Contributions/Syadnom"/>
	<updated>2026-07-21T22:20:27Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=Gyration_GYR3101US&amp;diff=9918</id>
		<title>Gyration GYR3101US</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=Gyration_GYR3101US&amp;diff=9918"/>
		<updated>2008-04-13T16:31:11Z</updated>

		<summary type="html">&lt;p&gt;Syadnom: /* Summary */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category: Hardware]]&lt;br /&gt;
[[Category: Input]]&lt;br /&gt;
[[Category: Infrared]]&lt;br /&gt;
[[Category: Tutorials]]&lt;br /&gt;
&lt;br /&gt;
== Summary ==&lt;br /&gt;
[[Image:Gyration.JPG|right]]&lt;br /&gt;
The Gyration GYR3101US remote is identical in style to the [http://fiire.com/fiire-chief.php Fiire Chief]&lt;br /&gt;
&lt;br /&gt;
And uses the gyro feature just like a mouse. The major difference is how the remote is detected and used by LMCE.&lt;br /&gt;
&lt;br /&gt;
However the keys are not all mapped as nicely as the custom firmware of the Chief. However this can be simply updated by using the&lt;br /&gt;
[http://cf.ccmr.cornell.edu/cgi-bin/w3mman2html.cgi?xmodmap(1) Xmodmap] program, and its corresponding config file, to gain similar functionality from this remote.&lt;br /&gt;
&lt;br /&gt;
The one I am using I purchased at [http://www.circuitcity.com/ssm/Gyration-Universal-Remote-Control-for-PC-GYR3101US/sem/rpsm/oid/178884/rpem/ccd/productDetail.do Circuit CIty] for $99US. This is only $50 less + shipping than the Fiire, but for those of us lucky enough to have a Circuit City nearby, it makes an inexpensive solution.&lt;br /&gt;
&lt;br /&gt;
edit 4/13/2008&lt;br /&gt;
note, this can be found at new egg for $99+S/H http://www.newegg.com/Product/Product.aspx?Item=N82E16880105001 New Egg]&lt;br /&gt;
&lt;br /&gt;
When the device is plugged in, it is identified and configured as a GO Wireless USB device. And the gyration mouse bit works immediatley. If this is all you want, your done. No more configuration is needed. In my case I wanted the &amp;quot;Ambience&amp;quot; (Volume/Lighting) control key mapped, as well as the Channel/Chapter function, and lets not forget the ability to pull up the menu while watching/listening to media. Also by default the Stop button will stop media playback, and the skip forward and back buttons work. Again, if this is all you want, your done :).&lt;br /&gt;
&lt;br /&gt;
By default kubuntu/LMCE sees the volume up/down keys, the 10 key numbers, the MCE button, and the media control play/stop/ffwd/rwd/pause/skip fwd/skip back.&lt;br /&gt;
&lt;br /&gt;
Gyration codes: [[Gyration-GYR3101US-codes]]&lt;br /&gt;
&lt;br /&gt;
== The HowTo ==&lt;br /&gt;
&lt;br /&gt;
To enable the volume control, I used the &#039;&#039;xev&#039;&#039; application from the KDE desktop terminal window, and identified the required keys.&lt;br /&gt;
&lt;br /&gt;
 xev&lt;br /&gt;
&lt;br /&gt;
Once this is run, it will pop-up a test window. Place your mouse in there, and then press the buttons on the Gyration remote, and see the results in the terminal. Pay special attention to the&lt;br /&gt;
&lt;br /&gt;
 keycode&lt;br /&gt;
&lt;br /&gt;
entries, they are what you will place in your new .Xmodmap file.&lt;br /&gt;
&lt;br /&gt;
Now on my particular setup, and I have a feeling its the default, the keys show up as:&lt;br /&gt;
&lt;br /&gt;
 Volume Up   keycode 176&lt;br /&gt;
 Volume Down keycode 174&lt;br /&gt;
 MCE button  keycode 97&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now the keys in LMCE that provide for the volume/channel/menu function are:&lt;br /&gt;
 &lt;br /&gt;
 F6 = Channel/Chapter FFWD/RWD/PAUSE menu&lt;br /&gt;
 F7 = Menu button&lt;br /&gt;
 F8 = Volume/Lighting button &amp;quot;ambience&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Update to get more MythTV functionality!!! ==&lt;br /&gt;
&lt;br /&gt;
MythTV Keys&lt;br /&gt;
&lt;br /&gt;
 P = Pause  # Pause key on remote&lt;br /&gt;
 R = Record   # Record key on remote&lt;br /&gt;
 Z = 30 second skip # Right skip key under directional pad&lt;br /&gt;
 Q = 10 second back   # Left skip key under directional pad&lt;br /&gt;
 I = Info   # Info button&lt;br /&gt;
 F9 = Mute   # Mute button&lt;br /&gt;
 Y = Switch Cards   # Pictures button&lt;br /&gt;
 PgUP = Fast Forward   # FFWD Button&lt;br /&gt;
 PgDOWN = Rewind   # RWND Button&lt;br /&gt;
&lt;br /&gt;
Using this info, I created the following .Xmodmap file as root user in /etc&lt;br /&gt;
 &lt;br /&gt;
 cd /etc&lt;br /&gt;
 sudo vi /etc/.Xmodmap&lt;br /&gt;
&lt;br /&gt;
/etc/.Xmodmap&lt;br /&gt;
 keycode 176 = F8&lt;br /&gt;
 keycode 174 = F6&lt;br /&gt;
 keycode 97 = F7&lt;br /&gt;
 keycode 110 = P&lt;br /&gt;
 keycode 177 = R&lt;br /&gt;
 keycode 153 = Z&lt;br /&gt;
 keycode 144 = Q&lt;br /&gt;
 keycode 134 = I&lt;br /&gt;
 keycode 160 = F9&lt;br /&gt;
 keycode 237 = Y&lt;br /&gt;
 keycode 180 = PgUP&lt;br /&gt;
 keycode 152 = PgDOWN&lt;br /&gt;
&lt;br /&gt;
Now after creating the file, we need to make sure it is loaded when LMCE starts up. To do this add the following as root to &lt;br /&gt;
&#039;&#039;/usr/pluto/bin/lmce_launch_manager.sh&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 sudo vi /usr/pluto/bin/lmce_launch_manager.sh&lt;br /&gt;
Put this right before the line &#039;&#039;&#039;KDE_DEBUG=1&#039;&#039;&#039;&lt;br /&gt;
So that it looks like.....&lt;br /&gt;
 xmodmap /etc/.Xmodmap&lt;br /&gt;
 KDE_DEBUG=1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Save the file. Now you have two choices to get it going,&lt;br /&gt;
&lt;br /&gt;
Choice 1 is to fire off the command&lt;br /&gt;
 sudo xmodmap /etc/.Xmodmap &lt;br /&gt;
This must be done from the KDE desktop term window, as it needs to be run in the X environment.&lt;br /&gt;
&lt;br /&gt;
Choice 2 is to restart the core.&lt;br /&gt;
&lt;br /&gt;
By placing the file in the lmce_launch_manager.sh script, anytime the core is rebooted, your settings are automagically set up. :)&lt;br /&gt;
&lt;br /&gt;
There are a couple of oddities to deal with that I have seen. Now when I watch a movie, and want to change the volume or lighting, on a movie or pre-recorded program, it does what it supposed to, but when watching mythtv live, pressing the volume up on the Gyration remote invokes the Sleep Timer in mythtv. This can be easily resolved by remapping the sleep timer key using the mythweb application located at http://core.ip.address/mythweb/ for internal open systems or http://core.dhcp.server.adress/mythweb/&lt;br /&gt;
&lt;br /&gt;
This can be avoided by unmapping the following keys in Mythweb/Settings/Controls&lt;br /&gt;
 &lt;br /&gt;
 F6&lt;br /&gt;
 F7&lt;br /&gt;
 F8&lt;br /&gt;
&lt;br /&gt;
Simply unmap these keys. Make sure you scroll down the whole list, as they appear more than once :)&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
So after you have completed these steps the following keys will do these functions:&lt;br /&gt;
&lt;br /&gt;
 MCE button pulls up LMCE menu system&lt;br /&gt;
 Volume Up button brings up the &amp;quot;Ambience&amp;quot; controls during media playback&lt;br /&gt;
 Volume Down button brings up the Channel/Chapter Fast Forward/Rewind and Pause functions&lt;br /&gt;
 The Gyration center button does movement&lt;br /&gt;
 If you double click the center button, the mouse stays active, &lt;br /&gt;
 but remember to click once more to turn off, or you&#039;ll kill the batteries.&lt;br /&gt;
 The Gyration Left button acts like the left mouse button for &amp;quot;Choose&amp;quot; functions&lt;br /&gt;
 The Gyration Right button is the &amp;quot;exit&amp;quot; or &amp;quot;clear item&amp;quot; button. &lt;br /&gt;
 The left and right buttons are just like mouse buttons.&lt;br /&gt;
 The Number keys work with MythTV&lt;br /&gt;
 The Pause button will pause MythTV&lt;br /&gt;
 The Record button will start an on-the-fly-recording&lt;br /&gt;
 The skip forward button, does the standard 30 second skip&lt;br /&gt;
 The skip back button does the 10 second back skip&lt;br /&gt;
 The fast-forward and rewind buttons function as they should&lt;br /&gt;
 The Pictures button, will switch tuner cards if you have more than one, Nice for us DVB users who don&#039;t use VDR.&lt;br /&gt;
 The Mute button functions&lt;br /&gt;
 The Info button functions&lt;br /&gt;
&lt;br /&gt;
Thats it, your ready to be Inter &amp;quot;Active&amp;quot; with your LMCE system. Enjoy.&lt;br /&gt;
&lt;br /&gt;
Please feel free to update this article with any other information, or if I forgot something. :-)&lt;/div&gt;</summary>
		<author><name>Syadnom</name></author>
	</entry>
</feed>