Não é possível instalar o driver RTL8191SU no meu Lenovo Z580 -- wireless campo com drivers camp askubuntu Relacionado O problema

Can't install rtl8191su driver on my Lenovo Z580


-1
vote

problema

português

Primeiro de tudo, eu sou novo para o Linux, então eu preciso do tutorial passo a passo :)

Eu comprei o adaptador sem fio da Airlive WN-380 USB, e quando eu o conecto com meu laptop (Lenovo Z580) O Ubuntu não o reconhece, até mesmo a luz LED não pisca. Eu sei que tem chipset RTL 8191SU dentro e eu baixei o mais novo driver da Realtek e eu não posso instalá-lo. Eu tentei muitos tutoriais, mas eles são todos para usuários experientes e eu não os entendi muito bem .. Toda vez que tento recebi um erro ao fazer o comando "fazer", "sudo fazer" também não funciona, tornou-se muito frustrante. Eu estou executando o Ubuntu 14.04 lts

Eu tenho isso:

  $ make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/3.13.0-35-generic/build M=/home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405  modules make[1]: Entering directory `/usr/src/linux-headers-3.13.0-35-generic'   CC [M]  /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/cmd/rtl871x_cmd.o In file included from /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/cmd/rtl871x_cmd.c:23:0: /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/osdep_service.h: In function ‘_init_timer’: /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/osdep_service.h:151:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]   ptimer->data = (u32)cntx;                  ^ In file included from /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/cmd/rtl871x_cmd.c:23:0: /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/osdep_service.h: In function ‘thread_enter’: /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/osdep_service.h:393:2: error: implicit declaration of function ‘daemonize’ [-Werror=implicit-function-declaration]   daemonize("%s", "RTKTHREAD");   ^ In file included from /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/rtl871x_ht.h:25:0,                  from /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/drv_types.h:67,                  from /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/cmd/rtl871x_cmd.c:24: /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h: In function ‘get_da’: /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:324:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]  #define GetAddr1Ptr(pbuf) ((unsigned char *)((unsigned int)(pbuf) + 4))                                               ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:350:9: note: in expansion of macro ‘GetAddr1Ptr’     da = GetAddr1Ptr(pframe);          ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:324:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]  #define GetAddr1Ptr(pbuf) ((unsigned char *)((unsigned int)(pbuf) + 4))                             ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:350:9: note: in expansion of macro ‘GetAddr1Ptr’     da = GetAddr1Ptr(pframe);          ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:324:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]  #define GetAddr1Ptr(pbuf) ((unsigned char *)((unsigned int)(pbuf) + 4))                                               ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:353:9: note: in expansion of macro ‘GetAddr1Ptr’     da = GetAddr1Ptr(pframe);          ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:324:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]  #define GetAddr1Ptr(pbuf) ((unsigned char *)((unsigned int)(pbuf) + 4))                             ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:353:9: note: in expansion of macro ‘GetAddr1Ptr’     da = GetAddr1Ptr(pframe);          ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:328:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]  #define GetAddr3Ptr(pbuf) ((unsigned char *)((unsigned int)(pbuf) + 16))                                               ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:356:9: note: in expansion of macro ‘GetAddr3Ptr’     da = GetAddr3Ptr(pframe);          ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:328:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]  #define GetAddr3Ptr(pbuf) ((unsigned char *)((unsigned int)(pbuf) + 16))                             ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:356:9: note: in expansion of macro ‘GetAddr3Ptr’     da = GetAddr3Ptr(pframe);          ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:328:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]  #define GetAddr3Ptr(pbuf) ((unsigned char *)((unsigned int)(pbuf) + 16))                                               ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:359:9: note: in expansion of macro ‘GetAddr3Ptr’     da = GetAddr3Ptr(pframe);          ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:328:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]  #define GetAddr3Ptr(pbuf) ((unsigned char *)((unsigned int)(pbuf) + 16))                             ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:359:9: note: in expansion of macro ‘GetAddr3Ptr’     da = GetAddr3Ptr(pframe);          ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h: In function ‘get_sa’: /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:326:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]  #define GetAddr2Ptr(pbuf) ((unsigned char *)((unsigned int)(pbuf) + 10))                                               ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:374:9: note: in expansion of macro ‘GetAddr2Ptr’     sa = GetAddr2Ptr(pframe);          ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:326:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]  #define GetAddr2Ptr(pbuf) ((unsigned char *)((unsigned int)(pbuf) + 10))                             ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:374:9: note: in expansion of macro ‘GetAddr2Ptr’     sa = GetAddr2Ptr(pframe);          ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:328:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]  #define GetAddr3Ptr(pbuf) ((unsigned char *)((unsigned int)(pbuf) + 16))                                               ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:377:9: note: in expansion of macro ‘GetAddr3Ptr’     sa = GetAddr3Ptr(pframe);          ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:328:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]  #define GetAddr3Ptr(pbuf) ((unsigned char *)((unsigned int)(pbuf) + 16))                             ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:377:9: note: in expansion of macro ‘GetAddr3Ptr’     sa = GetAddr3Ptr(pframe);          ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:326:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]  #define GetAddr2Ptr(pbuf) ((unsigned char *)((unsigned int)(pbuf) + 10))                                               ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:380:9: note: in expansion of macro ‘GetAddr2Ptr’     sa = GetAddr2Ptr(pframe);          ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:326:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]  #define GetAddr2Ptr(pbuf) ((unsigned char *)((unsigned int)(pbuf) + 10))                             ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:380:9: note: in expansion of macro ‘GetAddr2Ptr’     sa = GetAddr2Ptr(pframe);          ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:330:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]  #define GetAddr4Ptr(pbuf) ((unsigned char *)((unsigned int)(pbuf) + 24))                                               ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:383:9: note: in expansion of macro ‘GetAddr4Ptr’     sa = GetAddr4Ptr(pframe);          ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:330:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]  #define GetAddr4Ptr(pbuf) ((unsigned char *)((unsigned int)(pbuf) + 24))                             ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:383:9: note: in expansion of macro ‘GetAddr4Ptr’     sa = GetAddr4Ptr(pframe);          ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h: In function ‘get_hdr_bssid’: /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:328:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]  #define GetAddr3Ptr(pbuf) ((unsigned char *)((unsigned int)(pbuf) + 16))                                               ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:397:9: note: in expansion of macro ‘GetAddr3Ptr’     sa = GetAddr3Ptr(pframe);          ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:328:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]  #define GetAddr3Ptr(pbuf) ((unsigned char *)((unsigned int)(pbuf) + 16))                             ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:397:9: note: in expansion of macro ‘GetAddr3Ptr’     sa = GetAddr3Ptr(pframe);          ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:326:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]  #define GetAddr2Ptr(pbuf) ((unsigned char *)((unsigned int)(pbuf) + 10))                                               ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:400:9: note: in expansion of macro ‘GetAddr2Ptr’     sa = GetAddr2Ptr(pframe);          ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:326:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]  #define GetAddr2Ptr(pbuf) ((unsigned char *)((unsigned int)(pbuf) + 10))                             ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:400:9: note: in expansion of macro ‘GetAddr2Ptr’     sa = GetAddr2Ptr(pframe);          ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:324:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]  #define GetAddr1Ptr(pbuf) ((unsigned char *)((unsigned int)(pbuf) + 4))                                               ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:403:9: note: in expansion of macro ‘GetAddr1Ptr’     sa = GetAddr1Ptr(pframe);          ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:324:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]  #define GetAddr1Ptr(pbuf) ((unsigned char *)((unsigned int)(pbuf) + 4))                             ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:403:9: note: in expansion of macro ‘GetAddr1Ptr’     sa = GetAddr1Ptr(pframe);          ^ In file included from /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/drv_types.h:70:0,                  from /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/cmd/rtl871x_cmd.c:24: /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/rtl871x_cmd.h: At top level: /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/rtl871x_cmd.h:107:25: error: field ‘event_tasklet’ has incomplete type    struct tasklet_struct event_tasklet;                          ^ In file included from /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/drv_types.h:72:0,                  from /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/cmd/rtl871x_cmd.c:24: /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/rtl871x_xmit.h:355:24: error: field ‘xmit_tasklet’ has incomplete type   struct tasklet_struct xmit_tasklet;                         ^ In file included from /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/drv_types.h:73:0,                  from /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/cmd/rtl871x_cmd.c:24: /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/rtl871x_recv.h:205:24: error: field ‘recv_tasklet’ has incomplete type   struct tasklet_struct recv_tasklet;                         ^ In file included from /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/drv_types.h:73:0,                  from /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/cmd/rtl871x_cmd.c:24: /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/rtl871x_recv.h: In function ‘rxmem_to_recvframe’: /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/rtl871x_recv.h:435:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]   return (union recv_frame*)(((uint)rxmem>>RXFRAME_ALIGN) <<RXFRAME_ALIGN) ;                               ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/rtl871x_recv.h:435:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]   return (union recv_frame*)(((uint)rxmem>>RXFRAME_ALIGN) <<RXFRAME_ALIGN) ;          ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/cmd/rtl871x_cmd.c: In function ‘_init_cmd_priv’: /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/cmd/rtl871x_cmd.c:93:75: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]   pcmdpriv->cmd_buf = pcmdpriv->cmd_allocated_buf  +  CMDBUFF_ALIGN_SZ - ( (uint)(pcmdpriv->cmd_allocated_buf) & (CMDBUFF_ALIGN_SZ-1));                                                                            ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/cmd/rtl871x_cmd.c:101:60: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]   pcmdpriv->rsp_buf = pcmdpriv->rsp_allocated_buf  +  4 - ( (uint)(pcmdpriv->rsp_allocated_buf) & 3);                                                             ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/cmd/rtl871x_cmd.c: In function ‘_init_evt_priv’: /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/cmd/rtl871x_cmd.c:135:59: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]   pevtpriv->evt_buf = pevtpriv->evt_allocated_buf  +  4 - ((unsigned int)(pevtpriv->evt_allocated_buf) & 3);                                                            ^ cc1: some warnings being treated as errors make[2]: *** [/home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/cmd/rtl871x_cmd.o] Error 1 make[1]: *** [_module_/home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-3.13.0-35-generic' make: *** [modules] Error 2    

com dmesg | cauda:

ivimiha @ batman: ~ $ dmesg | cauda [22402.349970] USB 1-1.1: Produto: Amarlive WN-380USB Adaptador [22402.349973] USB 1-1.1: Fabricante: Fabricante Realtek [22402.349976] USB 1-1.1: SerialNumber: 00E04C000001 [22432.546867] USB 1-1.1: Desconectar USB, número do dispositivo 9 [22435.819689] USB 1-1.1: novo dispositivo USB de alta velocidade número 10 usando EHCI-PCI [22435.914902] USB 1-1.1: Novo dispositivo USB encontrado, idvendor = 1b75, idproduto = 8172 [22435.914910] USB 1-1.1: Novas cadeias de dispositivos USB: Mfr = 1, produto = 2, serialnumber = 3 [22435.914914] USB 1-1.1: Produto: Airlive WN-380USB Adaptador [22435.914917] USB 1-1.1: Fabricante: Fabricante Realtek [22435.914920] USB 1-1.1: SerialNumber: 00E04C000001

english

First of all I'm new to linux so i need step by step tutorial :)

I bought AirLive WN-380 USB wireless adapter, and when i connect him with my laptop (Lenovo Z580) Ubuntu doesn't recognize him, even the led light doesn't flash. I know it has RTL 8191SU chipset inside and i downloaded the newest driver from Realtek and i cant install it. I have tried many tutorials but they are all for experienced users and i don't understand them quite well.. Every time i try i got an error when doing "make" command, "sudo make" doesn't work either,it has became very frustrating. I'm running Ubuntu 14.04 LTS

I got this:

$ make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/3.13.0-35-generic/build M=/home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405  modules make[1]: Entering directory `/usr/src/linux-headers-3.13.0-35-generic'   CC [M]  /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/cmd/rtl871x_cmd.o In file included from /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/cmd/rtl871x_cmd.c:23:0: /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/osdep_service.h: In function xe2x80x98_init_timerxe2x80x99: /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/osdep_service.h:151:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]   ptimer->data = (u32)cntx;                  ^ In file included from /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/cmd/rtl871x_cmd.c:23:0: /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/osdep_service.h: In function xe2x80x98thread_enterxe2x80x99: /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/osdep_service.h:393:2: error: implicit declaration of function xe2x80x98daemonizexe2x80x99 [-Werror=implicit-function-declaration]   daemonize("%s", "RTKTHREAD");   ^ In file included from /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/rtl871x_ht.h:25:0,                  from /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/drv_types.h:67,                  from /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/cmd/rtl871x_cmd.c:24: /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h: In function xe2x80x98get_daxe2x80x99: /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:324:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]  #define GetAddr1Ptr(pbuf) ((unsigned char *)((unsigned int)(pbuf) + 4))                                               ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:350:9: note: in expansion of macro xe2x80x98GetAddr1Ptrxe2x80x99     da = GetAddr1Ptr(pframe);          ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:324:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]  #define GetAddr1Ptr(pbuf) ((unsigned char *)((unsigned int)(pbuf) + 4))                             ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:350:9: note: in expansion of macro xe2x80x98GetAddr1Ptrxe2x80x99     da = GetAddr1Ptr(pframe);          ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:324:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]  #define GetAddr1Ptr(pbuf) ((unsigned char *)((unsigned int)(pbuf) + 4))                                               ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:353:9: note: in expansion of macro xe2x80x98GetAddr1Ptrxe2x80x99     da = GetAddr1Ptr(pframe);          ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:324:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]  #define GetAddr1Ptr(pbuf) ((unsigned char *)((unsigned int)(pbuf) + 4))                             ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:353:9: note: in expansion of macro xe2x80x98GetAddr1Ptrxe2x80x99     da = GetAddr1Ptr(pframe);          ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:328:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]  #define GetAddr3Ptr(pbuf) ((unsigned char *)((unsigned int)(pbuf) + 16))                                               ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:356:9: note: in expansion of macro xe2x80x98GetAddr3Ptrxe2x80x99     da = GetAddr3Ptr(pframe);          ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:328:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]  #define GetAddr3Ptr(pbuf) ((unsigned char *)((unsigned int)(pbuf) + 16))                             ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:356:9: note: in expansion of macro xe2x80x98GetAddr3Ptrxe2x80x99     da = GetAddr3Ptr(pframe);          ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:328:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]  #define GetAddr3Ptr(pbuf) ((unsigned char *)((unsigned int)(pbuf) + 16))                                               ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:359:9: note: in expansion of macro xe2x80x98GetAddr3Ptrxe2x80x99     da = GetAddr3Ptr(pframe);          ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:328:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]  #define GetAddr3Ptr(pbuf) ((unsigned char *)((unsigned int)(pbuf) + 16))                             ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:359:9: note: in expansion of macro xe2x80x98GetAddr3Ptrxe2x80x99     da = GetAddr3Ptr(pframe);          ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h: In function xe2x80x98get_saxe2x80x99: /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:326:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]  #define GetAddr2Ptr(pbuf) ((unsigned char *)((unsigned int)(pbuf) + 10))                                               ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:374:9: note: in expansion of macro xe2x80x98GetAddr2Ptrxe2x80x99     sa = GetAddr2Ptr(pframe);          ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:326:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]  #define GetAddr2Ptr(pbuf) ((unsigned char *)((unsigned int)(pbuf) + 10))                             ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:374:9: note: in expansion of macro xe2x80x98GetAddr2Ptrxe2x80x99     sa = GetAddr2Ptr(pframe);          ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:328:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]  #define GetAddr3Ptr(pbuf) ((unsigned char *)((unsigned int)(pbuf) + 16))                                               ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:377:9: note: in expansion of macro xe2x80x98GetAddr3Ptrxe2x80x99     sa = GetAddr3Ptr(pframe);          ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:328:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]  #define GetAddr3Ptr(pbuf) ((unsigned char *)((unsigned int)(pbuf) + 16))                             ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:377:9: note: in expansion of macro xe2x80x98GetAddr3Ptrxe2x80x99     sa = GetAddr3Ptr(pframe);          ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:326:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]  #define GetAddr2Ptr(pbuf) ((unsigned char *)((unsigned int)(pbuf) + 10))                                               ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:380:9: note: in expansion of macro xe2x80x98GetAddr2Ptrxe2x80x99     sa = GetAddr2Ptr(pframe);          ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:326:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]  #define GetAddr2Ptr(pbuf) ((unsigned char *)((unsigned int)(pbuf) + 10))                             ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:380:9: note: in expansion of macro xe2x80x98GetAddr2Ptrxe2x80x99     sa = GetAddr2Ptr(pframe);          ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:330:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]  #define GetAddr4Ptr(pbuf) ((unsigned char *)((unsigned int)(pbuf) + 24))                                               ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:383:9: note: in expansion of macro xe2x80x98GetAddr4Ptrxe2x80x99     sa = GetAddr4Ptr(pframe);          ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:330:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]  #define GetAddr4Ptr(pbuf) ((unsigned char *)((unsigned int)(pbuf) + 24))                             ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:383:9: note: in expansion of macro xe2x80x98GetAddr4Ptrxe2x80x99     sa = GetAddr4Ptr(pframe);          ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h: In function xe2x80x98get_hdr_bssidxe2x80x99: /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:328:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]  #define GetAddr3Ptr(pbuf) ((unsigned char *)((unsigned int)(pbuf) + 16))                                               ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:397:9: note: in expansion of macro xe2x80x98GetAddr3Ptrxe2x80x99     sa = GetAddr3Ptr(pframe);          ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:328:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]  #define GetAddr3Ptr(pbuf) ((unsigned char *)((unsigned int)(pbuf) + 16))                             ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:397:9: note: in expansion of macro xe2x80x98GetAddr3Ptrxe2x80x99     sa = GetAddr3Ptr(pframe);          ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:326:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]  #define GetAddr2Ptr(pbuf) ((unsigned char *)((unsigned int)(pbuf) + 10))                                               ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:400:9: note: in expansion of macro xe2x80x98GetAddr2Ptrxe2x80x99     sa = GetAddr2Ptr(pframe);          ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:326:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]  #define GetAddr2Ptr(pbuf) ((unsigned char *)((unsigned int)(pbuf) + 10))                             ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:400:9: note: in expansion of macro xe2x80x98GetAddr2Ptrxe2x80x99     sa = GetAddr2Ptr(pframe);          ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:324:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]  #define GetAddr1Ptr(pbuf) ((unsigned char *)((unsigned int)(pbuf) + 4))                                               ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:403:9: note: in expansion of macro xe2x80x98GetAddr1Ptrxe2x80x99     sa = GetAddr1Ptr(pframe);          ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:324:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]  #define GetAddr1Ptr(pbuf) ((unsigned char *)((unsigned int)(pbuf) + 4))                             ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:403:9: note: in expansion of macro xe2x80x98GetAddr1Ptrxe2x80x99     sa = GetAddr1Ptr(pframe);          ^ In file included from /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/drv_types.h:70:0,                  from /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/cmd/rtl871x_cmd.c:24: /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/rtl871x_cmd.h: At top level: /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/rtl871x_cmd.h:107:25: error: field xe2x80x98event_taskletxe2x80x99 has incomplete type    struct tasklet_struct event_tasklet;                          ^ In file included from /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/drv_types.h:72:0,                  from /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/cmd/rtl871x_cmd.c:24: /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/rtl871x_xmit.h:355:24: error: field xe2x80x98xmit_taskletxe2x80x99 has incomplete type   struct tasklet_struct xmit_tasklet;                         ^ In file included from /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/drv_types.h:73:0,                  from /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/cmd/rtl871x_cmd.c:24: /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/rtl871x_recv.h:205:24: error: field xe2x80x98recv_taskletxe2x80x99 has incomplete type   struct tasklet_struct recv_tasklet;                         ^ In file included from /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/drv_types.h:73:0,                  from /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/cmd/rtl871x_cmd.c:24: /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/rtl871x_recv.h: In function xe2x80x98rxmem_to_recvframexe2x80x99: /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/rtl871x_recv.h:435:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]   return (union recv_frame*)(((uint)rxmem>>RXFRAME_ALIGN) <<RXFRAME_ALIGN) ;                               ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/rtl871x_recv.h:435:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]   return (union recv_frame*)(((uint)rxmem>>RXFRAME_ALIGN) <<RXFRAME_ALIGN) ;          ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/cmd/rtl871x_cmd.c: In function xe2x80x98_init_cmd_privxe2x80x99: /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/cmd/rtl871x_cmd.c:93:75: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]   pcmdpriv->cmd_buf = pcmdpriv->cmd_allocated_buf  +  CMDBUFF_ALIGN_SZ - ( (uint)(pcmdpriv->cmd_allocated_buf) & (CMDBUFF_ALIGN_SZ-1));                                                                            ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/cmd/rtl871x_cmd.c:101:60: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]   pcmdpriv->rsp_buf = pcmdpriv->rsp_allocated_buf  +  4 - ( (uint)(pcmdpriv->rsp_allocated_buf) & 3);                                                             ^ /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/cmd/rtl871x_cmd.c: In function xe2x80x98_init_evt_privxe2x80x99: /home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/cmd/rtl871x_cmd.c:135:59: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]   pevtpriv->evt_buf = pevtpriv->evt_allocated_buf  +  4 - ((unsigned int)(pevtpriv->evt_allocated_buf) & 3);                                                            ^ cc1: some warnings being treated as errors make[2]: *** [/home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/cmd/rtl871x_cmd.o] Error 1 make[1]: *** [_module_/home/ivimiha/Desktop/rtl/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-3.13.0-35-generic' make: *** [modules] Error 2 

