Jump to content

Bluetooth, I don't know what I'm doing!!!


ZMan2k2

Recommended Posts

As it says, I'm not sure what settings should be, or shouldn't be changed, to get this to work.  Through pure luck, I discovered that Google Play Music works with my car stereo, an Alpine CDE-HD149BT flawlessly.  But I would like Poweramp to be my bluetooth method of choice, so I can go from singing in the car to bumpin' on my wired headset, without missing a beat.  Now, I can get everything to work on Poweramp and my car stereo, except, when you push the volume button, which acts like the select button, nothing happens.  It doesn't play the song, it just sits there.  If Google can figure it out, surely Max has, and implemented it in build 823.  The phone I'm using is an LG G7.  

 

Any advice would be appreciated.  Thanks.

Link to comment
Share on other sites

8 minutes ago, ZMan2k2 said:

Now, I can get everything to work on Poweramp and my car stereo, except, when you push the volume button, which acts like the select button, nothing happens.

Anything to be seen in Settings > Headset/Bluetooth > Last Processed Commands ?

Link to comment
Share on other sites

Thanks for jumping in here.  Here's what it says,

 

 

==================
14:24:07.653 HeadsetPlugReceiver headset event
disconnection BT=false am mode=0 no_keep_notif_on_dscn=false
==================
14:26:33.381 HeadsetPlugReceiver headset event
connection BT=true am mode=0
==================
14:26:33.395 HeadsetPlugReceiver headset event
connection BT=true am mode=0
==================
14:27:09.536 HeadsetPlugReceiver headset event
disconnection BT=true am mode=0 no_keep_notif_on_dscn=false
==================
14:27:09.540 HeadsetPlugReceiver headset event
disconnection BT=true am mode=0 no_keep_notif_on_dscn=false
==================
14:27:09.550 HeadsetPlugReceiver headset event
disconnection BT=false am mode=0 no_keep_notif_on_dscn=false
==================
15:08:02.744 HeadsetPlugReceiver headset event
connection BT=true am mode=0
==================
15:08:02.763 HeadsetPlugReceiver headset event
connection BT=true am mode=0
==================
15:08:04.779 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON
KEYCODE_MEDIA_PLAY ACTION_DOWN name=Virtual source=0x0 sources=0x301 virt=true repeat=0 actionTime=204341385 A2dpOn  isAvrcp  playerState=2
==================
15:08:04.800 PlayerService RESUME
from PSMediaButtonReceiver resumePlaying 
==================
15:08:04.857 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON
KEYCODE_MEDIA_PLAY ACTION_UP name=Virtual source=0x0 sources=0x301 virt=true repeat=0 actionTime=204341465 A2dpOn  isAvrcp  playerState=1
==================
15:10:23.960 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON
KEYCODE_MEDIA_PAUSE ACTION_DOWN name=Virtual source=0x0 sources=0x301 virt=true repeat=0 actionTime=204480556 A2dpOn  isAvrcp  playerState=1
==================
15:10:23.994 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON
KEYCODE_MEDIA_PAUSE ACTION_UP name=Virtual source=0x0 sources=0x301 virt=true repeat=0 actionTime=204480602 A2dpOn  isAvrcp  playerState=1
==================
15:10:24.006 PlayerService PAUSE
from PSMediaButtonReceiver pausePlaying 
==================
15:10:42.556 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON
KEYCODE_MEDIA_PLAY ACTION_DOWN name=Virtual source=0x0 sources=0x301 virt=true repeat=0 actionTime=204499163 A2dpOn  isAvrcp  playerState=2
==================
15:10:42.583 PlayerService RESUME
from PSMediaButtonReceiver resumePlaying 
==================
15:10:42.606 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON
KEYCODE_MEDIA_PLAY ACTION_UP name=Virtual source=0x0 sources=0x301 virt=true repeat=0 actionTime=204499213 A2dpOn  isAvrcp  playerState=1
==================
15:11:16.542 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON
KEYCODE_MEDIA_PAUSE ACTION_DOWN name=Virtual source=0x0 sources=0x301 virt=true repeat=0 actionTime=204533149 A2dpOn  isAvrcp  playerState=1
==================
15:11:16.577 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON
KEYCODE_MEDIA_PAUSE ACTION_UP name=Virtual source=0x0 sources=0x301 virt=true repeat=0 actionTime=204533184 A2dpOn  isAvrcp  playerState=1
==================
15:11:16.585 PlayerService PAUSE
from PSMediaButtonReceiver pausePlaying 
==================
15:11:23.358 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON
KEYCODE_MEDIA_PLAY ACTION_DOWN name=Virtual source=0x0 sources=0x301 virt=true repeat=0 actionTime=204539966 A2dpOn  isAvrcp  playerState=2
==================
15:11:23.363 PlayerService RESUME
from PSMediaButtonReceiver resumePlaying 
==================
15:11:23.409 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON
KEYCODE_MEDIA_PLAY ACTION_UP name=Virtual source=0x0 sources=0x301 virt=true repeat=0 actionTime=204540017 A2dpOn  isAvrcp  playerState=1
==================
15:11:55.517 HeadsetPlugReceiver headset event
disconnection BT=false am mode=0 no_keep_notif_on_dscn=false
==================
15:11:55.518 HeadsetPlugReceiver cmd_player_pause_playing
==================
15:11:55.540 HeadsetPlugReceiver headset event
disconnection BT=true am mode=0 no_keep_notif_on_dscn=false
==================
15:11:55.546 HeadsetPlugReceiver headset event
disconnection BT=true am mode=0 no_keep_notif_on_dscn=false
==================
15:12:04.517 HeadsetPlugReceiver headset event
connection BT=true am mode=0
==================
15:12:06.563 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON
KEYCODE_MEDIA_PLAY ACTION_DOWN name=Virtual source=0x0 sources=0x301 virt=true repeat=0 actionTime=204583169 A2dpOn  isAvrcp  playerState=2
==================
15:12:06.573 PlayerService RESUME
from PSMediaButtonReceiver resumePlaying 
==================
15:12:06.734 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON
KEYCODE_MEDIA_PLAY ACTION_UP name=Virtual source=0x0 sources=0x301 virt=true repeat=0 actionTime=204583341 A2dpOn  isAvrcp  playerState=1
==================
15:12:08.396 HeadsetPlugReceiver headset event
connection BT=true am mode=0
 

 

Link to comment
Share on other sites

I think I have it.  I was on build 823, and just as a shot, I tried 820.  BOOM it works!  Don't know what it was, but it's over now.  Blaubar, thanks for looking at something I had no idea what it meant.  But it's WORKING!!!!!

Link to comment
Share on other sites

Here's a list of the last commands.  Can someone please help?  Thanks.

 

==================
08:19:07.075 HeadsetPlugReceiver headset event
connection BT=true am mode=0
==================
08:19:08.407 PlayerService RESUME
from HeadsetPlugReceiver resumePlaying 
==================
08:19:38.120 HeadsetPlugReceiver headset event
connection BT=true am mode=0
==================
08:19:38.661 PlayerService RESUME
from HeadsetPlugReceiver resumePlaying 
==================
08:20:57.717 HeadsetPlugReceiver headset event
disconnection BT=false am mode=0
==================
08:20:57.737 HeadsetPlugReceiver headset event
disconnection BT=true am mode=0
==================
08:20:57.815 HeadsetPlugReceiver headset event
disconnection BT=true am mode=0
==================
08:20:57.821 PlayerService PAUSE
from HeadsetPlugReceiver IGNORED
==================
08:20:58.363 PlayerService PAUSE
from HeadsetPlugReceiver IGNORED
==================
08:20:58.363 PlayerService PAUSE
from HeadsetPlugReceiver IGNORED
==================
08:22:26.209 HeadsetPlugReceiver headset event
connection BT=false am mode=0
==================
08:23:32.306 HeadsetPlugReceiver headset event
disconnection BT=false am mode=0
==================
08:23:32.954 HeadsetPlugReceiver headset event
disconnection BT=false am mode=0
 

Link to comment
Share on other sites

That log is pretty meaningless without some context. What were you trying to do, and what was happening. You said earlier something about pressing Volume on something (phone, headset, Bluetooth receiver?) and expecting playback to start, but I'm not sure why you would expect that...

Andre

Link to comment
Share on other sites

  • 2 weeks later...

