WSL2 Kernel Add Bluetooth Support to microsoft-standard-WSL2
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 33.7k
- Forks
- 1.8k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 116
Description
I am trying to use the development environment for Home Assistant in VS Code using Docker Desktop. The Integration I am working on requires bluetooth connection to a piece of hardware. So the easiest way to get that working would be to pass a USB Bluetooth adapter to WSL.
That much works but once the USB bluetooth adapter is recognized by the container it wont load the bluetooth drivers/module because the WSL kernel does not have those enabled.
Once the USB bluetooth device is passed to the WSL container it should be able to use it.
Tried to build a custom kernel for using with WSL & Docker but didn't get it working.
(https://github.com/docker/for-win/issues/14284)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the microsoft-standard-WSL2 kernel configuration and the linked Docker for Windows issue 14284 first. Determine which Bluetooth support is missing and verify that a passed-through USB Bluetooth adapter can load its drivers inside a WSL container; that working end-to-end behavior is the completion criterion.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, linux
- Domain
- embedded-iot, operating-systems
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100