Open pointia opened 6 years ago
I'm also getting the same error, here's mine:
ERROR:dbus.connection:Unable to set arguments ('/endpoint/a2dpsink', dbus.Dictionary({u'Codec': dbus.Byte(0), u'UUID': dbus.String(u'0000110B-0000-1000-8000-00805F9B34FB'), u'DelayReporting': dbus.Boolean(True), u'Capabilities': dbus.Array([dbus.Byte(255), dbus.Byte(255), dbus.Byte(2), dbus.Byte(64)], signature=None)}, signature=None)) according to signature None: <type 'exceptions.TypeError'>: an integer is required an integer is required aplay: read_header:2834: read error
Same with me ...
In me case was a problem with new firmware in raspbian buster try this ''' wget https://github.com/amerinoj/bt-speaker/blob/master/BCM4345C0.hcd cp /lib/firmware/brcm/BCM4345C0.hcd BCM4345C0.hcd.ori cp BCM4345C0.hcd /lib/firmware/brcm/BCM4345C0.hcd reboot '''
if no work try ''' sudo apt-get install --reinstall raspberrypi-bootloader raspberrypi-kernel '''
I tried to get this up and running and when the service is about to start i get following message. Am I missing something?
bluetoothctl -v => 5.43 Linux raspberrypi 4.9.76-v7+ #1076 SMP Wed Jan 10 17:34:49 GMT 2018 armv7l GNU/Linux
Jan 13 13:24:07 raspberrypi bt_speaker.py[1968]: ERROR:dbus.connection:Unable to set arguments ('/endpoint/a2dpsink', dbus.Dictionary({u'Codec': dbus.Byte(0), u'UUID': dbus.String(u'0000110B-0000-1000-8000-00805F9B34FB'), u'DelayReporting': dbus.Boolean(True), u'Capabilities': dbus.Array([dbus.Byte(255), dbus.Byte(255), dbus.Byte(2), dbus.Byte(64)], signature=None)}, signature=None)) according to signature None: <type 'exceptions.TypeError'>: an integer is required Jan 13 13:24:07 raspberrypi bt_speaker.py[1968]: an integer is required Jan 13 13:24:07 raspberrypi systemd[1]: bt_speaker.service: Service hold-off time over, scheduling restart.