You are not logged in.
Pages: 1
Hi,
any idea of how I can get keyboard retroillumination to work on my MBP?
According to this page https://wiki.edubuntu.org/MactelSupportTeam/PPA
everything I need should be in the hal-applesmc pkg.
I compiled the sources in hal-applesmc.deb (simply make; sudo make
install) but could not get the thing working.
Display retro-illumination works fine using a patched kernel. Keyboard
light works with pommed or with sysfs.
Yet gnome-power-manager doesn't seem to be associating the right
action to F5 and F6.
Any suggestion?
Here some logs:
gg@mercurio:~$ sudo dmidecode -s system-product-name
MacBookPro5,5
gg@mercurio:~$ uname -a
Linux mercurio 2.6.32-rc6-custom #4 SMP PREEMPT Thu Nov 12 09:02:09
CST 2009 i686 Intel(R) Core(TM)2 Duo CPU P7550 @ 2.26GHz GenuineIntel
GNU/Linux
gg@mercurio:~$ ls /sys/class/leds/smc\:\:kbd_backlight
brightness device max_brightness power subsystem uevent
gg@mercurio:~/devel/abs/hal-applesmc$ sudo make install
Password:
install -d "/usr/lib/hal"
install -d "/usr/share/hal/fdi/information/10freedesktop"
install -m 755 bin/hald-addon-generic-kbd-backlight
bin/hald-addon-generic-light-sensor "/usr/lib/hal"
install -m 644 fdi/10-applesmc.fdi
"/usr/share/hal/fdi/information/10freedesktop"
Pressing F5
XEV:
FocusOut event, serial 35, synthetic NO, window 0x6200001,
mode NotifyGrab, detail NotifyAncestor
FocusIn event, serial 35, synthetic NO, window 0x6200001,
mode NotifyUngrab, detail NotifyAncestor
KeymapNotify event, serial 35, synthetic NO, window 0x0,
keys: 4294967292 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
TI:17:27:43 TH:0x8c32968 FI:gpm-button.c FN:gpm_button_filter_x_events,121
- Key 237 mapped to key kbd-illum-down
TI:17:27:43 TH:0x8c32968 FI:gpm-button.c FN:gpm_button_emit_type,81
- emitting button-pressed : kbd-illum-down
TI:17:27:43 TH:0x8c32968 FI:gpm-manager.c FN:gpm_manager_button_pressed_cb,748
- Button press event type=kbd-illum-down
TI:17:27:43 TH:0x8c32968 FI:gpm-backlight.c FN:gpm_backlight_button_pressed_cb,346
- Button press event type=kbd-illum-down
Pressing F6
XEV:
FocusOut event, serial 35, synthetic NO, window 0x6200001,
mode NotifyGrab, detail NotifyAncestor
FocusIn event, serial 35, synthetic NO, window 0x6200001,
mode NotifyUngrab, detail NotifyAncestor
KeymapNotify event, serial 35, synthetic NO, window 0x0,
keys: 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
TI:17:27:25 TH:0x8c32968 FI:gpm-button.c FN:gpm_button_filter_x_events,121
- Key 238 mapped to key kbd-illum-up
TI:17:27:25 TH:0x8c32968 FI:gpm-button.c FN:gpm_button_emit_type,81
- emitting button-pressed : kbd-illum-up
TI:17:27:25 TH:0x8c32968 FI:gpm-manager.c FN:gpm_manager_button_pressed_cb,748
- Button press event type=kbd-illum-up
TI:17:27:25 TH:0x8c32968 FI:gpm-backlight.c FN:gpm_backlight_button_pressed_cb,346
- Button press event type=kbd-illum-up
Offline
Install pommed, try again. Don't forget to report back!
Edit: Interesting link --> https://help.ubuntu.com/community/MacBookPro5-5/Karmic
Last edited by txus (2009-11-13 10:52:46)
Offline
As I said, pommed works (although not perfectly).
I would rather have it working through gnome-power-manager though.
Offline
Sorry, didn't see that. My bad!
In this case, the only thing I can do for you is give you yet another link with a guide, sorry!
Offline
Pages: 1