microsoft / microsoft/WSL

WSL2 Kernel Add Bluetooth Support to microsoft-standard-WSL2

Open
#12,234 11 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

emailed-logs feature
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.