Bug 216819 - kernel detects Mediatek bluetooth does not work
Summary: kernel detects Mediatek bluetooth does not work
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: Bluetooth (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: linux-bluetooth@vger.kernel.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-18 12:28 UTC by Hoshyar Karimi
Modified: 2023-07-25 20:54 UTC (History)
1 user (show)

See Also:
Kernel Version: 5.19.0-26-generic
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Hoshyar Karimi 2022-12-18 12:28:30 UTC
I have an Acer Aspire3 A315-59G laptop. It has Mediatek bluetooth and wifi. wifi works good, even better than how it works on Windows. But the bluetooth does not work. 
I also tested it on fedora with kernel 6.0.7 and 6.0.12 and did not worked either

systemctl status bluetooth.service
● bluetooth.service - Bluetooth service
     Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; preset: enabled)
     Active: active (running) since Sun 2022-12-18 13:19:40 +0330; 2h 14min ago
       Docs: man:bluetoothd(8)
   Main PID: 964 (bluetoothd)
     Status: "Running"
      Tasks: 1 (limit: 28404)
     Memory: 1.8M
        CPU: 30ms
     CGroup: /system.slice/bluetooth.service
             └─964 /usr/lib/bluetooth/bluetoothd

Dec 18 13:19:40 ws systemd[1]: Starting Bluetooth service...
Dec 18 13:19:40 ws systemd[964]: ConfigurationDirectory 'bluetooth' already exists but the mode is different. (File system: 755 ConfigurationDirectoryMode: 555)
Dec 18 13:19:40 ws bluetoothd[964]: Bluetooth daemon 5.65
Dec 18 13:19:40 ws bluetoothd[964]: Starting SDP server
Dec 18 13:19:40 ws systemd[1]: Started Bluetooth service.
Dec 18 13:19:40 ws bluetoothd[964]: Bluetooth management interface 1.22 initialized



lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 0408:4033 Quanta Computer, Inc. ACER HD User Facing
Bus 001 Device 002: ID 1ea7:0064 SHARKOON Technologies GmbH 2.4GHz Wireless rechargeable vertical mouse [More&Better]
Bus 001 Device 004: ID 04ca:3801 Lite-On Technology Corp. Wireless_Device
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Windows .inf file for that hardware
%Generic.DeviceDesc%            = MTKBT,                    USB\VID_04CA&PID_3801&MI_00

rfkill list
0: acer-wireless: Wireless LAN
	Soft blocked: no
	Hard blocked: no
1: acer-bluetooth: Bluetooth
	Soft blocked: no
	Hard blocked: no
2: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no
3: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no
Comment 1 Hoshyar Karimi 2022-12-18 12:58:08 UTC
sudo cat /sys/kernel/debug/usb/devices| awk '/3801/' RS=
T:  Bus=01 Lev=01 Prnt=01 Port=09 Cnt=03 Dev#=  4 Spd=480  MxCh= 0
D:  Ver= 2.10 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=04ca ProdID=3801 Rev= 1.00
S:  Manufacturer=MediaTek Inc.
S:  Product=Wireless_Device
S:  SerialNumber=000000000
C:* #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=100mA
A:  FirstIf#= 0 IfCount= 2 Cls=e0(wlcon) Sub=01 Prot=01
I:* If#= 0 Alt= 0 #EPs= 3 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
E:  Ad=81(I) Atr=03(Int.) MxPS=  16 Ivl=125us
E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
E:  Ad=83(I) Atr=01(Isoc) MxPS=   0 Ivl=1ms
E:  Ad=03(O) Atr=01(Isoc) MxPS=   0 Ivl=1ms
I:  If#= 1 Alt= 1 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
E:  Ad=83(I) Atr=01(Isoc) MxPS=   9 Ivl=1ms
E:  Ad=03(O) Atr=01(Isoc) MxPS=   9 Ivl=1ms
I:  If#= 1 Alt= 2 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
E:  Ad=83(I) Atr=01(Isoc) MxPS=  17 Ivl=1ms
E:  Ad=03(O) Atr=01(Isoc) MxPS=  17 Ivl=1ms
I:  If#= 1 Alt= 3 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
E:  Ad=83(I) Atr=01(Isoc) MxPS=  25 Ivl=1ms
E:  Ad=03(O) Atr=01(Isoc) MxPS=  25 Ivl=1ms
I:  If#= 1 Alt= 4 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
E:  Ad=83(I) Atr=01(Isoc) MxPS=  33 Ivl=1ms
E:  Ad=03(O) Atr=01(Isoc) MxPS=  33 Ivl=1ms
I:  If#= 1 Alt= 5 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
E:  Ad=83(I) Atr=01(Isoc) MxPS=  49 Ivl=1ms
E:  Ad=03(O) Atr=01(Isoc) MxPS=  49 Ivl=1ms
I:  If#= 1 Alt= 6 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
E:  Ad=83(I) Atr=01(Isoc) MxPS=  63 Ivl=1ms
E:  Ad=03(O) Atr=01(Isoc) MxPS=  63 Ivl=1ms
Comment 2 jeremy 2023-01-07 15:51:02 UTC
Looks like it needs a patch similar to https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v6.2-rc2&id=393dc5d19c825906f955210f10ee3befc39854f7 for it to be supported

Note You need to log in before you can comment on or make changes to this bug.