You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And have used usbipd to share and attach the bluetooth device through:
usbipd bind --busid={BUSID}
usbipd attach --wsl --busid={BUSID}
Where both run successfully, and:
usbipd list gives:
Connected:
BUSID VID:PID DEVICE STATE
1-9 0e8d:0608 RZ608 Bluetooth(R) Adapter Attached
1-10 0b05:1939 AURA LED Controller, USB Input Device Not shared
2-3 045e:07a5 USB Input Device Not shared
2-4 045e:0745 Microsoft Hardware USB Keyboard, USB Input Device Not shared
Running bluetoothctl scan on result in No default controller available.
My finding concludes that btmtk module is missing within the system. And I don't know how to find/have/run it.
Expected Behavior
To successfully find and manage / interact with bluetooth device.
Actual Behavior
systemctl status bluetooth:
● bluetooth.service - Bluetooth service
Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; preset: enabled)
Active: active (running) since Mon 2024-09-16 00:05:39 +03; 19h ago
Docs: man:bluetoothd(8)
Main PID: 485 (bluetoothd)
Status: "Running"
Tasks: 1 (limit: 9470)
Memory: 2.3M ()
CGroup: /system.slice/bluetooth.service
└─485 /usr/libexec/bluetooth/bluetoothd
Sep 16 00:05:39 HamzaHajeir bluetoothd[485]: src/plugin.c:plugin_init() System does not support csip plugin
Sep 16 00:05:39 HamzaHajeir bluetoothd[485]: profiles/audio/micp.c:micp_init() D-Bus experimental not enabled
Sep 16 00:05:39 HamzaHajeir bluetoothd[485]: src/plugin.c:plugin_init() System does not support micp plugin
Sep 16 00:05:39 HamzaHajeir bluetoothd[485]: src/plugin.c:plugin_init() System does not support vcp plugin
Sep 16 00:05:39 HamzaHajeir bluetoothd[485]: src/plugin.c:plugin_init() System does not support mcp plugin
Sep 16 00:05:39 HamzaHajeir bluetoothd[485]: src/plugin.c:plugin_init() System does not support bass plugin
Sep 16 00:05:39 HamzaHajeir bluetoothd[485]: src/plugin.c:plugin_init() System does not support bap plugin
Sep 16 00:05:39 HamzaHajeir bluetoothd[485]: profiles/network/bnep.c:bnep_init() kernel lacks bnep-protocol support
Sep 16 00:05:39 HamzaHajeir bluetoothd[485]: src/plugin.c:plugin_init() System does not support network plugin
Sep 16 00:05:39 HamzaHajeir bluetoothd[485]: Bluetooth management interface 1.21 initialized
sudo dmesg | grep firmware:
[ 0.051585] Spectre V2 : Enabling Restricted Speculation for firmware calls
[ 25.755056] bluetooth hci0: Direct firmware load for mediatek/BT_RAM_CODE_MT7961_1_2_hdr.bin failed with error -2
[ 25.755059] Bluetooth: hci0: Failed to load firmware file (-2)
[ 25.755504] Bluetooth: hci0: Failed to set up firmware (-2)
[26548.979065] bluetooth hci0: Direct firmware load for mediatek/BT_RAM_CODE_MT7961_1_2_hdr.bin failed with error -2
[26548.979113] Bluetooth: hci0: Failed to load firmware file (-2)
[26548.980582] Bluetooth: hci0: Failed to set up firmware (-2)
Note I've followed [this procedure (#3)][2] to include BT_RAM_CODE_MT7961_1_2_hdr.bin and other files, adding all files.
If this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. Otherwise please attach logs by following the instructions below, your issue will not be reviewed unless they are added. These logs will help us understand what is going on in your machine.
How to collect WSL logs
Download and execute collect-wsl-logs.ps1 in an administrative powershell prompt:
Once completed please upload the output files to this Github issue.
Click here for more info on logging
If you choose to email these logs instead of attaching to the bug, please send them to wsl-gh-logs@microsoft.com with the number of the github issue in the subject, and in the message a link to your comment in the github issue and reply with '/emailed-logs'.
Windows Version
Microsoft Windows [Version 10.0.22621.4169]
WSL Version
2.2.4.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.153.1-2
Distro Version
Ubuntu-24.04
Other Software
No response
Repro Steps
I have WSL and want to manage bluetooth from within it.
I've followed this instruction to build the custom WSL, including all the required checks into .config file.
Here's the latest .config file content that built the latest WSL firmware: https://pastebin.com/5CBrBf7c
And have used usbipd to share and attach the bluetooth device through:
usbipd bind --busid={BUSID}
usbipd attach --wsl --busid={BUSID}
Where both run successfully, and:
usbipd list
gives:Running
bluetoothctl scan on
result inNo default controller available
.My finding concludes that btmtk module is missing within the system. And I don't know how to find/have/run it.
Expected Behavior
To successfully find and manage / interact with bluetooth device.
Actual Behavior
systemctl status bluetooth
:sudo dmesg | grep firmware
:Note I've followed [this procedure (#3)][2] to include
BT_RAM_CODE_MT7961_1_2_hdr.bin
and other files, adding all files.Therefore:
ls -a /lib/firmware/mediatek | grep MT7961
:lsusb -v -s 001:003
(Note 003 is the corresponding device ID):hciconfig -a
:rfkill
Shows unblocked hard and software:lsmod | grep -i bt
- This one which shows me that the module MTK module is missing:And finally:
journalctl --dmesg --boot=-0 --grep blue
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: