Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Aug 2006 22:25:06 +1000
From:      Norberto Meijome <freebsd@meijome.net>
To:        freebsd-mobile@freebsd.org
Subject:   For the archives : devd events for Thinkpad Z60M
Message-ID:  <20060829222506.234af1be@localhost>

next in thread | raw e-mail | index | archive | help
Hi all,
following up on the email about my devd email earlier in the week
( http://lists.freebsd.org/pipermail/freebsd-mobile/2006-August/008948.html ) ,

I'd thought I should share a bit of documentation on the events triggered by
this Thinkpad Z60M and acpi_ibm.ko. It should be pretty similar for latest
models of Thinkpads

 Please see the link above for rest of config changes to use this information
-----
##################################################
## There is a discrepancy between what devd shows in /var/log/messages with
knob dev.acpi_ibm.0.events = 1 
and what devd in debug mode (devd -dD) shows
as being caught and matched. ## MsgLog : notify:10nn
DevD : notify 0xnn
######################################################
Fn-F1
May 29 18:03:11 ayiin kernel: IBM:NOTIFY:80
May 29 18:03:11 ayiin kernel: notify:1001
Processing event '!system=ACPI subsystem=IBM type=\_SB_.PCI0.LPC_.EC__.HKEY
notify=0x01'

Fn-F2 -> Fn-F9 (2 -> 9 = {F#}
May 29 18:03:14 ayiin kernel: IBM:NOTIFY:80
May 29 18:03:14 ayiin kernel: notify:100{F#}
Processing event '!system=ACPI subsystem=IBM type=\_SB_.PCI0.LPC_.EC__.HKEY
notify=0x0{F#}'

Fn F10 - nothing (should be ACPI IBM 0x0a

Fn F11 :
May 29 18:04:33 ayiin kernel: IBM:NOTIFY:80
May 29 18:04:33 ayiin kernel: notify:100b
Processing event '!system=ACPI subsystem=IBM type=\_SB_.PCI0.LPC_.EC__.HKEY
notify=0x0b'

Fn F12 - 
Processing event '!system=ACPI subsystem=IBM type=\_SB_.PCI0.LPC_.EC__.HKEY
notify=0x0c'

Fn Home (lcd brightness up)
May 29 18:05:22 ayiin kernel: IBM:NOTIFY:80
May 29 18:05:22 ayiin kernel: notify:1010
Processing event '!system=ACPI subsystem=IBM type=\_SB_.PCI0.LPC_.EC__.HKEY
notify=0x10'

FN End (lcd brightness down)
May 29 18:05:27 ayiin kernel: IBM:NOTIFY:80
May 29 18:05:27 ayiin kernel: notify:1011
Processing event '!system=ACPI subsystem=IBM type=\_SB_.PCI0.LPC_.EC__.HKEY
notify=0x11'

FN PgUp (thinklight)
May 29 18:05:25 ayiin kernel: IBM:NOTIFY:80
May 29 18:05:25 ayiin kernel: notify:1012
Processing event '!system=ACPI subsystem=IBM type=\_SB_.PCI0.LPC_.EC__.HKEY
notify=0x12'

ThinkVantage key
May 29 18:06:38 ayiin kernel: IBM:NOTIFY:80
May 29 18:06:38 ayiin kernel: notify:1018
Processing event '!system=ACPI subsystem=IBM type=\_SB_.PCI0.LPC_.EC__.HKEY
notify=0x18'


Fn Spacebar (magnifiying glass)
May 29 18:07:00 ayiin kernel: IBM:NOTIFY:80
May 29 18:07:00 ayiin kernel: notify:1014
Processing event '!system=ACPI subsystem=IBM type=\_SB_.PCI0.LPC_.EC__.HKEY
notify=0x14'


Sound keys 
No sound key 
May 29 18:07:52 ayiin kernel: IBM:NOTIFY:80
May 29 18:07:52 ayiin kernel: notify:1017
Processing event '!system=ACPI subsystem=IBM type=\_SB_.PCI0.LPC_.EC__.HKEY
notify=0x17'

Sound down key
May 29 18:07:53 ayiin kernel: IBM:NOTIFY:80
May 29 18:07:53 ayiin kernel: notify:1016
Processing event '!system=ACPI subsystem=IBM type=\_SB_.PCI0.LPC_.EC__.HKEY
notify=0x16'

Sound up key
May 29 18:07:54 ayiin kernel: IBM:NOTIFY:80
May 29 18:07:54 ayiin kernel: notify:1015
Processing event '!system=ACPI subsystem=IBM type=\_SB_.PCI0.LPC_.EC__.HKEY
notify=0x15'

Close Lid:
Processing event '!system=ACPI subsystem=Lid type=\_SB_.LID_ notify=0x00'

Open Lid:
Processing event '!system=ACPI subsystem=Lid type=\_SB_.LID_ notify=0x01'

Radio switch (front of laptop)
Jul  7 02:32:24 ayiin kernel: IBM:NOTIFY:80
Jul  7 02:32:24 ayiin kernel: notify:7000
It doesnt seem to be parsed by devd -dD 

-----

_________________________
{Beto|Norberto|Numard} Meijome

"He has Van Gogh's ear for music."
  Billy Wilder

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060829222506.234af1be>