Ticket #1235 (closed defect: worksforme)

Opened 11 years ago

Last modified 2 years ago

aux button and charger/usb insertion emit same keycode

Reported by: mdt@… Owned by: openmoko-kernel@…
Priority: high Milestone:
Component: kernel Version: current svn head
Severity: normal Keywords:
Cc: buglog@… Blocked By:
Blocking: Estimated Completion (week):
HasPatchForReview: PatchReviewResult:
Reproducible:

Description

using x11 (tested with xev) or directfb i can't distiguish aux-buttom from
usb-plug events. the only difference is that there is no KeyRelease? event. Both
send a keycode 8. neod seems works fine with it because it uses the KeyRelease? only.

Change History

comment:1 Changed 11 years ago by mickey@…

I can't confirm this. On my GTA01 I see xev emitting keycode 177 for AUX and
keycode 108 for USB/Charger. Could you upload your xev output?

comment:2 Changed 11 years ago by mickey@…

Outer window is 0x1600001, inner window is 0x1600002

PropertyNotify? event, serial 7, synthetic NO, window 0x1600001,

atom 0x27 (WM_NAME), time 765245674, state PropertyNewValue?

PropertyNotify? event, serial 8, synthetic NO, window 0x1600001,

atom 0x22 (WM_COMMAND), time 765245674, state PropertyNewValue?

PropertyNotify? event, serial 9, synthetic NO, window 0x1600001,

atom 0x28 (WM_NORMAL_HINTS), time 765245674, state PropertyNewValue?

CreateNotify? event, serial 10, synthetic NO, window 0x1600001,

parent 0x1600001, window 0x1600002, (10,10), width 50, height 50

border_width 4, override NO

MapNotify? event, serial 11, synthetic NO, window 0x1600001,

event 0x1600001, window 0x1600002, override NO

PropertyNotify? event, serial 12, synthetic NO, window 0x1600001,

atom 0xaa (_NET_WM_DESKTOP), time 765245700, state PropertyNewValue?

PropertyNotify? event, serial 12, synthetic NO, window 0x1600001,

atom 0xd3 (_NET_WM_ALLOWED_ACTIONS), time 765245700, state PropertyNewValue?

PropertyNotify? event, serial 12, synthetic NO, window 0x1600001,

atom 0x64 (WM_STATE), time 765245700, state PropertyNewValue?

ConfigureNotify? event, serial 12, synthetic NO, window 0x1600001,

event 0x1600001, window 0x1600001, (0,0), width 178, height 178,
border_width 0, above 0xc00056, override NO

ReparentNotify? event, serial 12, synthetic NO, window 0x1600001,

event 0x1600001, window 0x1600001, parent 0x6000c4,
(0,50), override NO

ConfigureNotify? event, serial 12, synthetic NO, window 0x1600001,

event 0x1600001, window 0x1600001, (0,50), width 480, height 423,
border_width 0, above 0x6000c5, override NO

MapNotify? event, serial 12, synthetic NO, window 0x1600001,

event 0x1600001, window 0x1600001, override NO

VisibilityNotify? event, serial 12, synthetic NO, window 0x1600001,

state VisibilityUnobscured?

Expose event, serial 12, synthetic NO, window 0x1600001,

(0,0), width 480, height 10, count 3

Expose event, serial 12, synthetic NO, window 0x1600001,

(0,10), width 10, height 58, count 2

Expose event, serial 12, synthetic NO, window 0x1600001,

(68,10), width 412, height 58, count 1

Expose event, serial 12, synthetic NO, window 0x1600001,

(0,68), width 480, height 355, count 0

FocusIn? event, serial 12, synthetic NO, window 0x1600001,

mode NotifyNormal?, detail NotifyNonlinear?

KeymapNotify? event, serial 12, synthetic NO, window 0x0,

keys: 0 0 0 0 16 0 0 0 0 0 0 0 0 16 0 0

0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

PropertyNotify? event, serial 12, synthetic NO, window 0x1600001,

atom 0xad (_NET_WM_STATE), time 765245778, state PropertyNewValue?

PropertyNotify? event, serial 12, synthetic NO, window 0x1600001,

atom 0x64 (WM_STATE), time 765245779, state PropertyNewValue?

KeyRelease? event, serial 12, synthetic NO, window 0x1600001,

root 0x3a, subw 0x0, time 765245792, (451,506), root:(451,556),
state 0x40, keycode 36 (keysym 0xff0d, Return), same_screen YES,
XLookupString gives 1 bytes: (0d) "

"

XFilterEvent returns: False

ConfigureNotify? event, serial 21, synthetic NO, window 0x1600001,

event 0x1600001, window 0x1600001, (0,50), width 480, height 590,
border_width 0, above 0x6000c5, override NO

VisibilityNotify? event, serial 21, synthetic NO, window 0x1600001,

state VisibilityPartiallyObscured?

Expose event, serial 21, synthetic NO, window 0x1600001,

(0,0), width 480, height 10, count 3

Expose event, serial 21, synthetic NO, window 0x1600001,

(0,10), width 10, height 58, count 2

Expose event, serial 21, synthetic NO, window 0x1600001,

(68,10), width 412, height 58, count 1

Expose event, serial 21, synthetic NO, window 0x1600001,

(0,68), width 480, height 355, count 0

ConfigureNotify? event, serial 21, synthetic YES, window 0x1600001,

event 0x1600001, window 0x1600001, (0,50), width 480, height 590,
border_width 0, above 0x0, override NO

VisibilityNotify? event, serial 21, synthetic NO, window 0x1600001,

state VisibilityUnobscured?

Expose event, serial 21, synthetic NO, window 0x1600001,

(0,423), width 480, height 167, count 0