Sorry for the long wait, joys of life got in the way.

 

Anyways, the "Volume" button on the deck stated in the first post works like a multifunction, selector button as well.  So, when I open the "Bluetooth" app on the deck, I can select Poweramp by pushing the Volume button.  Pushing it again, I get the menu of "Albums, Artists, Playlists, Genres".  I press the Volume button again, I get to see the albums on my phone.  I turn the volume button to select an album, and finding one, I press it, to select that album.  The deck then shows me the first 3 songs in that album.  I highlight a song, press the volume button and nothing happens.  But I can get Google Play Music to work.  But that's not what I want, I want Poweramp to handle my music duties.

 

The reason for all this is, if you are caught using your phone at all while driving where I live, it is a $300 fine and 3 demerits on your license.  I hate giving away money, so I'm trying to avoid that.

 

I hope my above explanation, and the logs provide some clues I can follow.

 

Thanks.

Link to comment
Share on other sites

  • 2 weeks later...

Okay, so I hope in my last post, I made it clear how things are supposed to work.  I've discovered, while playing with things on my own, that the first time you select another track, it unloads Poweramp on the deck, and reverts to Google Play Music.  Any way to stop it from doing that, and remaining in Poweramp?  Here are the Bluetooth logs, I hope they help.

 

==================
10:39:55.752 HeadsetPlugReceiver headset event
connection BT=true am mode=0
==================
10:39:55.755 HeadsetPlugReceiver headset event
connection BT=true am mode=0
==================
10:52:00.916 HeadsetPlugReceiver headset event
disconnection BT=false am mode=0 no_keep_notif_on_dscn=false
==================
10:52:00.931 HeadsetPlugReceiver headset event
disconnection BT=true am mode=0 no_keep_notif_on_dscn=false
==================
10:52:00.932 HeadsetPlugReceiver headset event
disconnection BT=true am mode=0 no_keep_notif_on_dscn=false
==================
13:58:29.614 HeadsetPlugReceiver headset event
connection BT=true am mode=0
==================
13:58:29.972 HeadsetPlugReceiver headset event
connection BT=true am mode=0
==================
14:34:00.855 HeadsetPlugReceiver headset event
disconnection BT=false am mode=0 no_keep_notif_on_dscn=false
==================
14:34:00.873 HeadsetPlugReceiver headset event
disconnection BT=true am mode=0 no_keep_notif_on_dscn=false
==================
14:35:17.353 HeadsetPlugReceiver headset event
disconnection BT=true am mode=0 no_keep_notif_on_dscn=false
==================
15:35:29.950 HeadsetPlugReceiver headset event
connection BT=true am mode=0
==================
15:35:31.197 HeadsetPlugReceiver headset event
connection BT=true am mode=0
==================
15:59:41.689 HeadsetPlugReceiver headset event
disconnection BT=false am mode=0 no_keep_notif_on_dscn=false
==================
15:59:41.698 HeadsetPlugReceiver headset event
disconnection BT=true am mode=0 no_keep_notif_on_dscn=false
==================
15:59:58.761 HeadsetPlugReceiver headset event
disconnection BT=true am mode=0 no_keep_notif_on_dscn=false
==================
17:17:08.027 HeadsetPlugReceiver headset event
connection BT=true am mode=0
==================
17:17:09.362 HeadsetPlugReceiver headset event
connection BT=true am mode=0
==================
17:17:54.527 HeadsetPlugReceiver headset event
disconnection BT=false am mode=0 no_keep_notif_on_dscn=true
==================
17:17:54.527 HeadsetPlugReceiver cmd_player_remove_notif
==================
17:17:54.530 HeadsetPlugReceiver headset event
disconnection BT=true am mode=0 no_keep_notif_on_dscn=true
==================
17:17:54.530 HeadsetPlugReceiver cmd_player_remove_notif
==================
17:18:29.876 HeadsetPlugReceiver headset event
disconnection BT=true am mode=0 no_keep_notif_on_dscn=true
==================
17:18:29.876 HeadsetPlugReceiver cmd_player_remove_notif
==================
17:23:58.682 HeadsetPlugReceiver headset event
connection BT=true am mode=0
==================
17:23:59.341 HeadsetPlugReceiver headset event
connection BT=true am mode=0
==================
17:24:03.669 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON
KEYCODE_MEDIA_PLAY ACTION_DOWN name=Virtual source=0x0 sources=0x301 virt=true repeat=0 actionTime=339106418 A2dpOn  isAvrcp  playerState=2
==================
17:24:03.680 PlayerService RESUME
from PSMediaButtonReceiver resumePlaying 
==================
17:24:03.902 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON
KEYCODE_MEDIA_PLAY ACTION_UP name=Virtual source=0x0 sources=0x301 virt=true repeat=0 actionTime=339106654 A2dpOn  isAvrcp  playerState=1
==================
17:24:40.152 HeadsetPlugReceiver headset event
disconnection BT=false am mode=0 no_keep_notif_on_dscn=false
==================
17:24:40.177 HeadsetPlugReceiver headset event
disconnection BT=true am mode=0 no_keep_notif_on_dscn=false
==================
17:25:01.905 HeadsetPlugReceiver headset event
disconnection BT=true am mode=0 no_keep_notif_on_dscn=false
==================
17:25:32.701 PlayerService STOP_SERVICE
from NotificationHelperViaBuilder 
 

 

