lwfinger / rtw89-BT

Out-of-kernel driver for Realtek BT devices found in rtw89 devides.
67 stars 9 forks source link

debian: match packaging improvements with rtw89 wifi #14

Closed sney closed 1 year ago

sney commented 1 year ago

Almost identical changes to rtw89 here, after confirming that mainline btusb/btrtl in linux 6.1 still doesn't support the bluetooth radio in my 8852BE: remove firmware package, update documentation, debian packaging fixup to support multiple distros.

sney

lwfinger commented 1 year ago

Mereged. I understand that 6.1 will not have wifi code for the 8852be, but the BT surprises me. What is missing? Is it the firmware, or the USB ID?

sney commented 1 year ago

I'm not sure exactly what's missing. With the mainline driver, bluetooth appears to load but can never detect any devices no matter how long I let it scan. With this one it can detect other bluetooth devices and pair/connect with some of them. It's not the firmware, which was the same for both tests. I can open a separate issue about the inconsistent pairing if you want more details, but this is the driver that "works" at all, in any case.

lwfinger commented 1 year ago

What do you get for the BT part in 'lsusb'?

sney commented 1 year ago

Bus 003 Device 002: ID 13d3:3571 IMC Networks Bluetooth Radio

lwfinger commented 1 year ago

That device is in rtw89-BT, but not in the kernel even through 6.3. Please 'cat /sys/kernel/debug/usb/devices' and send the part that pertains to the BT device. I need that to submit a patch to update the tables in the kernel.

sney commented 1 year ago

Here it is:

T:  Bus=03 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  2 Spd=12   MxCh= 0
D:  Ver= 1.00 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=13d3 ProdID=3571 Rev= 0.00
S:  Manufacturer=Realtek
S:  Product=Bluetooth Radio
S:  SerialNumber=00e04c000001
C:* #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=500mA
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=1ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
I:* If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
E:  Ad=03(O) Atr=01(Isoc) MxPS=   0 Ivl=1ms
E:  Ad=83(I) 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=03(O) Atr=01(Isoc) MxPS=   9 Ivl=1ms
E:  Ad=83(I) 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=03(O) Atr=01(Isoc) MxPS=  17 Ivl=1ms
E:  Ad=83(I) 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=03(O) Atr=01(Isoc) MxPS=  25 Ivl=1ms
E:  Ad=83(I) 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=03(O) Atr=01(Isoc) MxPS=  33 Ivl=1ms
E:  Ad=83(I) 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=03(O) Atr=01(Isoc) MxPS=  49 Ivl=1ms
E:  Ad=83(I) Atr=01(Isoc) MxPS=  49 Ivl=1ms

Thanks, I had assumed it was just lagging behind like wifi support.

sney

lwfinger commented 1 year ago

No, I just had not submitted the update. My bad. If you want credit for reporting this one, send a live E-mail address to me at Larry.Finger@lwfinger.net. Your option.

sney commented 1 year ago

No need, just glad it'll work!

Thanks again

sney