On Mon, Oct 25, 2010 at 12:39 PM, Dmitrij Czarkoff <czark...@gmail.com>
wrote:
> On Mon, Oct 25, 2010 at 4:56 AM, Mikle Krutov <nekoexmach...@gmail.com>
wrote:
>> The fn-key for disabling it does not work (in fact, no fn-keys are working,
except for sound and brightness-keys)
>
> Fn Key works for me.
>
> % dmesg | head
> OpenBSD 4.8-current (GENERIC.MP) #478: Tue Oct 19 13:14:29 MDT 2010
> B  B dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
> RTC BIOS diagnostic error 80<clock_battery>
> cpu0: Intel(R) Atom(TM) CPU N270 @ 1.60GHz ("GenuineIntel" 686-class) 1.87
GHz
> cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,A
CPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,SSSE3,xTPR,PDCM
,MOVBE
> real mem B = 1060163584 (1011MB)
> avail mem = 1032798208 (984MB)
> mainbus0 at root
> bios0 at mainbus0: AT/286+ BIOS, date 10/06/08, SMBIOS rev. 2.4 @
> 0xe91c0 (31 entries)
> bios0: vendor Acer version "v0.3110" date 10/06/2008

I tried xev and found out the keypress is actually reported:

KeyPress event, serial 30, synthetic NO, window 0x3800001,
    root 0xb5, subw 0x0, time 3808064705, (231,286), root:(235,359),
    state 0x0, keycode 242 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 33, synthetic NO, window 0x3800001,
    root 0xb5, subw 0x0, time 3808064829, (231,286), root:(235,359),
    state 0x0, keycode 242 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyPress event, serial 33, synthetic NO, window 0x3800001,
    root 0xb5, subw 0x0, time 3808065780, (231,286), root:(235,359),
    state 0x0, keycode 241 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 33, synthetic NO, window 0x3800001,
    root 0xb5, subw 0x0, time 3808065897, (231,286), root:(235,359),
    state 0x0, keycode 241 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

So, I believe my GNOME installation handles this. That means that if
You don't use DE that manages that for You, You can have xbindkey run
a script deactivating device wia xinput.

--
Dmitrij D. Czarkoff

Reply via email to