Skip to content

Conversation

@maharjun
Copy link

@maharjun maharjun commented Dec 5, 2016

No description provided.

@maharjun
Copy link
Author

maharjun commented Jan 11, 2017 via email

@xy2
Copy link

xy2 commented Sep 28, 2018

Didn't work for me on Fedora 28, but this does:

reset_rtbth.sh

#!/bin/sh
bluetoothctl power off
sleep 1
killall -9 rtbt
sleep 1
/bin/rm -f /dev/rtbth
inuse=`rmmod rtbth 2>&1 | grep 'is in use'`
[[ -z $inuse ]] || { echo "failed rmmod rtbth"; exit; }
modprobe rtbth
sleep 2
bluetoothctl power on
sleep 2
hciconfig hci0 up

@AniketSK
Copy link

@xy2 when I run that script I get this at the end Can't init device hci0: Invalid argument (22)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants