[LG Optimus Black] redy2006:
I guess it's true, that this is a various problem happening with our devices...

I use default ringtone, 2G always and also GSM only (but data enabled), Notification focus checked. And using your config, "incoming call volume for notifications" disabled, reboot. Wowwwww it ring's :) tried it many times and still ringing. Even at playing music, change volume in music player (that still had problem with levels). The log changes, it ringing..

D/Omap3ALSA( 1323): route called for devices 00000000 in mode 1...
D/Omap3ALSA( 1323): route called for devices 00000000 in mode 1...
D/Omap3ALSA( 1323): route called for devices 00000002 in mode 1...
E/Omap3ALSA( 1323): Why are we routing to a device that isn't supported by this object?!?!?!?!
D/Omap3ALSA( 1323): open called for devices 00000002 in mode 1 channels 00000000...
V/Omap3ALSAModem( 1323): voiceCallControls: devices 0002 mode 1
I/Omap3ALSA( 1323): Initialized ALSA PLAYBACK device default
V/Omap3ALSAModem( 1323): voiceCallControls: devices 0002 mode 1
D/Omap3ALSA( 1323): route called for devices 00000000 in mode 1...
D/Omap3ALSA( 1323): route called for devices 00000000 in mode 1...

BUT, the problem appears :confused: after I make a call, or after answer a call...

D/AudioHardwareInterface( 1323): setMode(NORMAL)
D/Omap3ALSA( 1323): route called for devices 00000000 in mode 0...
D/Omap3ALSA( 1323): route called for devices 00000000 in mode 0...
D/Omap3ALSA( 1323): route called for devices 00000001 in mode 0...
V/Omap3ALSAModem( 1323): voiceCallControls: devices 0001 mode 0
V/Omap3ALSAModem( 1323): Stop Audio Codec Voice call
E/ALSAControl( 1323): Control 'BT Digital Playback Volume' cannot get element info: -2
E/ALSAControl( 1323): Control 'BT Digital Capture Volume' cannot get element info: -2
E/ALSAControl( 1323): Control 'BT Sidetone Volume' cannot get element info: -2
E/ALSAControl( 1323): Control 'BT data out playback MUX' cannot get element info: -2
E/ALSAControl( 1323): Control 'Voice data out MUX' cannot get element info: -2
E/ALSAControl( 1323): Control 'BT Tristate Switch' cannot get element info: -2
E/ALSAControl( 1323): Control 'Enable BT input' cannot get element info: -2
E/ALSAControl( 1323): Control 'Enable BT output' cannot get element info: -2
E/ALSAControl( 1323): Control 'BT Interface Switch' cannot get element info: -2
E/ALSAControl( 1323): Control 'Analog Capture Main Mic Switch' cannot get element info: -2
E/ALSAControl( 1323): Control 'Main Microphone Bias Switch' cannot get element info: -2

Before make/get a call, those event doesn't come out.. and the ringtone does not ringing again.. :confused:

Not just in deep sleep, even at awake. Tested many times and looking the running logcat at my PC screen. But the ringtone can ring's when we currently playing a music.

The audio volume still always got the wrong setting (min/max). I think it's there in alsa code, function getmin/getmax? Can't figure it right now.

Yes, I think the problem is in ALSA Library (directory alsa and alsa_sound) and it's related.

Perhaps tonight I will looking at the code, I'm at the office right now, just able to do testing with call ringtone :)

Question, do you already have completed CM source? How can we build only for the p970 packages? is it like this?

$ . build/envsetup.sh
mmm device/lge/p970

I haven't tried it yet.. :)

---

Best regards,

Redy2006