Logitech keyboard hotkey mappings

Bug #21842 reported by Wouter Stomp
12
Affects Status Importance Assigned to Milestone
udev (Ubuntu)
Invalid
Medium
Martin Pitt

Bug Description

Most of my hotkeys on a Logitech deluxe access keyboard work out of the box now
in breezy, which is great! I have the following suggestions:

Button:
Email: should open evolution with the email tab open instead of the last used tab.
Messenger/SMS: currently does nothing, could start gaim
Webcam: does nothing, could start gnomemeeting
Media: does nothing, could open computer (?)
My Home: opens firefox, would expect it to open the home folder

And it would be nice if unassigned buttons would open a dialog when pressed
which asks the user what action they want to assign to that key.

Revision history for this message
Wouter Stomp (wouterstomp-deactivatedaccount) wrote :

Also the F1-F12 keys have additional functions depending on wether the F-lock
button is pressed. None of these work out-of-the-box, and I can only assign four
of them (F5-F8, music: previous, next, play, stop) in the gnome keyboard
shortcuts settings (these are marked as XF86AudioPrev, XF86AudioNext,
XF86AudioPlay and XF86AudioStop).

Revision history for this message
Jeroen (jeroenubuntu) wrote :

I also have a Logitech Access keyboard, and can confirm this: Messenger/SMS
button should open gaim, webcam should open gnomemeeting, media should open
media player, My Home opens Fx, should open nautilus, and the special keys on
the F1-12 keys don't work. Also, the moon/sleep/user icon doens't do anything.
It should launch the logoff dialog I believ. Please tell me if you need info (I
guess so).

Revision history for this message
Jeroen (jeroenubuntu) wrote :
Download full text (3.9 KiB)

Keyboard: Logitech Access Keyboard.
I'm running dapper.

F12 without F-lock (map with musicnote icon). Should do: open music directory.
Output from tail -f /var/log/kern.log:

Nov 26 20:46:40 localhost kernel: [4325344.278000] atkbd.c: Unknown key pressed
(translated set 2, code 0xd8 on isa0060/serio0).
Nov 26 20:46:40 localhost kernel: [4325344.278000] atkbd.c: Use 'setkeycodes
e058 <keycode>' to make it known.
Nov 26 20:46:41 localhost kernel: [4325344.395000] atkbd.c: Unknown key released
(translated set 2, code 0xd8 on isa0060/serio0).
Nov 26 20:46:41 localhost kernel: [4325344.395000] atkbd.c: Use 'setkeycodes
e058 <keycode>' to make it known.

F11 without F-lock (map with photo icon). Should do: open images directory.
Output from tail -f /var/log/kern.log:

Nov 26 20:48:03 localhost kernel: [4325427.283000] atkbd.c: Unknown key pressed
(translated set 2, code 0xd7 on isa0060/serio0).
Nov 26 20:48:03 localhost kernel: [4325427.283000] atkbd.c: Use 'setkeycodes
e057 <keycode>' to make it known.
Nov 26 20:48:03 localhost kernel: [4325427.369000] atkbd.c: Unknown key released
(translated set 2, code 0xd7 on isa0060/serio0).
Nov 26 20:48:03 localhost kernel: [4325427.369000] atkbd.c: Use 'setkeycodes
e057 <keycode>' to make it known.

F10 without F-lock (map with document icon). Should do: open documents
directory. Output from tail -f /var/log/kern.log:

Nov 26 20:48:22 localhost kernel: [4325446.107000] atkbd.c: Unknown key pressed
(translated set 2, code 0xc4 on isa0060/serio0).
Nov 26 20:48:22 localhost kernel: [4325446.107000] atkbd.c: Use 'setkeycodes
e044 <keycode>' to make it known.
Nov 26 20:48:22 localhost kernel: [4325446.193000] atkbd.c: Unknown key released
(translated set 2, code 0xc4 on isa0060/serio0).
Nov 26 20:48:22 localhost kernel: [4325446.193000] atkbd.c: Use 'setkeycodes
e044 <keycode>' to make it known.

"Messenger/SMS" button. Should do: launch messenger (gaim). Output from tail -f
/var/log/kern.log:

Nov 26 20:50:34 localhost kernel: [4325577.910000] atkbd.c: Unknown key pressed
(translated set 2, code 0x91 on isa0060/serio0).
Nov 26 20:50:34 localhost kernel: [4325577.910000] atkbd.c: Use 'setkeycodes
e011 <keycode>' to make it known.
Nov 26 20:50:35 localhost kernel: [4325578.112000] atkbd.c: Unknown key released
(translated set 2, code 0x91 on isa0060/serio0).
Nov 26 20:50:35 localhost kernel: [4325578.112000] atkbd.c: Use 'setkeycodes
e011 <keycode>' to make it known.

"Webcam" button. Should do: something with webcam??. Output from tail -f
/var/log/kern.log:

