Odd one this - I can connect to PCP (BT player) with a Samsung Tab S2
but it disconnects almost straight away. It's been running fine for a
few days and I've not made any changes. I rebooted the tablet with no
change.
I then tried to connect a S10e but it wouldn't connect.

The BT log seems to have stopped a couple of hours ago around when it
was last working. The UI says the BT controller is on and speaker &
pairing daemons are running. I didn't want to reboot the PCP in case I
lost diag info.

Stabbing in the dark I looked for bt processes:

tc@pCP-SPDIF:~$ ps -ef |grep bt
2850 tc        0:00 grep bt
14274 root      0:01 python3 /usr/local/bin/pcp-btspeaker-daemon.py
debug

tc@pCP-SPDIF:~$ ps -ef |grep blue
2854 tc        0:00 grep blue
6064 root      0:00 /usr/local/lib/bluetooth/bluetoothd --experimental
6186 root     23:23 /usr/local/bin/bluealsa --profile=a2dp-source
--profile=a2dp-sink --profile=hsp-ag --profile=hfp-ag --a2dp-volume
6187 root      0:02 python3 /usr/local/bin/pcp-pairing-agent.py --agent
--wait_for_bluez



Any ideas?

piCorePlayer v6.1.0 | www v0009 | linux 4.19.122-pcpCore_v7 | piCore
v10.3pCP | Squeezelite v1.9.6-1206-pCP


Code:
--------------------
    
  pCP Bluetooth extension build:0012
  Starting BT Controller
  bcm43xx_init
  Flash firmware /lib/firmware/brcm/BCM4345C0.hcd
  Set BDADDR UART: b8:27:eb:69:b7:6b
  Set Controller UART speed to 3000000 bit/s
  Device setup complete
  RPi Bluetooth Hardware Address: B8:27:EB:69:B7:6B
  Starting pCP BT Pairing Agent
  BT Controller Ready
  01-01 00:00 GMT INFO     ------------Starting pCP BT Speaker Daemon 
v6.0.0.0012------------
  01-01 00:00 GMT INFO     Resetting asound.conf.
  01-01 00:00 GMT INFO        Removing bt_ from asound.conf
  01-01 00:00 GMT INFO     Current contents of /usr/local/etc/pcp/pcp-bt.conf.
  01-01 00:00 GMT INFO        D4:E6:B7:BD:E7:BA#Samsung Galaxy Tab S2 
T813#-5000#2
  01-01 00:00 GMT DEBUG    PCM Devices found 
dbus.Dictionary({dbus.ObjectPath('/org/bluealsa/hci0/dev_D4_E6_B7_BD_E7_BA/a2dpsnk/source'):
 dbus.Dictionary({dbus.String('Device'): 
dbus.ObjectPath('/org/bluez/hci0/dev_D4_E6_B7_BD_E7_BA', variant_level=1), 
dbus.String('Transport'): dbus.String('A2DP-sink', variant_level=1), 
dbus.String('Mode'): dbus.String('source', variant_level=1), 
dbus.String('Format'): dbus.UInt16(32784, variant_level=1), 
dbus.String('Channels'): dbus.Byte(2, variant_level=1), 
dbus.String('Sampling'): dbus.UInt32(44100, variant_level=1), 
dbus.String('Codec'): dbus.UInt16(0, variant_level=1), dbus.String('Delay'): 
dbus.UInt16(150, variant_level=1), dbus.String('SoftVolume'): 
dbus.Boolean(False, variant_level=1), dbus.String('Volume'): dbus.UInt16(32639, 
variant_level=1)}, signature=dbus.Signature('sv'))}, 
signature=dbus.Signature('oa{sv}'))
  01-01 00:00 GMT DEBUG    A2DP devices found A2DP-sink.
  01-01 00:00 GMT INFO     Found a2dp sink D4:E6:B7:BD:E7:BA connected.
  01-01 00:00 GMT INFO     No bluealsa-aplay process for device 
D4:E6:B7:BD:E7:BA.  Starting......
  01-01 00:00 GMT DEBUG       pCP OUTPUT="hw:CARD=sndrpijustboomd"
  01-01 00:00 GMT DEBUG       pCP ALSAVOLUME=""
  01-01 00:00 GMT DEBUG       pCP Card Conf:"justboom_digi.conf"
  01-01 00:00 GMT INFO        Starting player:"Samsung Galaxy Tab S2 T813" 
bluetooth, alsa device:"hw:CARD=sndrpijustboomd", volume:"".
  01-01 00:00 GMT INFO     Starting connection signal handlers.
  01-01 02:40 GMT INFO     ------------Starting pCP BT Speaker Daemon 
