opencripp / atrix-dev-team

Automatically exported from code.google.com/p/atrix-dev-team
0 stars 0 forks source link

Car dock audio: 1) routes to speaker after call; 2) does not route to analog audio out during call #286

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Phone (Int/AT&T/etc.):  AT&T
Radio:  N_01.77.30P
CM Release (NO NIGHTLIES!): Ba2tF
Hacks/Mods used:
Kernel:2.6.32.39=M860-CM7-g54722f1

What is the expected behavior?
With phone docked in the OEM Moto Car dock and after making a call, all audio 
should continue to route to the micro-USB based 3.5mm analog audio out.  Also, 
while in an active call, pressing the speaker button should route audio to the 
micro-USB based 3.5 mm analog audio out, i.e. earpiece is substituted with 
analog audio out.

What is the actual behavior?
Scenario 1: Phone on car dock, music playing via the special micro USB 
connection, blue tooth headset powered on and connected.  Make/receive call, 
music auto holds.  End call, music auto resumes and diverts to phone 
loudspeaker.  Undock and re-dock phone to resolve.

Scenario 2: Phone on car dock, music not playing via the special micro USB 
connection, blue tooth headset powered on and connected.  Make/receive call.  
End call.  Upon playing music, diverts to phone loudspeaker.  Undock and 
re-dock phone to resolve.

Scenario 3: Phone on car dock, music not playing via the special micro USB 
connection, blue tooth headset not powered on.  Make/receive call.  End call.  
Upon playing music, diverts to phone loudspeaker.  Undock and re-dock phone to 
resolve.  This shows that this issue is unrelated to bluetooth.

Scenario 4: Phone on car dock and micro-USB based analog audio out connected, 
music not playing, blue tooth headset not powered on.  Make/receive call, and 
audio plays play via loudspeaker.  Upon pressing "Speaker" audio routes to 
ear-piece.  Expected behavior is that the earpiece should be disabled while 
docked and pressing the "Speaker" button should change audio route to analog 
audio out, thus diverting audio to the car stereo (phone microphone remains 
active in both states).  There is no interference/feedback when routing active 
call audio over the car stereo on the Atrix.  The audio quality for the person 
on the call also improves as there is a greater distance between the phone mic 
and car speakers.  Optional: Defaulting audio route to analog audio out instead 
of loudspeaker.  

What steps will reproduce the problem?
1.
2.
3.

Can you reproduce this problem after a complete wipe/factory reset? (do not
restore any apps or settings when testing)
Two Atrix have been shown to perform as described in this issue.

Possible workarounds:
Remove phone and re-insert into dock to route audio correctly for music.  There 
is no workaround to active call audio routing to micro-USB analog audio out.

Original issue reported on code.google.com by jjwatmys...@gmail.com on 18 Nov 2011 at 3:56

GoogleCodeExporter commented 9 years ago
If you get logs on both motoblur and CM7 doing the mentioned actions I'll take 
a look.

Original comment by buhitoes...@gmail.com on 8 Dec 2011 at 12:40

GoogleCodeExporter commented 9 years ago
Is this still happening on the newest weekly build?

Original comment by buhitoes...@gmail.com on 12 Dec 2011 at 11:25

GoogleCodeExporter commented 9 years ago
I can confirm that I too have this issue. After a phone call, if I put the 
phone back in the dock, the sound comes out from the speaker. 

Fix: I have to remove the phone from the dock and place it back in.

Original comment by liquiddr...@gmail.com on 12 Dec 2011 at 7:56

GoogleCodeExporter commented 9 years ago
This issue exists in CyanogenMod-7-12112011-NIGHTLY-Olympus.  I have logs of 
audio, diverting to speaker after call termination (including in-call audio 
routing to ear piece inctead of to 3.5 mm jack).  I also have a log of the 
workaround, removing phone from dock and re-inserting.  Unfortunately, I think 
you guys need to do some file clean-up before I can upload though.

"Issue attachment storage quota exceeded."

Original comment by jjwatmys...@gmail.com on 14 Dec 2011 at 1:42

GoogleCodeExporter commented 9 years ago
There is no point in doing file cleanup, you can't reclaim space back on Google 
Code, even if you delete files. Use pastebin.com, dropbox, etc.

Also, it would be better if you got such logs while running the 10-dec weekly 
build, it has several dock audio fixes, and it might have fixed this issue too.

Original comment by buhitoes...@gmail.com on 14 Dec 2011 at 2:09

GoogleCodeExporter commented 9 years ago
Test with catlog: Music routing via dock 3.5 mm audio out (correct), make call, 
in-call audio routes to speaker phone (correct), press 'speaker' button, audio 
routes to ear piece (wrong), hang up, music resumes and routes to speaker 
(wrong).
http://pastebin.com/1dDKQ0Jx

Workaround with catlog: Music is incorrectly routing to speaker and not via 
dock 3.5 mm audio out as a result of the above. Undock and redock phone to 
resolve audio route issue:
http://pastebin.com/gj2Mazjb

Original comment by jjwatmys...@gmail.com on 14 Dec 2011 at 2:28

GoogleCodeExporter commented 9 years ago
BTW I'll gladly re-flash to the 10-dec weekly build and re-test.

Original comment by jjwatmys...@gmail.com on 14 Dec 2011 at 2:31

GoogleCodeExporter commented 9 years ago
Please use some other logging app when retesting (alogcat would do I guess) or 
the real adb logcat, and start logging before you do anything with the dock, as 
those logs you posted are truncated.

Original comment by buhitoes...@gmail.com on 14 Dec 2011 at 2:35

GoogleCodeExporter commented 9 years ago
weekly-10-dec-2011.zip + factory reset + Dalvik cache wipe and About Phone 
shows Mod=CyanogenMod-7-12112011-NIGHTLY-Olympus Build=GWK74.  Perhaps the 
person that creates the weekly didn't update to display as WEEKLY?  The prior 
test results posted were using CM7 Mod ICS (PreFinal) which states is latest 
CM7, and I assume that means weekly.

Original comment by jjwatmys...@gmail.com on 14 Dec 2011 at 4:05

GoogleCodeExporter commented 9 years ago
Here are the same two files uploaded via dropbox:

Test with catlog: Music routing via dock 3.5 mm audio out (correct), make call, 
in-call audio routes to speaker phone (correct), press 'speaker' button, audio 
routes to ear piece (wrong), hang up, music resumes and routes to speaker 
(wrong).
http://dl.dropbox.com/u/53348172/2011-12-14-07-25-46.txt

Workaround with catlog: Music is incorrectly routing to speaker and not via 
dock 3.5 mm audio out as a result of the above. Undock and redock phone to 
resolve audio route issue:
http://dl.dropbox.com/u/53348172/2011-12-14-07-26-28.txt

Let me know if you still have an issue reading.

Also, I did a complete restore back to beta 3 and then re-applied the weekly.  
I can confirm that the Dec 10 weekly file installs as 
CyanogenMod-7-12112011-NIGHTLY-Olympus.

Original comment by jjwatmys...@gmail.com on 14 Dec 2011 at 6:57

GoogleCodeExporter commented 9 years ago
I can also confirm that the Dec 10 weekly file installs as 
CyanogenMod-7-12112011-NIGHTLY-Olympus.

The 12/10 Weekly did not seem to fix the bug. For me, It is exactly as 
described in the original report.

Original comment by EcksFift...@gmail.com on 28 Dec 2011 at 4:42

GoogleCodeExporter commented 9 years ago
Weekly Jan 22 still has this same issue.

Original comment by calebfw...@gmail.com on 26 Jan 2012 at 4:55

GoogleCodeExporter commented 9 years ago
The 5 Feb still having issues, or has there been a patch released, istll have 
to undock to get audio to work through dock once i take a call.

Original comment by djobes31...@gmail.com on 12 Feb 2012 at 6:50

GoogleCodeExporter commented 9 years ago
[This is a bulk message, apologies if it doesn't apply to this bug report]

Please test the latest RC available on http://get.cm/?device=olympus&type=RC 
and reply to this report with one of the following

"This bug is fixed on RC2"

or

"I still experience this bug on RC2"

Original comment by buhitoes...@gmail.com on 15 May 2012 at 12:49

GoogleCodeExporter commented 9 years ago
I still experience this bug on RC2

Original comment by EcksFift...@gmail.com on 16 May 2012 at 1:49

GoogleCodeExporter commented 9 years ago
I still have this bug on rc2 and nightly 5/20. I do somewhat disagree w ith the 
problem statement, though. The functionality in the stock ROM was to have the 
call routed through bt and not via the dock.what happens is that the dock 
initializes to audio out the USB when the phone is placed in the dock. Phone 
call switches to bt for audio. When the call ends, the sound switches to the 
phone speaker. To reset this, the phone must be removed from the dock and 
replaced.

Also, the dock program in the stock ROM would reset to the dock home page when 
the home bottom is pressed. The cm7 dock functionality is to show the home 
screen. Then there is no easy way to restart the dock program.

Original comment by keith.gr...@gmail.com on 23 May 2012 at 1:00

GoogleCodeExporter commented 9 years ago
Still have bug on RC3. If a current log is needed, I am willing to collect one.

Original comment by kgri...@insightpd.com on 29 May 2012 at 12:44

GoogleCodeExporter commented 9 years ago
Latest nightly does same thing. Play music through USB/Micro. Make call, it 
switches to BT for the phone call. End the call then all audio is routed 
through the phone speaker. 

Original comment by kgri...@insightpd.com on 12 Jun 2012 at 12:44

GoogleCodeExporter commented 9 years ago
Released version does the same thing. Is anyone looking at this? If a log is 
needed, please let me know and I will provide it if I can be given the steps to 
provide it.

Original comment by keith.gr...@gmail.com on 23 Jun 2012 at 1:42

GoogleCodeExporter commented 9 years ago
There is no problem like this on the cm9 (turtl and joker builds).. a difficult 
choose between normally working dock and video recording.
Sorry for my English :)

Original comment by cdt...@gmail.com on 6 Jul 2012 at 1:13

GoogleCodeExporter commented 9 years ago
I too am having this issue, but different:
While docked I can't change the audio to the speakers. I have to undock to get 
audio.

Original comment by themag...@gmail.com on 25 Oct 2012 at 2:46