Bug 195832 - Apple specific keys not (fully) usable (Intel MacBook)
Summary: Apple specific keys not (fully) usable (Intel MacBook)
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Dave Jones
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-06-18 12:18 UTC by Jurgen Kramer
Modified: 2015-01-04 22:27 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2006-08-21 17:56:11 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jurgen Kramer 2006-06-18 12:18:55 UTC
Description of problem:
The apple specific keys on the MacBook are not (fully) usable.

Version-Release number of selected component (if applicable):
Rawhide (16-Jun-06)

How reproducible:
Always

Steps to Reproduce:
1. Start xev
2. Press various apple specific keys
3. 
  
Actual results:
Apple specific keys are not properly mapped/assigned

Expected results:
All apple specific keys have keycodes associated.

Additional info:
The proper keymap is probably already there in the PPC build?

Comment 1 Jurgen Kramer 2006-06-23 12:12:59 UTC
It seems that the current git5 patchset for the kernel contains the necesarry
usbhid patch. As soon as the FC6 kernel hits git5 I will test if it resolves the
problem.


Comment 2 Dave Jones 2006-07-11 05:41:23 UTC
should be fixed now ?

Comment 3 Jurgen Kramer 2006-07-11 16:44:04 UTC
Hmm, it seems that all the Apple specific keys are now emitting a key code but
in Fedora they are not mapped to anything usefull. 2nd mouse button emulation
would be most welcome, a working eject key as well. Do I need to do some
additional tweaking to get this working? I assume this works out-of-the-box on
the PPC build?


Comment 4 Jurgen Kramer 2006-07-28 17:35:28 UTC
Any progress on this? Adding dev.mac_hid.mouse_button_emulation = 1
 to /etc/sysctl.conf does not work.

Comment 5 Paul Nasrat 2006-07-28 18:36:36 UTC
For hid mouse button emulation you may need to change the keys it's bound to,
use xev to find the keycodes of what key you want - f11, f12 are common choices
then ensure sysctl.conf has:

# Emulate the middle mouse button with F11 and the right with F12.
dev.mac_hid.mouse_button_emulation = 1
dev.mac_hid.mouse_button2_keycode = 87
dev.mac_hid.mouse_button3_keycode = 88

And the appropriate bits are in /proc/sys/dev/mac_hid/

To make the eject key work - go to System->Preferences->Keyboard Shortcuts
scroll to eject, select and hit the appropriate key.  That way in GNOME the key
will be bound to eject.

Comment 6 Jurgen Kramer 2006-07-29 09:13:46 UTC
I already added the dev.mac_hid.mouse_button_emulation = 1 line to my
sysctl.conf, unfortunately that is not enough. There is no
/proc/sys/dev/mac_hid/ on my MacBook. Eject works now though.

BTW it seems that F11 and F12 are 95 and 96 on the MacBook.


Comment 7 Jurgen Kramer 2006-08-21 17:56:11 UTC
For comment #5 and #6 see bug #195833
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=195833.

The other Apple specific keys (fn etc) are now working properly.
 


Note You need to log in before you can comment on or make changes to this bug.