lwfinger / rtl8188gu

This repo contains a Linux driver for the RTL8188GU
55 stars 20 forks source link

RTL8188 driver did not work with USB device 0bda:b711 (Tenda W311MI) #4

Closed manoe closed 4 years ago

manoe commented 4 years ago

Hello,

I've recently bought a Tenda W311MI USB dongle, which is based on the lsusb output: Bus 001 Device 011: ID 0bda:b711 Realtek Semiconductor Corp. 802.11n WLAN Adapter

After some googling it turned out that this is the 8188GU chipset, thus I've compiled the rt8188gu driver first from the master and then from the rtl8188gu branch. The compilation and installation went fine in both cases, but after restart the driver could not talk to the dongle.

OS and kernel: Operating System: Ubuntu 19.10 Kernel: Linux 5.3.0-55-generic

I'm providing the dmesg output of both driver variants, maybe that could help a potential investigation.

I'm happy to test any changes you would make to the code, if you see any value in it.

Br, -Balint Uveges

Dmesg output (8188ru branch based module):

[  288.843419] usb-storage 1-2:1.0: USB Mass Storage device detected
[  288.843818] scsi host4: usb-storage 1-2:1.0
[  289.850769] scsi 4:0:0:0: CD-ROM            Realtek  USB Disk autorun 1.00 PQ: 0 ANSI: 0 CCS
[  289.857394] sr 4:0:0:0: [sr1] scsi-1 drive
[  289.857785] sr 4:0:0:0: Attached scsi CD-ROM sr1
[  289.857928] sr 4:0:0:0: Attached scsi generic sg2 type 5
[  290.115622] scsi 4:0:0:0: rejecting I/O to dead device
[  290.153793] usb 1-2: USB disconnect, device number 10
[  290.442029] usb 1-2: new high-speed USB device number 11 using ehci-pci
[  290.470989] usb 1-2: New USB device found, idVendor=0bda, idProduct=b711, bcdDevice= 2.00
[  290.470992] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  290.470995] usb 1-2: Product: 802.11n WLAN Adapter
[  290.470997] usb 1-2: Manufacturer: Realtek
[  290.471000] usb 1-2: SerialNumber: 00E04CB82101
[  290.541030] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[  290.546609] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[  290.676656] 8188gtvu: loading out-of-tree module taints kernel.
[  290.679555] 8188gtvu: module verification failed: signature and/or required key missing - tainting kernel
[  290.684563] RTW: module init start
[  290.684565] RTW: rtl8188gtvu v5.7.4.1_35314.20191015
[  290.684566] RTW: build time: May 28 2020 15:40:12
[  290.684586] RTW: rtw_inetaddr_notifier_register
[  290.684631] RTW: 
               usb_endpoint_descriptor(0):
[  290.684632] RTW: bLength=7
[  290.684633] RTW: bDescriptorType=5
[  290.684634] RTW: bEndpointAddress=84
[  290.684635] RTW: wMaxPacketSize=512
[  290.684636] RTW: bInterval=0
[  290.684637] RTW: RT_usb_endpoint_is_bulk_in = 4
[  290.684638] RTW: 
               usb_endpoint_descriptor(1):
[  290.684639] RTW: bLength=7
[  290.684640] RTW: bDescriptorType=5
[  290.684640] RTW: bEndpointAddress=5
[  290.684641] RTW: wMaxPacketSize=512
[  290.684642] RTW: bInterval=0
[  290.684643] RTW: RT_usb_endpoint_is_bulk_out = 5
[  290.684644] RTW: 
               usb_endpoint_descriptor(2):
[  290.684645] RTW: bLength=7
[  290.684646] RTW: bDescriptorType=5
[  290.684647] RTW: bEndpointAddress=6
[  290.684648] RTW: wMaxPacketSize=512
[  290.684649] RTW: bInterval=0
[  290.684650] RTW: RT_usb_endpoint_is_bulk_out = 6
[  290.684651] RTW: 
               usb_endpoint_descriptor(3):
[  290.684652] RTW: bLength=7
[  290.684652] RTW: bDescriptorType=5
[  290.684653] RTW: bEndpointAddress=87
[  290.684654] RTW: wMaxPacketSize=64
[  290.684655] RTW: bInterval=3
[  290.684656] RTW: RT_usb_endpoint_is_int_in = 7, Interval = 3
[  290.684657] RTW: 
               usb_endpoint_descriptor(4):
[  290.684658] RTW: bLength=7
[  290.684659] RTW: bDescriptorType=5
[  290.684660] RTW: bEndpointAddress=8
[  290.684661] RTW: wMaxPacketSize=512
[  290.684662] RTW: bInterval=0
[  290.684663] RTW: RT_usb_endpoint_is_bulk_out = 8
[  290.684664] RTW: 
               usb_endpoint_descriptor(5):
[  290.684664] RTW: bLength=7
[  290.684665] RTW: bDescriptorType=5
[  290.684666] RTW: bEndpointAddress=9
[  290.684667] RTW: wMaxPacketSize=512
[  290.684668] RTW: bInterval=0
[  290.684669] RTW: RT_usb_endpoint_is_bulk_out = 9
[  290.684670] RTW: nr_endpoint=6, in_num=2, out_num=4

[  290.684671] RTW: USB_SPEED_HIGH
[  290.684673] RTW: CHIP TYPE: RTL8188GTVU
[  291.197121] RTW: reg 0xf0, usb read 4 fail, status:-110 value=0x0, vendorreq_times:1
[  291.709116] RTW: reg 0xf0, usb read 4 fail, status:-110 value=0x0, vendorreq_times:2
[  292.220993] RTW: reg 0xf0, usb read 4 fail, status:-110 value=0x0, vendorreq_times:3
[  292.732992] RTW: reg 0xf0, usb read 4 fail, status:-110 value=0x0, vendorreq_times:4
[  293.244873] RTW: reg 0xf0, usb read 4 fail, status:-110 value=0x0, vendorreq_times:5
[  293.244877] RTW: [dvobj:00000000d6b71dd4][ERROR] continual_io_error:5 > 4
[  293.244881] RTW: rtw_hal_config_rftype RF_Type is 0 TotalTxPath is 1
[  293.244884] RTW: Chip Version Info: CHIP_8188GTV_Normal_Chip_TSMC_A_CUT_1T1R_RomVer(0)
[  293.244887] RTW: _ConfigChipOutEP_8188GTV OutEpQueueSel(0x07), OutEpNumber(4)
[  293.244890] RTW: EEPROM type is E-FUSE
[  293.244892] RTW: Boot from EFUSE, Autoload Fail !
[  293.244903] RTW: HW EFUSE
[  293.244906] RTW: 0x000: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[  293.244915] RTW: 0x010: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[  293.244923] RTW: 0x020: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[  293.244931] RTW: 0x030: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[  293.244939] RTW: 0x040: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[  293.244947] RTW: 0x050: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[  293.244955] RTW: 0x060: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[  293.244963] RTW: 0x070: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[  293.244972] RTW: 0x080: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[  293.244980] RTW: 0x090: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[  293.244988] RTW: 0x0A0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[  293.244996] RTW: 0x0B0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[  293.245004] RTW: 0x0C0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[  293.245012] RTW: 0x0D0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[  293.245020] RTW: 0x0E0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[  293.245028] RTW: 0x0F0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[  293.245037] RTW: 0x100: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[  293.245045] RTW: 0x110: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[  293.245053] RTW: 0x120: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[  293.245061] RTW: 0x130: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[  293.245069] RTW: 0x140: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[  293.245077] RTW: 0x150: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[  293.245086] RTW: 0x160: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[  293.245094] RTW: 0x170: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[  293.245102] RTW: 0x180: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[  293.245110] RTW: 0x190: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[  293.245118] RTW: 0x1A0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[  293.245126] RTW: 0x1B0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[  293.245134] RTW: 0x1C0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[  293.245143] RTW: 0x1D0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[  293.245151] RTW: 0x1E0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[  293.245159] RTW: 0x1F0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[  293.245186] RTW: rtw_read_efuse_from_file /system/etc/wifi/wifi_efuse_8188gtvu.map is not readable
[  293.245187] RTW: ERROR invalid phy efuse and read from file fail, will use driver default!!
[  293.245189] RTW: EEPROM ID(0xffff) is invalid!!
[  293.245190] RTW: EEPROM VID = 0x   0
[  293.245191] RTW: EEPROM PID = 0x   0
[  293.245198] RTW: rtw_read_macaddr_from_file /data/wifimac.txt is not readable
[  293.245202] RTW: [A] 2G G00 CCK-1T base:34 from IC_DEF
[  293.245204] RTW: [A] 2G G01 CCK-1T base:34 from IC_DEF
[  293.245206] RTW: [A] 2G G02 CCK-1T base:34 from IC_DEF
[  293.245207] RTW: [A] 2G G03 CCK-1T base:34 from IC_DEF
[  293.245209] RTW: [A] 2G G04 CCK-1T base:34 from IC_DEF
[  293.245211] RTW: [A] 2G G05 CCK-1T base:34 from IC_DEF
[  293.245212] RTW: [A] 2G G00 BW40-1S base:39 from IC_DEF
[  293.245214] RTW: [A] 2G G01 BW40-1S base:39 from IC_DEF
[  293.245216] RTW: [A] 2G G02 BW40-1S base:39 from IC_DEF
[  293.245217] RTW: [A] 2G G03 BW40-1S base:39 from IC_DEF
[  293.245219] RTW: [A] 2G G04 BW40-1S base:39 from IC_DEF
[  293.245222] RTW: hal_com_config_channel_plan use def_chplan:0x20
[  294.237408] RTW: efuse_OneByteRead: [ERROR] addr=0xee bResult=0 time out 1s !!!
[  294.237411] RTW: efuse_OneByteRead: [ERROR] EFUSE_CTRL =0x00000000 !!!
[  295.229597] RTW: efuse_OneByteRead: [ERROR] addr=0xef bResult=0 time out 1s !!!
[  295.229599] RTW: efuse_OneByteRead: [ERROR] EFUSE_CTRL =0x00000000 !!!
[  295.229600] RTW: kfree Pwr Trim flag:0
[  295.279915] RTW: ERROR HalPwrSeqCmdParsing: Fail to polling Offset[0x6]=00
[  295.279938] RTW: rtl8188gtv_FirmwareDownload((null)) tmp_ps=0
[  295.279940] RTW: rtl8188gtv_FirmwareDownload fw: FW_NIC, size: 21768
[  295.279944] RTW: rtl8188gtv_FirmwareDownload: fw_ver=6 fw_subver=0000 sig=0x88f1, Month=07, Date=30, Hour=11, Minute=06
[  295.279945] RTW: rtl8188gtv_FirmwareDownload(): Shift for fw header!
[  295.279946] RTW: rtl8188gtv_FirmwareDownload by IO write!
[  295.481792] RTW: _FWDownloadEnable: !!!!!!!!Write 0x80 Fail!: count = 101
[  295.481795] RTW: _8051Reset8188: Finish
[  295.481798] RTW: _FWFreeToGo: Polling FW ready Fail! (1, 0ms), REG_MCUFWDL:0x00000000
[  295.481800] RTW: rtl8188gtv_FirmwareDownload fail. write_fw:0, 204ms
[  295.481802] RTW:  <=== rtl8188gtv_FirmwareDownload()
[  295.481804] RTW: CardDisableRTL8188GTVU
[  295.481812] RTW: hal_read_mac_hidden_rpt Fail! (0, 252ms), fwdl:0, id:0xfd
[  295.481814] RTW: rtw_hal_read_chip_info in 2240 ms
[  295.481828] RTW: rtw_usb_primary_adapter_init Failed!
[  295.481830] RTW: usb attached..., try to reset usb device
[  295.609421] usb 1-2: reset high-speed USB device number 11 using ehci-pci
[  295.638350] usbcore: registered new interface driver rtl8188gtvu
[  295.638353] RTW: module init ret=0

Demsg output (master branch):

[   19.517137] 8188gtvu: loading out-of-tree module taints kernel.
[   19.520113] 8188gtvu: module verification failed: signature and/or required key missing - tainting kernel
[   19.529753] RTW: module init start
[   19.529757] RTW: rtl8188gtvu v5.7.4.1_35314.20191015
[   19.529758] RTW: build time: May 28 2020 15:40:12
[   19.529775] RTW: rtw_inetaddr_notifier_register
[   19.529813] RTW:
               usb_endpoint_descriptor(0):
[   19.529814] RTW: bLength=7
[   19.529815] RTW: bDescriptorType=5
[   19.529816] RTW: bEndpointAddress=84
[   19.529817] RTW: wMaxPacketSize=512
[   19.529818] RTW: bInterval=0
[   19.529819] RTW: RT_usb_endpoint_is_bulk_in = 4
[   19.529820] RTW:
               usb_endpoint_descriptor(1):
[   19.529821] RTW: bLength=7
[   19.529822] RTW: bDescriptorType=5
[   19.529823] RTW: bEndpointAddress=5
[   19.529823] RTW: wMaxPacketSize=512
[   19.529824] RTW: bInterval=0
[   19.529825] RTW: RT_usb_endpoint_is_bulk_out = 5
[   19.529826] RTW:
               usb_endpoint_descriptor(2):
[   19.529827] RTW: bLength=7
[   19.529828] RTW: bDescriptorType=5
[   19.529829] RTW: bEndpointAddress=6
[   19.529830] RTW: wMaxPacketSize=512
[   19.529831] RTW: bInterval=0
[   19.529832] RTW: RT_usb_endpoint_is_bulk_out = 6
[   19.529833] RTW:
               usb_endpoint_descriptor(3):
[   19.529834] RTW: bLength=7
[   19.529834] RTW: bDescriptorType=5
[   19.529835] RTW: bEndpointAddress=87
[   19.529836] RTW: wMaxPacketSize=64
[   19.529837] RTW: bInterval=3
[   19.529838] RTW: RT_usb_endpoint_is_int_in = 7, Interval = 3
[   19.529839] RTW:
               usb_endpoint_descriptor(4):
[   19.529840] RTW: bLength=7
[   19.529841] RTW: bDescriptorType=5
[   19.529842] RTW: bEndpointAddress=8
[   19.529843] RTW: wMaxPacketSize=512
[   19.529844] RTW: bInterval=0
[   19.529845] RTW: RT_usb_endpoint_is_bulk_out = 8
[   19.529846] RTW:
               usb_endpoint_descriptor(5):
[   19.529846] RTW: bLength=7
[   19.529847] RTW: bDescriptorType=5
[   19.529848] RTW: bEndpointAddress=9
[   19.529849] RTW: wMaxPacketSize=512
[   19.529850] RTW: bInterval=0
[   19.529851] RTW: RT_usb_endpoint_is_bulk_out = 9
[   19.529852] RTW: nr_endpoint=6, in_num=2, out_num=4

