Skip to content

Allow container access to host bluetooth#15

Draft
glennvl wants to merge 1 commit into
masterfrom
enable-bluetooth
Draft

Allow container access to host bluetooth#15
glennvl wants to merge 1 commit into
masterfrom
enable-bluetooth

Conversation

@glennvl

@glennvl glennvl commented Mar 12, 2026

Copy link
Copy Markdown
Owner

Summary

Allow container access to host bluetooth.

Status

Bluetooth in the container

✅ Container has access to bluetooth.

foo@bar:~$ INTERACTIVE=1 zwift
user@zwift-foo:/$ bluetoothctl
Agent registered
[bluetoothctl]> scan le
SetDiscoveryFilter success
Discovery started
[CHG] Controller AC:36:1B:E9:DD:2F Discovering: yes
[NEW] Device 2B:37:91:46:2C:5A 2B-37-91-46-2C-5A
[NEW] Device 27:DB:21:F0:F0:D2 27-DB-21-F0-F0-D2
[NEW] Device C8:FF:77:93:FB:6D VS9-EU-NBM5210A
[NEW] Device 6B:60:4F:41:FA:09 6B-60-4F-41-FA-09
[NEW] Device 10:D6:44:28:B6:87 10-D6-44-28-B6-87
[NEW] Device 48:1A:DD:28:B8:77 48-1A-DD-28-B8-77
[NEW] Device 0A:D1:E3:A7:27:FD 0A-D1-E3-A7-27-FD
[NEW] Device 5F:87:B0:89:D9:CD 5F-87-B0-89-D9-CD
[NEW] Device DE:F6:3D:53:13:D8 HEADWIND 2784
[NEW] Device FC:03:25:3A:83:05 Wahoo KICKR B9EF
[bluetoothctl]> exit
user@zwift-foo:/$ exit

Bluetooth in wine

❌ Wine bluetooth implementation is incomplete.

foo@bar:~$ INTERACTIVE=1 ZWIFT_LOG_DIR=~/Documents/Zwift/Logs zwift
user@zwift-foo:/$ cd
user@zwift-foo:~$ wget https://www.nirsoft.net/utils/bluetoothleview-x64.zip 
user@zwift-foo:~$ unzip bluetoothleview-x64.zip     
user@zwift-foo:~$ WINEDEBUG=all wine BluetoothLEView.exe &> /home/user/.wine/drive_c/users/user/AppData/Local/Zwift/Logs/wine.log
user@zwift-foo:~$ exit
foo@bar:~$ grep bluetooth ~/Documents/Zwift/Logs/wine.log
247.960:018c:0190:fixme:bluetooth:adv_watcher_put_ScanningMode Call kernelbase.GetLastError() ret=6ffffed1a56f
247.960:018c:0190:fixme:bluetooth:adv_watcher_QueryInterface Call kernelbase.GetLastError() ret=6ffffed1a56f
247.960:018c:0190:fixme:bluetooth:adv_watcher_add_Stopped Call kernelbase.GetLastError() ret=6ffffed1a56f
247.960:018c:0190:fixme:bluetooth:adv_watcher_add_Received Call kernelbase.GetLastError() ret=6ffffed1a56f
247.960:018c:0190:fixme:bluetooth:adv_watcher_Stop Call kernelbase.GetLastError() ret=6ffffed1a56f

@glennvl glennvl changed the base branch from update-wine to master March 19, 2026 12:20
@glennvl glennvl force-pushed the enable-bluetooth branch 2 times, most recently from 6f9f9bc to ad65d3f Compare April 7, 2026 22:26
@glennvl glennvl force-pushed the enable-bluetooth branch 2 times, most recently from 1dde974 to 09d9321 Compare April 16, 2026 09:23
@glennvl glennvl force-pushed the enable-bluetooth branch 3 times, most recently from 2c1dcb3 to 57da54b Compare May 10, 2026 17:01
@glennvl glennvl force-pushed the enable-bluetooth branch from 57da54b to b43469d Compare May 31, 2026 18:59
@glennvl glennvl force-pushed the enable-bluetooth branch from b43469d to 64f51e9 Compare June 10, 2026 10:15
@glennvl glennvl force-pushed the enable-bluetooth branch from 64f51e9 to b4a45d8 Compare June 23, 2026 10:41
@glennvl glennvl force-pushed the enable-bluetooth branch from b4a45d8 to 5825ff9 Compare June 25, 2026 14:02
@glennvl glennvl self-assigned this Jun 25, 2026
@glennvl glennvl added the enhancement New feature or request label Jun 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant