LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-10-2004, 09:02 PM   #31
webterractive
Member
 
Registered: Apr 2004
Location: Richmond, Canada
Distribution: Mandriva 2006/XPSP2
Posts: 265

Rep: Reputation: 30
Question 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
 
Old 01-18-2005, 07:13 PM   #32
apachedude
Member
 
Registered: Aug 2004
Location: California
Distribution: SuSE 10.0 (SUPER)
Posts: 356

Rep: Reputation: 31
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.
 
Old 01-19-2005, 10:29 AM   #33
webterractive
Member
 
Registered: Apr 2004
Location: Richmond, Canada
Distribution: Mandriva 2006/XPSP2
Posts: 265

Rep: Reputation: 30
Thumbs up 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
 
Old 01-20-2005, 12:31 AM   #34
delusionner
LQ Newbie
 
Registered: May 2004
Location: Quebec
Distribution: Debian sarge
Posts: 15

Rep: Reputation: 0
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)
 
Old 01-20-2005, 04:30 PM   #35
webterractive
Member
 
Registered: Apr 2004
Location: Richmond, Canada
Distribution: Mandriva 2006/XPSP2
Posts: 265

Rep: Reputation: 30
Question 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.
 
Old 02-10-2005, 04:33 AM   #36
jpalko
LQ Newbie
 
Registered: Feb 2005
Posts: 5

Rep: Reputation: 0
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)

Last edited by jpalko; 02-10-2005 at 04:34 AM.
 
Old 02-10-2005, 08:58 AM   #37
webterractive
Member
 
Registered: Apr 2004
Location: Richmond, Canada
Distribution: Mandriva 2006/XPSP2
Posts: 265

Rep: Reputation: 30
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.
 
Old 02-10-2005, 06:42 PM   #38
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Original Poster
Rep: Reputation: 47
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.

Last edited by /bin/bash; 02-10-2005 at 06:46 PM.
 
Old 02-10-2005, 11:59 PM   #39
jpalko
LQ Newbie
 
Registered: Feb 2005
Posts: 5

Rep: Reputation: 0
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.
 
Old 04-08-2005, 08:17 PM   #40
NgBng
LQ Newbie
 
Registered: Apr 2005
Posts: 1

Rep: Reputation: 0
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
 
Old 11-07-2005, 12:35 AM   #41
Dr3n
Member
 
Registered: Feb 2005
Posts: 60

Rep: Reputation: 16
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.
 
Old 03-20-2006, 08:56 PM   #42
sweetbrett
LQ Newbie
 
Registered: Mar 2006
Location: baltimore, md
Distribution: Slackware, DSL, Gentoo
Posts: 15

Rep: Reputation: 0
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?
 
Old 04-18-2006, 09:26 AM   #43
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 15.0 (multilib)
Posts: 1,350

Rep: Reputation: 75
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?

Last edited by arubin; 04-18-2006 at 09:28 AM.
 
Old 08-01-2006, 10:37 PM   #44
sweetbrett
LQ Newbie
 
Registered: Mar 2006
Location: baltimore, md
Distribution: Slackware, DSL, Gentoo
Posts: 15

Rep: Reputation: 0
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.
 
Old 08-05-2006, 08:29 PM   #45
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Original Poster
Rep: Reputation: 47
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.

Last edited by /bin/bash; 08-06-2006 at 07:20 PM.
 
  


Reply

Tags
access, compaq, config, elite, keyboard, keymapping, logitech, multimedia, xev, xmodmap, xorg



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
logitech elite duo keyboard prints a 'q' when hitting backspace telesto Linux - Hardware 20 08-18-2004 11:50 PM
logitech elite keyboard and keybindings wgodois Linux - Hardware 0 05-22-2004 03:32 PM
Logitech Elite Keyboard - Special buttons under linux nybble Linux - Hardware 2 01-06-2004 10:10 PM
Logitech Elite Duo help d0nny Linux - Hardware 1 10-06-2003 06:33 PM
Logitech Elite Keyboard, F# keys don't work? jstn Linux - Hardware 4 05-21-2003 01:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration