Skip to main content

Bluetooth

Bluetooth on VoidLinux

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 using command line:
    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
  4. Use btmon to see if data is coming

Connecting Keyboard

When connecting keyboard it does print code in the bluetoothctl console. Punch the number in the keyboard followed by enter to pair successfully.