Wednesday, 2011-11-23

*** bzo has joined #xdandroid00:24
*** jonpry has quit IRC01:38
*** rpierce99 has quit IRC02:04
*** rpierce99 has joined #xdandroid02:14
*** rpierce99 has quit IRC02:39
*** bzo has quit IRC02:43
*** rpierce99 has joined #xdandroid02:55
*** rpierce99 has quit IRC02:56
*** kalemas has joined #xdandroid04:35
*** babijoee has quit IRC04:49
*** virsys has joined #xdandroid04:55
*** mayday_jay has quit IRC05:50
*** mayday_jay has joined #xdandroid05:52
*** hardwalker has quit IRC05:57
*** mgross029 has joined #xdandroid07:42
*** helicopter88 has joined #xdandroid08:41
*** helicopter88 is now known as helicAWAY08:47
*** fishhead2567 has joined #xdandroid09:21
*** helicAWAY is now known as helicopter8809:24
*** Kraln has quit IRC09:44
*** kalemas has left #xdandroid09:45
*** Kraln has joined #xdandroid09:46
*** NeoMatrixJR has joined #xdandroid09:57
*** rpierce99 has joined #xdandroid10:22
*** d3tul3 has joined #xdandroid10:40
*** helicopter88 has quit IRC10:45
*** helicopter88 has joined #xdandroid10:46
*** NeoMatrixJR has quit IRC10:48
*** NeoMatrixJR has joined #xdandroid10:59
*** jonpry has joined #xdandroid11:18
*** emwe has joined #xdandroid11:19
d3tul3hey emwe i think what you are suggesting is fine/less intrusive than messing with frameworks base...my only hope was that routing that extra one umute call to audiomanager might nudge the mic into picking up in all instances...but don't know if it's worth it11:26
emweheh. let's say i am not switching back and pursuing the audiomgr route.11:27
emwehope it's worth it.11:28
d3tul3it's about the first time in months that i've heard my phone's ringtone on an incoming call11:53
*** NeoMatrixJR has quit IRC12:13
mgross029emwe / detule Interesting conversation.  I must have missed something in the logs?12:15
emwemgross029: nah, just the routing of the mute instructions over audiomgr instead of ril12:28
emweany of you guys can haretconsole?12:29
d3tul3no, btw perhaps the way i patched AudioHardware.cpp when doing send_mic_mute to audiomanager was not entirely correct, as mic bias stays on (1) at the end of a phone call....really the only time i see it turning off is when i press the mute button during a phone call....not sure what the implications of this are -> increased power drain?12:35
mgross029emwe, so are these just thoughts or is this something that you committed already?12:44
emwemgross029: we are just tinkering around. watch the repos for changes.12:45
emwe;)12:45
emweit's my daily routine to check what happened on gitorious12:45
*** kalemas has joined #xdandroid12:45
mgross029Funny thing is I've been looking at this very area of what could be causing the mic mute on first call.  (audmgr.c and AudioHardware.cpp)12:45
mgross029I do watch the repos for changes.  I actually have a script that I run which does a git pull for all of the kernels I have compiled. :p12:46
mgross029I also check there too. :p12:46
emwed3tul3: ok, to get that right we need the input == null case?12:47
mgross029Anyway, I kept noticing as a call comes in that the snd_mic_mute would be enabled at times in the logs12:47
mgross029Just something that kept standing out to me12:49
d3tul3emwe, yeah i guess so, contrary to the instructions in the library12:51
emweok, keeping in mind.12:52
emweor let's say, reverting the commit :P12:52
d3tul3i'll give it a go12:55
d3tul3wait revert what commit13:03
emwethe local one dropping the input == null path13:05
d3tul3well when i did it over here dropped also the mic mute calls in input != null, but those i can see needing to stay dropped13:06
emweneeding to stay dropped as in issued?13:07
d3tul3no as in we don't need those since input!=null is when the phone app sets the mic_mute flag13:08
d3tul3but input==null i guess the phone app is not doing much then, so perhaps libaudio needs to take care of setting the flags in this instance13:09
emweok, i think i need to actually "debug-log" this :)13:09
emwei haven't done much, yet.13:09
d3tul3i am just worried that all the progress i was seeing in subsequent calls was from the fact that the way i had it set up i wasn't turning mic bias off at the end of a phone call13:09
emweso you had no mic issue...13:11
d3tul3yeah once it was on, it stayed on, therfore no mic issue on subsequent calls13:13
*** NeoMatrixJR has joined #xdandroid13:23
*** NeoMatrixJR has quit IRC13:30
d3tul3emwe, bringing back the mic_mute calls inside the input==null brackets restores mic_bias(0) at the end of calls, however as suspected, it sets me back in terms of no mic on incoming calls + silent13:46
d3tul3emwe, here's also another questions, in libaudio* what's device=0 and device=1  ? one's headset speaker+mic , the other is speaker + dualmic?13:53
emwethat's setup in the devices(_htc?).c file to my understanding and read out by libaudio from my understanding14:23
emwe0=HANDSET 1=SPEAKER14:23
d3tul3thanks14:24
emwei'll dig into this, sorry for delaying any work on your side.... i hate myself for getting side tracked...14:26
d3tul3no no it's ok i have an idea what's going on at least on my device14:36
d3tul3all routing calls device = 0, mic = anything kind of get ignored14:36
d3tul3so the handset mic is either not operational14:37
d3tul3or we're not routing to it properly14:37
*** NeoMatrixJR has joined #xdandroid14:38
emweshouldn't it be an issue for others then, too?14:40
d3tul3yeah well when not in silent device=1 mic=1 also gets called14:41
d3tul3that call is not made when in silent14:42
d3tul3(about the only difference i can see)14:42
d3tul3so i think this is an issue for others to the extent that the mic rounting is not working properly14:42
d3tul3but it's only a theory, one in many that have not panned out, and likely this one is pretty groundless too14:43
d3tul3nevermind, likely doesn't make a difference14:45
emwei wish i could chime into your ideas...14:47
emwecan you please force me into this? ;)14:48
emwebah, bt won't enable... logcat tells something about permission issue when ...14:48
*** virsys has quit IRC14:57
emweif i look at CAs libaudio, it seems JB split it up into libaudio and libacoustic14:59
mgross029emwe, not sure why but I've had a few issues with bt not enabling too.  My dmesg is filled with the restarting duplicate services I noticed15:02
emwethat sounds like something bails out in init15:02
emwei see nothing obviously wrong here..15:03
emwestarted out of a sudden.15:03
mgross029Correct.15:03
*** virsys has joined #xdandroid15:03
mgross029But then it only happens every once in a while.  Usually a reboot will fix it.15:04
emwei have reboot and kexec'ed quite some times now...15:04
mgross029I'll see if I was able to save any of those logs15:04
emwethose dup definition thingies pile up if some kernel code fails iirc15:05
emwebut i see nothing...15:05
mgross029Ok.15:05
emweof course the question, why it starts to fail :)15:06
emwereboot once agian. perhaps fs is fscked up...15:07
emwelast resort is data.ext4 renewal15:07
mgross029Yeah.  Something could have been written badly at some point.15:08
*** d3tul3 has quit IRC15:08
*** lapin has joined #xdandroid15:08
mgross029On a good note though I received a call today and it actually worked!  Ringer and Mic both...  HA!  So the wife wasn't cursing me on the other end. :p15:08
emwehehe ;)15:10
emwei am getting far to less calls to say all is good here.15:10
emwewhen i usually get them i am in silent mode with headset plugged.15:10
emweok, pulling all apk and doing away with the old data.ext415:12
emwehmhmhm, i really whonder why JB split all that stuff out into libacoustic. CA has it all in libaudio.15:15
emwe("all" as in pieces that are in our libacoustic)15:15
mgross029Doesn't sound to efficient15:16
emweseems that was inspired how google did it in their libaudio.15:20
emwebut Qualcomm/CodeAurora has it all stuffed into one lib.15:20
emwe/Explicitly mute the mic to release DSP resources  << detule, that sounds like we should make sure it's off ;)15:21
*** virsys has quit IRC15:26
*** NeoMatrixJR has quit IRC15:37
emwehm, that didn't do it. can it be because i got bt enabled in wince?15:51
mgross029emwe, bt enabled in wince will cause problems.  I have mine disabled.16:10
emweai16:10
emwei shouldn't have transferred a file in wince with bt16:10
emwethanks16:10
mgross029:) NP...  Have to run.  Laters.16:11
emwelaters.16:11
*** helicopter88 has quit IRC16:20
*** lapin has quit IRC16:24
*** billee has left #xdandroid16:33
*** NeoMatrixJR has joined #xdandroid16:45
*** SytheZN has joined #xdandroid17:18
*** emwe has quit IRC17:19
*** SytheZN has quit IRC17:26
*** NeoMatrixJR has quit IRC17:38
*** fishhead2567 has quit IRC18:01
*** vinceweis_ has joined #xdandroid18:11
*** d3tul3 has joined #xdandroid19:01
*** detule has quit IRC19:03
*** d3tul3 is now known as detule19:03
*** lapin has joined #xdandroid19:08
*** lapin has quit IRC19:35
*** Yusuke14 has quit IRC20:04
*** hardwalker has joined #xdandroid20:16
*** babijoee has joined #xdandroid20:22
*** kalemas has left #xdandroid20:22
*** KIKMS has joined #xdandroid20:34
KIKMShi20:34
*** KIKMS is now known as Defyy20:51
*** Defyy is now known as Defy20:51
*** Defy is now known as Defyy20:51
*** Defyy is now known as KIKMS20:52
*** detule has quit IRC20:53
*** KIKMS is now known as Defyy20:59
*** Defyy is now known as [Defy]21:02
*** [Defy] is now known as Defy`21:02
*** Defy` has left #xdandroid21:03
*** vinceweis_ has quit IRC21:29
*** rpierce99 has quit IRC22:17
*** mgross029 has quit IRC22:24
*** TheSeven has joined #xdandroid22:33
*** [7] has quit IRC22:33
*** babijoee has quit IRC22:50
*** mgross029 has joined #xdandroid23:05
*** mgross029 has quit IRC23:11
*** mgross029 has joined #xdandroid23:12
*** rpierce99 has joined #xdandroid23:46

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!