dtg666 n00b
Joined: 01 Oct 2004 Posts: 42 Location: Berlin
|
Posted: Mon Oct 04, 2004 8:20 pm Post subject: |
|
|
Quote: |
Does xev report their identity?
|
This is what xev said, i got no clue how xev works, when i press a button nothing happens, but this is its output:
Code: |
dtg666@dtg666 ~ $ xev
Outer window is 0x2800001, inner window is 0x2800002
PropertyNotify event, serial 8, synthetic NO, window 0x2800001,
atom 0x27 (WM_NAME), time 4039612, state PropertyNewValue
PropertyNotify event, serial 9, synthetic NO, window 0x2800001,
atom 0x22 (WM_COMMAND), time 4039612, state PropertyNewValue
PropertyNotify event, serial 10, synthetic NO, window 0x2800001,
atom 0x28 (WM_NORMAL_HINTS), time 4039612, state PropertyNewValue
CreateNotify event, serial 11, synthetic NO, window 0x2800001,
parent 0x2800001, window 0x2800002, (10,10), width 50, height 50
border_width 4, override NO
MapNotify event, serial 12, synthetic NO, window 0x2800001,
event 0x2800001, window 0x2800002, override NO
PropertyNotify event, serial 13, synthetic NO, window 0x2800001,
atom 0x16b (_KDE_NET_WM_USER_CREATION_TIME), time 4039612, state PropertyNewValue
ConfigureNotify event, serial 13, synthetic NO, window 0x2800001,
event 0x2800001, window 0x2800001, (0,0), width 178, height 178,
border_width 0, above 0x2600019, override NO
ReparentNotify event, serial 13, synthetic NO, window 0x2800001,
event 0x2800001, window 0x2800001, parent 0x1600227,
(0,0), override NO
PropertyNotify event, serial 13, synthetic NO, window 0x2800001,
atom 0x136 (_NET_WM_DESKTOP), time 4039615, state PropertyNewValue
PropertyNotify event, serial 13, synthetic NO, window 0x2800001,
atom 0xed (_KDE_NET_WM_FRAME_STRUT), time 4039616, state PropertyNewValue
PropertyNotify event, serial 13, synthetic NO, window 0x2800001,
atom 0x13c (_NET_WM_ALLOWED_ACTIONS), time 4039616, state PropertyNewValue
PropertyNotify event, serial 13, synthetic NO, window 0x2800001,
atom 0x72 (WM_STATE), time 4039617, state PropertyNewValue
ConfigureNotify event, serial 13, synthetic YES, window 0x2800001,
event 0x2800001, window 0x2800001, (674,29), width 178, height 178,
border_width 0, above 0x0, override NO
MapNotify event, serial 13, synthetic NO, window 0x2800001,
event 0x2800001, window 0x2800001, override NO
VisibilityNotify event, serial 13, synthetic NO, window 0x2800001,
state VisibilityFullyObscured
FocusIn event, serial 13, synthetic NO, window 0x2800001,
mode NotifyNormal, detail NotifyNonlinear
KeymapNotify event, serial 13, synthetic NO, window 0x0,
keys: 0 0 0 0 16 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
VisibilityNotify event, serial 13, synthetic NO, window 0x2800001,
state VisibilityUnobscured
Expose event, serial 13, synthetic NO, window 0x2800001,
(0,0), width 178, height 10, count 3
Expose event, serial 13, synthetic NO, window 0x2800001,
(0,10), width 10, height 58, count 2
Expose event, serial 13, synthetic NO, window 0x2800001,
(68,10), width 110, height 58, count 1
Expose event, serial 13, synthetic NO, window 0x2800001,
(0,68), width 178, height 110, count 0
PropertyNotify event, serial 17, synthetic NO, window 0x2800001,
atom 0xe4 (_NET_WM_STATE), time 4039624, state PropertyNewValue
KeyRelease event, serial 22, synthetic NO, window 0x2800001,
root 0x46, subw 0x0, time 4039700, (-614,33), root:(60,62),
state 0x0, keycode 36 (keysym 0xff0d, Return), same_screen YES,
" XLookupString gives 1 bytes: "
PropertyNotify event, serial 27, synthetic NO, window 0x2800001,
atom 0x139 (_NET_WM_ICON_GEOMETRY), time 4039732, state PropertyNewValue
PropertyNotify event, serial 28, synthetic NO, window 0x2800001,
atom 0x139 (_NET_WM_ICON_GEOMETRY), time 4039735, state PropertyNewValue
FocusOut event, serial 28, synthetic NO, window 0x2800001,
mode NotifyNormal, detail NotifyNonlinear
PropertyNotify event, serial 28, synthetic NO, window 0x2800001,
atom 0x139 (_NET_WM_ICON_GEOMETRY), time 4045471, state PropertyNewValue
|
This is what proc says when I try to access a button meanwhile the acpid daemon is running:
Code: |
dtg666 dtg666 # cat /proc/acpi/event
cat: /proc/acpi/event: Device or resource busy
|
When I disable the acpid daemon I can see the buttons are recognized by the system by pressing them each one time:
Code: |
dtg666 dtg666 # cat /proc/acpi/event
hotkey ATKD 00000050 00000008
hotkey ATKD 00000051 00000004
hotkey ATKD 0000005d 00000000
hotkey ATKD 0000006a 00000000
hotkey ATKD 0000005c 00000000
hotkey ATKD 00000040 00000000
hotkey ATKD 00000043 00000000
hotkey ATKD 00000045 00000000
hotkey ATKD 00000041 00000000
hotkey ATKD 0000004c 00000000
|
does this perhaps mean the buttons are only recognized if acpid is down although acpid is needed to get the bash scripts running? |
|