lwfinger / rtl8723bu

Driver for RTL8723BU
283 stars 143 forks source link

Module compiles fine, device is detected, but the interface is not created #72

Closed AndreaCensi closed 6 years ago

AndreaCensi commented 6 years ago

I can compile and load the module without problems, but when I insert the device, the interface is not created.

The device is an Edimax EW-7811UTC; I have tried 3 of them with the same result, so I know that the hardware is not faulty.

I am working on a Raspberry PI 3 using Ubuntu 16.04.

Kernel:

 Linux duckiebot 4.4.38-v7+ #938 SMP Thu Dec 15 15:22:21 GMT 2016 armv7l armv7l armv7l GNU/Linux

When I insert the module, everything looks fine:

[  169.942443] RTL871X: module init start
[  169.942465] RTL871X: rtl8723bu v4.3.6.11_12942.20141204_BTCOEX20140507-4E40
[  169.942472] RTL871X: rtl8723bu BT-Coex version = BTCOEX20140507-4E40
[  169.942631] usbcore: registered new interface driver rtl8723bu
[  169.942639] RTL871X: module init ret=0

This is the output when I insert the device:

[   69.059240] usb 1-1.3: new high-speed USB device number 5 using dwc_otg
[   69.160015] usb 1-1.3: New USB device found, idVendor=7392, idProduct=b822
[   69.160038] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   69.160052] usb 1-1.3: Product: AC1200 MU-MIMO USB2.0 Adapter
[   69.160064] usb 1-1.3: Manufacturer: Realtek
[   69.160076] usb 1-1.3: SerialNumber: 123456

Here's the output of lsusb:

Bus 001 Device 005: ID 7392:b822 Edimax Technology Co., Ltd
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Any hints? I'm stuck.

AndreaCensi commented 6 years ago

Without really understanding if this is needed or not, I added the following in os_dep/usb_intf.c:

{.idVendor=0x7392, .idProduct=0xb822, .flags=SPEC_DEV_ID_DISABLE_HT},

Is this sufficient for the driver to recognize the device?

Nothing seems to change.

Is there some additional configuration to be done somewhere in /etc/?

AndreaCensi commented 6 years ago

Ooops... this is not the right driver for the device. Sorry for the false alarm.