You are not logged in.

#1 2015-12-10 09:48:35

chx
Member
Registered: 2011-05-28
Posts: 101

Bluetooth reset?

When I boot, Bluetooth audio works fine. For a while. Then comes Bluetooth: hci0 command 0x041f tx timeout and then a reboot will make things work for a day or so.

I have tried to reset the USB device via the program described http://raspberrypi.stackexchange.com/a/6787 (essentially, USBDEVFS_RESET) and do a pulseaudio -k to restart pulse. The usbreset very clearly goes to the right device. I also tried modprobe -r 'ing and reinserting btusb:

sudo modprobe -r btusb ; sudo /tmp/usbreset /dev/bus/usb/001/007 ; sudo modprobe btusb ; pulseaudio -k

This is not enough, reconnecting to the Bluetooth speaker will timeout in a few ten seconds again and with the timeout, pulseaudio gets blocked, music doesn't play until you disconnect the BT speaker. So, how can I restart Bluetooth these days? Old tutorials with init.d clearly don't apply.

Last edited by chx (2015-12-10 09:59:40)

Offline

#2 2015-12-10 21:11:43

The Loko
Member
From: Spain
Registered: 2014-07-23
Posts: 100

Re: Bluetooth reset?

If you just want to restart the Bluetooth service you only need to use systemctl:

 systemctl restart bluetooth

Offline

#3 2015-12-10 22:17:25

chx
Member
Registered: 2011-05-28
Posts: 101

Re: Bluetooth reset?

If you just want to restart the Bluetooth service

No, I want to get the bluetooth stack to the same state where it is after reboot.

After your suggestion, still the same: after about ten second video/audio stalls.

Last edited by chx (2015-12-10 22:18:35)

Offline

Board footer

Powered by FluxBB