Johannes Berg wrote:
> On Tue, 2005-07-26 at 10:46 +0200, Yves-Alexis Perez wrote:
> 
>>Does someone manage to have working the keyboards backlight ? I dont,
>>but I dont know if it's ok or not. Well, there is a part in the config
>>file that makes me think pbbutton can manage that. But it's not working
>>here.
> 
> 
> Yes, load the i2c-dev module.

Ok, it work, thank you :)
> 
> 
>>Can it be a kernel problem, as the fn-key not working correctly ?
> 
> 
> Yes, I have a patch for that, but you'll want to do some research into
> this issue before blindly applying it:
> http://johannes.sipsolutions.net/PowerBook/special_buttons#fn (and the
> patch probably doesn't apply cleanly anyway).
> 
> johannes

I've patched my kernel with that patch, but it seems to be an issue with
recent kernel (i have a vanilla 2.6.12.2 kernel with fn-key patch)

The fn key produces an event:

KeyPress event, serial 27, synthetic NO, window 0x1e00001,
    root 0x40, subw 0x1e00002, time 73570215, (44,46), root:(864,110),
    state 0x0, keycode 109 (keysym 0xffe4, Control_R), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 30, synthetic NO, window 0x1e00001,
    root 0x40, subw 0x1e00002, time 73570271, (44,46), root:(864,110),
    state 0x4, keycode 109 (keysym 0xffe4, Control_R), same_screen YES,
    XLookupString gives 0 bytes:

But when using Fn and another key (just pressing Fn, pressing F1,
releasing F1, releasing Fn), the sequence is (detailled xev output at
the end):

KeyPress Control_R
KeyRelease Control_R
KeyPress F1
KeyPress Control_R
KeyRelease Control_R
KeyPress F1
KeyPress Control_R
KeyRelease Control_R

It seems that, for each event on the keyboard, there was a
keypress/keyrelease event of Fn.


Detailled outputs:

KeyPress event, serial 27, synthetic NO, window 0x1e00001,
    root 0x40, subw 0x1e00002, time 73674770, (52,46), root:(872,110),
    state 0x0, keycode 109 (keysym 0xffe4, Control_R), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 30, synthetic NO, window 0x1e00001,
    root 0x40, subw 0x1e00002, time 73676378, (52,46), root:(872,110),
    state 0x4, keycode 109 (keysym 0xffe4, Control_R), same_screen YES,
    XLookupString gives 0 bytes:

KeyPress event, serial 30, synthetic NO, window 0x1e00001,
    root 0x40, subw 0x1e00002, time 73676378, (52,46), root:(872,110),
    state 0x0, keycode 67 (keysym 0xffbe, F1), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyPress event, serial 30, synthetic NO, window 0x1e00001,
    root 0x40, subw 0x1e00002, time 73676482, (52,46), root:(872,110),
    state 0x0, keycode 109 (keysym 0xffe4, Control_R), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 30, synthetic NO, window 0x1e00001,
    root 0x40, subw 0x1e00002, time 73676482, (52,46), root:(872,110),
    state 0x4, keycode 109 (keysym 0xffe4, Control_R), same_screen YES,
    XLookupString gives 0 bytes:

KeyRelease event, serial 30, synthetic NO, window 0x1e00001,
    root 0x40, subw 0x1e00002, time 73676482, (52,46), root:(872,110),
    state 0x0, keycode 67 (keysym 0xffbe, F1), same_screen YES,
    XLookupString gives 0 bytes:

KeyPress event, serial 30, synthetic NO, window 0x1e00001,
    root 0x40, subw 0x1e00002, time 73676482, (52,46), root:(872,110),
    state 0x0, keycode 109 (keysym 0xffe4, Control_R), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 30, synthetic NO, window 0x1e00001,
    root 0x40, subw 0x1e00002, time 73676610, (52,46), root:(872,110),
    state 0x4, keycode 109 (keysym 0xffe4, Control_R), same_screen YES,
    XLookupString gives 0 bytes:



-- 
Corsac
http://www.corsac.net

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to