Boa noite galera, comprei um
adaptador wireless USB da
China e estou tentando instalá-lo, mas não tá rolando (Até tava na esperança do Linux reconhecer e instalar automaticamente, rs). Abaixo estão os erros mostrados no terminal (Inibi alguns trechos que passaram OK, apenas pra não ficar muito extenso). O pacote de instalação é
RTL8188C_8192C da versão
v4.0.2_9000 (Data:
11/09/2013) e possui um
install.sh (Que tive que dar maior privilégio de execução pelo terminal).
Li uma recomendação na internet para executar o comando abaixo, reiniciar o pc e tentar novamente, mas mesmo assim, nada:
sudo apt-get --purge autoremove linux-firmware-nonfree && sudo apt-get install linux-firmware-nonfreeO que faz exatamente a instalação de
linux-firmware-nonfree? Incluir uma lista maior de periféricos suportados no Ubuntu? Seria isso?
Alguém já teve problema com este adaptador? Estou usando o
Ubuntu 14.04.1 (Kernel:
3.13.0-33-generic). Se alguém puder me auxiliar, agradeço, rs!
SAÍDA NO TERMINAL LOGO ABAIXO:
##################################################
Decompress the driver source tar ball:
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911.tar.gz
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/runwpa
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_xmit.c
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_ioctl_query.c
(...DESCOMPACTOU TUDO, AGORA VAI LIMPAR DADOS TEMPORÁRIOS...)
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/clean
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911
Authentication requested [root] for make clean:
rm -fr *.mod.c *.mod *.o .*.cmd *.ko *~
rm .tmp_versions -fr ; rm Module.symvers -fr
rm -fr Module.markers ; rm -fr modules.order
cd core/efuse ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd core ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd hal/rtl8192c/usb ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd hal/rtl8192c ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd hal ; 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
(...OK...)
Authentication requested [root] for make driver:
make ARCH=i386 CROSS_COMPILE= -C /lib/modules/3.13.0-33-generic/build M=/home/daniel/Downloads/linux/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911 modules
make[1]: Entrando no diretório `/usr/src/linux-headers-3.13.0-33-generic'
CC [M] /home/daniel/Downloads/linux/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_cmd.o
CC [M] /home/daniel/Downloads/linux/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_security.o
CC [M] /home/daniel/Downloads/linux/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_debug.o
(...OK...)
CC [M] /home/daniel/Downloads/linux/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.o
/home/daniel/Downloads/linux/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c: In function ‘rtw_proc_init_one’:
/home/daniel/Downloads/linux/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:313:3: error: implicit declaration of function ‘create_proc_entry’ [-Werror=implicit-function-declaration]
rtw_proc=create_proc_entry(rtw_proc_name, S_IFDIR, init_net.proc_net);
^
/home/daniel/Downloads/linux/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:313:11: warning: assignment makes pointer from integer without a cast [enabled by default]
rtw_proc=create_proc_entry(rtw_proc_name, S_IFDIR, init_net.proc_net);
^
/home/daniel/Downloads/linux/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:320:3: error: implicit declaration of function ‘create_proc_read_entry’ [-Werror=implicit-function-declaration]
entry = create_proc_read_entry("ver_info", S_IFREG | S_IRUGO, rtw_proc, proc_get_drv_version, dev);
^
/home/daniel/Downloads/linux/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:320:9: warning: assignment makes pointer from integer without a cast [enabled by default]
entry = create_proc_read_entry("ver_info", S_IFREG | S_IRUGO, rtw_proc, proc_get_drv_version, dev);
^
/home/daniel/Downloads/linux/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:326:9: warning: assignment makes pointer from integer without a cast [enabled by default]
entry = create_proc_read_entry("log_level", S_IFREG | S_IRUGO,
^
/home/daniel/Downloads/linux/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:332:8: error: dereferencing pointer to incomplete type
entry->write_proc = proc_set_log_level;
^
/home/daniel/Downloads/linux/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:348:21: warning: assignment makes pointer from integer without a cast [enabled by default]
padapter->dir_dev = create_proc_entry(dev->name,
^
/home/daniel/Downloads/linux/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:379:8: warning: assignment makes pointer from integer without a cast [enabled by default]
entry = create_proc_read_entry("write_reg", S_IFREG | S_IRUGO,
^
/home/daniel/Downloads/linux/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:385:7: error: dereferencing pointer to incomplete type
entry->write_proc = proc_set_write_reg;
^
/home/daniel/Downloads/linux/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:387:8: warning: assignment makes pointer from integer without a cast [enabled by default]
entry = create_proc_read_entry("read_reg", S_IFREG | S_IRUGO,
^
/home/daniel/Downloads/linux/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:393:7: error: dereferencing pointer to incomplete type
entry->write_proc = proc_set_read_reg;
^
/home/daniel/Downloads/linux/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:396:8: warning: assignment makes pointer from integer without a cast [enabled by default]
entry = create_proc_read_entry("fwstate", S_IFREG | S_IRUGO,
^
/home/daniel/Downloads/linux/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:404:8: warning: assignment makes pointer from integer without a cast [enabled by default]
entry = create_proc_read_entry("sec_info", S_IFREG | S_IRUGO,
^
/home/daniel/Downloads/linux/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:412:8: warning: assignment makes pointer from integer without a cast [enabled by default]
entry = create_proc_read_entry("mlmext_state", S_IFREG | S_IRUGO,
^
/home/daniel/Downloads/linux/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:420:8: warning: assignment makes pointer from integer without a cast [enabled by default]
entry = create_proc_read_entry("qos_option", S_IFREG | S_IRUGO,
^
/home/daniel/Downloads/linux/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:427:8: warning: assignment makes pointer from integer without a cast [enabled by default]
entry = create_proc_read_entry("ht_option", S_IFREG | S_IRUGO,
^
/home/daniel/Downloads/linux/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:434:8: warning: assignment makes pointer from integer without a cast [enabled by default]
entry = create_proc_read_entry("rf_info", S_IFREG | S_IRUGO,
^
/home/daniel/Downloads/linux/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:441:8: warning: assignment makes pointer from integer without a cast [enabled by default]
entry = create_proc_read_entry("ap_info", S_IFREG | S_IRUGO,
^
/home/daniel/Downloads/linux/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:448:8: warning: assignment makes pointer from integer without a cast [enabled by default]
entry = create_proc_read_entry("adapter_state", S_IFREG | S_IRUGO,
^
/home/daniel/Downloads/linux/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:455:8: warning: assignment makes pointer from integer without a cast [enabled by default]
entry = create_proc_read_entry("trx_info", S_IFREG | S_IRUGO,
^
/home/daniel/Downloads/linux/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:462:8: warning: assignment makes pointer from integer without a cast [enabled by default]
entry = create_proc_read_entry("mac_reg_dump1", S_IFREG | S_IRUGO,
^
/home/daniel/Downloads/linux/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:469:8: warning: assignment makes pointer from integer without a cast [enabled by default]
entry = create_proc_read_entry("mac_reg_dump2", S_IFREG | S_IRUGO,
^
/home/daniel/Downloads/linux/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:476:8: warning: assignment makes pointer from integer without a cast [enabled by default]
entry = create_proc_read_entry("mac_reg_dump3", S_IFREG | S_IRUGO,
^
/home/daniel/Downloads/linux/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:483:8: warning: assignment makes pointer from integer without a cast [enabled by default]
entry = create_proc_read_entry("bb_reg_dump1", S_IFREG | S_IRUGO,
^
/home/daniel/Downloads/linux/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:490:8: warning: assignment makes pointer from integer without a cast [enabled by default]
entry = create_proc_read_entry("bb_reg_dump2", S_IFREG | S_IRUGO,
^
/home/daniel/Downloads/linux/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:497:8: warning: assignment makes pointer from integer without a cast [enabled by default]
entry = create_proc_read_entry("bb_reg_dump3", S_IFREG | S_IRUGO,
^
/home/daniel/Downloads/linux/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:504:8: warning: assignment makes pointer from integer without a cast [enabled by default]
entry = create_proc_read_entry("rf_reg_dump1", S_IFREG | S_IRUGO,
^
/home/daniel/Downloads/linux/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:511:8: warning: assignment makes pointer from integer without a cast [enabled by default]
entry = create_proc_read_entry("rf_reg_dump2", S_IFREG | S_IRUGO,
^
/home/daniel/Downloads/linux/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:520:9: warning: assignment makes pointer from integer without a cast [enabled by default]
entry = create_proc_read_entry("rf_reg_dump3", S_IFREG | S_IRUGO,
^
/home/daniel/Downloads/linux/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:527:9: warning: assignment makes pointer from integer without a cast [enabled by default]
entry = create_proc_read_entry("rf_reg_dump4", S_IFREG | S_IRUGO,
^
/home/daniel/Downloads/linux/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:537:8: warning: assignment makes pointer from integer without a cast [enabled by default]
entry = create_proc_read_entry("all_sta_info", S_IFREG | S_IRUGO,
^
/home/daniel/Downloads/linux/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:555:8: warning: assignment makes pointer from integer without a cast [enabled by default]
entry = create_proc_read_entry("best_channel", S_IFREG | S_IRUGO,
^
/home/daniel/Downloads/linux/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:561:7: error: dereferencing pointer to incomplete type
entry->write_proc = proc_set_best_channel;
^
/home/daniel/Downloads/linux/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:564:8: warning: assignment makes pointer from integer without a cast [enabled by default]
entry = create_proc_read_entry("rx_signal", S_IFREG | S_IRUGO,
^
/home/daniel/Downloads/linux/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:570:7: error: dereferencing pointer to incomplete type
entry->write_proc = proc_set_rx_signal;
^
/home/daniel/Downloads/linux/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:572:8: warning: assignment makes pointer from integer without a cast [enabled by default]
entry = create_proc_read_entry("ht_enable", S_IFREG | S_IRUGO,
^
/home/daniel/Downloads/linux/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:578:7: error: dereferencing pointer to incomplete type
entry->write_proc = proc_set_ht_enable;
^
/home/daniel/Downloads/linux/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:580:8: warning: assignment makes pointer from integer without a cast [enabled by default]
entry = create_proc_read_entry("cbw40_enable", S_IFREG | S_IRUGO,
^
/home/daniel/Downloads/linux/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:586:7: error: dereferencing pointer to incomplete type
entry->write_proc = proc_set_cbw40_enable;
^
/home/daniel/Downloads/linux/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:588:8: warning: assignment makes pointer from integer without a cast [enabled by default]
entry = create_proc_read_entry("ampdu_enable", S_IFREG | S_IRUGO,
^
/home/daniel/Downloads/linux/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:594:7: error: dereferencing pointer to incomplete type
entry->write_proc = proc_set_ampdu_enable;
^
/home/daniel/Downloads/linux/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:596:8: warning: assignment makes pointer from integer without a cast [enabled by default]
entry = create_proc_read_entry("rx_stbc", S_IFREG | S_IRUGO,
^
/home/daniel/Downloads/linux/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:602:7: error: dereferencing pointer to incomplete type
entry->write_proc = proc_set_rx_stbc;
^
/home/daniel/Downloads/linux/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:605:8: warning: assignment makes pointer from integer without a cast [enabled by default]
entry = create_proc_read_entry("path_rssi", S_IFREG | S_IRUGO,
^
/home/daniel/Downloads/linux/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:608:8: warning: assignment makes pointer from integer without a cast [enabled by default]
entry = create_proc_read_entry("vid", S_IFREG | S_IRUGO,
^
/home/daniel/Downloads/linux/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:615:8: warning: assignment makes pointer from integer without a cast [enabled by default]
entry = create_proc_read_entry("pid", S_IFREG | S_IRUGO,
^
/home/daniel/Downloads/linux/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:622:8: warning: assignment makes pointer from integer without a cast [enabled by default]
entry = create_proc_read_entry("rssi_disp", S_IFREG | S_IRUGO,
^
/home/daniel/Downloads/linux/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:628:7: error: dereferencing pointer to incomplete type
entry->write_proc = proc_set_rssi_disp;
^
/home/daniel/Downloads/linux/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:631:8: warning: assignment makes pointer from integer without a cast [enabled by default]
entry = create_proc_read_entry("sreset", S_IFREG | S_IRUGO,
^
/home/daniel/Downloads/linux/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:637:7: error: dereferencing pointer to incomplete type
entry->write_proc = proc_set_sreset;
^
/home/daniel/Downloads/linux/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c: At top level:
/home/daniel/Downloads/linux/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:999:2: warning: initialization from incompatible pointer type [enabled by default]
.ndo_select_queue = rtw_select_queue,
^
/home/daniel/Downloads/linux/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:999:2: warning: (near initialization for ‘rtw_netdev_ops.ndo_select_queue’) [enabled by default]
cc1: some warnings being treated as errors
make[2]: ** [/home/daniel/Downloads/linux/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.o] Erro 1
make[1]: ** [_module_/home/daniel/Downloads/linux/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911] Erro 2
make[1]: Saindo do diretório `/usr/src/linux-headers-3.13.0-33-generic'
make: ** [modules] Erro 2
##################################################
Compile make driver error: 2
Please check error Mesg
##################################################