[   19.529853] RTW: USB_SPEED_HIGH
[   19.529855] RTW: CHIP TYPE: RTL8188GTVU
[   19.895641] kvm: disabled by bios
[   19.941444] kvm: disabled by bios
[   20.055105] RTW: reg 0xf0, usb read 4 fail, status:-110 value=0x0, vendorreq_times:1
[   20.078355] coretemp coretemp.0: Using relative temperature scale!
[   20.078389] coretemp coretemp.0: Using relative temperature scale!
[   20.323110] intel_powerclamp: No package C-state available
[   20.356155] intel_powerclamp: No package C-state available
[   20.560694] snd_hda_codec_analog hdaudioC0D2: autoconfig for AD1983: line_outs=1 (0x5/0x0/0x0/0x0/0x0) type:line
[   20.560699] snd_hda_codec_analog hdaudioC0D2:    speaker_outs=1 (0x7/0x0/0x0/0x0/0x0)
[   20.560701] snd_hda_codec_analog hdaudioC0D2:    hp_outs=1 (0x6/0x0/0x0/0x0/0x0)
[   20.560703] snd_hda_codec_analog hdaudioC0D2:    mono: mono_out=0x0
[   20.560705] snd_hda_codec_analog hdaudioC0D2:    inputs:
[   20.560707] snd_hda_codec_analog hdaudioC0D2:      Mic=0x8
[   20.560709] snd_hda_codec_analog hdaudioC0D2:      Line=0x9
[   20.566970] RTW: reg 0xf0, usb read 4 fail, status:-110 value=0x0, vendorreq_times:2
[   20.575463] input: HDA Intel Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input10
[   20.575568] input: HDA Intel Line as /devices/pci0000:00/0000:00:1b.0/sound/card0/input11
[   20.577478] input: HDA Intel Line Out as /devices/pci0000:00/0000:00:1b.0/sound/card0/input12
[   20.579824] input: HDA Intel Front Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input13
[   21.078972] RTW: reg 0xf0, usb read 4 fail, status:-110 value=0x0, vendorreq_times:3
[   21.590970] RTW: reg 0xf0, usb read 4 fail, status:-110 value=0x0, vendorreq_times:4
[   22.102967] RTW: reg 0xf0, usb read 4 fail, status:-110 value=0x0, vendorreq_times:5
[   22.102972] RTW: [dvobj:000000002fa02807][ERROR] continual_io_error:5 > 4
[   22.102975] RTW: rtw_hal_config_rftype RF_Type is 0 TotalTxPath is 1
[   22.102978] RTW: Chip Version Info: CHIP_8188GTV_Normal_Chip_TSMC_A_CUT_1T1R_RomVer(0)
[   22.102982] RTW: _ConfigChipOutEP_8188GTV OutEpQueueSel(0x07), OutEpNumber(4)
[   22.102985] RTW: EEPROM type is E-FUSE
[   22.102988] RTW: Boot from EFUSE, Autoload Fail !
[   22.102999] RTW: HW EFUSE
[   22.103001] RTW: 0x000: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   22.103010] RTW: 0x010: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   22.103018] RTW: 0x020: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   22.103027] RTW: 0x030: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   22.103035] RTW: 0x040: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   22.103043] RTW: 0x050: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   22.103051] RTW: 0x060: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   22.103059] RTW: 0x070: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   22.103067] RTW: 0x080: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   22.103075] RTW: 0x090: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   22.103083] RTW: 0x0A0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   22.103102] RTW: 0x0B0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   22.103109] RTW: 0x0C0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   22.103116] RTW: 0x0D0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   22.103122] RTW: 0x0E0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   22.103129] RTW: 0x0F0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   22.103136] RTW: 0x100: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   22.103143] RTW: 0x110: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   22.103150] RTW: 0x120: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   22.103157] RTW: 0x130: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   22.103164] RTW: 0x140: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   22.103171] RTW: 0x150: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   22.103178] RTW: 0x160: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   22.103185] RTW: 0x170: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   22.103192] RTW: 0x180: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   22.103199] RTW: 0x190: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   22.103206] RTW: 0x1A0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   22.103213] RTW: 0x1B0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   22.103220] RTW: 0x1C0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   22.103227] RTW: 0x1D0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   22.103234] RTW: 0x1E0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   22.103241] RTW: 0x1F0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   22.103266] RTW: rtw_read_efuse_from_file /system/etc/wifi/wifi_efuse_8188gtvu.map is not readable
[   22.103267] RTW: ERROR invalid phy efuse and read from file fail, will use driver default!!
[   22.103268] RTW: EEPROM ID(0xffff) is invalid!!
[   22.103269] RTW: EEPROM VID = 0x   0
[   22.103270] RTW: EEPROM PID = 0x   0
[   22.103276] RTW: rtw_read_macaddr_from_file /data/wifimac.txt is not readable
[   22.103280] RTW: [A] 2G G00 CCK-1T base:34 from IC_DEF
[   22.103282] RTW: [A] 2G G01 CCK-1T base:34 from IC_DEF
[   22.103283] RTW: [A] 2G G02 CCK-1T base:34 from IC_DEF
[   22.103285] RTW: [A] 2G G03 CCK-1T base:34 from IC_DEF
[   22.103286] RTW: [A] 2G G04 CCK-1T base:34 from IC_DEF
[   22.103288] RTW: [A] 2G G05 CCK-1T base:34 from IC_DEF
[   22.103289] RTW: [A] 2G G00 BW40-1S base:39 from IC_DEF
[   22.103290] RTW: [A] 2G G01 BW40-1S base:39 from IC_DEF
[   22.103292] RTW: [A] 2G G02 BW40-1S base:39 from IC_DEF
[   22.103293] RTW: [A] 2G G03 BW40-1S base:39 from IC_DEF
[   22.103295] RTW: [A] 2G G04 BW40-1S base:39 from IC_DEF
[   22.103297] RTW: hal_com_config_channel_plan use def_chplan:0x20
[   23.095538] RTW: efuse_OneByteRead: [ERROR] addr=0xee bResult=0 time out 1s !!!
[   23.095541] RTW: efuse_OneByteRead: [ERROR] EFUSE_CTRL =0x00000000 !!!
[   24.087780] RTW: efuse_OneByteRead: [ERROR] addr=0xef bResult=0 time out 1s !!!
[   24.087783] RTW: efuse_OneByteRead: [ERROR] EFUSE_CTRL =0x00000000 !!!
[   24.087785] RTW: kfree Pwr Trim flag:0
[   24.138172] RTW: ERROR HalPwrSeqCmdParsing: Fail to polling Offset[0x6]=00
[   24.138199] RTW: rtl8188gtv_FirmwareDownload((null)) tmp_ps=0
[   24.138202] RTW: rtl8188gtv_FirmwareDownload fw: FW_NIC, size: 21768
[   24.138205] RTW: rtl8188gtv_FirmwareDownload: fw_ver=6 fw_subver=0000 sig=0x88f1, Month=07, Date=30, Hour=11, Minute=06
[   24.138206] RTW: rtl8188gtv_FirmwareDownload(): Shift for fw header!
[   24.138207] RTW: rtl8188gtv_FirmwareDownload by IO write!
[   24.346488] RTW: _FWDownloadEnable: !!!!!!!!Write 0x80 Fail!: count = 101
[   24.346492] RTW: _8051Reset8188: Finish
[   24.346495] RTW: _FWFreeToGo: Polling FW ready Fail! (1, 0ms), REG_MCUFWDL:0x00000000
[   24.346497] RTW: rtl8188gtv_FirmwareDownload fail. write_fw:0, 208ms
[   24.346500] RTW:  <=== rtl8188gtv_FirmwareDownload()
[   24.346503] RTW: CardDisableRTL8188GTVU
[   24.346511] RTW: hal_read_mac_hidden_rpt Fail! (0, 256ms), fwdl:0, id:0xfd
[   24.346513] RTW: rtw_hal_read_chip_info in 2244 ms
[   24.346528] RTW: rtw_usb_primary_adapter_init Failed!
[   24.346530] RTW: usb attached..., try to reset usb device
[   24.471726] usb 1-2: reset high-speed USB device number 2 using ehci-pci
[   24.500413] usbcore: registered new interface driver rtl8188gtvu
[   24.500417] RTW: module init ret=0
[   26.318622] RTW: module init start
[   26.318625] RTW: rtl8710bu v5.2.22_xxxx.20180117
[   26.318647] RTW: rtw_inetaddr_notifier_register
[   26.318691] RTW:
               usb_endpoint_descriptor(0):
[   26.318692] RTW: bLength=7
[   26.318693] RTW: bDescriptorType=5
[   26.318694] RTW: bEndpointAddress=84
[   26.318695] RTW: wMaxPacketSize=512
[   26.318696] RTW: bInterval=0
[   26.318697] RTW: RT_usb_endpoint_is_bulk_in = 4
[   26.318698] RTW:
               usb_endpoint_descriptor(1):
[   26.318699] RTW: bLength=7
[   26.318700] RTW: bDescriptorType=5
[   26.318701] RTW: bEndpointAddress=5
[   26.318702] RTW: wMaxPacketSize=512
[   26.318703] RTW: bInterval=0
[   26.318704] RTW: RT_usb_endpoint_is_bulk_out = 5
[   26.318704] RTW:
               usb_endpoint_descriptor(2):
