LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Logitech Elite Keyboard HOWTO (https://www.linuxquestions.org/questions/linux-hardware-18/logitech-elite-keyboard-howto-125333/)

webterractive 11-10-2004 09:02 PM

Hi /bin/bash
 
Hi I followed your instructions for adding the logitech elite keyboard to the layout and as well as the inet addition, I even went as far as changing the x86config-4 layout but nothing seems to work for me on both USB, and PS/2. When I press the iTouch key i only the "unclutter windows dialog" and the menu when I press the Webcam key. Do you have any idea why this wouldn't work for me?

Mandrake Linux 10 Official
Logitech Elite

apachedude 01-18-2005 07:13 PM

I had two problems--first, the f-lock and mute buttons were switched when I opened my Logitech Cordless Elite Duo. After emailing Tech support, they suggested that I pull out the batteries and discharge the capacitors. This solved that problem. But another previously existing problem persisted--that is, four buttons, Messenger/SMS, iTouch, Shopping, and My Home still did not work. They didn't even return a keycode in xev.

Tech support offered to have me return my keyboard for replacement. But I need my keyboard to do work, so it'd be an inconvenience to return it. Especially if this problem will occur anyways, which I do suspect because my keyboard was 100% functional in Windows.

Can anyone with this keyboard confirm that there are no codes for Messenger/SMS, Webcam, iTouch, Shopping? Just to confirm that we have the same keyboard, my model is Y-RJ20.

webterractive 01-19-2005 10:29 AM

I have solved the functions
 
I solved the functions using gnome and assigning the keys. I tried the kde version of doing things but nothing changed.

Mandrake10.1
Xorg6.8.2
Kernel2.6.8-1Custom
DELL

delusionner 01-20-2005 12:31 AM

apachedude: this was mentioned in the previous posts I think. those buttons are generally the ones not functionning by default in Linux. what you need to do first is to tell the kernel that these buttons correspond to a keycode. then xev will tell you what keycode is catched when pressing the button. you can then configure X to match these keycodes to some command names that can be used by any window manager to do whatever you want.

for myself, I tried plugging my keyboard in USB after getting it to fully work in PS/2 and some buttons like SMS, webcam and My Home changed to button presses instead of key presses in xev. any clues? (plugging the keyboard in USB was supposed to fix the problem of having too many keycodes at the same time)

webterractive 01-20-2005 04:30 PM

I thought so too
 
I had the keyboard under KDE plugged in as usb but the whole addition of adding the keyboard to the xkb didn't work for me either even after changing the layouts and creating my own. I just plugged it back in as ps/2 and use gnome, I was able to assign some keys to it, not all work though. This might help you out:

http://www.linuxquestions.org/questi...hreadid=125333

This is what I followed but I didn't get any results, nothing changed for me. I haven't really persude it so I could have made a mistake.

jpalko 02-10-2005 04:33 AM

Logitech Media keyboard with 2.6.10-gentoo-r4
 
Okay, instructions look simple enough to follow, but I have a small problem in following the instructions previously posted as this is what is in kernel logs of my system when I press the non functioning keys:

Code:

Messenger key:
Feb 10 12:17:25 [kernel] atkbd.c: Unknown key pressed (translated set 2, code 0x91 on isa0060/serio0).
Feb 10 12:17:25 [kernel] atkbd.c: Unknown key released (translated set 2, code 0x91 on isa0060/serio0).
F1-F12 without F-Lock:
Feb 10 12:22:12 [kernel] atkbd.c: Unknown key pressed (translated set 2, code 0xbb on isa0060/serio0).
Feb 10 12:22:12 [kernel] atkbd.c: Unknown key released (translated set 2, code 0xbb on isa0060/serio0).
Feb 10 12:22:13 [kernel] atkbd.c: Unknown key pressed (translated set 2, code 0xbc on isa0060/serio0).
Feb 10 12:22:13 [kernel] atkbd.c: Unknown key released (translated set 2, code 0xbc on isa0060/serio0).
Feb 10 12:22:14 [kernel] atkbd.c: Unknown key pressed (translated set 2, code 0xbd on isa0060/serio0).
Feb 10 12:22:14 [kernel] atkbd.c: Unknown key released (translated set 2, code 0xbd on isa0060/serio0).
Feb 10 12:22:15 [kernel] atkbd.c: Unknown key pressed (translated set 2, code 0xbe on isa0060/serio0).
Feb 10 12:22:15 [kernel] atkbd.c: Unknown key released (translated set 2, code 0xbe on isa0060/serio0).
Feb 10 12:22:16 [kernel] atkbd.c: Unknown key pressed (translated set 2, code 0xbf on isa0060/serio0).
Feb 10 12:22:16 [kernel] atkbd.c: Unknown key released (translated set 2, code 0xbf on isa0060/serio0).
Feb 10 12:22:16 [kernel] atkbd.c: Unknown key pressed (translated set 2, code 0xc0 on isa0060/serio0).
Feb 10 12:22:16 [kernel] atkbd.c: Unknown key released (translated set 2, code 0xc0 on isa0060/serio0).
Feb 10 12:22:17 [kernel] atkbd.c: Unknown key pressed (translated set 2, code 0xc1 on isa0060/serio0).
Feb 10 12:22:17 [kernel] atkbd.c: Unknown key released (translated set 2, code 0xc1 on isa0060/serio0).
Feb 10 12:22:17 [kernel] atkbd.c: Unknown key pressed (translated set 2, code 0xc2 on isa0060/serio0).
Feb 10 12:22:17 [kernel] atkbd.c: Unknown key released (translated set 2, code 0xc2 on isa0060/serio0).
Feb 10 12:22:18 [kernel] atkbd.c: Unknown key pressed (translated set 2, code 0xc3 on isa0060/serio0).
Feb 10 12:22:18 [kernel] atkbd.c: Unknown key released (translated set 2, code 0xc3 on isa0060/serio0).
Feb 10 12:22:18 [kernel] atkbd.c: Unknown key pressed (translated set 2, code 0xc4 on isa0060/serio0).
Feb 10 12:22:18 [kernel] atkbd.c: Unknown key released (translated set 2, code 0xc4 on isa0060/serio0).
Feb 10 12:22:19 [kernel] atkbd.c: Unknown key pressed (translated set 2, code 0xd7 on isa0060/serio0).
Feb 10 12:22:19 [kernel] atkbd.c: Unknown key released (translated set 2, code 0xd7 on isa0060/serio0).
Feb 10 12:22:19 [kernel] atkbd.c: Unknown key pressed (translated set 2, code 0xd8 on isa0060/serio0).
Feb 10 12:22:19 [kernel] atkbd.c: Unknown key released (translated set 2, code 0xd8 on isa0060/serio0).

Otherwise my keyboard works currently rather nicely.

My customizations to /etc/X11/xkb/symbols/inet:
Code:

partial alphanumeric_keys
xkb_symbols "logimedia" {
    name[Group1]= "Logitech Media Keyboard";

    // Media keys (Center top)
    key <I20>  {      [ XF86AudioMute        ]      };
    key <I6D>  {      [ XF86AudioMedia        ]      };
    key <I2E>  {      [ XF86AudioLowerVolume  ]      };
    key <I30>  {      [ XF86AudioRaiseVolume  ]      };
    key <I22>  {      [ XF86AudioPlay, XF86AudioPause ] };
    key <I24>  {      [ XF86AudioStop        ]      };
    key <I10>  {      [ XF86AudioPrev        ]      };
    key <I19>  {      [ XF86AudioNext        ]      };

    // Left side
    key <I65>  {      [ XF86Search            ]      };
    key <I69>  {      [ XF86Forward          ]      };
    key <I6A>  {      [ XF86Back              ]      };

    // Top left side
    key <I66>  {      [ XF86Favorites        ]      };
    key <I32>  {      [ XF86HomePage          ]      };

    // Right side
    key <I6C>  {      [ XF86Mail              ]      };
    key <I12>  {      [ XF86Messenger        ]      };
    key <I13>  {      [ XF86VendorHome        ]      };
    key <I5F>  {      [ XF86Standby          ]      };

    // Extended function keys
    key <I3B>  {      [ XF86New              ]      };      // F1
    key <I3C>  {      [ XF86Reply            ]      };      // F2
    key <FK13>  {      [ XF86MailForward      ]      };      // F3
    key <FK14>  {      [ XF86Send              ]      };      // F4
    key <FK15>  {      [ Undo                  ]      };      // F5
    key <FK16>  {      [ Redo                  ]      };      // F6
    key <FK17>  {      [ Print                ]      };      // F7
    key <I42>  {      [ XF86Save              ]      };      // F8
    key <I43>  {      [ XF86MyComputer        ]      };      // F9
    key <I44>  {      [ XF86Documents        ]      };      // F10
    key <I57>  {      [ XF86Pictures          ]      };      // F11
    key <I58>  {      [ XF86Music            ]      };      // F12
};

The extended function keys are just waiting there for proper settings, but I included them in one format there for completeness. I based my configuration on the logiinkse settings.

/etc/X11/xkb/rules/xorg
Code:

! $inetkbds = airkey acpi scorpius azonaRF2300 \
              brother \
              btc5113rf btc5126t btc9000 btc9000a btc9001ah btc5090\
              cherryblue cherrybluea cherryblueb \
              chicony chicony9885 \
              compaqeak8 compaqik7 compaqik13 compaqik18 armada presario ipaq \
              dell inspiron dtk2000 \
              dexxa diamond genius geniuscomfy2 \
              ennyah_dkb1008 \
              hpi6 hp2501 hp2505 hp5181 hpxe3gc hpxe3gf hpxe4xxx hpzt11xx \
              hp500fa hp5xx hp5185 \
              honeywell_euroboard \
              rapidaccess rapidaccess2 rapidaccess2a \
              ltcd logiaccess logicdp logicdpa logicink logiciink \
              logiinkse logiinkseusb logiik logimedia itouch \
              mx1998 mx2500 mx2750 \
              microsoftinet microsoftpro microsoftprooem microsoftprose \
              microsoftoffice microsoftmult \
              oretec \
              propeller \
              qtronix \
              samsung4500 samsung4510 \
              sk1300 sk2500 sk6200 sk7100 \
              sven symplon toshiba_s3000 trust trustda yahoo

/etc/X11/xkb/rules/xorg.lst
Code:

  ltcd          Logitech Cordless Desktop
  logicdp      Logitech Cordless Desktop Pro
  logicdpa      Logitech Cordless Desktop Pro (alternate option)
  logiaccess    Logitech Access Keyboard
  logicink      Logitech Internet Navigator Keyboard
  logiciink    Logitech iTouch Internet Navigator Keyboard
  logiinkse    Logitech iTouch Internet Navigator Keyboard SE
  logiinkseusb  Logitech iTouch Internet Navigator Keyboard SE (USB)
  logiik        Logitech Internet Keyboard
  logimedia    Logitech Media Keyboard
  itouch        Logitech iTouch

/etc/X11/xkb/rules/xorg.xml
Code:

    <model>
      <configItem>
        <name>logimedia</name>
        <description>Logitech Media Keyboard</description>
      </configItem>
    </model>

/etc/X11/xkb/symbols.dir
Code:

--p----- a------- inet.orig(logimedia)

webterractive 02-10-2005 08:58 AM

Well If You...
 
Well if you read the tutorial you will see that he/she or they seem to be using XFree86, now you and I are using Xorg, and I tried this on Xorg, and didn't have any luck at all, so it could be because of that, I will give it a try again and post what I did, that last time I did try it some keys worked, the volume kept crashing but it got working, so give me a day and I will post up what I have done if it works.

Web.

/bin/bash 02-10-2005 06:42 PM

Just a note about Xorg. Everything should be just about the same, if not a little easier. Xorg release 6.8.1 has a keyboard defined which is identical in layout to the Logitech Elite, its called Logitech iTouch Internet Navigator Keyboard SE The only difference I see is there are a couple keys with different names. If you are using KDE just select the keyboard from the Control Panel and everything should work.

It works fine using the 2.4.X kernel and of course some keys don't work with the 2.6.X kernel.


The xkb_symbols "logiinkse" is what you would use in your xorg.conf file. Remember when you switch to xorg the keyboard driver is xkb not keyboard, so you should have that in the xorg.conf file, something like this:
Code:

Section "InputDevice"
    Identifier  "Keyboard1"
    Driver      "kbd"
    Option  "AutoRepeat" "500 30"
    Option  "XkbRules"  "xorg"
    Option  "XkbModel"  "logiinkse"
    Option  "XkbLayout"  "us"
    Option  "XkbVariant" "us"
EndSection

<edit> For those of you with USB problems Xorg also has this keyboard, Logitech iTouch Internet Navigator Keyboard SE (USB) that may solve some of your problems.

jpalko 02-10-2005 11:59 PM

Pity there isn't directly a config yet for the Logitech Media Keyboard, but then again I was personally at least going to share my experiences in getting this working with xorg project. Perhaps they would add it to future versions. :)

NgBng 04-08-2005 08:17 PM

Hoary HOWTO
 
I've just uploaded a quick mini-HOWTO for making these things work in Hoary. It's actually aimed at the Duo MX and Cordless Desktop MX bundles (an Elite Keyboard and an MX700 sharing a receiver), but each section is applicable to the standalone models.
Let me know if it's any use.

HOWTO link

Dr3n 11-07-2005 12:35 AM

Just to add to this thread, here's the way I get my Logitech Elite working by following this guide.

Unfortunately, I too do not have the Messenger/SMS, Webcam, iTouch, and Shopping keys working. I tried messing with a few things in this thread but didn't get it to work.

In my experimenting I did notice that xev gave a different keycode for the above keys with every new session.

sweetbrett 03-20-2006 08:56 PM

how do you pick what keys to assign using setkeycodes? I want to assign numbers to the un-F-locked keys (new, reply, forward,...,My Music). I looked at /var/log/syslog to get the codes i need but not what to assign.

so syslog says this:
Code:

atkbd.c: Unknown key pressed (translated set 2, code 0xbb on isa0060/serio0).
atkbd.c: Use 'setkeycodes e03b <keycode>' to make it known.

so i sort of randomly started counting up from 128:
Code:

#New
setkeycodes e03b 128
#Reply
setkeycodes e03c 129
#forward
setkeycodes e03d 130
#send
setkeycodes e03e 131
#undo
setkeycodes e03f 132
#redo
setkeycodes e040 133
#print
setkeycodes e041 134
#save
setkeycodes e042 135
#my computer
setkeycodes e043 136
#my documents
setkeycodes e044 137
#my pictures
setkeycodes e057 138
#my music
setkeycodes e058 139

i'm pretty sure this isn't going to work because i have no idea what the real keycodes should be. Any ideas?

arubin 04-18-2006 09:26 AM

I am having some trouble with sorting out my logitech cordless keyboard.

The system recognises the keyboard and the keypresses. I have been trying to assign actions to the keys using khotkeys.

For example I can get mute to work by getting the key to make a DCOP call to kmix.Mixer0.mute(1).

The problem is that I can get this to bind to a key combination like Win-Mute. However I cannot get this to bind to the mute button alone. If I press mute I get a box coming up saying mute on or mute off but it doesn't actually have an effect.

Similary I can assign volume changes to win-volume+ but volume+ by itself brings up a volume display and actually changes the volume in the headphones (The call being kmix.Mixer0.increaseVolume(1) when I want kmix.Mixer0.increaseVolume(0).

Clearly something somewhere is overriding the actions taht I am trying to assign to my keys. But what?

sweetbrett 08-01-2006 10:37 PM

anyone have an update for modular xorg 7.0? maybe it's just me, but all the files are either missing or moved, and I can't find them.

/bin/bash 08-05-2006 08:29 PM

sweetbrett

It depends on how the X11R7 packages were built. The config files are not necessarily in /etc/X11 any more but would be in $PREFIX/etc/X11, by default this would be /usr/local/etc/X11. Also it is possible to specify --sysconfdir when building the modular xorg and place the config directory anywhere you want. I would suggest you look for the xserver Xorg and the config directory will probably be located relative to that directory ../etc/X11. So if the Xorg file is in /usr/local/bin then the config files will be at /usr/local/etc/X11.

<edit> Sorry the above isn't correct. The new modular xorg has the config files in:
$PREFIX/lib/X11
and
$PREFIX/share/X11

The xkb files are in the latter.


All times are GMT -5. The time now is 10:40 AM.