v6.0.0.0012------------
  01-01 02:40 GMT INFO     Resetting asound.conf.
  01-01 02:40 GMT INFO        Removing bt_ from asound.conf
  01-01 02:40 GMT INFO     Current contents of /usr/local/etc/pcp/pcp-bt.conf.
  01-01 02:40 GMT INFO        D4:E6:B7:BD:E7:BA#Samsung Galaxy Tab S2 
T813#-5000#2
  01-01 02:40 GMT INFO        F4:7D:EF:68:82:EB#Galaxy S10e#0#2
  01-01 02:40 GMT DEBUG    bluealsa-aplay ps:['7929', 'root', '0:00', 
'/usr/local/bin/bluealsa-aplay', '-D', 'hw:CARD=sndrpijustboomd', 
'D4:E6:B7:BD:E7:BA']
  01-01 02:40 GMT INFO     Found bluealsa-aplay running (7929) with device 
D4:E6:B7:BD:E7:BA.
  01-01 02:40 GMT DEBUG    PCM Devices found 
dbus.Dictionary({dbus.ObjectPath('/org/bluealsa/hci0/dev_D4_E6_B7_BD_E7_BA/a2dpsnk/source'):
 dbus.Dictionary({dbus.String('Device'): 
dbus.ObjectPath('/org/bluez/hci0/dev_D4_E6_B7_BD_E7_BA', variant_level=1), 
dbus.String('Transport'): dbus.String('A2DP-sink', variant_level=1), 
dbus.String('Mode'): dbus.String('source', variant_level=1), 
dbus.String('Format'): dbus.UInt16(32784, variant_level=1), 
dbus.String('Channels'): dbus.Byte(2, variant_level=1), 
dbus.String('Sampling'): dbus.UInt32(44100, variant_level=1), 
dbus.String('Codec'): dbus.UInt16(0, variant_level=1), dbus.String('Delay'): 
dbus.UInt16(150, variant_level=1), dbus.String('SoftVolume'): 
dbus.Boolean(False, variant_level=1), dbus.String('Volume'): dbus.UInt16(32639, 
variant_level=1)}, signature=dbus.Signature('sv'))}, 
signature=dbus.Signature('oa{sv}'))
  01-01 02:40 GMT DEBUG    A2DP devices found A2DP-sink.
  01-01 02:40 GMT INFO     Found a2dp sink D4:E6:B7:BD:E7:BA connected.
  01-01 02:40 GMT INFO     Synced device D4:E6:B7:BD:E7:BA to 
bluealsa-aplay(7929).
  01-01 02:40 GMT INFO     Starting connection signal handlers.
  01-01 02:42 GMT INFO     ---- Caught Connect signal ----
  01-01 02:42 GMT DEBUG    
/org/bluealsa/hci0/dev_F4_7D_EF_68_82_EB/a2dpsnk/source
  01-01 02:42 GMT DEBUG       HCI:hci0
  01-01 02:42 GMT INFO        MAC:F4:7D:EF:68:82:EB
  01-01 02:42 GMT INFO        TRANSPORT:a2dpsnk
  01-01 02:42 GMT INFO        a2dp sink already connected: Can only handle one 
device.
  01-01 02:43 GMT INFO     ---- Caught Disconnect signal ----
  01-01 02:43 GMT DEBUG       HCI:hci0
  01-01 02:43 GMT INFO        MAC:D4:E6:B7:BD:E7:BA
  01-01 02:43 GMT INFO        TRANSPORT:a2dpsnk
  01-01 02:43 GMT INFO        Stopping playback from Samsung Galaxy Tab S2 T813
  01-01 02:43 GMT INFO     ------------Starting pCP BT Speaker Daemon 
v6.0.0.0012------------
  01-01 02:43 GMT INFO     Resetting asound.conf.
  01-01 02:43 GMT INFO        Removing bt_ from asound.conf
  01-01 02:43 GMT INFO     Current contents of /usr/local/etc/pcp/pcp-bt.conf.
  01-01 02:43 GMT INFO        D4:E6:B7:BD:E7:BA#Samsung Galaxy Tab S2 
T813#-5000#2
  01-01 02:43 GMT INFO        F4:7D:EF:68:82:EB#Galaxy S10e#0#2
  01-01 02:43 GMT DEBUG    PCM Devices found 
dbus.Dictionary({dbus.ObjectPath('/org/bluealsa/hci0/dev_F4_7D_EF_68_82_EB/a2dpsnk/source'):
 dbus.Dictionary({dbus.String('Device'): 
dbus.ObjectPath('/org/bluez/hci0/dev_F4_7D_EF_68_82_EB', variant_level=1), 
dbus.String('Transport'): dbus.String('A2DP-sink', variant_level=1), 
dbus.String('Mode'): dbus.String('source', variant_level=1), 
dbus.String('Format'): dbus.UInt16(32784, variant_level=1), 
dbus.String('Channels'): dbus.Byte(2, variant_level=1), 
dbus.String('Sampling'): dbus.UInt32(44100, variant_level=1), 
dbus.String('Codec'): dbus.UInt16(0, variant_level=1), dbus.String('Delay'): 
dbus.UInt16(150, variant_level=1), dbus.String('SoftVolume'): 
dbus.Boolean(False, variant_level=1), dbus.String('Volume'): dbus.UInt16(32639, 
variant_level=1)}, signature=dbus.Signature('sv'))}, 
signature=dbus.Signature('oa{sv}'))
  01-01 02:43 GMT DEBUG    A2DP devices found A2DP-sink.
  01-01 02:43 GMT INFO     Found a2dp sink F4:7D:EF:68:82:EB connected.
  01-01 02:43 GMT INFO     No bluealsa-aplay process for device 
F4:7D:EF:68:82:EB.  Starting......
  01-01 02:43 GMT DEBUG       pCP OUTPUT="hw:CARD=sndrpijustboomd"
  01-01 02:43 GMT DEBUG       pCP ALSAVOLUME=""
  01-01 02:43 GMT DEBUG       pCP Card Conf:"justboom_digi.conf"
  01-01 02:43 GMT INFO        Starting player:"Galaxy S10e" bluetooth, alsa 
device:"hw:CARD=sndrpijustboomd", volume:"".
  01-01 02:43 GMT INFO     Starting connection signal handlers.
  01-01 02:44 GMT INFO     ---- Caught Disconnect signal ----
  01-01 02:44 GMT DEBUG       HCI:hci0
  01-01 02:44 GMT INFO        MAC:F4:7D:EF:68:82:EB
  01-01 02:44 GMT INFO        TRANSPORT:a2dpsnk
  01-01 02:44 GMT INFO        Stopping playback from Galaxy S10e
  01-01 02:44 GMT INFO     ---- Caught Connect signal ----
  01-01 02:44 GMT DEBUG    
/org/bluealsa/hci0/dev_F4_7D_EF_68_82_EB/a2dpsnk/source
  01-01 02:44 GMT DEBUG       HCI:hci0
  01-01 02:44 GMT INFO        MAC:F4:7D:EF:68:82:EB
  01-01 02:44 GMT INFO        TRANSPORT:a2dpsnk
  01-01 02:44 GMT DEBUG       pCP OUTPUT="hw:CARD=sndrpijustboomd"
  01-01 02:44 GMT DEBUG       pCP ALSAVOLUME=""
  01-01 02:44 GMT DEBUG       pCP Card Conf:"justboom_digi.conf"
  01-01 02:44 GMT INFO        Starting player:"Galaxy S10e" bluetooth, alsa 
device:"hw:CARD=sndrpijustboomd", volume:"".
  01-01 02:56 GMT INFO     ---- Caught Disconnect signal ----
  01-01 02:56 GMT DEBUG       HCI:hci0
  01-01 02:56 GMT INFO        MAC:F4:7D:EF:68:82:EB
  01-01 02:56 GMT INFO        TRANSPORT:a2dpsnk
  01-01 02:56 GMT INFO        Stopping playback from Galaxy S10e
  01-01 02:57 GMT INFO     ---- Caught Connect signal ----
  01-01 02:57 GMT DEBUG    
/org/bluealsa/hci0/dev_D4_E6_B7_BD_E7_BA/a2dpsnk/source
  01-01 02:57 GMT DEBUG       HCI:hci0
  01-01 02:57 GMT INFO        MAC:D4:E6:B7:BD:E7:BA
  01-01 02:57 GMT INFO        TRANSPORT:a2dpsnk
  01-01 02:57 GMT DEBUG       pCP OUTPUT="hw:CARD=sndrpijustboomd"
  01-01 02:57 GMT DEBUG       pCP ALSAVOLUME=""
  01-01 02:57 GMT DEBUG       pCP Card Conf:"justboom_digi.conf"
  01-01 02:57 GMT INFO        Starting player:"Samsung Galaxy Tab S2 T813" 
bluetooth, alsa device:"hw:CARD=sndrpijustboomd", volume:"".
  01-04 05:16 GMT INFO     ---- Caught Disconnect signal ----
  01-04 05:16 GMT DEBUG       HCI:hci0
  01-04 05:16 GMT INFO        MAC:D4:E6:B7:BD:E7:BA
  01-04 05:16 GMT INFO        TRANSPORT:a2dpsnk
  01-04 05:16 GMT INFO        Stopping playback from Samsung Galaxy Tab S2 T813
  
--------------------


------------------------------------------------------------------------
mr-b's Profile: http://forums.slimdevices.com/member.php?userid=10044
View this thread: http://forums.slimdevices.com/showthread.php?t=111972

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to