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 dicki.ana
4 hours ago
Last post by mitchell.irving
2 hours ago
Last post by damon90
2 hours ago
Last post by hwehner
2 hours ago
Last post by vmcdermott
1 hour ago
Last post by streutel
2 hours ago