Just re-tested on a clean install with pcp-streamer, latest patches and
bluetooth support.

Running analog audio and device = hw:CARD=ALSA I can stream from my
phone as a player or streamer, to headphones connected to the RasPi.

On my other Pi I've disabled analog audio as I'm just running a USB-DAC
- see device details below.



Code:
--------------------
    # aplay -L
  null
  Discard all samples (playback) or generate zero samples (capture)
  default
  plugequal
  equal
  sysdefault:CARD=VX1
  VX1, USB Audio
  Default Audio Device
  front:CARD=VX1,DEV=0
  VX1, USB Audio
  Front speakers
  surround21:CARD=VX1,DEV=0
  VX1, USB Audio
  2.1 Surround output to Front and Subwoofer speakers
  surround40:CARD=VX1,DEV=0
  VX1, USB Audio
  4.0 Surround output to Front and Rear speakers
  surround41:CARD=VX1,DEV=0
  VX1, USB Audio
  4.1 Surround output to Front, Rear and Subwoofer speakers
  surround50:CARD=VX1,DEV=0
  VX1, USB Audio
  5.0 Surround output to Front, Center and Rear speakers
  surround51:CARD=VX1,DEV=0
  VX1, USB Audio
  5.1 Surround output to Front, Center, Rear and Subwoofer speakers
  surround71:CARD=VX1,DEV=0
  VX1, USB Audio
  7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
  iec958:CARD=VX1,DEV=0
  VX1, USB Audio
  IEC958 (S/PDIF) Digital Audio Output
  dmix:CARD=VX1,DEV=0
  VX1, USB Audio
  Direct sample mixing device
  dsnoop:CARD=VX1,DEV=0
  VX1, USB Audio
  Direct sample snooping device
  hw:CARD=VX1,DEV=0
  VX1, USB Audio
  Direct hardware device without any conversions
  plughw:CARD=VX1,DEV=0
  VX1, USB Audio
  Hardware device with all software conversions
  
--------------------


Under squeezeplay the card is specified as "hw:CARD=VX1,DEV=0" and I've
confirmed this device works via


Code:
--------------------
    speaker-test -c  2 -dhw:CARD=VX1,DEV=0
--------------------


I can play audio via LMS, but I can't stream Bluetooth audo to the USB
DAC

Working bluetooth logs with analog audio 


Code:
--------------------
    04-20 13:39 NZST INFO     ------------Starting pCP BT Speaker Daemon 
v6.0.0.0010------------
  04-20 13:39 NZST INFO     Resetting asound.conf.
  04-20 13:39 NZST INFO        Removing bt_ from asound.conf
  04-20 13:39 NZST INFO     Current contents of /usr/local/etc/pcp/pcp-bt.conf.
  04-20 13:39 NZST INFO        F0:D7:AA:C3:XX:XX#My Moto G5#10000#2
  04-20 13:39 NZST DEBUG    PCM Devices found 
dbus.Dictionary({dbus.ObjectPath('/org/bluealsa/hci0/dev_F0_D7_AA_C3_XX_XX/a2dpsnk/source'):
 dbus.Dictionary({dbus.String('Device'): 
dbus.ObjectPath('/org/bluez/hci0/dev_F0_D7_AA_C3_XX_XX', 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(17476, 
variant_level=1)}, signature=dbus.Signature('sv'))}, 
signature=dbus.Signature('oa{sv}'))
  04-20 13:39 NZST DEBUG    A2DP devices found A2DP-sink.
  04-20 13:39 NZST INFO     Found a2dp sink F0:D7:AA:C3:XX:XX connected.
  04-20 13:39 NZST INFO     No bluealsa-aplay process for device 
F0:D7:AA:C3:XX:XX.  Starting......
  04-20 13:39 NZST DEBUG       pCP OUTPUT="hw:CARD=ALSA"
  04-20 13:39 NZST DEBUG       pCP ALSAVOLUME=""
  04-20 13:39 NZST DEBUG       pCP Card Conf:"Analog.conf"
  04-20 13:39 NZST DEBUG       pCP SSET="PCM"
  04-20 13:39 NZST INFO        Starting player:"My Moto G5" bluetooth, alsa 
device:"hw:CARD=ALSA", volume:"PCM".
  04-20 13:39 NZST INFO     Starting connection signal handlers
--------------------


Problem logs with no USB Audio

Code:
--------------------
    04-19 15:35 NZST INFO     Resetting asound.conf.
  04-19 15:35 NZST INFO        Removing bt_ from asound.conf
  04-19 15:35 NZST INFO     Current contents of /usr/local/etc/pcp/pcp-bt.conf.
  04-19 15:35 NZST INFO        
  04-19 15:35 NZST INFO        B8:D5:0B:47:9A:F5#SRS-XB30#10000#1
  04-19 15:35 NZST INFO        F0:D7:AA:C3:XX:XX#My Moto G5#10000#2
  04-19 15:35 NZST DEBUG    PCM Devices found 
dbus.Dictionary({dbus.ObjectPath('/org/bluealsa/hci0/dev_F0_D7_AA_C3_XX_XX/a2dpsnk/source'):
 dbus.Dictionary({dbus.String('Device'): 
dbus.ObjectPath('/org/bluez/hci0/dev_F0_D7_AA_C3_XX_XX', 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}'))
  04-19 15:35 NZST DEBUG    A2DP devices found A2DP-sink.
  04-19 15:35 NZST INFO     Found a2dp sink F0:D7:AA:C3:XX:XX connected.
  04-19 15:35 NZST INFO     No bluealsa-aplay process for device 
F0:D7:AA:C3:XX:XX.  Starting......
  04-19 15:35 NZST DEBUG       pCP OUTPUT="hw:CARD=VX1,DEV=0"
  04-19 15:35 NZST DEBUG       pCP ALSAVOLUME=""
  04-19 15:35 NZST DEBUG       pCP Card Conf:"USB.conf"
  04-19 15:35 NZST INFO        Starting player:"My Moto G5" bluetooth, alsa 
device:"hw:CARD=VX1,DEV=0", volume:"".
--------------------


Any ideas on additional debugging steps?


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