EnterNotify? event, serial 21, synthetic NO, window 0x1600001,

root 0x3a, subw 0x0, time 765245927, (451,506), root:(451,556),
mode NotifyNormal?, detail NotifyNonlinear?, same_screen YES,
focus YES, state 64

KeymapNotify? event, serial 21, synthetic NO, window 0x0,

keys: 68 0 0 0 0 0 0 0 0 0 0 0 0 16 0 0

0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

KeyPress? event, serial 21, synthetic NO, window 0x1600001,

root 0x3a, subw 0x0, time 765248923, (451,506), root:(451,556),
state 0x40, keycode 177 (keysym 0x0, NoSymbol?), same_screen YES,
XLookupString gives 1 bytes: (00) ""
XFilterEvent returns: False

KeyRelease? event, serial 21, synthetic NO, window 0x1600001,

root 0x3a, subw 0x0, time 765249331, (451,506), root:(451,556),
state 0x40, keycode 177 (keysym 0x0, NoSymbol?), same_screen YES,
XLookupString gives 1 bytes: (00) ""
XFilterEvent returns: False

VisibilityNotify? event, serial 21, synthetic NO, window 0x1600001,

state VisibilityFullyObscured?

LeaveNotify? event, serial 21, synthetic NO, window 0x1600001,

root 0x3a, subw 0x0, time 765249358, (451,506), root:(451,556),
mode NotifyNormal?, detail NotifyNonlinear?, same_screen YES,
focus YES, state 64

FocusOut? event, serial 21, synthetic NO, window 0x1600001,

mode NotifyNormal?, detail NotifyNonlinear?

VisibilityNotify? event, serial 21, synthetic NO, window 0x1600001,

state VisibilityUnobscured?

Expose event, serial 21, synthetic NO, window 0x1600001,

(0,0), width 480, height 10, count 3

Expose event, serial 21, synthetic NO, window 0x1600001,

(0,10), width 10, height 58, count 2

Expose event, serial 21, synthetic NO, window 0x1600001,

(68,10), width 412, height 58, count 1

Expose event, serial 21, synthetic NO, window 0x1600001,

(0,68), width 480, height 522, count 0

EnterNotify? event, serial 21, synthetic NO, window 0x1600001,

root 0x3a, subw 0x0, time 765253116, (451,506), root:(451,556),
mode NotifyNormal?, detail NotifyNonlinear?, same_screen YES,
focus NO, state 64

KeymapNotify? event, serial 21, synthetic NO, window 0x0,

keys: 1 0 0 0 0 0 0 0 0 0 0 0 0 16 0 0

0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

FocusIn? event, serial 21, synthetic NO, window 0x1600001,

mode NotifyNormal?, detail NotifyNonlinear?

KeymapNotify? event, serial 21, synthetic NO, window 0x0,

keys: 0 0 0 0 0 0 0 0 0 0 0 0 0 16 0 0

0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

KeyRelease? event, serial 21, synthetic NO, window 0x1600001,

root 0x3a, subw 0x0, time 765256716, (451,506), root:(451,556),
state 0x40, keycode 108 (keysym 0xff7e, Mode_switch), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False

KeyPress? event, serial 21, synthetic NO, window 0x1600001,

root 0x3a, subw 0x0, time 765260801, (451,506), root:(451,556),
state 0x0, keycode 108 (keysym 0xff7e, Mode_switch), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False

KeyPress? event, serial 21, synthetic NO, window 0x1600001,

root 0x3a, subw 0x0, time 765264383, (451,506), root:(451,556),
state 0x40, keycode 124 (keysym 0xff62, Execute), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease? event, serial 21, synthetic NO, window 0x1600001,

root 0x3a, subw 0x0, time 765264672, (451,506), root:(451,556),
state 0x40, keycode 124 (keysym 0xff62, Execute), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False

comment:3 Changed 11 years ago by andy@…

  • Status changed from new to closed
  • Resolution set to worksforme

Guys is this problem real

comment:4 Changed 11 years ago by mdt@…

no, i updatet my neo after that the behavior disapeared. sry for the noise.

comment:5 Changed 11 years ago by andy@…

No probs please continue to report any bad things you see :-)

comment:6 Changed 2 years ago by Kennescoma

Amoxicillin 500 Mg Dosing <a href=http://kama1.xyz>Buy Kamagra</a> Baclofene Villejuif Low Cost Generic Cialis <a href=http://kama1.xyz/kamagra-en-ligne.php>Kamagra En Ligne</a> Zentel Discount With Next Day Delivery Donde Venden Viagra Madrid <a href=http://kama1.xyz/buy-kamagra-usa.php>Buy Kamagra Usa</a> Priligy 60 Mg Prix Viagra Very Fast Shipping To Ireland <a href=http://cial1.xyz/cialis.php>Cialis</a> Comprare Cialis In Spagna Amoxicillin For Dental <a href=http://kama1.xyz/buy-generic-kamagra-online.php>Buy Generic Kamagra Online</a> Non Prescription Prozac Canada Online Cold Sores Keflex <a href=http://inderal.ccrpdc.com/inderal-pills.php>Inderal Pills</a> Zithromax Children Dose Viagra Was Bringt Das <a href=http://viag1.xyz/cheap-viagra-usa.php>Cheap Viagra Usa</a> Propecia No Conecta Buy Cheap Viagra Online Uk <a href=http://zoloft.ccrpdc.com/purchase-cheap-zoloft.php>Purchase Cheap Zoloft</a> Acheter Cialis Qualite Buy Levitra Online Cheap <a href=http://viag1.xyz/generic-viagra-100mg.php>Generic Viagra 100mg</a> Amoxil For Eye Infection In Cats

Note: See TracTickets for help on using tickets.