• Stars
    star
    111
  • Rank 314,510 (Top 7 %)
  • Language
    Python
  • License
    MIT License
  • Created about 7 years ago
  • Updated over 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

I have moved away from using Windows / Linux for my desktop OS so I am no longer maintaining this repo. Feel free to fork and take it over :)

Dual Boot Bluetooth Pair

This is a tool I use to pair a bluetooth device with my Windows OS and Linux Mint 17 OS on my dual boot laptop.

Disclaimer

This script involves accessing and modifying system files on the Windows / Linux systems and may risk damaging your computer. Proceed with the below steps at your own risk.

Instructions

I recommend backing up all config files before attempting the below steps.

The scripts in this project are intended to be executed on your Linux OS using Python3.

  1. Boot into Linux and pair bluetooth device(s).
  2. Reboot into Windows and pair bluetooth device(s).
  3. Download PSExec and run the following command from a Command Prompt running in Administator mode:
psexec.exe -s -i regedit /e C:\BTKeys.reg HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\BTHPORT\Parameters\Keys
  1. Copy the C:\BTKeys.reg file to a USB key (or leave on C: drive if it's accessible from the Linux OS).
  2. Turn off bluetooth device(s) and boot back into Linux.
  3. Copy the BTKeys.reg file to your Linux filesystem.
  4. Run clean_reg_file.py /path/to/BTKeys.reg keys.reg to clean the file (converts encoding to UTF8 and strips quotation marks).
  5. Run bluetooth_fix.py --reg_path keys.reg.
  6. From a terminal with sudo, navigate to /var/lib/bluetooth/<ADAPTOR_MAC_ADDRESS>/ and use ls to get the mac addresses similar to the bluetooth device you are trying to pair, and re-name the directory to the new mac displayed in the output from step 8.
  7. Open /var/lib/bluetooth/<ADAPTOR_MAC>/<DEVICE_MAC>/info and modify the values as per output from step 8.
  8. Restart bluetooth with sudo systemctl restart bluetooth.

More Repositories

1

build-a-backend-api-python-drf-beginner-cheat-sheet

Supplementary cheat sheet document for our Udemy course: Build a Backend REST API with Python & Django - Beginner
75
star
2

course-rest-api

Code for my course on how to build a REST API.
Python
56
star
3

profiles-rest-api

Full source code for our Udemy course: How to build a Backend REST API with Python & Django - Advanced
Python
56
star
4

react-login-example

Making a login page with React.
JavaScript
43
star
5

tutorial-multi-chat-client

Tutorial for multi chat client.
JavaScript
13
star
6

angularjs-gulp-helloworld

Simple angular app with gulp.
JavaScript
12
star
7

recipe-api-travis-fix

Recipe App API Travis-CI Fix
Python
10
star
8

byob-profiles-rest-api

Build your own backend using Python & Django REST Framework
Python
7
star
9

tutorial-multi-chat-server

Node.JS chat server which supports multiple clients via WebSockets.
JavaScript
7
star
10

docker-python-ci-example

Example of running Python unit tests in Docker for a Python app.
Python
6
star
11

demo-json-printer

Simple Python script which prints key/values of a JSON file.
Python
4
star
12

HelloDjangoVagrant

Hello world of a Django project with Vagrant.
Python
3
star
13

test-4

Recipe app
Python
3
star
14

wordpress-dev-template

Template for a new WordPress dev setup with a Vagrant box
Scheme
2
star
15

video-tutorial-python-drf-intro

Code for the Video Tutorial Intro to Django REST Framework
Ruby
2
star
16

react-thinking-in-react

This is the code created while following https://reactjs.org/docs/thinking-in-react.html.
JavaScript
2
star
17

react-music-master

Code for Music Master project in Udemy course: https://www.udemy.com/react-js-and-redux-mastering-web-apps/
JavaScript
2
star
18

docker-wordpress

Docker Compose config for creating a local WordPress site for testing themes etc...
2
star
19

SaltStackGuide

A very basic getting started guide to using Salt stack.
Ruby
1
star
20

google-appengine-django-demo

Demo project for Google App Engine with Django.
Python
1
star
21

JsonParseExample

Java
1
star
22

react-unit-testing

Unit testing samples of React using Jest and Enzyme
JavaScript
1
star
23

aws-mfa-auth

AWS CLI multi-factor authentication switcher.
Python
1
star
24

cloud-datastore-example

Example of issue with the Google Cloud Datastore emulator.
Python
1
star
25

ExampleSaltVagrant

Example of provisioning a Vagrant server with Salt States.
SaltStack
1
star
26

test-devops-code

Sample runthrough of devops code, DELETE ME
Python
1
star
27

video-tutorial-python-drf-new-project

Code for the video tutorial for creating a new Django REST Framework project.
Python
1
star