-
Notifications
You must be signed in to change notification settings - Fork 827
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Built WSL do not include bluetooth controller of Mediatek #12048
Comments
Logs are required for review from WSL teamIf this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. How to collect WSL logsDownload and execute collect-wsl-logs.ps1 in an administrative powershell prompt:
The script will output the path of the log file once done. If this is a networking issue, please use collect-networking-logs.ps1, following the instructions here Once completed please upload the output files to this Github issue. Click here for more info on logging |
/emailed-logs |
Diagnostic information
|
@HamzaHajeir: This is the kconfig flag that you need for that module: https://cateee.net/lkddb/web-lkddb/BT_MTK.html |
I've inserted that line into .config file, but that line gets automatically removed by the builder script somehow. Perhaps some incompatible config? |
It might be. Unfortunately that's not something that can be solved from the WSL side. Closing since the issue is about the Linux kernel config & build system. |
But how is that not WSL issue while its scripts would do so?
…On Sat, Oct 5, 2024, 00:28 Blue ***@***.***> wrote:
It might be. Unfortunately that's not something that can be solved from
the WSL side.
Closing since the issue is about the Linux kernel config & build system.
—
Reply to this email directly, view it on GitHub
<#12048 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AH3O7J572T23VW5RH6D2OHLZZ4B75AVCNFSM6AAAAABONHGN4SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJUGY4TIOBVGU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
The menuconfig also does not show any related configuration to enable |
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: