paul- wrote: 
> Please update your bluetooth extensions..   Version 0012 pushed. 
> 
> When squeezelite started, there is a 5 second delay before checking for
> connection to LMS.  Apparently, that is not always long enough.  There
> was supposed to be a retry loop on LMS connections....it was broken.  I
> fixed the loop......  See if that fixes it.  Post a new log if it
> doesn't

I can see the loop trying to find the LMS server but it doesn't find
it.


Code:
--------------------
    pCP Bluetooth extension build:0012
  Starting BT Controller
  bcm43xx_init
  Flash firmware /lib/firmware/brcm/BCM43430A1.hcd
  Set BDADDR UART: b8:27:eb:8b:26:31
  Set Controller UART speed to 921600 bit/s
  Device setup complete
  RPi Bluetooth Hardware Address: B8:27:EB:8B:26:31
  Starting pCP BT Pairing Agent
  BT Controller Ready
  07-08 11:30 BST INFO     ------------Starting pCP BT Speaker Daemon 
v6.0.0.0012------------
  07-08 11:30 BST INFO     Resetting asound.conf.
  07-08 11:30 BST INFO        Removing bt_ from asound.conf
  07-08 11:30 BST INFO     Current contents of /usr/local/etc/pcp/pcp-bt.conf.
  07-08 11:30 BST INFO        5C:F3:70:9B:94:CC#Office-Desktop#10000#2
  07-08 11:30 BST INFO        45:08:0B:2E:14:21#BluetoothSpeaker#1000#1
  07-08 11:30 BST INFO        FC:58:FA:25:2D:15#MiniBTSpeaker#1000#1
  07-08 11:30 BST DEBUG    PCM Devices found dbus.Dictionary({}, 
signature=dbus.Signature('oa{sv}'))
  07-08 11:30 BST INFO     Starting connection signal handlers.
  07-08 11:31 BST INFO     ---- Caught Connect signal ----
  07-08 11:31 BST DEBUG    /org/bluealsa/hci0/dev_45_08_0B_2E_14_21/hfpag/sink
  07-08 11:31 BST DEBUG       HCI:hci0
  07-08 11:31 BST INFO        MAC:45:08:0B:2E:14:21
  07-08 11:31 BST INFO        TRANSPORT:hfpag
  07-08 11:31 BST INFO        Starting a2dp background monitor.
  07-08 11:31 BST INFO     ---- Caught Connect signal ----
  07-08 11:31 BST DEBUG    /org/bluealsa/hci0/dev_45_08_0B_2E_14_21/hfpag/source
  07-08 11:31 BST DEBUG       HCI:hci0
  07-08 11:31 BST INFO        MAC:45:08:0B:2E:14:21
  07-08 11:31 BST INFO        TRANSPORT:hfpag
  07-08 11:31 BST INFO     ---- Caught Connect signal ----
  07-08 11:31 BST DEBUG    /org/bluealsa/hci0/dev_45_08_0B_2E_14_21/a2dpsrc/sink
  07-08 11:31 BST DEBUG       HCI:hci0
  07-08 11:31 BST INFO        MAC:45:08:0B:2E:14:21
  07-08 11:31 BST INFO        TRANSPORT:a2dpsrc
  07-08 11:31 BST INFO        Connected BluetoothSpeaker
  07-08 11:31 BST INFO        Starting squeezelite with output device: 
bt_BluetoothSpeaker
  07-08 11:31 BST INFO        Device: dev_45_08_0B_2E_14_21, connected 
normally. Monitor exiting.
  07-08 11:31 BST INFO        Checking for squeezelite pid:8978
  07-08 11:31 BST INFO        Squeezelite not yet connected to LMS
  07-08 11:31 BST INFO        Checking for squeezelite pid:8978
  07-08 11:31 BST INFO        Squeezelite not yet connected to LMS
  07-08 11:31 BST INFO        Checking for squeezelite pid:8978
  07-08 11:31 BST INFO        Squeezelite not yet connected to LMS
  07-08 11:31 BST INFO        Checking for squeezelite pid:8978
  07-08 11:31 BST INFO        Squeezelite not yet connected to LMS
  07-08 11:31 BST INFO        Checking for squeezelite pid:8978
  07-08 11:31 BST INFO        Squeezelite not yet connected to LMS
  07-08 11:31 BST INFO        Checking for squeezelite pid:8978
  07-08 11:31 BST INFO        Squeezelite not yet connected to LMS
  07-08 11:32 BST INFO        Checking for squeezelite pid:8978
  07-08 11:32 BST INFO        Squeezelite not yet connected to LMS
  07-08 11:32 BST INFO        No connection to LMS detected
  07-08 11:32 BST INFO     ---- Caught Disconnect signal ----
  07-08 11:32 BST DEBUG       HCI:hci0
  07-08 11:32 BST INFO        MAC:45:08:0B:2E:14:21
  07-08 11:32 BST INFO        TRANSPORT:hfpag
  07-08 11:32 BST INFO     ---- Caught Disconnect signal ----
  07-08 11:32 BST DEBUG       HCI:hci0
  07-08 11:32 BST INFO        MAC:45:08:0B:2E:14:21
  07-08 11:32 BST INFO        TRANSPORT:hfpag
  07-08 11:32 BST INFO     ---- Caught Disconnect signal ----
  07-08 11:32 BST DEBUG       HCI:hci0
  07-08 11:32 BST INFO        MAC:45:08:0B:2E:14:21
  07-08 11:32 BST INFO        TRANSPORT:a2dpsrc
  07-08 11:32 BST INFO        Checking for squeezelite pid:8978
  07-08 11:32 BST INFO        Sending Poweroff command for BluetoothSpeaker to 