[   26.318705] RTW: bLength=7
[   26.318706] RTW: bDescriptorType=5
[   26.318707] RTW: bEndpointAddress=6
[   26.318708] RTW: wMaxPacketSize=512
[   26.318709] RTW: bInterval=0
[   26.318710] RTW: RT_usb_endpoint_is_bulk_out = 6
[   26.318711] RTW:
               usb_endpoint_descriptor(3):
[   26.318712] RTW: bLength=7
[   26.318713] RTW: bDescriptorType=5
[   26.318714] RTW: bEndpointAddress=87
[   26.318715] RTW: wMaxPacketSize=64
[   26.318716] RTW: bInterval=3
[   26.318717] RTW: RT_usb_endpoint_is_int_in = 7, Interval = 3
[   26.318718] RTW:
               usb_endpoint_descriptor(4):
[   26.318718] RTW: bLength=7
[   26.318719] RTW: bDescriptorType=5
[   26.318720] RTW: bEndpointAddress=8
[   26.318721] RTW: wMaxPacketSize=512
[   26.318722] RTW: bInterval=0
[   26.318723] RTW: RT_usb_endpoint_is_bulk_out = 8
[   26.318724] RTW:
               usb_endpoint_descriptor(5):
[   26.318725] RTW: bLength=7
[   26.318726] RTW: bDescriptorType=5
[   26.318727] RTW: bEndpointAddress=9
[   26.318728] RTW: wMaxPacketSize=512
[   26.318728] RTW: bInterval=0
[   26.318729] RTW: RT_usb_endpoint_is_bulk_out = 9
[   26.318730] RTW: nr_endpoint=6, in_num=2, out_num=4

[   26.318731] RTW: USB_SPEED_HIGH
[   26.318733] RTW: CHIP TYPE: RTL8710BU
[   26.318754] RTW: Peter : Step2
[   26.318786] RTW: --->hal_query_syson_reg_8710b(): RegAddr(0x1f0), BitMask(0xffffffff)
[   26.319208] RTW: <---hal_query_syson_reg_8710b(): RegAddr(0x1f0), BitMask(0xffffffff), OriginalValue(0x41000280)
[   26.319209] RTW: --->hal_query_syson_reg_8710b(): RegAddr(0x1f4), BitMask(0xffffffff)
[   26.319717] RTW: <---hal_query_syson_reg_8710b(): RegAddr(0x1f4), BitMask(0xffffffff), OriginalValue(0x8010301)
[   26.319718] RTW: --->hal_query_syson_reg_8710b(): RegAddr(0x1f8), BitMask(0xffffffff)
[   26.320208] RTW: <---hal_query_syson_reg_8710b(): RegAddr(0x1f8), BitMask(0xffffffff), OriginalValue(0x1402)
[   26.320210] RTW: rtw_hal_config_rftype RF_Type is 0 TotalTxPath is 1
[   26.320213] RTW: Chip Version Info: CHIP_8710B_Normal_Chip_UMC_A_CUT_1T1R_RomVer(2)
[   26.320216] RTW: USB NumInPipe(2), NumOutPipe(4/4)
[   26.320218] RTW: --->hal_query_syson_reg_8710b(): RegAddr(0xe0), BitMask(0xf)
[   26.323231] RTW: <---hal_query_syson_reg_8710b(): RegAddr(0xe0), BitMask(0xf), OriginalValue(0x20)
[   26.367961] RTW: Peter : read EFUSE end,dump :
[   26.367964]  95
[   26.367965]  81
[   26.367966]  c2
[   26.367967]  16
[   26.367968]  ff
[   26.367969]  ff
[   26.367969]  ff
[   26.367970]  ff
[   26.367971]  ff
[   26.367972]  ff
[   26.367973]  ff
[   26.367974]  ff
[   26.367975]  ff
[   26.367975]  ff
[   26.367976]  ff
[   26.367977]  ff

[   26.367979]  ff
[   26.367979]  ff
[   26.367980]  ff
[   26.367981]  ff
[   26.367982]  ff
[   26.367983]  ff
[   26.367984]  ff
[   26.367984]  ff
[   26.367985]  e0
[   26.367986]  00
[   26.367987]  00
[   26.367988]  02
[   26.367989]  ff
[   26.367989]  ff
[   26.367990]  ff
[   26.367991]  ff

[   26.367993]  28
[   26.367993]  28
[   26.367994]  26
[   26.367995]  26
[   26.367996]  26
[   26.367996]  26
[   26.367997]  27
[   26.367998]  27
[   26.367999]  26
[   26.368000]  26
[   26.368001]  26
[   26.368001]  00
[   26.368002]  ff
[   26.368003]  ff
[   26.368004]  ff
[   26.368005]  ff

[   26.368006]  ff
[   26.368007]  ff
[   26.368008]  ff
[   26.368008]  ff
[   26.368009]  ff
[   26.368010]  ff
[   26.368011]  ff
[   26.368012]  ff
[   26.368013]  ff
[   26.368013]  ff
[   26.368014]  ff
[   26.368015]  ff
[   26.368016]  ff
[   26.368017]  ff
[   26.368018]  ff
[   26.368018]  ff

[   26.368020]  ff
[   26.368021]  ff
[   26.368021]  ff
[   26.368022]  ff
[   26.368023]  ff
[   26.368024]  ff
[   26.368025]  ff
[   26.368026]  ff
[   26.368026]  ff
[   26.368027]  ff
[   26.368028]  ff
[   26.368029]  ff
[   26.368030]  ff
[   26.368031]  ff
[   26.368031]  ff
[   26.368032]  ff

[   26.368034]  ff
[   26.368034]  ff
[   26.368035]  ff
[   26.368036]  ff
[   26.368037]  ff
[   26.368038]  ff
[   26.368038]  ff
[   26.368039]  ff
[   26.368040]  ff
[   26.368041]  ff
[   26.368042]  ff
[   26.368043]  ff
[   26.368043]  ff
[   26.368044]  ff
[   26.368045]  ff
[   26.368046]  ff

[   26.368048]  ff
[   26.368048]  ff
[   26.368049]  ff
[   26.368050]  ff
[   26.368050]  ff
[   26.368051]  ff
[   26.368052]  ff
[   26.368053]  ff
[   26.368054]  ff
[   26.368055]  ff
[   26.368055]  ff
[   26.368056]  ff
[   26.368057]  ff
[   26.368058]  ff
[   26.368059]  ff
[   26.368060]  ff

[   26.368061]  ff
[   26.368062]  ff
[   26.368062]  ff
[   26.368063]  ff
[   26.368064]  ff
[   26.368065]  ff
[   26.368066]  ff
[   26.368067]  ff
[   26.368067]  ff
[   26.368068]  ff
[   26.368069]  ff
[   26.368070]  ff
[   26.368071]  ff
[   26.368072]  ff
[   26.368072]  ff
[   26.368073]  ff

[   26.368075]  ff
[   26.368075]  ff
[   26.368076]  ff
[   26.368077]  ff
[   26.368078]  ff
[   26.368079]  ff
[   26.368079]  ff
[   26.368080]  ff
[   26.368081]  ff
[   26.368082]  ff
[   26.368083]  ff
[   26.368084]  ff
[   26.368084]  ff
[   26.368085]  ff
[   26.368086]  ff
[   26.368087]  ff

[   26.368088]  ff
[   26.368089]  ff
[   26.368090]  ff
[   26.368091]  ff
[   26.368091]  ff
[   26.368092]  ff
[   26.368093]  ff
[   26.368094]  ff
[   26.368095]  ff
[   26.368096]  ff
[   26.368096]  ff
[   26.368097]  ff
[   26.368098]  ff
[   26.368099]  ff
[   26.368100]  ff
[   26.368101]  ff

[   26.368102]  ff
[   26.368103]  ff
[   26.368103]  ff
[   26.368104]  ff
[   26.368105]  ff
[   26.368106]  ff
[   26.368107]  ff
[   26.368108]  ff
[   26.368108]  ff
[   26.368109]  ff
[   26.368110]  ff
[   26.368111]  ff
[   26.368112]  ff
[   26.368113]  ff
[   26.368114]  ff
[   26.368115]  ff