Nov 26 20:51:21 localhost kernel: [4325624.262000] atkbd.c: Unknown key pressed
(translated set 2, code 0x92 on isa0060/serio0).
Nov 26 20:51:21 localhost kernel: [4325624.262000] atkbd.c: Use 'setkeycodes
e012 <keycode>' to make it known.
Nov 26 20:51:21 localhost kernel: [4325624.417000] atkbd.c: Unknown key released
(translated set 2, code 0x92 on isa0060/serio0).
Nov 26 20:51:21 localhost kernel: [4325624.417000] atkbd.c: Use 'setkeycodes
e012 <keycode>' to make it known.

F1 without F-lock (document icon). Should do: open OpenOffice.org2 Writer (or
similar like abiword, whichever is default). Output from tail -f /var/log/kern.log:

Nov 26 20:52:24 loc...

Read more...

Revision history for this message
Cristian Aravena Romero (caravena) wrote :

Many thaks for you bug.

Pliss read: https://wiki.ubuntu.com/LaptopTestingTeam/HotkeyResearch
--
Cristian Aravena

Revision history for this message
Wouter Stomp (wouterstomp-deactivatedaccount) wrote :

All the hotkeys that are not yet functioning don't give any result with the methods described on the wiki page...

Revision history for this message
Timothy Smith (tas50) wrote :

Can you test this on Dapper 6.06.1 or Edgy Beta 1 so we can see if the bug still exists?

Revision history for this message
Wouter Stomp (wouterstomp-deactivatedaccount) wrote :

Yes the bug still exists on edgy.

Revision history for this message
claudio@ubuntu (claudio.ubuntu) wrote :

Just got the Logitech "Black Internet keyboard" (Y-ST39) from work. All except one hotkeys were detected and bound to the right function.

Available functions: Search, Files, E-mail, WWW, Mure, Volume -, Volume +

Files did not work.

Solution:

1. Open a terminal. Type:
tail -f /var/log/messages

2. Press the Files button
Watch the unknown code. In my case:
Nov 29 20:05:12 sydney kernel: [17181173.072000] atkbd.c: Use 'setkeycodes e005 <keycode>' to make it known.

3. Add this on the second line of /etc/init.d/hotkey-setup (unde the shebang #!/bin/bash):
set -xv

4. as root (or use sudo) execute in a terminal:
/etc/init.d/hotkey-setup start

And watch which keyboard file is executed by the script. In my case it was /usr/share/hotkey-setup/hp.hk.

5. Open the keyboard file (in my case /usr/share/hotkey-setup/hp.hk) and add:
setkeycodes e005 144 #identify keypress, then set up in gnome keyboard shortcuts

6. Setup up the keyboard shortcut in gnome preferences.

Revision history for this message
claudio@ubuntu (claudio.ubuntu) wrote :

"3. Add this on the second line of /etc/init.d/hotkey-setup (unde the shebang #!/bin/bash):
set -xv"

You can remove the set -xv after your key is working.

Revision history for this message
Jessica (sonicjmc-witchcast) wrote :

I'd like to see a settings dialog to bind anything to anything (including something similar in idea to drawers on the panel). For example...
I'd like to bind 2 of my mouse buttons (I have 6) as workspace right and left.
Just like the keyboard shortcuts dialog, just let me add my own commands, and take buttons from other devices like mice, joysticks, whatever can report back as a button.
Also, there seems to be an issue with modifier keys. For example, I can't set the Windows Key PLUS anything, nor can I mix modifier keys with hot keys (such as the forward and back buttons on my keyboard).
In Windows, the Windows key opens the start menu... I'd like to set mine to open Applications (then I'll get a tiny little Ubuntu logo to stick on it)

Revision history for this message
Marcus Asshauer (mcas) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering is this still an issue for you? Can you try with latest Ubuntu release? Thanks in advance.

Changed in hotkey-setup:
status: New → Incomplete
Revision history for this message
Wouter Stomp (wouterstomp-deactivatedaccount) wrote :

Yes, nothing has changed.

Changed in hotkey-setup:
status: Incomplete → Confirmed
Steve Langasek (vorlon)
affects: hotkey-setup (Ubuntu) → udev-extras (Ubuntu)
Revision history for this message
Martin Pitt (pitti) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better, and sorry for all these reiterations. Hotkey management has changed dramatically in Ubuntu 9.10, thus we need updated debugging information.

Please exercise the steps at https://wiki.ubuntu.com/Hotkeys/Troubleshooting to determine at which level your hotkey problems occur, and attach the collected information. Thanks!

affects: udev-extras (Ubuntu) → udev (Ubuntu)
Changed in udev (Ubuntu):
assignee: nobody → Martin Pitt (pitti)
status: Confirmed → Incomplete
Revision history for this message
Martin Pitt (pitti) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again!

Changed in udev (Ubuntu):
status: Incomplete → Invalid
DanW (dicw)
Changed in udev (Ubuntu):
status: Invalid → New
status: New → Incomplete
status: Incomplete → Invalid
Revision history for this message
Wouter Stomp (wouterstomp-deactivatedaccount) wrote :

Sorry I don't have this keyboard anymore so I can't help any further.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.