With dmesg | tail:

ivimiha@Batman:~$ dmesg | tail [22402.349970] usb 1-1.1: Product: AirLive WN-380USB Adapter [22402.349973] usb 1-1.1: Manufacturer: Manufacturer Realtek [22402.349976] usb 1-1.1: SerialNumber: 00e04c000001 [22432.546867] usb 1-1.1: USB disconnect, device number 9 [22435.819689] usb 1-1.1: new high-speed USB device number 10 using ehci-pci [22435.914902] usb 1-1.1: New USB device found, idVendor=1b75, idProduct=8172 [22435.914910] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [22435.914914] usb 1-1.1: Product: AirLive WN-380USB Adapter [22435.914917] usb 1-1.1: Manufacturer: Manufacturer Realtek [22435.914920] usb 1-1.1: SerialNumber: 00e04c000001

     

Lista de respostas

0
 
vote

O site da Realtek diz que o driver é para:

  Linux Kernel 2.6.18~2.6.38 and Kernel 3.0.2    

No entanto, a versão 3.0.2 é bem velha. Se você fizer uname -r , você verá uma versão de cerca de 3,13 (a minha e.g. é 3.13.0-24). Então esse motorista não funcionará.

Mas se o Ubuntu nem aceita o USB, então, certamente não é uma questão do driver WiFi. RTL8191SU deve ser executado com o driver pré-instalado r8712u .