[   26.368116]  ff
[   26.368117]  ff
[   26.368117]  ff
[   26.368118]  ff
[   26.368119]  ff
[   26.368120]  ff
[   26.368121]  ff
[   26.368122]  ff
[   26.368123]  ff
[   26.368123]  ff
[   26.368124]  ff
[   26.368125]  ff
[   26.368126]  ff
[   26.368127]  ff
[   26.368127]  ff
[   26.368128]  ff

[   26.368130]  ff
[   26.368130]  ff
[   26.368131]  ff
[   26.368132]  ff
[   26.368133]  ff
[   26.368134]  ff
[   26.368134]  ff
[   26.368135]  ff
[   26.368136]  20
[   26.368137]  35
[   26.368138]  18
[   26.368139]  05
[   26.368140]  00
[   26.368140]  00
[   26.368141]  00
[   26.368142]  ff

[   26.368144]  ff
[   26.368144]  ff
[   26.368145]  ff
[   26.368146]  ff
[   26.368147]  ff
[   26.368147]  ff
[   26.368148]  ff
[   26.368149]  ff
[   26.368150]  ff
[   26.368151]  ff
[   26.368151]  ff
[   26.368152]  ff
[   26.368153]  ff
[   26.368154]  ff
[   26.368155]  ff
[   26.368156]  ff

[   26.368157]  ff
[   26.368158]  ff
[   26.368158]  ff
[   26.368159]  ff
[   26.368160]  ff
[   26.368161]  ff
[   26.368162]  ff
[   26.368163]  ff
[   26.368163]  ff
[   26.368164]  ff
[   26.368165]  ff
[   26.368166]  ff
[   26.368167]  ff
[   26.368168]  ff
[   26.368168]  ff
[   26.368169]  ff

[   26.368171]  ff
[   26.368171]  ff
[   26.368172]  ff
[   26.368173]  ff
[   26.368174]  ff
[   26.368175]  ff
[   26.368175]  ff
[   26.368176]  ff
[   26.368177]  ff
[   26.368178]  ff
[   26.368179]  ff
[   26.368180]  ff
[   26.368180]  ff
[   26.368181]  ff
[   26.368182]  ff
[   26.368183]  ff

[   26.368185]  ff
[   26.368185]  ff
[   26.368186]  ff
[   26.368187]  ff
[   26.368187]  ff
[   26.368188]  ff
[   26.368189]  ff
[   26.368190]  ff
[   26.368191]  ff
[   26.368192]  ff
[   26.368192]  ff
[   26.368193]  ff
[   26.368194]  ff
[   26.368195]  ff
[   26.368196]  ff
[   26.368197]  ff

[   26.368198]  ff
[   26.368199]  ff
[   26.368199]  ff
[   26.368200]  ff
[   26.368201]  ff
[   26.368202]  ff
[   26.368203]  ff
[   26.368204]  ff
[   26.368204]  ff
[   26.368205]  ff
[   26.368206]  50
[   26.368207]  2b
[   26.368208]  73
[   26.368209]  d0
[   26.368210]  6a
[   26.368210]  3c

[   26.368212]  ff
[   26.368212]  ff
[   26.368213]  ff
[   26.368214]  ff
[   26.368215]  ff
[   26.368216]  ff
[   26.368217]  ff
[   26.368217]  ff
[   26.368218]  ff
[   26.368219]  ff
[   26.368220]  ff
[   26.368221]  ff
[   26.368222]  ff
[   26.368222]  ff
[   26.368223]  ff
[   26.368224]  ff

[   26.368226]  ff
[   26.368226]  00
[   26.368227]  00
[   26.368228]  10
[   26.368229]  00
[   26.368229]  ff
[   26.368230]  00
[   26.368231]  ff
[   26.368232]  10
[   26.368233]  00
[   26.368234]  ff
[   26.368234]  ff
[   26.368235]  ff
[   26.368236]  ff
[   26.368237]  ff
[   26.368238]  ff

[   26.368239]  ff
[   26.368240]  ff
[   26.368241]  ff
[   26.368407] RTW: Peter : Dump end
[   26.368414] RTW: HW EFUSE
[   26.368416] RTW: 0x000: 95 81 C2 16  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   26.368424] RTW: 0x010: FF FF FF FF  FF FF FF FF  E0 00 00 02  FF FF FF FF
[   26.368431] RTW: 0x020: 28 28 26 26  26 26 27 27  26 26 26 00  FF FF FF FF
[   26.368438] RTW: 0x030: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   26.368445] RTW: 0x040: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   26.368452] RTW: 0x050: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   26.368459] RTW: 0x060: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   26.368466] RTW: 0x070: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   26.368473] RTW: 0x080: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   26.368480] RTW: 0x090: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   26.368486] RTW: 0x0A0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   26.368493] RTW: 0x0B0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   26.368500] RTW: 0x0C0: FF FF FF FF  FF FF FF FF  20 35 18 05  00 00 00 FF
[   26.368507] RTW: 0x0D0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   26.368514] RTW: 0x0E0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   26.368521] RTW: 0x0F0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   26.368528] RTW: 0x100: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   26.368535] RTW: 0x110: FF FF FF FF  FF FF FF FF  FF FF 50 2B  73 D0 6A 3C
[   26.368542] RTW: 0x120: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   26.368549] RTW: 0x130: FF 00 00 10  00 FF 00 FF  10 00 FF FF  FF FF FF FF
[   26.368556] RTW: 0x140: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   26.368563] RTW: 0x150: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   26.368570] RTW: 0x160: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   26.368577] RTW: 0x170: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   26.368584] RTW: 0x180: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   26.368591] RTW: 0x190: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   26.368598] RTW: 0x1A0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   26.368605] RTW: 0x1B0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   26.368612] RTW: 0x1C0: DA 0B 11 B7  FF FF FF FF  FF FF FF FF  03 98 FF FF
[   26.368619] RTW: 0x1D0: FF FF 00 00  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   26.368626] RTW: 0x1E0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   26.368633] RTW: 0x1F0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   26.368641] RTW: EEPROM ID = 0x8195
[   26.368642] RTW: EEPROM Version = 0
[   26.368644] RTW: VID = 0x0BDA, PID = 0xB711
[   26.368645] RTW: Customer ID: 0xFF, SubCustomer ID: 0xCD
[   26.368651] RTW: [A] 2G G00 CCK-1T base:34 from IC_DEF
[   26.368652] RTW: [A] 2G G01 CCK-1T base:34 from IC_DEF
[   26.368654] RTW: [A] 2G G02 CCK-1T base:34 from IC_DEF
[   26.368655] RTW: [A] 2G G03 CCK-1T base:34 from IC_DEF
[   26.368656] RTW: [A] 2G G04 CCK-1T base:34 from IC_DEF
[   26.368658] RTW: [A] 2G G05 CCK-1T base:34 from IC_DEF
[   26.368659] RTW: [A] 2G G00 BW40-1S base:39 from IC_DEF
[   26.368661] RTW: [A] 2G G01 BW40-1S base:39 from IC_DEF
[   26.368662] RTW: [A] 2G G02 BW40-1S base:39 from IC_DEF
[   26.368664] RTW: [B] 2G G00 CCK-1T base:45 from DEF
[   26.368666] RTW: [B] 2G G01 CCK-1T base:45 from DEF
[   26.368667] RTW: [B] 2G G02 CCK-1T base:45 from DEF
[   26.368669] RTW: [B] 2G G03 CCK-1T base:45 from DEF
[   26.368670] RTW: [B] 2G G04 CCK-1T base:45 from DEF
[   26.368671] RTW: [B] 2G G05 CCK-1T base:45 from DEF
[   26.368673] RTW: [B] 2G G00 BW40-1S base:45 from DEF
[   26.368674] RTW: [B] 2G G01 BW40-1S base:45 from DEF
[   26.368675] RTW: [B] 2G G02 BW40-1S base:45 from DEF
[   26.368677] RTW: [B] 2G G03 BW40-1S base:45 from DEF
[   26.368678] RTW: [B] 2G G04 BW40-1S base:45 from DEF
[   26.368681] RTW: EEPROMRegulatory = 0x0
[   26.368682] RTW: Board Type: 0x 0
[   26.368684] RTW: hal_com_config_channel_plan chplan:0x20
[   26.368685] RTW: EEPROM crystal_cap=0x35
[   26.369218] RTW: Efuse_indirect_read4 : package: 0xee
[   26.369219] RTW: PackageType = 0x5, QFN48M_U
[   26.369220] RTW: EEPROM ThermalMeter=0x18
[   26.369221] RTW: EEPROM Customer ID=0xff
[   26.369221] RTW: WIFI Module is iPA/iLNA
[   26.369224] RTW: rtw_hal_read_chip_info in 48 ms
[   26.369225] RTW: Peter : Step5
[   26.369235] RTW: init_channel_set((null)) ChannelPlan ID:0x20, ch num:13
[   26.369470] RTW: NR_RECVBUFF: 8
[   26.369471] RTW: MAX_RECVBUF_SZ: 4000
[   26.369476] RTW: NR_PREALLOC_RECV_SKB: 8
[   26.369603] RTW: rtw_alloc_macid((null)) if1, mac_addr:ff:ff:ff:ff:ff:ff macid:1
[   26.369612] RTW: IQK FW offload:disable
[   26.369615] RTW: Init_ODM_ComInfo_8710b(): fab_ver=0 cut_ver=0
[   26.369618] RTW: rtw_regsty_chk_target_tx_power_valid return _FALSE for band:0, path:0, rs:0, t:-1
[   26.369658] RTW: phy_ConfigBBWithPgParaFile(): No File PHY_REG_PG.txt, Load from HWImg Array!
[   26.369662] RTW: default power by rate loaded
[   26.369665] RTW: phy_txpwr_by_rate_chk_for_path_dup duplicate 2.4G [A] to [B]
[   26.369699] RTW: Peter : Step6
[   26.369701] RTW: can't get autopm:
[   26.369704] RTW: rtw_macaddr_cfg mac addr:50:2b:73:d0:6a:3c
[   26.369706] RTW: bDriverStopped:True, bSurpriseRemoved:False, bup:0, hw_init_completed:0
[   26.369707] RTW: Peter : Step7 end
[   26.369730] RTW: rtw_wiphy_alloc(phy0)
[   26.369733] RTW: rtw_wdev_alloc(padapter=0000000083cb672b)
[   26.369736] RTW: rtw_wiphy_register(phy0)
[   26.369737] RTW: Register RTW cfg80211 vendor cmd(0x67) interface
[   26.369739] ------------[ cut here ]------------
[   26.369843] WARNING: CPU: 0 PID: 392 at net/wireless/core.c:868 wiphy_register.cold+0xe4/0x2e5 [cfg80211]
[   26.369844] Modules linked in: 8188gu(OE+) snd_hda_codec_analog snd_hda_codec_generic ledtrig_audio snd_hda_intel coretemp snd_intel_dspcfg snd_hda_codec snd_hda_core kvm irqbypass snd_hwdep 8188gtvu(OE) snd_pcm snd_seq_midi snd_seq_midi_event cfg80211 serio_raw snd_rawmidi input_leds snd_seq snd_seq_device snd_timer snd mac_hid soundcore sch_fq_codel parport_pc ppdev lp parport ip_tables x_tables autofs4 btrfs xor zstd_compress raid6_pq libcrc32c dm_mirror dm_region_hash dm_log hid_generic gpio_ich i915 i2c_algo_bit drm_kms_helper psmouse i2c_i801 pata_acpi syscopyarea sysfillrect lpc_ich sysimgblt usbhid hid fb_sys_fops tg3 drm floppy video
[   26.369881] CPU: 0 PID: 392 Comm: systemd-udevd Tainted: G           OE     5.3.0-55-generic #49-Ubuntu
[   26.369882] Hardware name: LENOVO 880793G/LENOVO, BIOS 2JKT26AGR 12/08/2006
[   26.369907] RIP: 0010:wiphy_register.cold+0xe4/0x2e5 [cfg80211]
[   26.369910] Code: ff e9 ca 52 fa ff 48 c7 c7 28 f0 74 c0 e8 9e 4b 3c f4 0f 0b b8 ea ff ff ff e9 b2 52 fa ff 48 c7 c7 28 f0 74 c0 e8 86 4b 3c f4 <0f> 0b b8 ea ff ff ff e9 9a 52 fa ff 48 c7 c7 28 f0 74 c0 e8 6e 4b
[   26.369911] RSP: 0018:ffffb705c03478e0 EFLAGS: 00010246
[   26.369913] RAX: 0000000000000024 RBX: 000000000000030e RCX: 0000000000000006
[   26.369915] RDX: 0000000000000000 RSI: 0000000000000082 RDI: ffff8c33be217440
[   26.369916] RBP: ffffb705c0347960 R08: 000000000000064a R09: 0000000000000004
[   26.369917] R10: 0000000000000000 R11: 0000000000000001 R12: ffff8c33bc842300
[   26.369919] R13: 0000000000000000 R14: ffffb705c04a0440 R15: ffffb705c049d000
[   26.369921] FS:  00007fa4466dc880(0000) GS:ffff8c33be200000(0000) knlGS:0000000000000000
[   26.369923] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   26.369924] CR2: 00007f768a89c280 CR3: 0000000036728000 CR4: 00000000000006f0
[   26.369926] Call Trace:
[   26.369934]  ? printk+0x58/0x6f
[   26.370015]  rtw_wiphy_register+0x26/0x51 [8188gu]
[   26.370064]  rtw_cfg80211_ndev_res_register+0x19/0x5b [8188gu]
[   26.370113]  rtw_os_ndev_register+0x116/0x196 [8188gu]
[   26.370161]  rtw_os_ndevs_register+0x9f/0x127 [8188gu]
[   26.370210]  rtw_os_ndevs_init+0x29/0x3d [8188gu]
[   26.370259]  rtw_drv_init+0x4e4/0x606 [8188gu]
[   26.370263]  usb_probe_interface+0xed/0x290
[   26.370267]  really_probe+0xfb/0x3a0
[   26.370270]  driver_probe_device+0x5f/0xe0
[   26.370272]  device_driver_attach+0x5d/0x70
[   26.370275]  __driver_attach+0x8f/0x150
[   26.370277]  ? device_driver_attach+0x70/0x70
[   26.370280]  bus_for_each_dev+0x7e/0xc0
[   26.370282]  driver_attach+0x1e/0x20
[   26.370284]  bus_add_driver+0x14f/0x1f0
[   26.370286]  driver_register+0x74/0xc0
[   26.370289]  usb_register_driver+0x7b/0x120
[   26.370291]  ? 0xffffffffc0cb7000
[   26.370323]  rtw_drv_entry+0xa9/0x1000 [8188gu]
[   26.370326]  do_one_initcall+0x4a/0x1fa
[   26.370330]  ? kfree+0x206/0x220
[   26.370333]  ? _cond_resched+0x19/0x30
[   26.370335]  ? kmem_cache_alloc_trace+0x16c/0x240
[   26.370339]  do_init_module+0x62/0x250
[   26.370342]  load_module+0x10cc/0x1210
[   26.370346]  __do_sys_finit_module+0xbe/0x120
[   26.370348]  ? __do_sys_finit_module+0xbe/0x120
[   26.370351]  __x64_sys_finit_module+0x1a/0x20
[   26.370354]  do_syscall_64+0x5a/0x130
[   26.370357]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[   26.370359] RIP: 0033:0x7fa446c5094d
[   26.370361] Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 13 e5 0c 00 f7 d8 64 89 01 48
[   26.370363] RSP: 002b:00007ffebe2fd1b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
[   26.370365] RAX: ffffffffffffffda RBX: 000055a52257d7a0 RCX: 00007fa446c5094d
[   26.370366] RDX: 0000000000000000 RSI: 00007fa446b2dcad RDI: 000000000000000f
[   26.370368] RBP: 0000000000020000 R08: 0000000000000000 R09: 0000000000000000
[   26.370369] R10: 000000000000000f R11: 0000000000000246 R12: 00007fa446b2dcad
[   26.370370] R13: 0000000000000000 R14: 000055a522573370 R15: 000055a52257d7a0
[   26.370373] ---[ end trace 9d1b1a8ee174c872 ]---
[   26.370375] RTW: rtw_cfg80211_ndev_res_register rtw_wiphy_register fail for if1
[   26.370376] ------------[ cut here ]------------
[   26.370439] WARNING: CPU: 0 PID: 392 at /home/dora/rtl8188gu/os_dep/linux/os_intfs.c:1588 rtw_os_ndev_register+0xbb/0x196 [8188gu]
[   26.370439] Modules linked in: 8188gu(OE+) snd_hda_codec_analog snd_hda_codec_generic ledtrig_audio snd_hda_intel coretemp snd_intel_dspcfg snd_hda_codec snd_hda_core kvm irqbypass snd_hwdep 8188gtvu(OE) snd_pcm snd_seq_midi snd_seq_midi_event cfg80211 serio_raw snd_rawmidi input_leds snd_seq snd_seq_device snd_timer snd mac_hid soundcore sch_fq_codel parport_pc ppdev lp parport ip_tables x_tables autofs4 btrfs xor zstd_compress raid6_pq libcrc32c dm_mirror dm_region_hash dm_log hid_generic gpio_ich i915 i2c_algo_bit drm_kms_helper psmouse i2c_i801 pata_acpi syscopyarea sysfillrect lpc_ich sysimgblt usbhid hid fb_sys_fops tg3 drm floppy video
[   26.370468] CPU: 0 PID: 392 Comm: systemd-udevd Tainted: G        W  OE     5.3.0-55-generic #49-Ubuntu
[   26.370469] Hardware name: LENOVO 880793G/LENOVO, BIOS 2JKT26AGR 12/08/2006
[   26.370518] RIP: 0010:rtw_os_ndev_register+0xbb/0x196 [8188gu]
[   26.370520] Code: 4d 39 fd 0f 85 a6 00 00 00 4c 89 e7 e8 1f 68 75 f4 85 c0 0f 94 c0 0f b6 c0 e9 a1 00 00 00 48 c7 c7 00 0c c6 c0 e8 69 7c f5 f3 <0f> 0b e9 b8 00 00 00 c6 83 a0 44 00 00 01 e9 b9 00 00 00 0f b6 8b
[   26.370521] RSP: 0018:ffffb705c03479a0 EFLAGS: 00010246
[   26.370523] RAX: 0000000000000024 RBX: ffffb705c049d000 RCX: 0000000000000006
[   26.370525] RDX: 0000000000000000 RSI: 0000000000000082 RDI: ffff8c33be217440
[   26.370526] RBP: ffffb705c03479d0 R08: 0000000000000684 R09: 0000000000000004
[   26.370527] R10: 0000000000000000 R11: 0000000000000001 R12: ffff8c33ad819000
[   26.370529] R13: 0000000000000000 R14: ffffb705c04a0440 R15: ffffb705c049d000
[   26.370531] FS:  00007fa4466dc880(0000) GS:ffff8c33be200000(0000) knlGS:0000000000000000
[   26.370533] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   26.370534] CR2: 00007f768a89c280 CR3: 0000000036728000 CR4: 00000000000006f0
[   26.370535] Call Trace:
[   26.370584]  rtw_os_ndevs_register+0x9f/0x127 [8188gu]
[   26.370633]  rtw_os_ndevs_init+0x29/0x3d [8188gu]
[   26.370681]  rtw_drv_init+0x4e4/0x606 [8188gu]
[   26.370684]  usb_probe_interface+0xed/0x290
[   26.370687]  really_probe+0xfb/0x3a0
[   26.370690]  driver_probe_device+0x5f/0xe0
[   26.370692]  device_driver_attach+0x5d/0x70
[   26.370695]  __driver_attach+0x8f/0x150
[   26.370697]  ? device_driver_attach+0x70/0x70
[   26.370699]  bus_for_each_dev+0x7e/0xc0
[   26.370702]  driver_attach+0x1e/0x20
[   26.370704]  bus_add_driver+0x14f/0x1f0
[   26.370706]  driver_register+0x74/0xc0
[   26.370708]  usb_register_driver+0x7b/0x120
[   26.370709]  ? 0xffffffffc0cb7000
[   26.370741]  rtw_drv_entry+0xa9/0x1000 [8188gu]
[   26.370744]  do_one_initcall+0x4a/0x1fa
[   26.370746]  ? kfree+0x206/0x220
[   26.370748]  ? _cond_resched+0x19/0x30
[   26.370750]  ? kmem_cache_alloc_trace+0x16c/0x240
[   26.370752]  do_init_module+0x62/0x250
[   26.370755]  load_module+0x10cc/0x1210
[   26.370759]  __do_sys_finit_module+0xbe/0x120
[   26.370761]  ? __do_sys_finit_module+0xbe/0x120
[   26.370764]  __x64_sys_finit_module+0x1a/0x20
[   26.370767]  do_syscall_64+0x5a/0x130
[   26.370769]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[   26.370771] RIP: 0033:0x7fa446c5094d
[   26.370773] Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 13 e5 0c 00 f7 d8 64 89 01 48
[   26.370774] RSP: 002b:00007ffebe2fd1b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
[   26.370776] RAX: ffffffffffffffda RBX: 000055a52257d7a0 RCX: 00007fa446c5094d
[   26.370778] RDX: 0000000000000000 RSI: 00007fa446b2dcad RDI: 000000000000000f
[   26.370779] RBP: 0000000000020000 R08: 0000000000000000 R09: 0000000000000000
[   26.370780] R10: 000000000000000f R11: 0000000000000246 R12: 00007fa446b2dcad
[   26.370782] R13: 0000000000000000 R14: 000055a522573370 R15: 000055a52257d7a0
[   26.370784] ---[ end trace 9d1b1a8ee174c873 ]---
[   26.383702] ------------[ cut here ]------------
[   26.383779] WARNING: CPU: 1 PID: 392 at /home/dora/rtl8188gu/os_dep/linux/os_intfs.c:3010 rtw_os_ndevs_register+0xfc/0x127 [8188gu]
[   26.383780] Modules linked in: 8188gu(OE+) snd_hda_codec_analog snd_hda_codec_generic ledtrig_audio snd_hda_intel coretemp snd_intel_dspcfg snd_hda_codec snd_hda_core kvm irqbypass snd_hwdep 8188gtvu(OE) snd_pcm snd_seq_midi snd_seq_midi_event cfg80211 serio_raw snd_rawmidi input_leds snd_seq snd_seq_device snd_timer snd mac_hid soundcore sch_fq_codel parport_pc ppdev lp parport ip_tables x_tables autofs4 btrfs xor zstd_compress raid6_pq libcrc32c dm_mirror dm_region_hash dm_log hid_generic gpio_ich i915 i2c_algo_bit drm_kms_helper psmouse i2c_i801 pata_acpi syscopyarea sysfillrect lpc_ich sysimgblt usbhid hid fb_sys_fops 
tg3 drm floppy video
[   26.383816] CPU: 1 PID: 392 Comm: systemd-udevd Tainted: G        W  OE     5.3.0-55-generic #49-Ubuntu
[   26.383817] Hardware name: LENOVO 880793G/LENOVO, BIOS 2JKT26AGR 12/08/2006
[   26.383866] RIP: 0010:rtw_os_ndevs_register+0xfc/0x127 [8188gu]
[   26.383869] Code: c3 c0 48 c7 c7 58 0c c6 c0 e8 d5 6d f5 f3 48 c7 c7 00 0c c6 c0 e8 c9 6d f5 f3 0f 0b eb b7 48 c7 c7 00 0c c6 c0 e8 b9 6d f5 f3 <0f> 0b 45 85 e4 74 0d 48 89 df e8 5a e9 01 00 e9 25 ff ff ff 4d 63
[   26.383870] RSP: 0018:ffffb705c03479e0 EFLAGS: 00010246
[   26.383872] RAX: 0000000000000024 RBX: ffff8c33b2ff1000 RCX: 0000000000000000
[   26.383874] RDX: 0000000000000000 RSI: ffff8c33be317448 RDI: ffff8c33be317448
[   26.383875] RBP: ffffb705c0347a08 R08: ffff8c33be317448 R09: 0000000000000004
[   26.383876] R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000
[   26.383878] R13: 0000000000000001 R14: 0000000000000000 R15: ffffb705c049d000
[   26.383880] FS:  00007fa4466dc880(0000) GS:ffff8c33be300000(0000) knlGS:0000000000000000
[   26.383881] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   26.383883] CR2: 00007fe4e208efb0 CR3: 0000000036728000 CR4: 00000000000006e0
[   26.383884] Call Trace:
[   26.383935]  rtw_os_ndevs_init+0x29/0x3d [8188gu]
[   26.383984]  rtw_drv_init+0x4e4/0x606 [8188gu]
[   26.383988]  usb_probe_interface+0xed/0x290
[   26.383991]  really_probe+0xfb/0x3a0
[   26.383994]  driver_probe_device+0x5f/0xe0
[   26.383996]  device_driver_attach+0x5d/0x70
[   26.383999]  __driver_attach+0x8f/0x150
[   26.384001]  ? device_driver_attach+0x70/0x70
[   26.384003]  bus_for_each_dev+0x7e/0xc0
[   26.384006]  driver_attach+0x1e/0x20
[   26.384008]  bus_add_driver+0x14f/0x1f0
[   26.384010]  driver_register+0x74/0xc0
[   26.384012]  usb_register_driver+0x7b/0x120
[   26.384014]  ? 0xffffffffc0cb7000
[   26.384046]  rtw_drv_entry+0xa9/0x1000 [8188gu]
[   26.384049]  do_one_initcall+0x4a/0x1fa
[   26.384052]  ? kfree+0x206/0x220
[   26.384055]  ? _cond_resched+0x19/0x30
[   26.384057]  ? kmem_cache_alloc_trace+0x16c/0x240
[   26.384060]  do_init_module+0x62/0x250
[   26.384063]  load_module+0x10cc/0x1210
[   26.384067]  __do_sys_finit_module+0xbe/0x120
[   26.384069]  ? __do_sys_finit_module+0xbe/0x120
[   26.384072]  __x64_sys_finit_module+0x1a/0x20
[   26.384075]  do_syscall_64+0x5a/0x130
[   26.384077]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[   26.384079] RIP: 0033:0x7fa446c5094d
[   26.384082] Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 13 e5 0c 00 f7 d8 64 89 01 48
[   26.384083] RSP: 002b:00007ffebe2fd1b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
[   26.384085] RAX: ffffffffffffffda RBX: 000055a52257d7a0 RCX: 00007fa446c5094d
[   26.384087] RDX: 0000000000000000 RSI: 00007fa446b2dcad RDI: 000000000000000f
[   26.384088] RBP: 0000000000020000 R08: 0000000000000000 R09: 0000000000000000
[   26.384089] R10: 000000000000000f R11: 0000000000000246 R12: 00007fa446b2dcad
[   26.384091] R13: 0000000000000000 R14: 000055a522573370 R15: 000055a52257d7a0
[   26.384093] ---[ end trace 9d1b1a8ee174c874 ]---
[   26.384108] RTW: rtw_wdev_free(wdev=00000000e6b693e1)
[   26.384110] RTW: rtw_wiphy_free(phy0)
[   26.384120] RTW: rtw_usb_primary_adapter_deinit((null))
[   26.384122] RTW: rtw_dev_unload: bup==_FALSE
[   26.384127] RTW: +r871xu_dev_remove, hw_init_completed=0
[   26.384274] RTW: WARN free_recv_skb_queue not empty, 8
[   26.384286] RTW: usb attached..., try to reset usb device
[   26.511773] usb 1-2: reset high-speed USB device number 2 using ehci-pci
[   26.540410] usbcore: registered new interface driver rtl8710bu
[   26.540413] RTW: module init ret=0
[   35.596283] Bluetooth: Core ver 2.22
[   35.596324] NET: Registered protocol family 31
[   35.596325] Bluetooth: HCI device and connection manager initialized
[   35.596334] Bluetooth: HCI socket layer initialized
[   35.596337] Bluetooth: L2CAP socket layer initialized
[   35.596342] Bluetooth: SCO socket layer initialized
[   43.336411] tg3 0000:03:00.0 enp3s0: Link is up at 1000 Mbps, full duplex
[   43.336415] tg3 0000:03:00.0 enp3s0: Flow control is off for TX and off for RX
[   43.336443] IPv6: ADDRCONF(NETDEV_CHANGE): enp3s0: link becomes ready
[   56.340930] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   56.340933] Bluetooth: BNEP filters: protocol multicast
[   56.340941] Bluetooth: BNEP socket layer initialized
[   74.001640] fbcon: Taking over console
[   74.012652] Console: switching to colour frame buffer device 160x64
lwfinger commented 4 years ago