Thanks.

Link to comment
Share on other sites

31 minutes ago, ZMan2k2 said:

the first time you select another track, it unloads Poweramp on the deck, and reverts to Google Play Music.

Sounds like it wants to send BT commands to Google Play Music. Can you perhaps clear any default settings, or maybe even Disable the Google app on the device?

Andre

Link to comment
Share on other sites

Sorry, forgot the logs.

 

==================
19:14:40.021 HeadsetPlugReceiver headset event
connection BT=true am mode=0
==================
19:14:40.249 HeadsetPlugReceiver headset event
connection BT=true am mode=0
==================
19:14:42.134 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON
KEYCODE_MEDIA_PLAY ACTION_DOWN name=Virtual source=0x0 sources=0x301 virt=true repeat=0 actionTime=152211 A2dpOn  isAvrcp  playerState=0
==================
19:14:42.449 PlayerService RESUME
from PSMediaButtonReceiver resumePlaying 
==================
19:14:42.645 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON
KEYCODE_MEDIA_PLAY ACTION_UP name=Virtual source=0x0 sources=0x301 virt=true repeat=0 actionTime=152726 A2dpOn  isAvrcp  IGNORED lastRouteTimeDiff=lastRouteTimeDiff
==================
19:15:11.802 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON
KEYCODE_MEDIA_PAUSE ACTION_DOWN name=Virtual source=0x0 sources=0x301 virt=true repeat=0 actionTime=181883 A2dpOn  isAvrcp  playerState=1
==================
19:15:11.858 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON
KEYCODE_MEDIA_PAUSE ACTION_UP name=Virtual source=0x0 sources=0x301 virt=true repeat=0 actionTime=181938 A2dpOn  isAvrcp  playerState=1
==================
19:15:11.863 PlayerService PAUSE
from PSMediaButtonReceiver pausePlaying 
==================
19:16:32.822 HeadsetPlugReceiver headset event
disconnection BT=true am mode=0 no_keep_notif_on_dscn=true
==================
19:16:32.822 HeadsetPlugReceiver cmd_player_remove_notif
==================
19:16:32.836 HeadsetPlugReceiver headset event
disconnection BT=false am mode=0 no_keep_notif_on_dscn=true
==================
19:16:32.836 HeadsetPlugReceiver cmd_player_remove_notif
==================
19:16:42.013 HeadsetPlugReceiver headset event
disconnection BT=true am mode=0 no_keep_notif_on_dscn=true
==================
19:16:42.013 HeadsetPlugReceiver cmd_player_remove_notif
 

Link to comment
Share on other sites

7 hours ago, ZMan2k2 said:

I tried that, rebooted the phone and now in either AudioTrack or Open CL, I can't get past the music player program selection on the deck.  It's really wired.

I'm a bit puzzled by your use of the term "on the deck" - do you mean buttons on your car radio headunit? Or maybe steering wheel buttons?

The above log shows a PLAY command, then a PAUSE command, but the dev @maxmp would need to comment on the other later entries. 

Andre

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...