usb_dongle_ubuntu

Solution for a persistent connection

    • set keyboard discoverable

    • "hcitool scan" and copy mac address XX:XX:XX:XX:XX:XX

    • "sudo bluez-simple-agent hci0 XX:XX:XX:XX:XX:XX"

    • which will hopefully return somthing like:

    • "DisplayPasskey (/org/bluez/537/hci0/..., 123456)"

    • the number at the end of the string represents the PIN you need to enter for pairing. enter those numbers on your bluetooth device and confirm with return

    • on success you should get "Release" and "New device (/org/bluez/..."

    • now set device as trusted "sudo bluez-test-device trusted XX:XX:XX:XX:XX:XX yes"

    • you might have a connection now, but i still needed to:

    • "sudo bluez-test-input connect XX:XX:XX:XX:XX:XX"

    • now reboot and hope for the best!

Creating device failed: org.bluez.Error.AlreadyExists

    • sudo bluez-simple-agent hci0 XX:XX:XX:XX:XX:XX repair

    • (you should be able to enter anything instead of "repair", this is just to reset pairing)

    • now start over