Skip to main content

Bluetooth

Bluetooth on VoidLinux

    https://docs.voidlinux.org/config/bluetooth.html https://wiki.archlinux.org/index.php/Bluetooth#Pairing

    Using mascot

    #!/usr/bin/fish
    test -n "$argv[1]" && set user "$argv[1]" || set user hxd
    
    mascot-config "Set up Bluetooth for user $user" |
    mascot-config-xbps-package bluez installed |
    mascot-config-runit-service --require 'Delegated("XBPS package \"bluez\"")' bluetoothd running |
    mascot-config-group --require 'Delegated("XBPS package \"bluez\"")' bluetooth present -G "$user"

     

    Connecting Pro Controller

    1. Connect the controller with USB-C cable to laptop
    2. Hold home button on the controller until it starts blinking fast
    3. Pair with bluez
      bluetoothctl
      scan on
      # wait for scan to find device; try scan off/scan on if nothing poping up
      pair 98:B6:BB:E0:55:97
      connect 98:B6:BB:E0:55:97
      trust 98:B6:BB:E0:55:97