2017-12-12 00:59:27

by James Hemsing

[permalink] [raw]
Subject: rtl8723bu support on Complex 11t

Hello,

I have a Complex 11t tablet with this wireless card on USB. The kernel
driver supports it, but even at its best, it doesn't work at full
speed and frequently loses connections, whereas Windows 10 doesn't
have any problems. I'd be happy to test and debug code, and provide
whatever help I can to improve the driver for this device. Here is
some system information. The kernel I'm currently using is version
4.13.0 on Ubuntu 17.10.

Thanks,
James

[ 4.031513] Bluetooth: hci0: rtl: examining hci_ver=06 hci_rev=000b
lmp_ver=06 lmp_subver=8723
[ 4.031515] Bluetooth: hci0: rtl: loading rtl_bt/rtl8723b_config.bin
[ 4.032132] bluetooth hci0: Direct firmware load for
rtl_bt/rtl8723b_config.bin failed with error -2
[ 4.032136] Bluetooth: hci0: rtl: loading rtl_bt/rtl8723b_fw.bin
[ 4.160515] usb 1-6: rtl8723bu_parse_efuse: dumping efuse (0x200 bytes):
[ 4.160667] usb 1-6: RTL8723BU rev E (SMIC) 1T1R, TX queues 3,
WiFi=1, BT=1, GPS=0, HI PA=0
[ 4.160670] usb 1-6: RTL8723BU MAC: 7c:c7:09:69:b6:3a
[ 4.160674] usb 1-6: rtl8xxxu: Loading firmware rtlwifi/rtl8723bu_nic.bin
[ 5.038493] 8723bu: loading out-of-tree module taints kernel.
[ 5.039092] 8723bu: module verification failed: signature and/or
required key missing - tainting kernel
[ 5.042286] RTL871X: module init start
[ 5.042289] RTL871X: rtl8723bu v4.3.6.11_12942.20141204_BTCOEX20140507-4E40
[ 5.042290] RTL871X: rtl8723bu BT-Coex version = BTCOEX20140507-4E40
[ 5.042331] usbcore: registered new interface driver rtl8723bu
[ 5.042332] RTL871X: module init ret=0
[ 188.690578] Modules linked in: rfcomm ccm cmac bnep 8723bu(OE) arc4
snd_hda_codec_hdmi cmdlinepart intel_spi_platform intel_spi rtl8xxxu
spi_nor nls_iso8859_1 mtd rtsx_usb_ms mac80211 memstick btusb btrtl
btbcm cfg80211 btintel uvcvideo bluetooth videobuf2_vmalloc
videobuf2_memops videobuf2_v4l2 videobuf2_core videodev media
ecdh_generic intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp
kvm_intel kvm irqbypass crct10dif_pclmul crc32_pclmul
ghash_clmulni_intel pcbc aesni_intel aes_x86_64 crypto_simd
glue_helper cryptd intel_cstate intel_rapl_perf input_leds serio_raw
hid_multitouch snd_hda_codec_realtek snd_hda_codec_generic joydev
snd_soc_rt5640 snd_hda_intel intel_pch_thermal snd_hda_codec mei_me
mei lpc_ich snd_hda_core snd_soc_rl6231 processor_thermal_device
snd_hwdep snd_soc_ssm4567 intel_soc_dts_iosf
Linux butterscotch 4.13.0-16-generic #19-Ubuntu SMP Wed Oct 11
18:35:14 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux


Bus 001 Device 004: ID 0bda:b720 Realtek Semiconductor Corp.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.10
bDeviceClass 239 Miscellaneous Device
bDeviceSubClass 2 ?
bDeviceProtocol 1 Interface Association
bMaxPacketSize0 64
idVendor 0x0bda Realtek Semiconductor Corp.
idProduct 0xb720
bcdDevice 2.00
iManufacturer 1
iProduct 2
iSerial 3
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 236
bNumInterfaces 3
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 500mA
Interface Association:
bLength 8
bDescriptorType 11
bFirstInterface 0
bInterfaceCount 2
bFunctionClass 224 Wireless
bFunctionSubClass 1 Radio Frequency
bFunctionProtocol 1 Bluetooth
iFunction 4
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0000 1x 0 bytes
bInterval 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0000 1x 0 bytes
bInterval 4
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 1
bNumEndpoints 2
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0009 1x 9 bytes
bInterval 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0009 1x 9 bytes
bInterval 4
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 2
bNumEndpoints 2
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0011 1x 17 bytes
bInterval 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0011 1x 17 bytes
bInterval 4
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 3
bNumEndpoints 2
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0019 1x 25 bytes
bInterval 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0019 1x 25 bytes
bInterval 4
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 4
bNumEndpoints 2
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0021 1x 33 bytes
bInterval 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0021 1x 33 bytes
bInterval 4
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 5
bNumEndpoints 2
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0031 1x 49 bytes
bInterval 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0031 1x 49 bytes
bInterval 4
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 0
bNumEndpoints 6
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 2
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x05 EP 5 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x06 EP 6 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x87 EP 7 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 3
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x08 EP 8 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x09 EP 9 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0