Por favor, conecte o dispositivo e diretamente após o executar dmesg | tail . Se houver algo relacionado ao USB, adicione-o à sua pergunta.

 

The Realtek website says the driver is for:

Linux Kernel 2.6.18~2.6.38 and Kernel 3.0.2 

However, version 3.0.2 is pretty old. If you do uname -r, You'll see a version of about 3.13 (mine e.g. is 3.13.0-24). So this driver will not work.

But if Ubuntu doesn't even accept the USB, then it's certainly not an issue of the Wifi driver. RTL8191su should run with the preinstalled driver r8712u.

Please plug in the device and directly after that execute dmesg | tail. If there's anything USB-related, add it to your question.

 
 

Perguntas relacionadas

3  Não é possível instalar drivers para o meu cartão WiFi Realtek RTL8723BE no Ubuntu 16.10  ( Cannot install drivers for my realtek rtl8723be wifi card in ubuntu 16 10 ) 
tentou $ sudo add-apt-repository ppa:hanipouspilot/rtlwifi $ sudo apt-get update $ sudo apt-get install rtlwifi-new-dkms linux-firmware mas dar ...

1  Driver Realtek 8723AE funciona mal  ( Realtek 8723ae driver works badly ) 
o Então, minha placa sem fio funciona. Em casa, funcionaria bem no Windows 8 e no Ubuntu, com uma conexão muito constante e sustentada. No entanto, agora q...

