[hardy] slim apple usb keyboard - function keys no longer work

Bug #221011 reported by James
10
Affects Status Importance Assigned to Milestone
kdebase-workspace (Ubuntu)
New
Undecided
Unassigned

Bug Description

Hi

Recently upgraded a box to Hardy + KDE4 from Gutsy Gibbon to make a review prior to other system upgrades and have noticed that Alt+F2 no longer works. so I can't bring up Krunner.

Something that needs fixing prior to the final release?

Reproduce:
1. Alt+F2 keystroke
2. Nothing happens

In Gutsy
1. Alt+F2 keystroke
2. Krunner appears

$ lsb_release -rd
Description: Ubuntu 8.04
Release: 8.04

edit: updated the title to be more descriptive

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

What happens when you run "krunner" in a konsole? If krunner is indeed running when you run krunner in a konsole, then that should cause it to pop up.
If krunner wasn't running prior to you running krunner in the konsole, then nothing should pop up. Alt + F2 or typing krunner again should bring up krunner if krunner wasn't running the first time.

Changed in kdebase-workspace:
status: New → Incomplete
Revision history for this message
James (james-ellis-gmail) wrote :

Running krunner in a console starts the krunner program.

The weird thing is, hitting Alt+F2 on my laptop keyboard runs Krunner. If I do an Alt+F2 on my USB keyboard (a new Apple Slim USB keyboard) nothing happens. This worked in Gutsy with the same keyboard so I guess the key mapping has changed in the upgrade ?

Thanks

description: updated
Changed in kdebase-workspace:
status: Incomplete → New
Revision history for this message
Jonathan Thomas (echidnaman) wrote : Re: Krunner alt+f2 no longer working in KDE4 Kubuntu 8.04 (with Apple USB keyboard)