2017-12-15 21:08:33

by James Hemsing

[permalink] [raw]
Subject: Re: rtl8723bu support on Complex 11t

Ha! I didn't realize those were two separate drivers. Blacklisting
rtl8xxxu made it work consistently. The throughput is still about 1/2
what it is in Windows 10, but at least it works! Thanks.

On Mon, Dec 11, 2017 at 9:21 PM, Larry Finger <[email protected]> wrote:
> On 12/11/2017 06:59 PM, James Hemsing wrote:
>>
>> Hello,
>>
>> I have a Complex 11t tablet with this wireless card on USB. The kernel
>> driver supports it, but even at its best, it doesn't work at full
>> speed and frequently loses connections, whereas Windows 10 doesn't
>> have any problems. I'd be happy to test and debug code, and provide
>> whatever help I can to improve the driver for this device. Here is
>> some system information. The kernel I'm currently using is version
>> 4.13.0 on Ubuntu 17.10.
>>
>> Thanks,
>> James
>>
>> [ 4.031513] Bluetooth: hci0: rtl: examining hci_ver=06 hci_rev=000b
>> lmp_ver=06 lmp_subver=8723
>> [ 4.031515] Bluetooth: hci0: rtl: loading rtl_bt/rtl8723b_config.bin
>> [ 4.032132] bluetooth hci0: Direct firmware load for
>> rtl_bt/rtl8723b_config.bin failed with error -2
>> [ 4.032136] Bluetooth: hci0: rtl: loading rtl_bt/rtl8723b_fw.bin
>> [ 4.160515] usb 1-6: rtl8723bu_parse_efuse: dumping efuse (0x200
>> bytes):
>> [ 4.160667] usb 1-6: RTL8723BU rev E (SMIC) 1T1R, TX queues 3,
>> WiFi=1, BT=1, GPS=0, HI PA=0
>> [ 4.160670] usb 1-6: RTL8723BU MAC: 7c:c7:09:69:b6:3a
>> [ 4.160674] usb 1-6: rtl8xxxu: Loading firmware
>> rtlwifi/rtl8723bu_nic.bin
>> [ 5.038493] 8723bu: loading out-of-tree module taints kernel.
>> [ 5.039092] 8723bu: module verification failed: signature and/or
>> required key missing - tainting kernel
>
>
> Why are you loading BOTH rtl8xxxu and 8723bu? The conflict between them will
> cause all kinds of problems.
>
> Larry
>
>

2017-12-12 02:21:48

by Larry Finger

[permalink] [raw]
Subject: Re: rtl8723bu support on Complex 11t

On 12/11/2017 06:59 PM, James Hemsing wrote:
> Hello,
>
> I have a Complex 11t tablet with this wireless card on USB. The kernel
> driver supports it, but even at its best, it doesn't work at full
> speed and frequently loses connections, whereas Windows 10 doesn't
> have any problems. I'd be happy to test and debug code, and provide
> whatever help I can to improve the driver for this device. Here is
> some system information. The kernel I'm currently using is version
> 4.13.0 on Ubuntu 17.10.
>
> Thanks,
> James
>
> [ 4.031513] Bluetooth: hci0: rtl: examining hci_ver=06 hci_rev=000b
> lmp_ver=06 lmp_subver=8723
> [ 4.031515] Bluetooth: hci0: rtl: loading rtl_bt/rtl8723b_config.bin
> [ 4.032132] bluetooth hci0: Direct firmware load for
> rtl_bt/rtl8723b_config.bin failed with error -2
> [ 4.032136] Bluetooth: hci0: rtl: loading rtl_bt/rtl8723b_fw.bin
> [ 4.160515] usb 1-6: rtl8723bu_parse_efuse: dumping efuse (0x200 bytes):
> [ 4.160667] usb 1-6: RTL8723BU rev E (SMIC) 1T1R, TX queues 3,
> WiFi=1, BT=1, GPS=0, HI PA=0
> [ 4.160670] usb 1-6: RTL8723BU MAC: 7c:c7:09:69:b6:3a
> [ 4.160674] usb 1-6: rtl8xxxu: Loading firmware rtlwifi/rtl8723bu_nic.bin
> [ 5.038493] 8723bu: loading out-of-tree module taints kernel.
> [ 5.039092] 8723bu: module verification failed: signature and/or
> required key missing - tainting kernel

Why are you loading BOTH rtl8xxxu and 8723bu? The conflict between them will
cause all kinds of problems.

Larry