Problems wuth long press power button and volume

I make CyanogenMod 10 for my device. Official firmware - android 4.1.1. I have serious problems with the processing of pressing the power button and volume buttons.
When I press the power button, the phone starts to behave inappropriately. It appears when i try to unlock: not always the first time gets unlocked, you need a short press that the attempt was successful. And if you say I want to call the power menu, long clamp the power button and the phone will vibrate like crazy and there is a bunch of copies of windows power menu, you press back - phone go to the bootanimation ...
By the way with the volume button a similar situation! As is well known in the CyanogenMod is feature - volume buttons scroll through tracks. So if I clamp rocker to scroll through the forward / backward, flipping loops and skipped about 5-6 tracks!

In what could be the problem?
Surely someone had anything like that.
Sorry for my bad english)

Show Accepted Answer

Guest Quick Reply (No URL, BBcode or HTML)

Last post by kelvin.shanahan
2 hours ago
Last post by ursula.cremin
1 hour ago
Last post by gusikowski.frederic
3 hours ago
Last post by ebeer
1 hour ago
Last post by sweimann
3 hours ago
Last post by rdickens
2 hours ago
Last post by demetrius21
3 hours ago
Last post by edna23
1 hour ago
Last post by oanderson
4 hours ago
Last post by schultz.roderick
2 hours ago
Last post by dlueilwitz
3 hours ago
Last post by bette.glover
1 hour ago