0  Intel UHD Graphics 605 não pode ver a tela para inicializar / instalar  ( Intel uhd graphics 605 cant see screen to boot install ) 
Eu tenho tentado instalar 18.04 no meu novo Lenovo D330. Tem um gráficos Intel UHD 605. Enquanto eu posso chegar ao grub (tente Ubuntu / Install Ubuntu), nã...

2  Posso controlar os fãs em um gigabyte aero 15? [duplicado]  ( Can i control the fans in a gigabyte aero 15 ) 
. Esta pergunta já tem respostas aqui : como controlar a velocidade do ventilador? ...

1  Wifi driver não encontrado!  ( Wifi driver not found ) 
Estou executando o Ubuntu 14.10 no HP Pavilion P045TX Dual Booting com o Windows 8.1. Drivers WiFi não são encontrados. Como faço para instalar os drivers par...

3  Driver Intel Gráfico 945 para Ubuntu 12.04 Lts  ( Intel graphic 945 driver for ubuntu 12 04 lts ) 
Eu sou novo no fórum, e Ubuntu também. Eu instalei o Ubuntu 12.04 LTS junto com o Windows 7, a instalação ficou bem. Mas o problema é que não consigo instalar...

2  Não é possível obter gráficos para trabalhar no HP Pavilion G6  ( Cant get graphics to work on hp pavilion g6 ) 
Eu tenho este laptop HP Pavilion G6 de Crappy (nenhuma outra escolha, fornecida pelo Office), que está tendo problemas para lidar com gráficos (Ubuntu 12.04 L...

3  Instalando o driver para Netgear WNA1100 WiFi Adapter - Ubuntu Server 12.04  ( Installing driver for netgear wna1100 wifi adapter ubuntu server 12 04 ) 
Eu comprei recentemente o adaptador WIFI WIM1100 para a caixa do Ubuntu Server 12.04. Desde que sou novo no Ubuntu, não consigo instalar os drivers para o ada...

3  Outra tela preta após o driver NVIDIA instalando  ( Another black screen after nvidia driver installing ) 
Eu instalei o último driver NVIDIA para minha placa gráfica (um arquivo .run ), eu segui as instruções da NVIDIA ( http://us.download.nvidia.com/xfree86/linu...

5  Mudar o brilho parou de funcionar em 13.10 salamandra pirela  ( Changing the brightness stopped working in 13 10 saucy salamander ) 
Após a atualização para 13.10 Salamandra Saucy, os controles de brilho pararam de funcionar. Isso funcionou bem de 12,04 por toda parte. Alguém tem uma idei...




© 2022 pergunte.org All Rights Reserved. Casa de perguntas e respostas todos os direitos reservados


Licensed under cc by-sa 3.0 with attribution required.