Heirloom BT pairing setup

From Studio Kousagi Wiki
Revision as of 22:24, 23 March 2015 by Bunnie (talk | contribs) (Created page with "=Procedure used to prime Novena Heirloom laptops= This is run on the Novena Heirloom laptops prior to shipping to pair the BT keyboard. #Prep laptop hardware for booting. #Inser...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Procedure used to prime Novena Heirloom laptops

This is run on the Novena Heirloom laptops prior to shipping to pair the BT keyboard.

  1. Prep laptop hardware for booting.
  2. Insert SD card for heirloom init
  3. Short across the P_EXT header
  4. Power on the system. It should boot to a login screen, and not a blue screen with a text menu on it
  5. Plug in a USB keyboard
  6. Type in 'root' and 'kosagi' to log in
  7. Start a terminal window.
  8. type 'systemctl stop bluetooth'
  9. type 'rm -rf /var/lib/bluetooth'
  10. type 'systemctl start bluetooth'
  11. type 'bluetoothctl'. You will now be in the bluetooth shell.
    1. In the BT shell, type 'power on'
    2. In the BT shell, type 'agent KeyboardOnly'
    3. In the BT shell, type 'default-agent'
    4. In the BT shell, type 'pairable on'
    5. In the BT shell, type 'scan on'. At this point, flick the switch on the right hand side of the BT keyboard. You should see within a few seconds the keyboard show up, with an MAC ID starting with 90:...
    6. In the BT shell, type 'pair 90:' and hit tab. This should tab-complete the whole BT keyboard MAC ID.
    7. Follow the instructions (e.g. typing into BT keyboard the 6-digit PIN followed by enter key)
    8. After typing in the PIN, the system should indicate the keyboard is paired.
    9. In the BT shell, type 'trust 90:' and hit tab.
    10. In the BT shell, type 'connect 90:' and hit tab.
    11. In the BT shell, type 'quit'
  12. You should now be back in the main terminal window environment.
  13. Mount the SSD with 'mount /dev/sdb3 /mnt'
  14. Install BT firmware with 'dpkg –root=/mnt -i Downloads/firmware-atheros_0.43_all.deb'
  15. Copy BT configuration with 'cp -a /var/lib/bluetooth /mnt/var/lib'
  16. Unmount SSD with 'umount /mnt'
  17. Shutdown the system with 'shutdown -h now'
  18. Power off the system, so that the orange light on the mainboard is off. This may require you to press and hold the power button for a few seconds
  19. Remove the SD card from the external SD card slot
  20. Reboot the system. It should go to a blue screen with a text menu on it.
  21. Hit the space bar on the bluetooth keyboard. It should automatically associate, and you can tell it's working by using the up/down arrow keys to navigate the menu.
  22. Turn the system off. You are now done