You are not logged in.

#1 2018-03-23 18:38:54

Squiffy
Member
Registered: 2017-03-10
Posts: 18

[SOLVED] USB wifi adapter wont show in ip link

I'm using the Anewish AC600 adapter that uses the rtl8812au chipset. There's no direct support for this chip set within the main kernel so I installed this package from the AUR using these instructions:

$ sudo dkms add -m rtl8812au -v 5.2.20
$ sudo dkms build -m rtl8812au -v 5.2.20
$ sudo dkms install -m rtl8812au -v 5.2.20

dkms status shows

$ dkms status
rtl8812au, 5.2.20, 4.15.11-1-ARCH, x86_64: installed

so it looks like the module has been successfully loaded into the kernel.

lsusb shows the dongle has been detected

$ lsusb
Bus 003 Device 007: ID 0bda:0811 Realtek Semiconductor Corp.

I'll link the full lsusb -v below

However following Wireless_network_configuration#Device_driver page,

$ dmesg | grep usbcore                                                        
[    0.317912] usbcore: registered new interface driver usbfs
[    0.317918] usbcore: registered new interface driver hub
[    0.317937] usbcore: registered new device driver usb
[    1.557415] usbcore: registered new interface driver usbhid

doesn't seem to show anything specific to the usb device I'm using. When I plug the device in, dmesg shows:

$ dmesg
[ 1805.409239] usb 3-1: new high-speed USB device number 8 using xhci_hcd
[ 1805.535694] usb 3-1: New USB device found, idVendor=0bda, idProduct=0811
[ 1805.535702] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1805.535706] usb 3-1: Product: 802.11ac WLAN Adapter 
[ 1805.535710] usb 3-1: Manufacturer: Realtek 
[ 1805.535714] usb 3-1: SerialNumber: 00e04c000001

Heres the output of ip link:

$ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000
    link/ether 94:de:80:6b:3e:9a brd ff:ff:ff:ff:ff:ff

Where enp3s0 is my plugged in ethernet.

Full lsusb -v for dongle:

$ lsusb -v
Bus 003 Device 008: ID 0bda:0811 Realtek Semiconductor Corp. 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.10
  bDeviceClass            0 
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x0bda Realtek Semiconductor Corp.
  idProduct          0x0811 
  bcdDevice            2.00
  iManufacturer           1 
  iProduct                2 
  iSerial                 3 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           60
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      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

Cheers guys

Last edited by Squiffy (2018-03-23 20:02:02)

Offline

#2 2018-03-23 18:57:52

loqs
Member
Registered: 2014-03-06
Posts: 19,113

Re: [SOLVED] USB wifi adapter wont show in ip link

https://github.com/zebulon2/rtl8812au-d … kefile#L33

CONFIG_RTL8821A = n

https://github.com/zebulon2/rtl8812au-d … ntf.c#L193

#ifdef CONFIG_RTL8821A
	/*=== Realtek demoboard ===*/
{USB_DEVICE(USB_VENDER_ID_REALTEK, 0x0811), .driver_info = RTL8821}, /* Default ID */

I think from the above the driver is built by default without support for your device.

Offline

#3 2018-03-23 20:01:14

Squiffy
Member
Registered: 2017-03-10
Posts: 18

Re: [SOLVED] USB wifi adapter wont show in ip link

You're right, had to download this 8821 package instead (its confusing because that package's upstream's git repo is 8812, and even now 'dkms status' states 8812).

But now it works! Thank you, I began trying to get this to work hours ago..

Offline

#4 2018-03-23 20:46:48

loqs
Member
Registered: 2014-03-06
Posts: 19,113

Re: [SOLVED] USB wifi adapter wont show in ip link

Yes it is building the same module.  For what appears to be changing two entries in the Makefile it is using a separate git repo and a separate AUR package.

Offline

Board footer

Powered by FluxBB