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 devices
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
PS3 Controller
If you get asked to enter pin, try 0000 or 1111, if that does not work try editing /etc/bluetooth/input.conf and restart the service:
ClassicBondedOnly=false
Keyboard
When connecting keyboard it does print code in the bluetoothctl console. Punch the number in the keyboard followed by enter to pair successfully.
If function keys are not working try switching from Android to PC mode using sliding switch on top of the keyboard.