Bluetooth: Difference between revisions
imported>Samueldr m Adds a generalized "enabling" section, points archwiki link to the generic bluetooth pairing instructions. |
imported>Samueldr m Adds a troubleshooting section for bad bluetooth usb dongles. |
||
Line 67: | Line 67: | ||
$ pacmd set-default-sink "$(pactl list sinks short | egrep -o bluez_sink[[:alnum:]._]+)" | $ pacmd set-default-sink "$(pactl list sinks short | egrep -o bluez_sink[[:alnum:]._]+)" | ||
</syntaxhighlight> | </syntaxhighlight> | ||
== Troubleshooting == | |||
=== USB device needs to be unplugged/re-plugged after suspend === | |||
Some USB devices/hosts combinations don't play well with the suspend/resume cycle, and needs to be unplugged and then re-plugged to work again. | |||
It is possible to simulate a unplug/re-plug cycle using the <code>/sys/</code> filesystem. | |||
[https://gist.github.com/samueldr/356e65374d452e4fd45314f818ae3545 This gist] provides a script and instructions to set-up a workaround for these devices. | |||
== External resources == | == External resources == | ||
* [http://anderspapitto.com/posts/2016-11-07-scripting_pulseaudio_bluetooth_jack.html Scripting pulseaudio, bluetooth, jack] | * [http://anderspapitto.com/posts/2016-11-07-scripting_pulseaudio_bluetooth_jack.html Scripting pulseaudio, bluetooth, jack] |