So I bought this device (DWA171 revC) but the manuf. seems to have been too smart and inserted a memory stick controller in the device to store the windows drivers.
I have compiled and modprobe'd the drivers from here https://github.com/diederikdehaas/rtl8812AU and all seems well, but I still only get the memory stick showing up in dmesg
The vendor and product id's seem to be the wifi module, but it is written "Product: DISK".
Edit1 - Additional info
<username>@<username>-MS-7A70:~$ sudo dpkg -s usb-modeswitch [sudo] password for <username>: Package: usb-modeswitch Status: install ok installed Priority: optional Section: comm Installed-Size: 158 Maintainer: Ubuntu Developers <firstname.lastname@example.org> Architecture: amd64 Version: 2.5.2+repack0-2ubuntu1 Depends: libc6 (>= 2.27), libpipeline1 (>= 1.0.0), libusb-1.0-0 (>= 2:1.0.9), usb-modeswitch-data (>= 20140529) Suggests: comgt, wvdial Breaks: usb-modeswitch-data (<< 20100127) Conffiles: /etc/usb_modeswitch.conf b7f857804762b4a81a71c93a2fe1207f Description: mode switching tool for controlling "flip flop" USB devices Several new USB devices have their proprietary Windows drivers onboard, especially WAN dongles. When plugged in for the first time, they act like a flash storage and start installing the driver from there. If the driver is already installed, the storage device vanishes and a new device, such as an USB modem, shows up. This is called the "ZeroCD" feature. . On Debian, this is not needed, since the driver is included as a Linux kernel module, such as "usbserial". However, the device still shows up as "usb-storage" by default. usb-modeswitch solves that issue by sending the command which actually performs the switching of the device from "usb-storage" to "usbserial". . This package contains the binaries and the brother scripts. Original-Maintainer: Didier Raboud <email@example.com> Homepage: http://www.draisberghof.de/usb_modeswitch/ <username>@<username>-MS-7A70:~$ lsusb Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 002: ID 046d:c534 Logitech, Inc. Unifying Receiver Bus 001 Device 003: ID 0bda:1a2b Realtek Semiconductor Corp. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
after manually running the usb_modeswitch I now have this in dmesg:-
[133898.810951] usb 1-2: USB disconnect, device number 2 [133899.193566] usb 1-2: new high-speed USB device number 5 using xhci_hcd [133899.341961] usb 1-2: New USB device found, idVendor=2001, idProduct=331d [133899.341967] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [133899.341971] usb 1-2: Product: DWA-171 [133899.341975] usb 1-2: Manufacturer: D-Link Corporation [133899.341978] usb 1-2: SerialNumber: 123456
The product ID seems to not be true and the serial number looks sketchy as anything.
ip link show only shows my ethernet and the loopback device