LMS at None
  07-08 11:32 BST DEBUG       /usr/bin/wget -T 5 -q -O- 
--post-data='{"id":1,"method":"slim.request","params":[ "BluetoothSpeaker", [ 
"power" , "0" ]]}' --header 'Content-Type: application/json' 
http://None:None/jsonrpc.js
  07-08 11:32 BST DEBUG       Command returned 1
  07-08 11:32 BST INFO        Disconnected BluetoothSpeaker
  
--------------------


This is the log for the other speaker. Odd that it works fine for one
but not the other.


Code:
--------------------
    pCP Bluetooth extension build:0012
  Starting BT Controller
  bcm43xx_init
  Flash firmware /lib/firmware/brcm/BCM43430A1.hcd
  Set BDADDR UART: b8:27:eb:8b:26:31
  Set Controller UART speed to 921600 bit/s
  Device setup complete
  RPi Bluetooth Hardware Address: B8:27:EB:8B:26:31
  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        5C:F3:70:9B:94:CC#Office-Desktop#10000#2
  01-01 00:00 GMT INFO        45:08:0B:2E:14:21#BluetoothSpeaker#1000#1
  01-01 00:00 GMT INFO        FC:58:FA:25:2D:15#MiniBTSpeaker#1000#1
  01-01 00:00 GMT DEBUG    PCM Devices found dbus.Dictionary({}, 
signature=dbus.Signature('oa{sv}'))
  01-01 00:00 GMT INFO     Starting connection signal handlers.
  01-01 00:01 GMT INFO     ---- Caught Connect signal ----
  01-01 00:01 GMT DEBUG    /org/bluealsa/hci0/dev_FC_58_FA_25_2D_15/hfpag/sink
  01-01 00:01 GMT DEBUG       HCI:hci0
  01-01 00:01 GMT INFO        MAC:FC:58:FA:25:2D:15
  01-01 00:01 GMT INFO        TRANSPORT:hfpag
  01-01 00:01 GMT INFO        Starting a2dp background monitor.
  01-01 00:01 GMT INFO     ---- Caught Connect signal ----
  01-01 00:01 GMT DEBUG    /org/bluealsa/hci0/dev_FC_58_FA_25_2D_15/hfpag/source
  01-01 00:01 GMT DEBUG       HCI:hci0
  01-01 00:01 GMT INFO        MAC:FC:58:FA:25:2D:15
  01-01 00:01 GMT INFO        TRANSPORT:hfpag
  01-01 00:01 GMT INFO     ---- Caught Connect signal ----
  01-01 00:01 GMT DEBUG    /org/bluealsa/hci0/dev_FC_58_FA_25_2D_15/a2dpsrc/sink
  01-01 00:01 GMT DEBUG       HCI:hci0
  01-01 00:01 GMT INFO        MAC:FC:58:FA:25:2D:15
  01-01 00:01 GMT INFO        TRANSPORT:a2dpsrc
  01-01 00:01 GMT INFO        Connected MiniBTSpeaker
  01-01 00:01 GMT INFO        Starting squeezelite with output device: 
bt_MiniBTSpeaker
  01-01 00:01 GMT INFO        Device: dev_FC_58_FA_25_2D_15, connected 
normally. Monitor exiting.
  01-01 00:01 GMT INFO        Checking for squeezelite pid:9416
  01-01 00:01 GMT INFO        Player Connected to LMS at: 192.168.0.159:9000
  01-01 00:01 GMT INFO        Sending Play command for MiniBTSpeaker to LMS at 
192.168.0.159
  01-01 00:01 GMT DEBUG       /usr/bin/wget -T 5 -q -O- 
--post-data='{"id":1,"method":"slim.request","params":[ "MiniBTSpeaker", [ 
"play" ]]}' --header 'Content-Type: application/json' 
http://192.168.0.159:9000/jsonrpc.js
  01-01 00:01 GMT DEBUG       Command returned 0
--------------------


------------------------------------------------------------------------
Richard_Watkins's Profile: http://forums.slimdevices.com/member.php?userid=70401
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