Linux – Bluetooth virker ikke

Asus x75v

Installer rtbth-dkms (AUR)

$ sudo systemctl start bluetooth
$ sudo rmmod rtbth
$ sudo modprobe rtbth
$ sudo bluetoothctl

blacklist module

$ sudo echo 'blacklist rtbth' > /etc/modprobe.d/ralink-bt.conf

opret script indlæsning og start af rtbth modul

$ sudo touch /usr/local/sbin/rtbth
$ sudo vi /usr/local/sbin/rtbth
#!/bin/bash
sleep 5
/sbin/modprobe --ignore-install rtbth;
/usr/bin/mknod /dev/rtbth c 192 0;
/usr/bin/rtbt &

opret system service

$ sudo touch /etc/systemd/system/rtbth.service
$ sudo vi /etc/systemd/system/rtbth.service
[Unit]
Description=Fix rtbth bluetooth after gmd start
After=display-manager.service
[Service]
Type=oneshot
ExecStart=/usr/local/sbin/rtbth
TimeoutSec=0
RemainAfterExit=true

[Install]
WantedBy=multi-user.target

aktiver service

$ sudo systemctl enable rtbth