LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 04-02-2004, 11:20 AM   #16
Phage
LQ Newbie
 
Registered: Feb 2004
Distribution: Gentoo for AMD64 and x86
Posts: 6

Rep: Reputation: 0

The F-keys should work out of the box. Just hit the F-Lock key. Other than that read the previous posts to get the other keys working.
 
Old 04-02-2004, 05:22 PM   #17
brenton
Member
 
Registered: Mar 2004
Location: Sydney, Australia
Distribution: Slackware
Posts: 112

Rep: Reputation: 15
Sorry i don't think i said that correcctly, by F-keys I'm mean the special keys (New, Reply, etc.) with F-Lock off. Do they work? I don't get anything in xev or with #tail /var/log/messages (though i may not be doing it properly).

And the 4 multimedia keys, I've tried a few things from the thread. Strange thing is, xev shows them as mouse buttons. Messenger is button 1, Itouch is button 2, and Webcam is button 3, and Shopping is 6 (i think). Does this happen for anyone else?
 
Old 04-10-2004, 07:11 PM   #18
half_badger
LQ Newbie
 
Registered: Apr 2004
Location: UK
Distribution: debian
Posts: 4

Rep: Reputation: 0
I have a Logitech Cordless Desktop Navigator keyboard/mouse combo. When plugged into the usb port, the Messenger, Webcam, iTouch and Shopping buttons all seem to think they're mouse buttons. This happens under 2.4 and 2.6. Everything works fine using the ps/2 port under 2.4, and the apparently usual problems occur using ps/2 under 2.6

Anybody else had this problem?
 
Old 04-10-2004, 07:18 PM   #19
brenton
Member
 
Registered: Mar 2004
Location: Sydney, Australia
Distribution: Slackware
Posts: 112

Rep: Reputation: 15
Look at the post before yours

Well at least we're not alone. I'm getting along fine without the buttons.
 
Old 04-10-2004, 07:24 PM   #20
half_badger
LQ Newbie
 
Registered: Apr 2004
Location: UK
Distribution: debian
Posts: 4

Rep: Reputation: 0
he he - d'oh! sorry bout that. Will try and be a little more attentative when reading before replying next time.
 
Old 05-02-2004, 04:32 PM   #21
zman
LQ Newbie
 
Registered: May 2004
Distribution: Mandrake Linux 9.0 PowerPack
Posts: 2

Rep: Reputation: 0
NON-WORKING Keys

The Keys That do not work are:
New
Reply
Forward
Send
Save
My Documents
My Pictures
My Music

I followed your walkthrough to the LETTER and it doesn't work for those keys
 
Old 05-05-2004, 12:28 AM   #22
ZiGiE
Member
 
Registered: Oct 2003
Location: ex USSR, Canada
Posts: 58

Rep: Reputation: 15
Unhappy Same problem

I've got Logitech Elite keyboard, running Slackware 9.1 on kernel 2.6.5 with Dropline Gnome 2.6.0. I got my keyboard working, thanks to this thread, but have the same problems that other people with 2.6.x kernel have (i.e. keys: iTouch, Shopping, Messenger/SMS, Webcam and F-Keys do not work)

Has anybody find solution to this problem since the last post?
 
Old 05-06-2004, 01:38 PM   #23
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Original Poster
Rep: Reputation: 47
ZiGiE
I contacted the author of the atkbd module. That was back in early April and I have received no reply as of this date. It seems to me the problem would be with the kernel module since everything works with the 2.4. I check every new kernel to see if the atkbd module has any changes but as of 2.6.5 it still doesn't work.
 
Old 05-14-2004, 08:03 AM   #24
delusionner
LQ Newbie
 
Registered: May 2004
Location: Quebec
Distribution: Debian sarge
Posts: 15

Rep: Reputation: 0
hi. same problem here.

I checked dmesg some times when I was compiling/starting to run kernel 2.6.5 and I found out that at boot time, not only a keyboard was found on the usb port but also a logitech mouse was found. (same usb channel number)
maybe the confusion comes from that?

also my media key isn't mapped correctly after /bin/bash 's walkthrough. didn't think it could be that easy setting up the keyboard extrabuttons, thanks for the tips.

Last edited by delusionner; 05-14-2004 at 08:04 AM.
 
Old 07-03-2004, 01:59 PM   #25
devfreak
Member
 
Registered: Mar 2004
Location: Maine
Distribution: gentoo 2004.1, ubuntu 4.10, FC3
Posts: 97

Rep: Reputation: 15
My personal fix

I always come back to this post when I'm setting up my logitech elite ps2 keyboard on any linux distro, and it always gets me close but not all the way. I have a super fast fix that I'm putting here because my keycodes argue with all of the others on the internet, so this is for all those of y'all who want a super fast fix and have my keycodes.

