[Wifi]rtl 8812au TP-link AC1200 model T4UH

Plugging in devices such as LAN adapters, Wi-Fi cards, printers, etc. to Arch Linux ARM.

[Wifi]rtl 8812au TP-link AC1200 model T4UH

Postby wido » Fri Mar 18, 2016 4:04 pm

Hello,
i use T4UH and Odroid XU4, i can't connect in wifi.

Code: Select all
[alarm@alarm ~]$ lsusb
Bus 006 Device 002: ID 0bda:8153 Realtek Semiconductor Corp.
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 2357:0103 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


Code: Select all
[alarm@alarm ~]$ uname -a
Linux alarm 3.10.96-2-ARCH #1 SMP PREEMPT Fri Feb 12 18:10:15 MST 2016 armv7l GNU/Linux


Code: Select all
[alarm@alarm ~]$ dmesg|tail
[   10.496817] [c6] r8152 6-1:1.0 eth0: This product is covered by one or more of the following patents:
                     US6,570,884, US6,115,776, and US6,327,625.
               
[   10.772159] [c4] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   14.544563] [c0] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[  296.119568] [c5] RTL871X: module init start
[  296.122346] [c5] RTL871X: rtl8812au v4.2.5_10143.20140103_ASUS
[  296.128147] [c5] RTL871X: build time: Feb 12 2016 18:04:04
[  296.133784] [c5] usbcore: registered new interface driver rtl8812au
[  296.139860] [c5] RTL871X: module init ret=0


Code: Select all
[alarm@alarm ~]$ modinfo 8812au
filename:       /lib/modules/3.10.96-2-ARCH/kernel/backports/drivers/realtek/rtl8812au/8812au.ko.gz
version:        v4.2.5_10143.20140103_ASUS
author:         Realtek Semiconductor Corp.
description:    Realtek Wireless Lan Driver
license:        GPL
version:        backported from Linux (next-20150222-0-g53e418f1) using backports backports-20150222-0-g2745ccd
srcversion:     224BA195CD9D8D2FA9236C5
alias:          usb:v2357p0101d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2001p3316d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2001p3315d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v07B8p8812d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2019pAB30d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v1740p0100d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v1058p0632d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2001p3313d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0586p3426d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0E66p0022d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0B05p17D2d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0409p0408d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0789p016Ed*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v04BBp0952d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0DF6p0074d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v7392pA822d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2001p330Ed*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v050Dp1106d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0BDAp881Cd*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0BDAp881Bd*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0BDAp881Ad*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0BDAp8812d*dc*dsc*dp*ic*isc*ip*in*
depends:       
intree:         Y
vermagic:       3.10.96-2-ARCH SMP preempt mod_unload ARMv7 p2v8
parm:           rtw_ips_mode:The default IPS mode (int)
parm:           rtw_usb_rxagg_mode:int
parm:           rtw_regulatory_id:int
parm:           ifname:The default name to allocate for first interface (charp)
parm:           if2name:The default name to allocate for second interface (charp)
parm:           rtw_initmac:charp
parm:           rtw_channel_plan:int
parm:           rtw_chip_version:int
parm:           rtw_rfintfs:int
parm:           rtw_lbkmode:int
parm:           rtw_network_mode:int
parm:           rtw_channel:int
parm:           rtw_mp_mode:int
parm:           rtw_wmm_enable:int
parm:           rtw_vrtl_carrier_sense:int
parm:           rtw_vcs_type:int
parm:           rtw_busy_thresh:int
parm:           rtw_ht_enable:int
parm:           rtw_bw_mode:int
parm:           rtw_ampdu_enable:int
parm:           rtw_rx_stbc:int
parm:           rtw_ampdu_amsdu:int
parm:           rtw_vht_enable:int
parm:           rtw_lowrate_two_xmit:int
parm:           rtw_rf_config:int
parm:           rtw_power_mgnt:int
parm:           rtw_smart_ps:int
parm:           rtw_low_power:int
parm:           rtw_wifi_spec:int
parm:           rtw_antdiv_cfg:int
parm:           rtw_antdiv_type:int
parm:           rtw_enusbss:int
parm:           rtw_hwpdn_mode:int
parm:           rtw_hwpwrp_detect:int
parm:           rtw_hw_wps_pbc:int
parm:           rtw_max_roaming_times:The max roaming times to try (uint)
parm:           rtw_mc2u_disable:int
parm:           rtw_80211d:Enable 802.11d mechanism (int)
parm:           rtw_notch_filter:0:Disable, 1:Enable, 2:Enable only for P2P (uint)
parm:           rtw_tx_pwr_lmt_enable:0:Disable, 1:Enable, 2: Depend on efuse (int)
parm:           rtw_tx_pwr_by_rate:0:Disable, 1:Enable, 2: Depend on efuse (int)
parm:           rtw_phy_file_path:The path of phy parameter (charp)
parm:           rtw_load_phy_file:PHY File Bit Map (int)
parm:           rtw_decrypt_phy_file:Enable Decrypt PHY File (int)
wido
 
Posts: 6
Joined: Sun Feb 07, 2016 10:08 pm

Re: [Wifi]rtl 8812au TP-link AC1200 model T4UH

Postby wido » Fri Mar 18, 2016 4:10 pm

i don't see my wifi card (2357:0103)
Code: Select all
alias:          usb:v2357p0101d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2001p3316d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2001p3315d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v07B8p8812d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2019pAB30d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v1740p0100d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v1058p0632d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2001p3313d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0586p3426d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0E66p0022d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0B05p17D2d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0409p0408d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0789p016Ed*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v04BBp0952d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0DF6p0074d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v7392pA822d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2001p330Ed*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v050Dp1106d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0BDAp881Cd*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0BDAp881Bd*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0BDAp881Ad*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0BDAp8812d*dc*dsc*dp*ic*isc*ip*in*
wido
 
Posts: 6
Joined: Sun Feb 07, 2016 10:08 pm

Re: [Wifi]rtl 8812au TP-link AC1200 model T4UH

Postby moonman » Fri Mar 18, 2016 10:26 pm

You might need 8821au driver (which is part of 8812) but it seems it was taken out of the asus driver which is included in the XU4 kernel. The kernel sourcecode is managed by hardkernel, not us. I had a pull request for the new driver, which was accepter at the time, but reverted later for some reason.

PR: https://github.com/hardkernel/linux/pull/138
Revert: https://github.com/hardkernel/linux/com ... 8daaf599fa

whole log
https://github.com/hardkernel/linux/com ... thor=mdrjr
Scroll down to Nov 26
Pogoplug V4 | GoFlex Home | Raspberry Pi B 512 | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | |[armv5] How to install my.pogoplug.com service | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3089
Joined: Sat Jan 15, 2011 3:36 am
Location: Calgary, Canada

Re: [Wifi]rtl 8812au TP-link AC1200 model T4UH

Postby wido » Mon Mar 21, 2016 6:05 pm

Code: Select all
rtl8812au-dkms-git r47.2a9bbb7-1  (2016-03-07 22:47)
( Unsupported package: Potentially dangerous ! )
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> n

==> rtl8812au-dkms-git dependencies:
 - dkms (already installed)
 - git (already installed) [makedepend]


==> Edit rtl8812au-dkms-git.install ? [Y/n] ("A" to abort)
==> ------------------------------------------------------
==> n

==> Continue building rtl8812au-dkms-git ? [Y/n]
==> --------------------------------------------
==> y

==> Building and installing package
==> Making package: rtl8812au-dkms-git r47.2a9bbb7-1 (Mon Mar 21 18:00:57 UTC 2016)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Cloning rtl8812au git repo...
Cloning into bare repository '/tmp/yaourt-tmp-alarm/aur-rtl8812au-dkms-git/rtl8812au'...
remote: Counting objects: 509, done.
remote: Total 509 (delta 0), reused 0 (delta 0), pack-reused 509
Receiving objects: 100% (509/509), 1.56 MiB | 711.00 KiB/s, done.
Resolving deltas: 100% (185/185), done.
Checking connectivity... done.
  -> Found dkms.conf
==> Validating source files with sha256sums...
    rtl8812au ... Skipped
    dkms.conf ... Passed
==> Extracting sources...
  -> Creating working copy of rtl8812au git repo...
Cloning into 'rtl8812au'...
done.
==> Starting pkgver()...
==> Updated version: rtl8812au-dkms-git r56.38b565a-1
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issue...
==> Creating package "rtl8812au-dkms-git"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Adding install file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: rtl8812au-dkms-git r56.38b565a-1 (Mon Mar 21 18:01:31 UTC 2016)
==> Cleaning up...

==> Continue installing rtl8812au-dkms-git ? [Y/n]
==> [v]iew package contents [c]heck package with namcap
==> ---------------------------------------------------
==> y

loading packages...
warning: rtl8812au-dkms-git-r56.38b565a-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) rtl8812au-dkms-git-r56.38b565a-1

Total Installed Size:  7.30 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                     [######################] 100%
(1/1) checking package integrity                   [######################] 100%
(1/1) loading package files                        [######################] 100%
(1/1) checking for file conflicts                  [######################] 100%
(1/1) checking available disk space                [######################] 100%
:: Running pre-transaction hooks...
(1/1) Remove DKMS modules
==> dkms -q remove -q -m rtl8812au -v r56.38b565a -k 3.10.96-2-ARCH
:: Processing package changes...

------------------------------
Deleting module version: r56.38b565a
completely from the DKMS tree.
------------------------------
Done.
(1/1) reinstalling rtl8812au-dkms-git              [######################] 100%

Creating symlink /var/lib/dkms/rtl8812au/r56.38b565a/source ->
                 /usr/src/rtl8812au-r56.38b565a

DKMS: add completed.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
'make' KVER=3.10.96-2-ARCH KSRC=/lib/modules/3.10.96-2-ARCH/build...(bad exit status: 2)
Error! Bad return status for module build on kernel: 3.10.96-2-ARCH (armv7l)
Consult /var/lib/dkms/rtl8812au/r56.38b565a/build/make.log for more information.
error: command failed to execute correctly
:: Running post-transaction hooks...
(1/1) Install DKMS modules
==> dkms -q install -m rtl8812au -v r56.38b565a -k 3.10.96-2-ARCH
[alarm@alarm ~]$ cat /var/lib/dkms/rtl8812au/r56.38b565a/build/make.log
DKMS make.log for rtl8812au-r56.38b565a for kernel 3.10.96-2-ARCH (armv7l)
Mon Mar 21 18:01:44 UTC 2016
make ARCH=armv7l CROSS_COMPILE= -C /lib/modules/3.10.96-2-ARCH/build M=/var/lib/dkms/rtl8812au/r56.38b565a/build  modules
make[1]: Entering directory '/usr/src/linux-3.10.96-2-ARCH'
Makefile:582: /usr/src/linux-3.10.96-2-ARCH/arch/armv7l/Makefile: No such file or directory
make[1]: *** No rule to make target '/usr/src/linux-3.10.96-2-ARCH/arch/armv7l/Makefile'.  Stop.
make[1]: Leaving directory '/usr/src/linux-3.10.96-2-ARCH'
Makefile:1052: recipe for target 'modules' failed
make: *** [modules] Error 2
[alarm@alarm ~]$
wido
 
Posts: 6
Joined: Sun Feb 07, 2016 10:08 pm


Return to Hardware

Who is online

Users browsing this forum: No registered users and 1 guest