15 Feb 2018, 00:04

Hello,

I just bought a DWA-131 wireless adapter for my raspberry pi 3 with recalbox img.

I bought this one because I saw this thread in the french forum https://forum.recalbox.com/topic/338/résolu-problème-clé-wifi-dlink-dwa-131/3 and the guy said that he got it to work, so I decided to give this adapter a shot.

For my surprise it doesn't seem to work out of the box, so started googling and discovered that you need to install some drivers in order to the adapter work, more specifically this one: r8712u . I also saw that you need to compile it in the distro you are running using the make command, which is a cmd that recalbox doesn't seem to have.

That got me to thinking on how that french dude got this adapter working and I went to his post again and saw that it is from 3 years ago, so I guess that this adapter must have worked on a previous version of recalbox, but doesn't work anymore. Using the find command I also noticed that there is a r8712u.ko file under the modules folder of the recalbox which doesn't seem to be loaded on the system (lsmod), so I loaded it with modprobe, and it started to appear on lsmod, but still didn't work.

Can someone shed some light on why is this happening, someone with some linux experience, some dev? Did it use to work but doesn't anymore? Can we compile a version of this driver on recalbox?

Thx.

UPDATE: Actually, looking at his dmesg when pluggin the dongle this is the driver being used rtl8192cu, which seems to be located at /lib/modules/4.4.13-v7/kernel/drivers/net/wireless/realtek/rtl8192cu

UPDATE2: my dmesg

[  540.157467] usb 1-1.4: new high-speed USB device number 7 using dwc_otg
[  540.257847] usb 1-1.4: New USB device found, idVendor=2001, idProduct=3319
[  540.257856] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  540.257863] usb 1-1.4: Product: Wireless N Nano USB Adapter
[  540.257868] usb 1-1.4: Manufacturer: Realtek
[  540.257874] usb 1-1.4: SerialNumber: 00e04c000001

when using modprobe

[  226.268704] usbcore: registered new interface driver rtl8192cu