![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
|
|
Hardware & Laptops Problems with hardware & laptops not being detected or supported during or after install. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
A Carafe of Ubuntu
![]() Join Date: Feb 2006
Beans: 120
Ubuntu 7.10 Gutsy Gibbon
|
Keymapping Buttons with No Xev Event
I have a gyration MCE remote. Out of the box, the arrows, numbers, mouse, and enter/esc buttons worked. In xev, the basic multimedia functions were recognized (play, pause, volume, skip, previous, stop), and even the volume keys worked in kde. However, there are other keys on the remote that don't even generate anything in xev when I hit them. Some of these are the input key, channel up/down keys, and menu key. Is there a way to map these keys if xev doesn't catch them? I assume right now the remote is just using the build-in USB keyboard and mouse drivers (usb_hid). Do I need to set up LIRC, even though the remote is RF and not IR?
Last edited by napsilan; June 24th, 2007 at 10:26 AM.. |
|
|
|
|
#2 | |
|
A Carafe of Ubuntu
![]() Join Date: Feb 2006
Beans: 120
Ubuntu 7.10 Gutsy Gibbon
|
Re: Keymapping
starting to answer my own question. http://gentoo-wiki.com/HOWTO_Use_Multimedia_Keys says that I need to check dmesg and edit /etc/conf.d/local.start
Quote:
Last edited by napsilan; June 21st, 2007 at 10:11 AM.. |
|
|
|
|
|
#3 |
|
A Carafe of Ubuntu
![]() Join Date: Feb 2006
Beans: 120
Ubuntu 7.10 Gutsy Gibbon
|
Re: Keymapping
looks like evrouter does the trick for most keys
http://www.bedroomlan.org/~alexios/coding_evrouter.html I attached the evrouter dump codes for the remote. I still can't get any output from the "TV home", "setup menu", "Last" and "Input" keys. Last edited by napsilan; June 21st, 2007 at 10:08 PM.. |
|
|
|
|
#4 |
|
A Carafe of Ubuntu
![]() Join Date: Feb 2006
Beans: 120
Ubuntu 7.10 Gutsy Gibbon
|
Re: Keymapping
it looks like evrouter doesn't work with openbox for some reason.
Code:
xlib: connection to ":0.0" refused by server xlib: no protocol specified evrouter: could not open display ":0.0" |
|
|
|
|
#5 |
|
A Carafe of Ubuntu
![]() Join Date: Feb 2006
Beans: 120
Ubuntu 7.10 Gutsy Gibbon
|
Re: Keymapping
needed to run
xhost +local:root to fix that issue. Still not getting it to correctly autostart though. My /home/mythtv/.config/openbox/autostart.sh looks like xhost +local:root & sudo evrouter --config=...... /dev/input/...... I have the mythtv user set to sudo both autostart.sh and evrouter w/o a password. |
|
|
|
|
#6 |
|
A Carafe of Ubuntu
![]() Join Date: Feb 2006
Beans: 120
Ubuntu 7.10 Gutsy Gibbon
|
Re: Keymapping
Got it working, although this is probably NOT the "proper" way to do it.
I left /home/mythtv/.config/openbox/autostart.sh as it was Code:
xhost +local:root killall evrouter sudo rm /tmp/.evrouter* #removes a previous lock file sudo evrouter --config=/home/mythtv/Evrouter_gyration.txt /dev/input/by-id/usb-Gyration_Gyration_RF_Technology_Receiver-event-mouse /dev/input/by-id/usb-Gyration_Gyration_RF_Technology_Receiver-event-kbd & Code:
mythtv ALL=NOPASSWD: /usr/bin/evrouter mythtv ALL=NOPASSWD: /bin/rm Code:
sh /home/mythtv/.config/openbox/autostart.sh & #start mythtv frontend software exec mythfrontend I attached the evrouter deb and my current config file if anyone wants them. Last edited by napsilan; June 22nd, 2007 at 11:44 PM.. |
|
|
|
|
#7 |
|
A Carafe of Ubuntu
![]() Join Date: Feb 2006
Beans: 120
Ubuntu 7.10 Gutsy Gibbon
|
Re: Keymapping
everytime mythtv updates, I have to re-edit the startmythtv file again.
|
|
|
|
|
#8 |
|
5 Cups of Ubuntu
![]() Join Date: Dec 2006
Beans: 42
|
Re: Keymapping
wow, a whole thread talking to yourself...good stuff though!
I found the remote/keyboard combo on buy.com for cheap ($65) and was thinking about getting both. Right now I use the Logitech Dinovo Edge and trying to get the ATI Remote Wonder to work (without much success in mythtv). Wondering how the remote works with mythtv (0.20.2)...and do you have the universal one? does it connect nicely to other components? |
|
|
|
|
#9 | |
|
A Carafe of Ubuntu
![]() Join Date: Feb 2006
Beans: 120
Ubuntu 7.10 Gutsy Gibbon
|
Re: Keymapping
Quote:
I think my remote is slightly unique in that it registers as a keyboard and mouse, not as an actual remote. Have you tried looking at the LIRC info? That is the program/module that takes care of IR remotes, which I believe the ATI remote is. Can you get any input from your remote at all? For example, if you are in a terminal and hit the numbers on your remote, will it enter those numbers into the terminal? Or does it not work at all? Mine was able to do that right when I plugged it in, so I just had to keymap the wierd keys, not get the whole thing working. LIRC page http://mythtv.org/wiki/index.php/LIRC ATI remote wonder pages, depending on which model you have http://mythtv.org/wiki/index.php/ATI_Remote_Wonder http://mythtv.org/wiki/index.php/ATI_Remote_Wonder_II http://mythtv.org/wiki/index.php/ATI_Remote_Wonder_Plus Last edited by napsilan; October 9th, 2007 at 12:12 PM.. |
|
|
|
|
|
#10 |
|
5 Cups of Ubuntu
![]() Join Date: Dec 2006
Beans: 42
|
Re: Keymapping
yup, that first link is the remote I have....but I just ordered the gyration kb/universal remote combo.
IS that the remote you have, the gyration universal media center remote? http://www.gyration.com/c-3-remotes.aspx - I got the combo coming, but remote is the same in both I think. |
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|