There's no need to create new keyboards or anything like that, as far as I can see. All I do is create a file in my home directory called .xmodmaprc, (and some people have default xmodmap files that are executed, you might be able to use those.) Then I have xmodmap execute the file on startup, and there are different ways to do this - in KDE I put a shortcut in my ~/.kde/Autostart folder that runs the command "xmodmap ~/.xmodmaprc" - obviously without the quotes. In gnome I used to do this differently, there was a menu item called something like session options or something ["start menu", preferences, more preferences, sessions], anyway it allowed you to put in startup commands. I put the same thing in there, along with other programs, like xscreensaver -nosplash and imwheel, etc.

After you create the xmodmaprc file and have executed it, you are ready to start using the keys. It's that easy. I don't get the whole creating a new keyboard model or anything. In kde 3.2+ you can easily map them with khotkeys (have fun in kde 3.1- (come out from under your rock)) and in gnome you should use the metacity config editor. The command for that is, I think, gnome-config-editor ["start menu", system tools, more system tools, configuration editor] or something like that, it should come up if you start typing it correctly in the run dialog, and the icon is the red vw bug with the trunk up. Here's the xmodmaprc file for MY Logitech Eliete ps2 keyboard.

This is if you don't want kmix to do your audio for you, and you'd rather use aumix or other, you have to map your keycodes to something other than the easy-to-read codes XF86AudioMute, etc. I use eject, poweroff, and wakeup because the elite doesn't have these keys. There are a slew of mapable names, you can call these any of them - just don't try making your own.
keycode 144 = XF86AudioPrev
keycode 145 = XF86Messenger
keycode 146 = XF86WebCam
keycode 147 = XF86iTouch
keycode 148 = XF86Shop
keycode 153 = XF86AudioNext
keycode 160 = XF86Eject
keycode 162 = XF86AudioPlay
keycode 164 = XF86AudioStop
keycode 174 = XF86PowerOff
keycode 176 = XF86WakeUp
keycode 178 = XF86HomePage
keycode 223 = XF86Standby
keycode 229 = XF86Search
keycode 230 = XF86Favorites
keycode 236 = XF86Mail
keycode 237 = XF86AudioMedia
keycode 233 = XF86Go
keycode 234 = XF86Back

This is if you DO want kmix to do your audio for you (kde only, i think)
keycode 144 = XF86AudioPrev
keycode 145 = XF86Messenger
keycode 146 = XF86WebCam
keycode 147 = XF86iTouch
keycode 148 = XF86Shop
keycode 153 = XF86AudioNext
keycode 160 = XF86AudioMute
keycode 162 = XF86AudioPlay
keycode 164 = XF86AudioStop
keycode 174 = XF86AudioLowerVolume
keycode 176 = XF86AudioRaiseVolume
keycode 178 = XF86HomePage
keycode 223 = XF86Standby
keycode 229 = XF86Search
keycode 230 = XF86Favorites
keycode 236 = XF86Mail
keycode 237 = XF86AudioMedia
keycode 233 = XF86Go
keycode 234 = XF86Back

And the cream of the cream, my setup and my commands (this one is just for my own convenience)

keycode 145 = XF86Messenger //gaim
keycode 236 = XF86Mail //thunderbird
keycode 146 = XF86WebCam //sudo /usr/sbin/synaptic (debian apt-get gui)
keycode 147 = XF86iTouch //firefox http://aaronsmiley.deviantart.com
keycode 148 = XF86Shop //firefox http://www.newegg.com
keycode 229 = XF86Search //firefox http://www.google.com
keycode 230 = XF86Favorites //firefox http://www.aaronsmiley.com
keycode 160 = XF86Eject //aumix -v -25 (aka mute - rather than mute I go down by increments of 25 for faster volume lowering)
keycode 237 = XF86AudioMedia //aumix -v -25 (aka media - rather than unmute I go up by increments of 25 for faster volume raising)
keycode 174 = XF86PowerOff //aumix -v -2 (aka volume down - aumix lowers system volume by increments of 2)
keycode 176 = XF86WakeUp //aumix -v +2 (aka volume up - aumix raises system volume by increments of 2)
keycode 162 = XF86AudioPlay //xmms -t (this is the same as play/pause, if you want play, just use -p or pause -u)
keycode 144 = XF86AudioPrev //xmms -r
keycode 153 = XF86AudioNext //xmms -f
keycode 164 = XF86AudioStop //xmms -s
keycode 178 = XF86HomePage //~
keycode 223 = XF86Standby //xscreensaver-command -lock
keycode 233 = XF86Go //konsole
keycode 234 = XF86Back //sudo konsole

I hope this was of some help. Took me a couple hours to put together, but I know it'll save me a hundred hours down the road, and hopefully help a few others, too.

Edit: I went back to gnome and looked where things were. I have added them in square brackets.

Last edited by devfreak; 07-04-2004 at 09:03 PM.
 
Old 08-22-2004, 05:45 AM   #26
dePOLL
LQ Newbie
 
