[Bug 1335] New: Sometimes get wrong event from kerel when plug/unplug headset

bugzilla-daemon at bugzilla.openmoko.org bugzilla-daemon at bugzilla.openmoko.org
Thu Apr 10 08:44:22 CEST 2008


http://bugzilla.openmoko.org/cgi-bin/bugzilla/show_bug.cgi?id=1335

           Summary: Sometimes get wrong event from kerel when plug/unplug
                    headset
           Product: Neo1973 Hardware
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core System
        AssignedTo: andy at openmoko.com
        ReportedBy: sean_chiang at openmoko.com
                CC: buglog at lists.openmoko.org,willie_chen at openmoko.com


unplug headset:
00007c0 2c86 4800 b195 0005 0005 0002 0000 0000
00007d0 2c86 4800 b1eb 0005 0000 0000 0000 0000
00007e0 2c86 4800 cd61 0005 0005 0002 0001 0000
00007f0 2c86 4800 cda1 0005 0000 0000 0000 0000
0000800 2c86 4800 cf7e 0005 0005 0002 0000 0000
0000810 2c86 4800 cf9f 0005 0000 0000 0000 0000

plugin headset:
0000bb0 2d1a 4800 3287 0007 0005 0002 0001 0000
0000bc0 2d1a 4800 32db 0007 0000 0000 0000 0000
0000bd0 2d1a 4800 73f4 0007 0005 0002 0000 0000
0000be0 2d1a 4800 7455 0007 0000 0000 0000 0000
0000bf0 2d1a 4800 7994 0007 0005 0002 0001 0000
0000c00 2d1a 4800 79c2 0007 0000 0000 0000 0000


But sometimes when plugin headset I will get this from /dev/input/event0:

0000a60 2cca 4800 967a 0003 0005 0002 0001 0000
0000a70 2cca 4800 96cf 0003 0000 0000 0000 0000
0000a80 2cca 4800 9a78 0003 0005 0002 0000 0000
0000a90 2cca 4800 9aac 0003 0000 0000 0000 0000
0000aa0 2cca 4800 9abd 0003 0000 0000 0000 0000
0000ab0 2cca 4800 abff 0003 0005 0002 0001 0000
0000ac0 2cca 4800 ac6e 0003 0000 0000 0000 0000
0000ad0 2cca 4800 0a92 0004 0005 0002 0000 0000
0000ae0 2cca 4800 0ae8 0004 0000 0000 0000 0000
0000af0 2cca 4800 169e 0004 0005 0002 0001 0000
0000b00 2cca 4800 16e6 0004 0000 0000 0000 0000
0000b10 2cca 4800 193c 0004 0005 0002 0000 0000
0000b20 2cca 4800 1993 0004 0000 0000 0000 0000
0000b30 2cca 4800 2b0e 0004 0005 0002 0001 0000
0000b40 2cca 4800 2b69 0004 0000 0000 0000 0000

When this happen, my code would say:unplug the headset, but actually we plug in
headset.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the buglog mailing list