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
- Connect the controller with USB-C cable to laptop
- Hold home button on the controller until it starts blinking fast
- 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 - Use
btmonto 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.