I had a user on IRC run in to the same issue.
The person had upgraded from Kubuntu Gutsy to Kubuntu-KDE4. (He or she wasn't running KDE4 packages in Gutsy)
The user also had a USB keyboard by Microsoft, but I don't think that using any USB keyboard causes this bug, since I have a USB keyboard myself.

The user was able to work around the issue by changing the keybinding for krunner from "Alt+F2 (default)" to Alt+F9, and then changing it back to Alt+F2.

Revision history for this message
James (james-ellis-gmail) wrote :

Hi

I did some poking around in the Hotkeys/Input Actions and Keyboard Layouts Tool to see if I could get some more clues.

Interestingly, when I add a new input action none of the Function Keys (F1 to F19) give any feedback in the "Select Keyboard Shortcut" area of "Configure Hotkey Settings" in System Settings > Advanced > Input Actions. Hitting any other key shows up the Key name in the field.

The keyboard in use is this one : http://www.apple.com/keyboard/ (Wired). I have two and they both act the same way. I'll try testing with another old generic crappy USB keyboard as well.

If I use xev to capture keystokes, hitting the F2 Key shows Keycode 212 has been depressed and released - it looks like X is grabbing the keystrokes but KDE4 is either not grabbing them or no longer understanding them.

xev output:
KeyPress event, serial 31, synthetic NO, window 0x4c00001,
    root 0x156, subw 0x0, time 5280060, (125,91), root:(1622,155),
    state 0x0, keycode 212 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

So, doing the F9 thing won't work as KDE4 doesn't pick up any F key.

My laptop keyboard works great (Dell Inspiron).

Revision history for this message
James (james-ellis-gmail) wrote :

ok, I've found an old vanilla brand USB keyboard and tested - the F1 - F12 keys work fine.

So it seems that something in the upgrade from Gutsy to Hardy has caused the function keys on the Apple keyboard (F1 - F19) to stop working.

I'm not even sure if this is a KDE bug anymore ?

Output of /var/log/messages for Apple Keyboard that doesn't work:
input: Apple, Inc Apple Keyboard as /devices/pci0000:00/0000:00:1d.7/usb4/4-3/4-3.2/4-3.2:1.0/input/input15
input,hidraw1: USB HID v1.11 Keyboard [Apple, Inc Apple Keyboard] on usb-0000:00:1d.7-3.2
input: Apple, Inc Apple Keyboard as /devices/pci0000:00/0000:00:1d.7/usb4/4-3/4-3.2/4-3.2:1.1/input/input16
input,hidraw2: USB HID v1.11 Device [Apple, Inc Apple Keyboard] on usb-0000:00:1d.7-3.2

Output for vanilla keyboard with working function keys:
input: HID 1267:0103 as /devices/pci0000:00/0000:00:1d.1/usb2/2-1/2-1:1.0/input/input12
input,hidraw0: USB HID v1.10 Keyboard [HID 1267:0103] on usb-0000:00:1d.1-1
input: HID 1267:0103 as /devices/pci0000:00/0000:00:1d.1/usb2/2-1/2-1:1.1/input/input13
input,hidraw1: USB HID v1.10 Device [HID 1267:0103] on usb-0000:00:1d.1-1

Revision history for this message
Aaron D. Campbell (aaroncampbell) wrote :

This also affects my Logitech diNovo Media set: http://www.logitech.com/index.cfm/keyboards/keyboard_mice_combos/devices/164&cl=us,en

I'm also NOT (I repeat NOT) on KDE4, but I am on Kubuntu 8.04

Revision history for this message
sbrown (sbrown-valueline) wrote :

I installed kubuntu 8.04 with kde 3.x (over a previous 7.x installation) and not only does Alt+F2 no longer work, I can't find "krunner" anywhere on my PC. I can select "Run Command..." from the K menu. I was hoping that with the dialog displayed, I would be able to see the name of the program displaying it with "ps aux", but I could not. Is there an actual "krunner" command or is it one of those built-in things?

Revision history for this message
Yuriy Kozlov (yuriy-kozlov) wrote :

@sbrown:
krunner is the run dialog in KDE4, you wouldn't find it on KDE3.

Revision history for this message
James (james-ellis-gmail) wrote :
Download full text (6.5 KiB)

Update: just installed Hardy + KDE 4.04 on a new laptop and the same thing is happening.

I tried configuring the keyboard with Keytouch and no function keys are detected. I ran it through "xev" again with the following results for keys F1 to F12. (F4 not detected at all)

The keys on the laptop (Dell M1330) all work perfectly apart from the multimedia keys which is another issue...

Can anyone help or provide some insight? Thanks!

F1
KeyPress event, serial 31, synthetic NO, window 0x4c00001,
    root 0x13b, subw 0x0, time 16393558, (154,141), root:(2931,205),
    state 0x0, keycode 101 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 31, synthetic NO, window 0x4c00001,
    root 0x13b, subw 0x0, time 16393734, (154,141), root:(2931,205),
    state 0x0, keycode 101 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

F2
KeyPress event, serial 31, synthetic NO, window 0x4c00001,
    root 0x13b, subw 0x0, time 16395782, (154,141), root:(2931,205),
    state 0x0, keycode 212 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 31, synthetic NO, window 0x4c00001,
    root 0x13b, subw 0x0, time 16395782, (154,141), root:(2931,205),
    state 0x0, keycode 212 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

F3
KeyPress event, serial 31, synthetic NO, window 0x4c00001,
    root 0x13b, subw 0x0, time 16399142, (154,141), root:(2931,205),
    state 0x0, keycode 166 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 31, synthetic NO, window 0x4c00001,
    root 0x13b, subw 0x0, time 16399143, (154,141), root:(2931,205),
    state 0x0, keycode 166 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

F4: not detected by xev

F5
KeyPress event, serial 31, synthetic NO, window 0x4c00001,
    root 0x13b, subw 0x0, time 16403599, (154,141), root:(2931,205),
    state 0x0, keycode 71 (keysym 0xffc2, F5), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 31, synthetic NO, window 0x4c00001,
    root 0x13b, subw 0x0, time 16403783, (154,141), root:(2931,205),
    state 0x0, keycode 71 (keysym 0xffc2, F5), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

F6
KeyPress event, serial 31, synthetic NO, window 0x4c00001,
    root 0x13b, subw 0x0, time 16408135, (154,141), root:(2931,205),
    state 0x0, keycode 72 (keysym 0xffc3, F6), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 31, synthetic NO, window 0x4c00001,
    root 0x13b, subw 0x0, time 16408295, (154,141), root:(2931,205),
    state 0x0, keycode 72 (keysym 0xffc3, F6), same_screen YES,
...

Read more...

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.