I made a couple of attempts to find Linux drivers for this chip. Both failed!!!!! As these are the only possible drivers that my friend at Realtek could find in their repo, I am afraid that we need to conclude that there is NO LINUX driver for this chip that is available.

I purchased one of the "Free Driver" RTL8188GU chips that mounts as a USB-CD device, and can be switched to a wifi device. The only driver on the CD device is for Windows 10, thus we cannot even use ndiswrapper.

For the moment, the only way to use the RTL8188GU with Linux is in a VM guest running on a Windows 10 host.

manoe commented 4 years ago

Larry, if I have a driver for Windows XP, could an ndiswrapper based solution work?

lwfinger commented 4 years ago

It might. Not all Windows XP drivers were written to the standard - those generally failed. Send me the XP driver to Larry.Finger@lwfinger.net and I will give it a try.

manoe commented 4 years ago

I've sent the mail with a onedrive link. Please let me know, if you have issues retrieving it. Thank you for your efforts!

lwfinger commented 4 years ago

I retrieved it OK and it installed OK on a Windows XP virtual machine,. Unfortunately, when I loaded it with ndiswrapper, I get missing globals: ndiswrapper (import:232): unknown symbol: ntoskrnl.exe:'wcsstr' ndiswrapper (import:232): unknown symbol: ntoskrnl.exe:'ZwEnumerateValueKey' ndiswrapper (load_sys_files:200): couldn't prepare driver 'netrtl8188gu_xp'