Registered: Mar 2004
Location: Cologne, Germany
Distribution: Mandrake 10.0 (Community)
Posts: 10

Rep: Reputation: 0
Hi there.

Thanks to this thread I was able to make some of the keys of my Cordless Elite Keyboard work, but all mentioned special keys (Shoppinh, iTouch, ...) still don't work. Has anybody found a solution? I'm using Kernel 2.6.3-15mdk.
 
Old 09-15-2004, 05:58 PM   #27
lobocobra
LQ Newbie
 
Registered: Aug 2004
Posts: 2

Rep: Reputation: 0
Activate the last 5 Keys of Elite Keyboard

For your convience all the steps described all above.... (thx to thouse guys above...)
... inclusive the last 5 Keys... Messenger / WebCam / Sleep / Shopping / iTouch...

1.Step make all Keys Known to kernel
- open a vim: tail -f /var/log/messages
now push all keys you belive not known to kernel it will show:
kernel: atkbd.c: Use 'setkeycodes e011 <keycode>' to make it known.
kernel: atkbd.c: Use 'setkeycodes e012 <keycode>' to make it known.
kernel: atkbd.c: Use 'setkeycodes e014 <keycode>' to make it known.
.
.
.
write thouse codes down yuo will need them...
- vi /etc/rc.local (or any place that is startet on boot)
#logitech elite keyboard solve 4 dead key problem
#For the messenger key
setkeycodes e011 112
# For the webcam key
setkeycodes e012 116
# For the shopping key
setkeycodes e014 118
# For the itouch key
setkeycodes e013 120
# For pushLeftWheel
setkeycodes e016 127

2.Step make Keyboard known as described on many places like here (thx to thouse guys)
vi inet
vi xfree86.lst
vi xfree86
(just read thread what to do)

3. Step
vi /usr/X11R6/lib/X11/XKeysymDB
look here what names are around you may add a name f.ex.
XF86Shopping and you use any free number here (does not matter as long it is not double)
4. Step
xmodmap -pke > .Xmodmap
edit .Xmodmap with names out of step 3
xmodmap .Xmodmap <-- to make it work

4a.Step following commands have to be activated after your KDE started!!
I put them in autostart
# activate xmodmap settings
xmodmap ~/.Xmodmap
# make pushLeftWheel be equal to Rerturn <--- just in case you like that
xmodmap -e "keysym Menu = Return"

5.Step
xev <--- see here how all your keys get a meaning...
KeyRelease event, serial 29, synthetic NO, window 0x2a00001,
root 0xb3, subw 0x0, time 3704650, (83,119), root1367,932),
state 0x10, keycode 123 (keysym 0x1008ff93, XF86Shopping), same_screen YES,
XLookupString gives 0 bytes:
6.Step
assign now actions to your keys f.ex with
kcontrol (KHotKeys)
7.Step
enjoy it having such a incredible confortable thing like a working keyboard
Poor, damned Windows users that never will get that good feeling having a
working keyboard... tztztz

Greetings LoboCobra RHCE
 
Old 09-17-2004, 07:44 PM   #28
delusionner
LQ Newbie
 
Registered: May 2004
Location: Quebec
Distribution: Debian sarge
Posts: 15

Rep: Reputation: 0
Smile

I tried once more and I finally got all the keys working
except one. the User key, although xev tells me its keycode is 223 and /usr/X11R6/lib/X11/keycodes/xfree86 tells me keycode 223 in the 'basic' setup should be named <I5F>, I wrote it down in /etc/X11/xkb/symbols/inet to make it work like I did with the other keys but it doesn't work: xev doesn't tell me it received the X special signal given in .../inet file.
 
Old 09-18-2004, 03:43 AM   #29
dePOLL
LQ Newbie
 
Registered: Mar 2004
Location: Cologne, Germany
Distribution: Mandrake 10.0 (Community)
Posts: 10

Rep: Reputation: 0
I managed to get some extra keys working but then put the Logitech Bluetooth in hci-mode in order to let it work as an actual hub which connects to other devices as well and now *no* extra key does work anymore. In this post I describe what exactly I did, my Kernel is 2.6.8.1-7. xev doesn't respond to the extra keys as well as there aren't any messages in the syslog.

Any ideas? :/
 
Old 10-01-2004, 06:57 PM   #30
ShyGuy91284
LQ Newbie
 
Registered: Mar 2004
Distribution: Gentoo Linux
Posts: 10

Rep: Reputation: 0
Is there any way to get keyboard scan codes then from dmesg? I've tried showkeys w/ the different ways and it doesn't work. The reason is I would like to remap the scroll wheel if possible and use it to switch desktops, and not to go up and down. Or being able to unbind keys would be good. My webcam key and mute key are bound to the same keycode.

Last edited by ShyGuy91284; 10-01-2004 at 10:06 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 12:53 AM.

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