Article 52QNC Bluetooth start on dongle insertion

Bluetooth start on dongle insertion

by
pchristy
from LinuxQuestions.org on (#52QNC)
System: Slackware64-current + AlienBob's KDE5

The motherboard of my desktop does not have built in bluetooth. However, I have a couple of USB bluetooth adapters. I recently got some bluetooth headphones. These work fine with the dongles and Slackware EXCEPT that Slackware does not automatically start bluetooth when the dongle is inserted.

/etc/rc.d/rc.bluetooth is executable. After inserting the dongle, I have to manually start /etc/rc.d/rc.bluetooth to get anything to work.

I'm sure there must be some way of detecting when the dongle is inserted, and then running rc.bluetooth automatically, possibly a udev rule?

Can anyone point me to an "idiot's guide" on how to achieve this? Google hasn't been much help!

TIA,

--
Petelatest?d=yIl2AUoC8zA latest?i=ESlPzGo78DY:mlVxRU3NX2I:F7zBnMy latest?i=ESlPzGo78DY:mlVxRU3NX2I:V_sGLiP latest?d=qj6IDK7rITs latest?i=ESlPzGo78DY:mlVxRU3NX2I:gIN9vFwESlPzGo78DY
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments