Ir al contenido
  • 0
pacoeloyo

Problema con el receptor wifi Realtek Semiconductor Corp. RTL8812AU 802.11a/b/g/n/ac WLAN Adapter

Pregunta

Muy buenas, Por fin tengo conexion a la red en casa, pero mi viejo wifi usb ha muerto, he comprado uno que la terminal me lo identifica como un Realtek Semiconductor Corp. RTL8812AU 802.11a/b/g/n/ac WLAN Adapter que supuestamente funciona en gnu linux, lo pone hasta en la caja del wifi, de echo en el cd de instalacion viene una carpeta con los driver del wifi, hay ya me puse a tamblar, me da panico compilar :D  he pasado la carpeta al disco duro y por suerte venia un sh que ponia install.sh , que alegria me dio. y hay se me acabo la alegria :llopa:la ejecutar el sh del cd me da errores:


 

Spoiler

♦♦( paco @ paco-System-Product-Name : Space on /: 76GB used of 106GB )♦♦( «_v4.3.13.1_15362.20151001 )♦♦
♦♦( 14:19 → lun, 11 sep 17 : uptime : 0d 00h:16m:43s : $ )♦♦ sudo sh ./install.sh
[sudo] password for paco:
##################################################
Realtek Wi-Fi driver Auto installation script
Novembor, 21 2011 v1.1.0
##################################################
./install.sh: 17: cd: can't cd to driver
Decompress the driver source tar ball:
    
tar: La opción antigua 'f' requiere un argumento
Pruebe 'tar --help' o 'tar --usage' para más información.
clean
core
hal
ifcfg-wlan0
include
install.sh
Kconfig
Makefile
os_dep
platform
runwpa
wlan0dhcp
./install.sh: 25: cd: can't cd to clean
Authentication requested [root] for make clean:
./install.sh: 38: [: unexpected operator
cd hal/OUTSRC/ ; rm -fr */*.mod.c */*.mod */*.o */.*.cmd */*.ko
cd hal/OUTSRC/ ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd hal/led ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd hal ; rm -fr */*/*.mod.c */*/*.mod */*/*.o */*/.*.cmd */*/*.ko
cd hal ; rm -fr */*.mod.c */*.mod */*.o */.*.cmd */*.ko
cd hal ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd core/efuse ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd core ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd os_dep/linux ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd os_dep ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd platform ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
rm -fr Module.symvers ; rm -fr Module.markers ; rm -fr modules.order
rm -fr *.mod.c *.mod *.o .*.cmd *.ko *~
rm -fr .tmp_versions
Authentication requested [root] for make driver:
./install.sh: 48: [: unexpected operator
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.10.0-33-generic/build M=/home/paco/linux/driver/rtl8812AU_linux_v4.3.13.1_15362.20151001  modules
make[1]: se entra en el directorio '/usr/src/linux-headers-4.10.0-33-generic'
  CC [M]  /home/paco/linux/driver/rtl8812AU_linux_v4.3.13.1_15362.20151001/core/rtw_cmd.o
In file included from /home/paco/linux/driver/rtl8812AU_linux_v4.3.13.1_15362.20151001/include/drv_types.h:95:0,
                 from /home/paco/linux/driver/rtl8812AU_linux_v4.3.13.1_15362.20151001/core/rtw_cmd.c:22:
/home/paco/linux/driver/rtl8812AU_linux_v4.3.13.1_15362.20151001/include/hal_com.h:412:13: error: ‘file_path’ redeclared as different kind of symbol
 extern char file_path[PATH_LENGTH_MAX];
             ^
In file included from ./include/linux/seq_file.h:10:0,
                 from ./include/linux/pinctrl/consumer.h:17,
                 from ./include/linux/pinctrl/devinfo.h:21,
                 from ./include/linux/device.h:24,
                 from ./include/linux/dmaengine.h:20,
                 from ./include/linux/netdevice.h:38,
                 from /home/paco/linux/driver/rtl8812AU_linux_v4.3.13.1_15362.20151001/include/osdep_service_linux.h:35,
                 from /home/paco/linux/driver/rtl8812AU_linux_v4.3.13.1_15362.20151001/include/osdep_service.h:41,
                 from /home/paco/linux/driver/rtl8812AU_linux_v4.3.13.1_15362.20151001/include/drv_types.h:32,
                 from /home/paco/linux/driver/rtl8812AU_linux_v4.3.13.1_15362.20151001/core/rtw_cmd.c:22:
./include/linux/fs.h:2680:14: note: previous declaration of ‘file_path’ was here
 extern char *file_path(struct file *, char *, int);
              ^
scripts/Makefile.build:294: fallo en las instrucciones para el objetivo '/home/paco/linux/driver/rtl8812AU_linux_v4.3.13.1_15362.20151001/core/rtw_cmd.o'
make[2]: *** [/home/paco/linux/driver/rtl8812AU_linux_v4.3.13.1_15362.20151001/core/rtw_cmd.o] Error 1
Makefile:1524: fallo en las instrucciones para el objetivo '_module_/home/paco/linux/driver/rtl8812AU_linux_v4.3.13.1_15362.20151001'
make[1]: *** [_module_/home/paco/linux/driver/rtl8812AU_linux_v4.3.13.1_15362.20151001] Error 2
make[1]: se sale del directorio '/usr/src/linux-headers-4.10.0-33-generic'
Makefile:1622: fallo en las instrucciones para el objetivo 'modules'
make: *** [modules] Error 2
##################################################
Compile make driver error: 2
Please check error Mesg
##################################################
grep: warning: GREP_OPTIONS is deprecated; please use an alias or script
grep: warning: GREP_OPTIONS is deprecated; please use an alias or script

A parte tengo instalado paquete rtl8812au-dkms y he clonado este git https://github.com/csssuf/rtl8812au, si ejecuto el sh de istalacion tambien me da errores:

 

Spoiler

♦♦( paco @ paco-System-Product-Name : Space on /: 76GB used of 106GB )♦♦( /home/paco/git/rtl8812au )♦♦
♦♦( 14:32 → lun, 11 sep 17 : uptime : 0d 00h:30m:10s : $ )♦♦ sudo sh ./install.sh
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.10.0-33-generic/build M=/home/paco/git/rtl8812au  modules
make[1]: se entra en el directorio '/usr/src/linux-headers-4.10.0-33-generic'
  CC [M]  /home/paco/git/rtl8812au/core/rtw_cmd.o
  CC [M]  /home/paco/git/rtl8812au/core/rtw_security.o
  CC [M]  /home/paco/git/rtl8812au/core/rtw_debug.o
  CC [M]  /home/paco/git/rtl8812au/core/rtw_io.o
  CC [M]  /home/paco/git/rtl8812au/core/rtw_ioctl_query.o
  CC [M]  /home/paco/git/rtl8812au/core/rtw_ioctl_set.o
  CC [M]  /home/paco/git/rtl8812au/core/rtw_ieee80211.o
  CC [M]  /home/paco/git/rtl8812au/core/rtw_mlme.o
  CC [M]  /home/paco/git/rtl8812au/core/rtw_mlme_ext.o
  CC [M]  /home/paco/git/rtl8812au/core/rtw_wlan_util.o
  CC [M]  /home/paco/git/rtl8812au/core/rtw_vht.o
  CC [M]  /home/paco/git/rtl8812au/core/rtw_pwrctrl.o
  CC [M]  /home/paco/git/rtl8812au/core/rtw_rf.o
  CC [M]  /home/paco/git/rtl8812au/core/rtw_recv.o
  CC [M]  /home/paco/git/rtl8812au/core/rtw_sta_mgt.o
  CC [M]  /home/paco/git/rtl8812au/core/rtw_ap.o
  CC [M]  /home/paco/git/rtl8812au/core/rtw_xmit.o
  CC [M]  /home/paco/git/rtl8812au/core/rtw_p2p.o
  CC [M]  /home/paco/git/rtl8812au/core/rtw_tdls.o
  CC [M]  /home/paco/git/rtl8812au/core/rtw_br_ext.o
  CC [M]  /home/paco/git/rtl8812au/core/rtw_iol.o
  CC [M]  /home/paco/git/rtl8812au/core/rtw_sreset.o
  CC [M]  /home/paco/git/rtl8812au/core/efuse/rtw_efuse.o
  CC [M]  /home/paco/git/rtl8812au/os_dep/osdep_service.o
  CC [M]  /home/paco/git/rtl8812au/os_dep/linux/os_intfs.o
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c: In function ‘create_proc_read_entry’:
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:327:9: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
   read: read_proc
         ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:327:9: note: (near initialization for ‘fops.read’)
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c: In function ‘create_proc_read_write_entry’:
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:339:9: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
   read: read_proc,
         ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:339:9: note: (near initialization for ‘fops.read’)
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:340:10: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
   write: write_proc
          ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:340:10: note: (near initialization for ‘fops.write’)
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c: In function ‘rtw_proc_init_one’:
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:389:75: error: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [-Werror=incompatible-pointer-types]
   entry = create_proc_read_entry("ver_info", S_IFREG | S_IRUGO, rtw_proc, proc_get_drv_version, dev);
                                                                           ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t (**)(struct file *, char *, ssize_t,  loff_t *) {aka long int (**)(struct file *, char *, long int,  long long int *)}’ but argument is of type ‘int (*)(char *, char **, off_t,  int,  int *, void *) {aka int (*)(char *, char **, long int,  int,  int *, void *)}’
 static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
                                      ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:438:17: error: passing argument 4 of ‘create_proc_read_write_entry’ from incompatible pointer type [-Werror=incompatible-pointer-types]
        dir_dev, proc_get_write_reg, dev, proc_set_write_reg);
                 ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:333:38: note: expected ‘ssize_t (**)(struct file *, char *, ssize_t,  loff_t *) {aka long int (**)(struct file *, char *, long int,  long long int *)}’ but argument is of type ‘int (*)(char *, char **, off_t,  int,  int *, void *) {aka int (*)(char *, char **, long int,  int,  int *, void *)}’
 static inline struct proc_dir_entry *create_proc_read_write_entry(const char *name,
                                      ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:438:42: error: passing argument 6 of ‘create_proc_read_write_entry’ from incompatible pointer type [-Werror=incompatible-pointer-types]
        dir_dev, proc_get_write_reg, dev, proc_set_write_reg);
                                          ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:333:38: note: expected ‘ssize_t (**)(struct file *, const char *, ssize_t,  loff_t *) {aka long int (**)(struct file *, const char *, long int,  long long int *)}’ but argument is of type ‘int (*)(struct file *, const char *, long unsigned int,  void *)’
 static inline struct proc_dir_entry *create_proc_read_write_entry(const char *name,
                                      ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:445:17: error: passing argument 4 of ‘create_proc_read_write_entry’ from incompatible pointer type [-Werror=incompatible-pointer-types]
        dir_dev, proc_get_read_reg, dev, proc_set_read_reg);
                 ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:333:38: note: expected ‘ssize_t (**)(struct file *, char *, ssize_t,  loff_t *) {aka long int (**)(struct file *, char *, long int,  long long int *)}’ but argument is of type ‘int (*)(char *, char **, off_t,  int,  int *, void *) {aka int (*)(char *, char **, long int,  int,  int *, void *)}’
 static inline struct proc_dir_entry *create_proc_read_write_entry(const char *name,
                                      ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:445:41: error: passing argument 6 of ‘create_proc_read_write_entry’ from incompatible pointer type [-Werror=incompatible-pointer-types]
        dir_dev, proc_get_read_reg, dev, proc_set_read_reg);
                                         ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:333:38: note: expected ‘ssize_t (**)(struct file *, const char *, ssize_t,  loff_t *) {aka long int (**)(struct file *, const char *, long int,  long long int *)}’ but argument is of type ‘int (*)(struct file *, const char *, long unsigned int,  void *)’
 static inline struct proc_dir_entry *create_proc_read_write_entry(const char *name,
                                      ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:452:17: error: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [-Werror=incompatible-pointer-types]
        dir_dev, proc_get_fwstate, dev);
                 ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t (**)(struct file *, char *, ssize_t,  loff_t *) {aka long int (**)(struct file *, char *, long int,  long long int *)}’ but argument is of type ‘int (*)(char *, char **, off_t,  int,  int *, void *) {aka int (*)(char *, char **, long int,  int,  int *, void *)}’
 static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
                                      ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:459:17: error: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [-Werror=incompatible-pointer-types]
        dir_dev, proc_get_sec_info, dev);
                 ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t (**)(struct file *, char *, ssize_t,  loff_t *) {aka long int (**)(struct file *, char *, long int,  long long int *)}’ but argument is of type ‘int (*)(char *, char **, off_t,  int,  int *, void *) {aka int (*)(char *, char **, long int,  int,  int *, void *)}’
 static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
                                      ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:466:17: error: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [-Werror=incompatible-pointer-types]
        dir_dev, proc_get_mlmext_state, dev);
                 ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t (**)(struct file *, char *, ssize_t,  loff_t *) {aka long int (**)(struct file *, char *, long int,  long long int *)}’ but argument is of type ‘int (*)(char *, char **, off_t,  int,  int *, void *) {aka int (*)(char *, char **, long int,  int,  int *, void *)}’
 static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
                                      ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:473:17: error: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [-Werror=incompatible-pointer-types]
        dir_dev, proc_get_qos_option, dev);
                 ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t (**)(struct file *, char *, ssize_t,  loff_t *) {aka long int (**)(struct file *, char *, long int,  long long int *)}’ but argument is of type ‘int (*)(char *, char **, off_t,  int,  int *, void *) {aka int (*)(char *, char **, long int,  int,  int *, void *)}’
 static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
                                      ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:480:17: error: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [-Werror=incompatible-pointer-types]
        dir_dev, proc_get_ht_option, dev);
                 ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t (**)(struct file *, char *, ssize_t,  loff_t *) {aka long int (**)(struct file *, char *, long int,  long long int *)}’ but argument is of type ‘int (*)(char *, char **, off_t,  int,  int *, void *) {aka int (*)(char *, char **, long int,  int,  int *, void *)}’
 static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
                                      ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:487:17: error: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [-Werror=incompatible-pointer-types]
        dir_dev, proc_get_rf_info, dev);
                 ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t (**)(struct file *, char *, ssize_t,  loff_t *) {aka long int (**)(struct file *, char *, long int,  long long int *)}’ but argument is of type ‘int (*)(char *, char **, off_t,  int,  int *, void *) {aka int (*)(char *, char **, long int,  int,  int *, void *)}’
 static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
                                      ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:494:17: error: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [-Werror=incompatible-pointer-types]
        dir_dev, proc_get_ap_info, dev);
                 ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t (**)(struct file *, char *, ssize_t,  loff_t *) {aka long int (**)(struct file *, char *, long int,  long long int *)}’ but argument is of type ‘int (*)(char *, char **, off_t,  int,  int *, void *) {aka int (*)(char *, char **, long int,  int,  int *, void *)}’
 static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
                                      ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:501:17: error: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [-Werror=incompatible-pointer-types]
        dir_dev, proc_get_adapter_state, dev);
                 ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t (**)(struct file *, char *, ssize_t,  loff_t *) {aka long int (**)(struct file *, char *, long int,  long long int *)}’ but argument is of type ‘int (*)(char *, char **, off_t,  int,  int *, void *) {aka int (*)(char *, char **, long int,  int,  int *, void *)}’
 static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
                                      ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:508:17: error: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [-Werror=incompatible-pointer-types]
        dir_dev, proc_get_trx_info, dev);
                 ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t (**)(struct file *, char *, ssize_t,  loff_t *) {aka long int (**)(struct file *, char *, long int,  long long int *)}’ but argument is of type ‘int (*)(char *, char **, off_t,  int,  int *, void *) {aka int (*)(char *, char **, long int,  int,  int *, void *)}’
 static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
                                      ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:515:17: error: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [-Werror=incompatible-pointer-types]
        dir_dev, proc_get_mac_reg_dump1, dev);
                 ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t (**)(struct file *, char *, ssize_t,  loff_t *) {aka long int (**)(struct file *, char *, long int,  long long int *)}’ but argument is of type ‘int (*)(char *, char **, off_t,  int,  int *, void *) {aka int (*)(char *, char **, long int,  int,  int *, void *)}’
 static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
                                      ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:522:17: error: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [-Werror=incompatible-pointer-types]
        dir_dev, proc_get_mac_reg_dump2, dev);
                 ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t (**)(struct file *, char *, ssize_t,  loff_t *) {aka long int (**)(struct file *, char *, long int,  long long int *)}’ but argument is of type ‘int (*)(char *, char **, off_t,  int,  int *, void *) {aka int (*)(char *, char **, long int,  int,  int *, void *)}’
 static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
                                      ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:529:17: error: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [-Werror=incompatible-pointer-types]
        dir_dev, proc_get_mac_reg_dump3, dev);
                 ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t (**)(struct file *, char *, ssize_t,  loff_t *) {aka long int (**)(struct file *, char *, long int,  long long int *)}’ but argument is of type ‘int (*)(char *, char **, off_t,  int,  int *, void *) {aka int (*)(char *, char **, long int,  int,  int *, void *)}’
 static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
                                      ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:536:17: error: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [-Werror=incompatible-pointer-types]
        dir_dev, proc_get_bb_reg_dump1, dev);
                 ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t (**)(struct file *, char *, ssize_t,  loff_t *) {aka long int (**)(struct file *, char *, long int,  long long int *)}’ but argument is of type ‘int (*)(char *, char **, off_t,  int,  int *, void *) {aka int (*)(char *, char **, long int,  int,  int *, void *)}’
 static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
                                      ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:543:17: error: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [-Werror=incompatible-pointer-types]
        dir_dev, proc_get_bb_reg_dump2, dev);
                 ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t (**)(struct file *, char *, ssize_t,  loff_t *) {aka long int (**)(struct file *, char *, long int,  long long int *)}’ but argument is of type ‘int (*)(char *, char **, off_t,  int,  int *, void *) {aka int (*)(char *, char **, long int,  int,  int *, void *)}’
 static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
                                      ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:550:17: error: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [-Werror=incompatible-pointer-types]
        dir_dev, proc_get_bb_reg_dump3, dev);
                 ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t (**)(struct file *, char *, ssize_t,  loff_t *) {aka long int (**)(struct file *, char *, long int,  long long int *)}’ but argument is of type ‘int (*)(char *, char **, off_t,  int,  int *, void *) {aka int (*)(char *, char **, long int,  int,  int *, void *)}’
 static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
                                      ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:557:17: error: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [-Werror=incompatible-pointer-types]
        dir_dev, proc_get_rf_reg_dump1, dev);
                 ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t (**)(struct file *, char *, ssize_t,  loff_t *) {aka long int (**)(struct file *, char *, long int,  long long int *)}’ but argument is of type ‘int (*)(char *, char **, off_t,  int,  int *, void *) {aka int (*)(char *, char **, long int,  int,  int *, void *)}’
 static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
                                      ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:564:17: error: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [-Werror=incompatible-pointer-types]
        dir_dev, proc_get_rf_reg_dump2, dev);
                 ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t (**)(struct file *, char *, ssize_t,  loff_t *) {aka long int (**)(struct file *, char *, long int,  long long int *)}’ but argument is of type ‘int (*)(char *, char **, off_t,  int,  int *, void *) {aka int (*)(char *, char **, long int,  int,  int *, void *)}’
 static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
                                      ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:573:18: error: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [-Werror=incompatible-pointer-types]
         dir_dev, proc_get_rf_reg_dump3, dev);
                  ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t (**)(struct file *, char *, ssize_t,  loff_t *) {aka long int (**)(struct file *, char *, long int,  long long int *)}’ but argument is of type ‘int (*)(char *, char **, off_t,  int,  int *, void *) {aka int (*)(char *, char **, long int,  int,  int *, void *)}’
 static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
                                      ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:580:18: error: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [-Werror=incompatible-pointer-types]
         dir_dev, proc_get_rf_reg_dump4, dev);
                  ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t (**)(struct file *, char *, ssize_t,  loff_t *) {aka long int (**)(struct file *, char *, long int,  long long int *)}’ but argument is of type ‘int (*)(char *, char **, off_t,  int,  int *, void *) {aka int (*)(char *, char **, long int,  int,  int *, void *)}’
 static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
                                      ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:590:17: error: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [-Werror=incompatible-pointer-types]
        dir_dev, proc_get_all_sta_info, dev);
                 ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t (**)(struct file *, char *, ssize_t,  loff_t *) {aka long int (**)(struct file *, char *, long int,  long long int *)}’ but argument is of type ‘int (*)(char *, char **, off_t,  int,  int *, void *) {aka int (*)(char *, char **, long int,  int,  int *, void *)}’
 static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
                                      ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:608:17: error: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [-Werror=incompatible-pointer-types]
        dir_dev, proc_get_best_channel, dev);
                 ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t (**)(struct file *, char *, ssize_t,  loff_t *) {aka long int (**)(struct file *, char *, long int,  long long int *)}’ but argument is of type ‘int (*)(char *, char **, off_t,  int,  int *, void *) {aka int (*)(char *, char **, long int,  int,  int *, void *)}’
 static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
                                      ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:616:17: error: passing argument 4 of ‘create_proc_read_write_entry’ from incompatible pointer type [-Werror=incompatible-pointer-types]
        dir_dev, proc_get_rx_signal, dev, proc_set_rx_signal);
                 ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:333:38: note: expected ‘ssize_t (**)(struct file *, char *, ssize_t,  loff_t *) {aka long int (**)(struct file *, char *, long int,  long long int *)}’ but argument is of type ‘int (*)(char *, char **, off_t,  int,  int *, void *) {aka int (*)(char *, char **, long int,  int,  int *, void *)}’
 static inline struct proc_dir_entry *create_proc_read_write_entry(const char *name,
                                      ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:616:42: error: passing argument 6 of ‘create_proc_read_write_entry’ from incompatible pointer type [-Werror=incompatible-pointer-types]
        dir_dev, proc_get_rx_signal, dev, proc_set_rx_signal);
                                          ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:333:38: note: expected ‘ssize_t (**)(struct file *, const char *, ssize_t,  loff_t *) {aka long int (**)(struct file *, const char *, long int,  long long int *)}’ but argument is of type ‘int (*)(struct file *, const char *, long unsigned int,  void *)’
 static inline struct proc_dir_entry *create_proc_read_write_entry(const char *name,
                                      ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:623:17: error: passing argument 4 of ‘create_proc_read_write_entry’ from incompatible pointer type [-Werror=incompatible-pointer-types]
        dir_dev, proc_get_ht_enable, dev, proc_set_ht_enable);
                 ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:333:38: note: expected ‘ssize_t (**)(struct file *, char *, ssize_t,  loff_t *) {aka long int (**)(struct file *, char *, long int,  long long int *)}’ but argument is of type ‘int (*)(char *, char **, off_t,  int,  int *, void *) {aka int (*)(char *, char **, long int,  int,  int *, void *)}’
 static inline struct proc_dir_entry *create_proc_read_write_entry(const char *name,
                                      ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:623:42: error: passing argument 6 of ‘create_proc_read_write_entry’ from incompatible pointer type [-Werror=incompatible-pointer-types]
        dir_dev, proc_get_ht_enable, dev, proc_set_ht_enable);
                                          ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:333:38: note: expected ‘ssize_t (**)(struct file *, const char *, ssize_t,  loff_t *) {aka long int (**)(struct file *, const char *, long int,  long long int *)}’ but argument is of type ‘int (*)(struct file *, const char *, long unsigned int,  void *)’
 static inline struct proc_dir_entry *create_proc_read_write_entry(const char *name,
                                      ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:630:17: error: passing argument 4 of ‘create_proc_read_write_entry’ from incompatible pointer type [-Werror=incompatible-pointer-types]
        dir_dev, proc_get_bw_mode, dev, proc_set_bw_mode);
                 ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:333:38: note: expected ‘ssize_t (**)(struct file *, char *, ssize_t,  loff_t *) {aka long int (**)(struct file *, char *, long int,  long long int *)}’ but argument is of type ‘int (*)(char *, char **, off_t,  int,  int *, void *) {aka int (*)(char *, char **, long int,  int,  int *, void *)}’
 static inline struct proc_dir_entry *create_proc_read_write_entry(const char *name,
                                      ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:630:40: error: passing argument 6 of ‘create_proc_read_write_entry’ from incompatible pointer type [-Werror=incompatible-pointer-types]
        dir_dev, proc_get_bw_mode, dev, proc_set_bw_mode);
                                        ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:333:38: note: expected ‘ssize_t (**)(struct file *, const char *, ssize_t,  loff_t *) {aka long int (**)(struct file *, const char *, long int,  long long int *)}’ but argument is of type ‘int (*)(struct file *, const char *, long unsigned int,  void *)’
 static inline struct proc_dir_entry *create_proc_read_write_entry(const char *name,
                                      ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:637:17: error: passing argument 4 of ‘create_proc_read_write_entry’ from incompatible pointer type [-Werror=incompatible-pointer-types]
        dir_dev, proc_get_ampdu_enable, dev, proc_set_ampdu_enable);
                 ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:333:38: note: expected ‘ssize_t (**)(struct file *, char *, ssize_t,  loff_t *) {aka long int (**)(struct file *, char *, long int,  long long int *)}’ but argument is of type ‘int (*)(char *, char **, off_t,  int,  int *, void *) {aka int (*)(char *, char **, long int,  int,  int *, void *)}’
 static inline struct proc_dir_entry *create_proc_read_write_entry(const char *name,
                                      ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:637:45: error: passing argument 6 of ‘create_proc_read_write_entry’ from incompatible pointer type [-Werror=incompatible-pointer-types]
        dir_dev, proc_get_ampdu_enable, dev, proc_set_ampdu_enable);
                                             ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:333:38: note: expected ‘ssize_t (**)(struct file *, const char *, ssize_t,  loff_t *) {aka long int (**)(struct file *, const char *, long int,  long long int *)}’ but argument is of type ‘int (*)(struct file *, const char *, long unsigned int,  void *)’
 static inline struct proc_dir_entry *create_proc_read_write_entry(const char *name,
                                      ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:644:17: error: passing argument 4 of ‘create_proc_read_write_entry’ from incompatible pointer type [-Werror=incompatible-pointer-types]
        dir_dev, proc_get_rx_stbc, dev, proc_set_rx_stbc);
                 ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:333:38: note: expected ‘ssize_t (**)(struct file *, char *, ssize_t,  loff_t *) {aka long int (**)(struct file *, char *, long int,  long long int *)}’ but argument is of type ‘int (*)(char *, char **, off_t,  int,  int *, void *) {aka int (*)(char *, char **, long int,  int,  int *, void *)}’
 static inline struct proc_dir_entry *create_proc_read_write_entry(const char *name,
                                      ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:644:40: error: passing argument 6 of ‘create_proc_read_write_entry’ from incompatible pointer type [-Werror=incompatible-pointer-types]
        dir_dev, proc_get_rx_stbc, dev, proc_set_rx_stbc);
                                        ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:333:38: note: expected ‘ssize_t (**)(struct file *, const char *, ssize_t,  loff_t *) {aka long int (**)(struct file *, const char *, long int,  long long int *)}’ but argument is of type ‘int (*)(struct file *, const char *, long unsigned int,  void *)’
 static inline struct proc_dir_entry *create_proc_read_write_entry(const char *name,
                                      ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:652:15: error: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [-Werror=incompatible-pointer-types]
      dir_dev, proc_get_two_path_rssi, dev);
               ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t (**)(struct file *, char *, ssize_t,  loff_t *) {aka long int (**)(struct file *, char *, long int,  long long int *)}’ but argument is of type ‘int (*)(char *, char **, off_t,  int,  int *, void *) {aka int (*)(char *, char **, long int,  int,  int *, void *)}’
 static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
                                      ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:655:17: error: passing argument 4 of ‘create_proc_read_write_entry’ from incompatible pointer type [-Werror=incompatible-pointer-types]
        dir_dev, proc_get_rssi_disp, dev, proc_set_rssi_disp);
                 ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:333:38: note: expected ‘ssize_t (**)(struct file *, char *, ssize_t,  loff_t *) {aka long int (**)(struct file *, char *, long int,  long long int *)}’ but argument is of type ‘int (*)(char *, char **, off_t,  int,  int *, void *) {aka int (*)(char *, char **, long int,  int,  int *, void *)}’
 static inline struct proc_dir_entry *create_proc_read_write_entry(const char *name,
                                      ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:655:42: error: passing argument 6 of ‘create_proc_read_write_entry’ from incompatible pointer type [-Werror=incompatible-pointer-types]
        dir_dev, proc_get_rssi_disp, dev, proc_set_rssi_disp);
                                          ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:333:38: note: expected ‘ssize_t (**)(struct file *, const char *, ssize_t,  loff_t *) {aka long int (**)(struct file *, const char *, long int,  long long int *)}’ but argument is of type ‘int (*)(struct file *, const char *, long unsigned int,  void *)’
 static inline struct proc_dir_entry *create_proc_read_write_entry(const char *name,
                                      ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:671:17: error: passing argument 4 of ‘create_proc_read_write_entry’ from incompatible pointer type [-Werror=incompatible-pointer-types]
        dir_dev, proc_get_sreset, dev, proc_set_sreset);
                 ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:333:38: note: expected ‘ssize_t (**)(struct file *, char *, ssize_t,  loff_t *) {aka long int (**)(struct file *, char *, long int,  long long int *)}’ but argument is of type ‘int (*)(char *, char **, off_t,  int,  int *, void *) {aka int (*)(char *, char **, long int,  int,  int *, void *)}’
 static inline struct proc_dir_entry *create_proc_read_write_entry(const char *name,
                                      ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:671:39: error: passing argument 6 of ‘create_proc_read_write_entry’ from incompatible pointer type [-Werror=incompatible-pointer-types]
        dir_dev, proc_get_sreset, dev, proc_set_sreset);
                                       ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:333:38: note: expected ‘ssize_t (**)(struct file *, const char *, ssize_t,  loff_t *) {aka long int (**)(struct file *, const char *, long int,  long long int *)}’ but argument is of type ‘int (*)(struct file *, const char *, long unsigned int,  void *)’
 static inline struct proc_dir_entry *create_proc_read_write_entry(const char *name,
                                      ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c: At top level:
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:1053:22: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
  .ndo_select_queue = rtw_select_queue,
                      ^
/home/paco/git/rtl8812au/os_dep/linux/os_intfs.c:1053:22: note: (near initialization for ‘rtw_netdev_ops.ndo_select_queue’)
cc1: some warnings being treated as errors
scripts/Makefile.build:294: fallo en las instrucciones para el objetivo '/home/paco/git/rtl8812au/os_dep/linux/os_intfs.o'
make[2]: *** [/home/paco/git/rtl8812au/os_dep/linux/os_intfs.o] Error 1
Makefile:1524: fallo en las instrucciones para el objetivo '_module_/home/paco/git/rtl8812au'
make[1]: *** [_module_/home/paco/git/rtl8812au] Error 2
make[1]: se sale del directorio '/usr/src/linux-headers-4.10.0-33-generic'
Makefile:1051: fallo en las instrucciones para el objetivo 'modules'
make: *** [modules] Error 2
grep: warning: GREP_OPTIONS is deprecated; please use an alias or script
grep: warning: GREP_OPTIONS is deprecated; please use an alias or script

 

El sistema es mint 18.2  y el kernel 4.10.0-33- de momento no se que deciros mas, espero que me podais ayudar, gracias y un saludo.

 

 

 

 

Editado por pacoeloyo

Compartir este post


Enlace al post
Compartir en otros sitios

19 respuestas a esta pregunta

Recommended Posts

  • 0

Ya funciona lo descargue desde aqui https://github.com/diederikdehaas/rtl8812AU/tree/driver-4.3.20

He descargado la 4.3.20 y después he hecho lo que ha dicho el señor eMix un make y make install, me ha creado dos archivos uno llamado 8812au.mod.o y otro llamado 8812au.ko . He reiniciado y ya funciona el wifi usb , ahora otra duda ¿cuando se actualice el kernel tengo que volver hace lo mismo? ¿que habría que hacer?

 

 

Compartir este post


Enlace al post
Compartir en otros sitios
  • 0

Yo me estuve peleando con uno de esos chipset en un portatil de alguna marca rara, creo que de este repositorio me funciono https://github.com/diederikdehaas/rtl8812AU . El portatil fue de una compañera de un trabajo y vive lejos por lo que no puedo asegurarme que repositorio use.

Al menos con el kernel 4.10 me ha compilado (con algunos warnings) no tiene script de instalación pero las instrucciones se indican,  también tiene instrucciones para instalar con DKMS.

 

Editado por Cristobal

Compartir este post


Enlace al post
Compartir en otros sitios
  • 0

linux mint xfce 18.2, he encontrado una versión mas actual https://github.com/diederikdehaas/rtl8812AU/tree/driver-4.3.20

También están los beta 4.3.22 ¿que me recomendáis? y la pregunta del siglo ¿como se compila? me da pánico :miedito2:

antes dije que el paquete rtl8812au-dkms esta instalado, ¿habrá que cargar el modulo o algo parecido? si es así ¿como se hace? por que no se que modulo es.

 

 

Editado por pacoeloyo

Compartir este post


Enlace al post
Compartir en otros sitios
  • 0

Tiene en atención otra cosa que vengo a reforzar de lo que arriba dice eMix , un determinado kernel en su version puede estar más o menos aconsejado a tu pc y esa condicion varia segun tu hardware.

 

Por ejemplo si quieres una máquina muy rápida o exprimida hacia su hardware Gentoo es una buena distro ya que estas compilando todo o muchos paquetes en funcion de tu hardware más allá de un port en un Kernel inflado.

 

En Linux Mint o Ubuntu o otros Debian mirate bien el fijar un Kernel que funciona bien ahora con tu hardware porque si actualizas y te da problemas puedes solventaro con una mera compilacion →

./configure

make

make install

 

pero puede pasarte que hagas una actualizacion y te obligue a una compilación manual y fallar y por lo tanto forzarte a volver a una version anterior .

 

Es decir no hagas purge de kernels y como hablas de esa dependecia rtl8812au-dkms mira bien de no dejar que una actualizacion de Kernel o otra te lo apague de sistema  y si puedes manten una configuración de Grub que tenga el kernel que tienes funcionado bien ahora alla para ser una questión de escoja de kernel antes que de reconfiguración de Grub y / o version Kernel.

 

 

 

 

Compartir este post


Enlace al post
Compartir en otros sitios
  • 0

De momento funciona perfecto, he cambiado la política de actualizaciones de mint, y las he dejado en nivel 1,2,3. Gracias compañeros por vuestra ayuda

Edito:

Por la wiky de arch he visto que esta la versión 5.2.3 para los kernel 4.11, 4.12 and 4.13-rc1

https://github.com/zebulon2/rtl8812au-driver-5.2.9/tree/txpower

Enviado desde mi SM-J320FN mediante Tapatalk

Editado por pacoeloyo

Compartir este post


Enlace al post
Compartir en otros sitios
  • 0

que error te daba?

era como este?

 

[ 2243.835064] wlp1s0: deauthenticating from 84:aa:9c:04:51:5f by local choice (Reason: 3=DEAUTH_LEAVING)
[ 2244.133779] IPv6: ADDRCONF(NETDEV_UP): wlp1s0: link is not ready
[ 2244.296671] IPv6: ADDRCONF(NETDEV_UP): wlp1s0: link is not ready
[ 2244.473647] IPv6: ADDRCONF(NETDEV_UP): wlp1s0: link is not ready
[ 2248.001996] IPv6: ADDRCONF(NETDEV_UP): wlp1s0: link is not ready
[ 2248.058210] wlp1s0: authenticate with 84:aa:9c:04:51:5f
[ 2248.061289] wlp1s0: send auth to 84:aa:9c:04:51:5f (try 1/3)
[ 2248.063743] wlp1s0: authenticated
[ 2248.064110] rtl8821ae 0000:01:00.0 wlp1s0: disabling HT as WMM/QoS is not supported by the AP
[ 2248.064116] rtl8821ae 0000:01:00.0 wlp1s0: disabling VHT as WMM/QoS is not supported by the AP
[ 2248.068043] wlp1s0: associate with 84:aa:9c:04:51:5f (try 1/3)
[ 2248.071891] wlp1s0: RX AssocResp from 84:aa:9c:04:51:5f (capab=0x1411 status=0 aid=4)
[ 2248.073473] wlp1s0: associated
[ 2248.073526] IPv6: ADDRCONF(NETDEV_CHANGE): wlp1s0: link becomes ready

]

Compartir este post


Enlace al post
Compartir en otros sitios
  • 0

No me da error por ningún sitio, el driver que viene en el cd era muy antiguo, y descargue uno de los enlaces que están puestos mas arriba, después lo compile sin errores y se instalo a la primera, con la actualización de mint 18.2 a la 18.3 no ha habido errores. ¿A que te refieres JOSSPARK ?

Compartir este post


Enlace al post
Compartir en otros sitios

Registra una cuenta o conéctate para comentar

Debes ser un miembro de la comunidad para dejar un comentario

Crear una cuenta

Regístrate en nuestra comunidad. ¡Es fácil!

Registrar una cuenta nueva

Iniciar Sesión

¿Ya tienes cuenta? Conéctate aquí.

Iniciar Sesión

×