特殊:Badtitle/NS100:Logitech UltraX Remote
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/Logitech_UltraX_Remote }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:Logitech_UltraX_Remote | UbuntuHelp:Logitech_UltraX_Remote | {{#if: | :}}Logitech UltraX Remote}}/af | • {{#if: UbuntuHelp:Logitech_UltraX_Remote|Afrikaans| [[::Logitech UltraX Remote/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_UltraX_Remote | UbuntuHelp:Logitech_UltraX_Remote | {{#if: | :}}Logitech UltraX Remote}}/ar | • {{#if: UbuntuHelp:Logitech_UltraX_Remote|العربية| [[::Logitech UltraX Remote/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_UltraX_Remote | UbuntuHelp:Logitech_UltraX_Remote | {{#if: | :}}Logitech UltraX Remote}}/az | • {{#if: UbuntuHelp:Logitech_UltraX_Remote|azərbaycanca| [[::Logitech UltraX Remote/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_UltraX_Remote | UbuntuHelp:Logitech_UltraX_Remote | {{#if: | :}}Logitech UltraX Remote}}/bcc | • {{#if: UbuntuHelp:Logitech_UltraX_Remote|جهلسری بلوچی| [[::Logitech UltraX Remote/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_UltraX_Remote | UbuntuHelp:Logitech_UltraX_Remote | {{#if: | :}}Logitech UltraX Remote}}/bg | • {{#if: UbuntuHelp:Logitech_UltraX_Remote|български| [[::Logitech UltraX Remote/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_UltraX_Remote | UbuntuHelp:Logitech_UltraX_Remote | {{#if: | :}}Logitech UltraX Remote}}/br | • {{#if: UbuntuHelp:Logitech_UltraX_Remote|brezhoneg| [[::Logitech UltraX Remote/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_UltraX_Remote | UbuntuHelp:Logitech_UltraX_Remote | {{#if: | :}}Logitech UltraX Remote}}/ca | • {{#if: UbuntuHelp:Logitech_UltraX_Remote|català| [[::Logitech UltraX Remote/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_UltraX_Remote | UbuntuHelp:Logitech_UltraX_Remote | {{#if: | :}}Logitech UltraX Remote}}/cs | • {{#if: UbuntuHelp:Logitech_UltraX_Remote|čeština| [[::Logitech UltraX Remote/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_UltraX_Remote | UbuntuHelp:Logitech_UltraX_Remote | {{#if: | :}}Logitech UltraX Remote}}/de | • {{#if: UbuntuHelp:Logitech_UltraX_Remote|Deutsch| [[::Logitech UltraX Remote/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_UltraX_Remote | UbuntuHelp:Logitech_UltraX_Remote | {{#if: | :}}Logitech UltraX Remote}}/el | • {{#if: UbuntuHelp:Logitech_UltraX_Remote|Ελληνικά| [[::Logitech UltraX Remote/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_UltraX_Remote | UbuntuHelp:Logitech_UltraX_Remote | {{#if: | :}}Logitech UltraX Remote}}/es | • {{#if: UbuntuHelp:Logitech_UltraX_Remote|español| [[::Logitech UltraX Remote/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_UltraX_Remote | UbuntuHelp:Logitech_UltraX_Remote | {{#if: | :}}Logitech UltraX Remote}}/fa | • {{#if: UbuntuHelp:Logitech_UltraX_Remote|فارسی| [[::Logitech UltraX Remote/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_UltraX_Remote | UbuntuHelp:Logitech_UltraX_Remote | {{#if: | :}}Logitech UltraX Remote}}/fi | • {{#if: UbuntuHelp:Logitech_UltraX_Remote|suomi| [[::Logitech UltraX Remote/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_UltraX_Remote | UbuntuHelp:Logitech_UltraX_Remote | {{#if: | :}}Logitech UltraX Remote}}/fr | • {{#if: UbuntuHelp:Logitech_UltraX_Remote|français| [[::Logitech UltraX Remote/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_UltraX_Remote | UbuntuHelp:Logitech_UltraX_Remote | {{#if: | :}}Logitech UltraX Remote}}/gu | • {{#if: UbuntuHelp:Logitech_UltraX_Remote|ગુજરાતી| [[::Logitech UltraX Remote/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_UltraX_Remote | UbuntuHelp:Logitech_UltraX_Remote | {{#if: | :}}Logitech UltraX Remote}}/he | • {{#if: UbuntuHelp:Logitech_UltraX_Remote|עברית| [[::Logitech UltraX Remote/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_UltraX_Remote | UbuntuHelp:Logitech_UltraX_Remote | {{#if: | :}}Logitech UltraX Remote}}/hu | • {{#if: UbuntuHelp:Logitech_UltraX_Remote|magyar| [[::Logitech UltraX Remote/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_UltraX_Remote | UbuntuHelp:Logitech_UltraX_Remote | {{#if: | :}}Logitech UltraX Remote}}/id | • {{#if: UbuntuHelp:Logitech_UltraX_Remote|Bahasa Indonesia| [[::Logitech UltraX Remote/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_UltraX_Remote | UbuntuHelp:Logitech_UltraX_Remote | {{#if: | :}}Logitech UltraX Remote}}/it | • {{#if: UbuntuHelp:Logitech_UltraX_Remote|italiano| [[::Logitech UltraX Remote/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_UltraX_Remote | UbuntuHelp:Logitech_UltraX_Remote | {{#if: | :}}Logitech UltraX Remote}}/ja | • {{#if: UbuntuHelp:Logitech_UltraX_Remote|日本語| [[::Logitech UltraX Remote/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_UltraX_Remote | UbuntuHelp:Logitech_UltraX_Remote | {{#if: | :}}Logitech UltraX Remote}}/ko | • {{#if: UbuntuHelp:Logitech_UltraX_Remote|한국어| [[::Logitech UltraX Remote/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_UltraX_Remote | UbuntuHelp:Logitech_UltraX_Remote | {{#if: | :}}Logitech UltraX Remote}}/ksh | • {{#if: UbuntuHelp:Logitech_UltraX_Remote|Ripoarisch| [[::Logitech UltraX Remote/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_UltraX_Remote | UbuntuHelp:Logitech_UltraX_Remote | {{#if: | :}}Logitech UltraX Remote}}/mr | • {{#if: UbuntuHelp:Logitech_UltraX_Remote|मराठी| [[::Logitech UltraX Remote/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_UltraX_Remote | UbuntuHelp:Logitech_UltraX_Remote | {{#if: | :}}Logitech UltraX Remote}}/ms | • {{#if: UbuntuHelp:Logitech_UltraX_Remote|Bahasa Melayu| [[::Logitech UltraX Remote/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_UltraX_Remote | UbuntuHelp:Logitech_UltraX_Remote | {{#if: | :}}Logitech UltraX Remote}}/nl | • {{#if: UbuntuHelp:Logitech_UltraX_Remote|Nederlands| [[::Logitech UltraX Remote/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_UltraX_Remote | UbuntuHelp:Logitech_UltraX_Remote | {{#if: | :}}Logitech UltraX Remote}}/no | • {{#if: UbuntuHelp:Logitech_UltraX_Remote|norsk| [[::Logitech UltraX Remote/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_UltraX_Remote | UbuntuHelp:Logitech_UltraX_Remote | {{#if: | :}}Logitech UltraX Remote}}/oc | • {{#if: UbuntuHelp:Logitech_UltraX_Remote|occitan| [[::Logitech UltraX Remote/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_UltraX_Remote | UbuntuHelp:Logitech_UltraX_Remote | {{#if: | :}}Logitech UltraX Remote}}/pl | • {{#if: UbuntuHelp:Logitech_UltraX_Remote|polski| [[::Logitech UltraX Remote/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_UltraX_Remote | UbuntuHelp:Logitech_UltraX_Remote | {{#if: | :}}Logitech UltraX Remote}}/pt | • {{#if: UbuntuHelp:Logitech_UltraX_Remote|português| [[::Logitech UltraX Remote/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_UltraX_Remote | UbuntuHelp:Logitech_UltraX_Remote | {{#if: | :}}Logitech UltraX Remote}}/ro | • {{#if: UbuntuHelp:Logitech_UltraX_Remote|română| [[::Logitech UltraX Remote/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_UltraX_Remote | UbuntuHelp:Logitech_UltraX_Remote | {{#if: | :}}Logitech UltraX Remote}}/ru | • {{#if: UbuntuHelp:Logitech_UltraX_Remote|русский| [[::Logitech UltraX Remote/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_UltraX_Remote | UbuntuHelp:Logitech_UltraX_Remote | {{#if: | :}}Logitech UltraX Remote}}/si | • {{#if: UbuntuHelp:Logitech_UltraX_Remote|සිංහල| [[::Logitech UltraX Remote/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_UltraX_Remote | UbuntuHelp:Logitech_UltraX_Remote | {{#if: | :}}Logitech UltraX Remote}}/sq | • {{#if: UbuntuHelp:Logitech_UltraX_Remote|shqip| [[::Logitech UltraX Remote/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_UltraX_Remote | UbuntuHelp:Logitech_UltraX_Remote | {{#if: | :}}Logitech UltraX Remote}}/sr | • {{#if: UbuntuHelp:Logitech_UltraX_Remote|српски / srpski| [[::Logitech UltraX Remote/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_UltraX_Remote | UbuntuHelp:Logitech_UltraX_Remote | {{#if: | :}}Logitech UltraX Remote}}/sv | • {{#if: UbuntuHelp:Logitech_UltraX_Remote|svenska| [[::Logitech UltraX Remote/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_UltraX_Remote | UbuntuHelp:Logitech_UltraX_Remote | {{#if: | :}}Logitech UltraX Remote}}/th | • {{#if: UbuntuHelp:Logitech_UltraX_Remote|ไทย| [[::Logitech UltraX Remote/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_UltraX_Remote | UbuntuHelp:Logitech_UltraX_Remote | {{#if: | :}}Logitech UltraX Remote}}/tr | • {{#if: UbuntuHelp:Logitech_UltraX_Remote|Türkçe| [[::Logitech UltraX Remote/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_UltraX_Remote | UbuntuHelp:Logitech_UltraX_Remote | {{#if: | :}}Logitech UltraX Remote}}/vi | • {{#if: UbuntuHelp:Logitech_UltraX_Remote|Tiếng Việt| [[::Logitech UltraX Remote/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_UltraX_Remote | UbuntuHelp:Logitech_UltraX_Remote | {{#if: | :}}Logitech UltraX Remote}}/yue | • {{#if: UbuntuHelp:Logitech_UltraX_Remote|粵語| [[::Logitech UltraX Remote/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_UltraX_Remote | UbuntuHelp:Logitech_UltraX_Remote | {{#if: | :}}Logitech UltraX Remote}}/zh | • {{#if: UbuntuHelp:Logitech_UltraX_Remote|中文| [[::Logitech UltraX Remote/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_UltraX_Remote | UbuntuHelp:Logitech_UltraX_Remote | {{#if: | :}}Logitech UltraX Remote}}/zh-hans | • {{#if: UbuntuHelp:Logitech_UltraX_Remote|中文(简体)| [[::Logitech UltraX Remote/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Logitech_UltraX_Remote | UbuntuHelp:Logitech_UltraX_Remote | {{#if: | :}}Logitech UltraX Remote}}/zh-hant | • {{#if: UbuntuHelp:Logitech_UltraX_Remote|中文(繁體)| [[::Logitech UltraX Remote/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:Logitech_UltraX_Remote|:Logitech UltraX Remote|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :Logitech UltraX Remote/zh | | {{#ifexist: Logitech UltraX Remote/zh | | {{#ifeq: {{#titleparts:Logitech UltraX Remote|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:Logitech UltraX Remote|1|-1|}} | zh | | }}
Introduction
Get Multimedia Keys running I just tested this HowTo with a Logitech UltraX Remote and the diNovo Edge keyboard - but I think this probably a solution for similar keyboards/remotes whith fancy special keys.
Logitech UltraX Remote Installation
I've just bought a new Logitech UltraX Remote control (sorry found no tech site). The first impression was ok, just plugged the USB stick and my ubuntu gutsy identified a new usb keyboard. Unfortunately only half of the keys where working out of the box. I also had an old Logitech diNove Edge keyboad here. Some of the extra keys never worked until today.
diNove Edge keys
- NOT working:
- Zoom In, Zoom out and Zoom%
- Fn-A, Fn-B, Fn-C, Fn-D (these will still not work with this solution)
- working out of the box:
- all others and touchpad and volume slider.
UltraX Remote Keys (working)
Out of the box keys are:
- First block
- Home
- Close
- Pictures
- Second block
- All numbers
- Clear, Enter
- Volume Up, Volume Down, Mute
- Third block
- Up, Down, Left, Right, Enter
- Forth Block
- Record, Stop
- Forward, Back, Fastforward, Fastbackwards, Play/Pause
- Fifth Block
- Back
- DVD Menu
- Repeat, Info/EPG
A few keys were automatically applied to the correct functions. The others can be configured with
gnome-keybindings-properties
The other ten keys did not work. But they are not lost. But it's a little bit tricky to get them working!
Troubleshooting
The following steps are not necessary. If you're not interested in these findings just go to nect section Install KeyWatcher First you can test the keys with evtest which is provided by the dvb-utils package:
aptitude install dvb-utils
You need to know the event interface which you can obtain with:
cat /proc/bus/input/devices
output will be sth like:
I: Bus=0003 Vendor=046d Product=c101 Version=0110 N: Name="Logitech USB Receiver" P: Phys=usb-0000:00:1d.1-2/input0 S: Sysfs=/class/input/input19 U: Uniq= H: Handlers=kbd event8 B: EV=120003 B: KEY=10000 7 ff800000 7ff febeffdf ffefffff ffffffff fffffffe B: LED=7 I: Bus=0003 Vendor=046d Product=c101 Version=0110 N: Name="Logitech USB Receiver" P: Phys=usb-0000:00:1d.1-2/input1 S: Sysfs=/class/input/input20 U: Uniq= H: Handlers=kbd event10 B: EV=100003 B: KEY=42c43b2 20d0400 0 0 0 4 1c000 31f8 d0011806 8e0040 0 0 0
you're looking for the the one with KEY=42c43b2 20d0400 0 0 0 4 1c000 31f8 d0011806 8e0040 0 0 0
sudo evtest /dev/input/eventX (in the case above event10)
Output will be sth like:
Input device ID: bus 0x3 vendor 0x46d product 0xc101 version 0x110 Input device name: "Logitech USB Receiver" ... Event: time 1200182022.289435, type 1 (Key), code 398 (Red), value 0
Some keys on the diNovo Edge (e.g. zoom key) didn't have a name, just a code.
Input device ID: bus 0x5 vendor 0x46d product 0xb309 version 0x11b Input device name: "Logitech Keyboard" ... Event: time 1200184687.026182, type 1 (Key), code 419 (?), value 0
The * Fn-A, Fn-B, Fn-C, Fn-D buttons do not show up in evtest. All the missing buttons are generating keycodes > 255 (the red start button in the example above creates code 398) which the normal keyboard handler can't handle. As far as i know tools like lineak or keytouch cannot manage these keycodes. I tried to map them in .Xmodmap, but that didn't work. After some research i found this post from the keytouch developer - still waiting for an appropriate kernel patch. Fortunately the (new) input event (kernel > 2.6) system can manage codes > 255! After a new google search revealed keyWatcher. To get this running with ubuntu gutsy you need to do the following:
Get ALL keys working (Keys with key codes > 256 ) - keyWatcher
- download the latest source of keyWatcher check out 2.0.1
wget http://prdownloads.sourceforge.net/criticalmass/keyWatcher-2.0.1.tar.bz2?download bunzip2 keyWatcher-2.0.1.tar.bz2 tar xf keyWatcher-2.0.1.tar cd keyWatcher-2.0.1 ./configure && make && make install # would be it.. but !!
- make sure you've installed qt-sources:
sudo aptitude install qt3-dev-tools
- due to an configure skript error you have to set the QTDIR manually
make clean # may fail.. no problem export QTDIR=/usr/share/qt3 # for ubuntu gutsy/edgy/feisty ./configure && make sudo make install
Now we've to configure the missing keys.
Configure KeyWatcher
Do this as user.
- First we create a config file in the user home.
cp watcher/keyWatcher.conf ~/.keyWatcher
- Testrun keyWatcher daemon. There is a rights issue with the /dev/input/eventX file. We just allow the user to access it. This is quick and diry. Sorry.. but its 2:34am
gksudo chmod +r /dev/input/event* keyWatcher -isDaemon 0 -verbose 1
The daemon is running now. Watch him on one console.
- Go to another console, become root again, and start to configure you keys (with a GUI).
keyConfig
- The tool is quite self explaining :-)
- You have to restart the keyWatcher programm to acces the freshly defined keys ...
- That should be it. Test if it works. You can control the daemon with:
keyWatcher -isDaemon 1 # running keyWatcher -exit # killed
You can find some valuable information in the readme file.
vi readme.txt
Start at boot
To start keyWatcher every time when you log into ubuntu: create a starter script in your home dir
touch startKeyWatcher chmod +x startKeyWatcher vim startKeyWatcher
and add:
#!/bin/bash keyWatcher -exit gksudo chmod +r /dev/input/event* # THIS IS UGLY AND NOT SMART.. PLEASE SOMEONE FIND A SMART UDEV SOLUTION keyWatcher -isDaemon 1
Now, to start the script every time you log in, go to System->Settings->Sessions and create a new start program entry: Name: keyWacther Command: select startKeyWatcher Comment: Full USB multimedia key support Tick the checkbox and it should start everytime your start your session