LinuxMCE Forums

General => Users => Topic started by: rchamp on November 24, 2010, 03:07:06 am

Title: Setup Custom Keys on Logitech DiNovo Mini
Post by: rchamp on November 24, 2010, 03:07:06 am
As the title states, I have a logitech DiNovo Mini, p/n 820-002109, m/n Y-RGB93. Bluetooth detection and operations are flawless, but I since it doesn't have the F keys, I can't use F7 to access the menu button, when playing a movie, etc.

Is there somewhere in the web-admin I can either remap the F7 key to something else, or to map a key on the mini?

I have a fn key on the keyboard, and three programmable keys (normally the sound keys), as well at the standard media center button, (which was the start button when using it in windows media center)

Any ideas?
Title: Re: Setup Custom Keys on Logitech DiNovo Mini
Post by: theteju on November 24, 2010, 05:50:24 am
Okey , I would be more than happy to write the answer , Let me try.

first of all there is a wiki page on where you can find some information to get the keys working. in my case the numbers used for home key are different and so it can be different in your case too. How do I find numbers related to my keys? For that, I run command xev in the terminal.

that will open a window and after that press the desired key on your denovo mini, the window will reponse with a number. note those number on a paper. my numbers for those keys are as follows

129; // Home key on the DiNovo (under right) I use it  to act as F7 (main menu)
115; // Windows key (left middle) I used it to act as F8 (sound/lighting)
177; // record button on keyboard. RED button I use it for (fast forward)

(you may try my numbers and it may start working) Once you get those numbers follow these steps.

1. edit the "xfree86" file in /usr/share/X11/xkb/keycodes with your favorite editor. i use nano.  sudo nano /usr/share/X11/xkb/keycodes/xfree86
If you dont have nano somply run sudo apt-get install nano

2. include "xfree86(basic)"
   <BKSL> =  51;
   <LSGT> =  94;
   <FK07> =  129;
   <FK08> =  115;
   <FK06> =  177;

 };
3. save and exit. for nano its ctrl X and say yes
4. restart and enjoy !!

this is for core/hybrid. if you are on MD . every MD has its own image. so you will have to do these changes on every MD.

[i am using logitech denovo succefully and I should create a device template , I tried but did not succeed.]

I hope this helps, if not let me know.

thanks.

Title: Re: Setup Custom Keys on Logitech DiNovo Mini
Post by: daballiemo on November 24, 2010, 02:17:43 pm
And change the wiki if you find something to be wrong in there  ;)

http://wiki.linuxmce.org/index.php/Logitech_Dinovo_Mini (http://wiki.linuxmce.org/index.php/Logitech_Dinovo_Mini)

rgds

Han
Title: Re: Setup Custom Keys on Logitech DiNovo Mini
Post by: rchamp on November 24, 2010, 07:31:27 pm
thank you so much! I will try this when I get home today.

Happy turkey day!
Title: Re: Setup Custom Keys on Logitech DiNovo Mini
Post by: rchamp on November 25, 2010, 12:32:44 am
theteju, i followed your steps and it worked perfectly.

I looked at the wiki, and what my setup looked like and what it said on the wiki were different, so i didn't bother. Alas, thetejus method worked perfectly.

Title: Re: Setup Custom Keys on Logitech DiNovo Mini
Post by: rchamp on December 02, 2010, 02:41:45 am
is there any way to configure the special function keys on the mini? like the PC power button (would be nice to make this a quick sleep button)
Title: Re: Setup Custom Keys on Logitech DiNovo Mini
Post by: theteju on December 05, 2010, 06:07:00 pm
It can be done if the device template is made. I believe steps are same as for adding support to any remote. Please search wiki and you might get an idea.
Title: Re: Setup Custom Keys on Logitech DiNovo Mini
Post by: rchamp on December 06, 2010, 08:51:52 pm
Will do. Thanks for the guidance. I'll look into it.