The first one will be easy, but the second deals with the registry. It may be possible to provide a dummy and be OK. I will need to do some research.

manoe commented 4 years ago

Larry, I've opened a feature request at ndiswrapper's SF page: https://sourceforge.net/p/ndiswrapper/feature-requests/38/

wandercn commented 2 years ago

我也遇到8188gu型号驱动问题,自己找资料整理了安装指南.我在Raspberry pi 和 ubuntu 20.0.4都安装成功了。deepin也应该可以。解决了您的问题帮忙点个星星

https://github.com/wandercn/RTL8188GU

karstenBriksoft commented 1 year ago

Because the previous message is in Chinese and not in English: a working driver for 0bda:b711 Realtek Semiconductor Corp. RTL8188GU 802.11n WLAN Adapter can be found at https://github.com/wandercn/RTL8188GU

Translation to English:

I also encountered a problem with the 8188gu model driver. I found the information and organized the installation guide. I successfully installed it on both Raspberry pi and ubuntu 20.0.4. Deepin should work too. Solved your problem, please give me a star

sivadasrajan commented 4 months ago

This repo works for me. https://github.com/McMCCRU/rtl8188gu

dubhater commented 4 months ago

@sivadasrajan You can also try this one if you want better upload speed: https://github.com/lwfinger/rtl8xxxu/

It's available in the kernel since version 6.4.

sivadasrajan commented 4 months ago

@sivadasrajan You can also try this one if you want better upload speed: https://github.com/lwfinger/rtl8xxxu/

It's available in the kernel since version 6.4.

Thank you so much. I'll try this