You are not logged in.

#1 2008-07-14 08:24:43

raku
Member
Registered: 2006-08-23
Posts: 48

[SOLVED] Logitech Multimedia Keyboard 600 USB and multimedia keys

Has anyone tried to get multimedia keys on Logitech Multimedia Keyboard 600 working?
I supposed, that PS/2 connection woudn't be a problem, but I've got USB.
I've tried keytouch - with keytouch-editor 3.2.0-beta I managed to to create configuration file for my keyboard (with USB support), but after starting keytouch my multimedia keys still don't work.

Last edited by raku (2008-07-18 06:17:10)


raku

Offline

#2 2008-07-14 10:03:18

ptcek
Member
From: Prague
Registered: 2008-07-11
Posts: 7

Re: [SOLVED] Logitech Multimedia Keyboard 600 USB and multimedia keys

Hi,

I don't know much about this problematics but yeasterday tried to force MMkeys on my own keyboard working, succesfully. Try running

xev

when in X and tell us if xev reacts to your problematic keys. Are there assigned keycodes to them?

Offline

#3 2008-07-14 21:07:37

raku
Member
Registered: 2006-08-23
Posts: 48

Re: [SOLVED] Logitech Multimedia Keyboard 600 USB and multimedia keys

If xev shows anything, I wouldn't write on this forum :-/.

Xev shows nothing, dmesg shows nothing. The only thing I get is output from `showkey -s` and `showkey -k` commands. And of course - keytouch-editor-3.2.0-beta has found and configured all multimedia keys. But they don't work after starting of keytouch.


raku

Offline

#4 2008-07-14 21:47:21

mpie
Member
From: 404 Not found
Registered: 2005-03-06
Posts: 649

Re: [SOLVED] Logitech Multimedia Keyboard 600 USB and multimedia keys

usb to ps2 convers cost pennies..... and sve headaches with media keys.
Have you tried lineak? some times that will succeed where keytouch fail and vice versa

Offline

#5 2008-07-18 06:16:44

raku
Member
Registered: 2006-08-23
Posts: 48

Re: [SOLVED] Logitech Multimedia Keyboard 600 USB and multimedia keys

I solved my problem :-)

Keyboard creates two event devices:

lrwxrwxrwx 1 root root 9 lip 17 12:57 pci-0000:00:1a.1-usb-0:1:1.0-event-kbd -> ../event1
lrwxrwxrwx 1 root root 9 lip 17 12:57 pci-0000:00:1a.1-usb-0:1:1.1-event- -> ../event2

I had only first of it configured in xorg.conf (normal keys). I configured second device as below  (Identifier  "Multimedia keys"):

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"

    Identifier  "Logitech Media Keyboard 600"
    Driver      "evdev"

    Option      "Device"        "/dev/input/by-id/usb-Logitech_Logitech_USB_Keyboard-event-kbd"  # it is my event1
    Option      "XkbModel"      "evdev"
    Option      "XkbLayout"     "pl"

    Option      "evBits"        "+1"
    Option      "keyBits"       "~1-255 ~352-511"
    Option      "Pass"          "3"
EndSection

Section "InputDevice"
    Identifier  "Multimedia keys"
    Driver      "evdev"

    Option      "Device"        "/dev/input/by-path/pci-0000:00:1a.1-usb-0:1:1.1-event-"  # it is my event2
    Option      "XkbModel"      "evdev"
    Option      "Protocol"      "evdev"
EndSection

In Serverlayout I added entry for  InputDevice  "Multimedia keys":

Section "ServerLayout"

    Identifier  "Dual Head"
    InputDevice "Logitech MX620" "CorePointer"
    InputDevice "Logitech Media keyboard 600" "CoreKeyboard"
    InputDevice "Multimedia keys" "SendCoreEvents"
    Screen      "Desktop"

EndSection

And almost all multimedia keys started to work.
I had small problems with couple of keys which created keycodes greater than 255. I used keyfuzz to remap these keycodes to something smaller than 255.

After that i scaned all keycodes with xev, and mapped them to keysymlinks with xmodmap.

Now all media keys are working and I can configure KDE to use it.


raku

Offline

#6 2008-09-13 14:12:37

okar
Member
Registered: 2008-03-01
Posts: 12

Re: [SOLVED] Logitech Multimedia Keyboard 600 USB and multimedia keys

are your office-keys working?
mine don't show anything in xev. same does the key with the loupe on it.

Offline

#7 2008-09-14 11:18:59

raku
Member
Registered: 2006-08-23
Posts: 48

Re: [SOLVED] Logitech Multimedia Keyboard 600 USB and multimedia keys

okar wrote:

are your office-keys working?
mine don't show anything in xev. same does the key with the loupe on it.

I used keyfuzz to remap keycodes of these keys.
You can find keyfuzz on AUR (I forgot to upload my PKGBUILD but I can see someone has done it already).

My config file:

cat /etc/keyfuzz/logitech_media_keyboard_600.keyfuzz
### keyfuzz file for the Logitech Multimedia keyboard 600  special keys

# All keycodes are shifted left by 8.

# Search (244)
0x9002d 236

# VoIP (245)
0x90001 237

# Word Proccesing (246)
0xc0184 238

# Spreadsheet (247)
0xc0186 239

#Presentation (248)
0xc0188 240

# a (249)
0x90049 241

# b (250)
0x9004a 242

# c (251)
0x9004b 243

# d (252)
0x9004c 244

and some explanation:
I don't know why, but keyfuzz shifts all keycodes I set. For example I set a key 'a' to keycode '241'. but xev detects it as keycode '249'.


raku

Offline

Board footer

Powered by FluxBB