Driver Debian Realtek RTL7832BS

Driver Debian Realtek RTL7832BS

Recentemente instalei o Linux Debian em meu tablet Lark Ultimate 7i WIN, que originalmente rodava o Windows, mas o Windows estava muito lento neste dispositivo.
Instalei com sucesso o Debian com LXDE, que estava funcionando perfeitamente neste dispositivo, quase sem uso de CPU e sem uso de RAM. Mas tive um problema com a conexão com a internet.

eu fui paraesse site, e descobri que o dispositivo está usando o chipset REALTEK RTL7832BS. Pesquisei resultados em quase toda a Internet, mas nada funcionou para mim. eu só encontreieste motoristatrabalhar para algum cara no mundo todo.
Instalei build-essentialo pacote com sucesso em meu sistema usando um computador com internet, portando pacotes .deb para o tablet. Também portei o pacote git do driver aqui e executei makedentro do diretório do driver, mas obtive esta saída:

make: Warning: File 'Makefile' has modification time 88116208 s in the future. 
make ARCH=i386 CROSS_COMPILE= -C /lib/modules/3.16.0-4-686-pae/build M=/home/main/drv/drvWORK modules
make[1]: Entering directory '/usr/src/linux-headers-3.16.0-4-686-pae'
make[1]: Warning: File 'Makefile' has modification time 88116208 s in the future. 
make[2]: Warning: File 'Makefile' has modification time 88116208 s in the future. 
Entering directory '/usr/src/linux-headers-3.16.0-4-686-pae'
/usr/src/linux-headers-3.16.0-4-common/scripts/gcc-version.sh: line 25: gcc-4.8: command not found
/usr/src/linux-headers-3.16.0-4-common/scripts/gcc-version.sh: line 26: gcc-4.8: command not found
/usr/src/linux-headers-3.16.0-4-common/arch/x86/MakeFile:121:stack-protector enabled, but compiler support broken...
/usr/src/linux-headers-3.16.0-4-common/Makefile:647: Cannot use CONFIG_CC_STACKPROTECTOR_REGULAR: -fstack-protector...
make[3]: gcc-4.8: Command not found
make[3]: Warning: File 'scripts/Makefile.lib' has modification time 59474584 s in the future.
CC [M] /home/main/drv/drvWORK /core/rtw_cmd.o
/bin/sh: 1: gcc-4.8: not found
/usr/src/linux-headers-3.16.0-4-common/scripts/Makefile.build:262: recipe for target '/home/main/drv/drvWORK/core...
failed
make[4]: *** [/home/main/drv/drvWORK/core/rtw_cmd.o] Error 127
Makefile:181: recipe for target 'sub-make' failed
make[2]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-3.16.0-4-686-pae'
Makefile:216: recipe for target 'modules' failed
make: **** [modules] Error 2

Informações adicionais:
---Núcleo: Intel Atom
---Arquitetura de CPU: i386 (x32/x86)

Responder1

Ok, resolvi o problema com o tempo. O problema é que você precisa instalar o kernel 4.1 ou superior OU usar um patch para o kernel mais antigo (não tentei). Então você deve instalar o gcc-4.8 para executar o make.

ATUALIZAÇÃO 2018:

O Debian estável agora inclui o kernel 4.9, e o backports inclui o 4.16, que é relativamente recente, então o problema pode ser resolvido facilmente. O RTL8723BS foi incorporado à linha principal em 4.12.

ATUALIZAÇÃO 2020: O driver do kernel rtl8723bs está incluído no kernel da linha principal junto com a unidade bluetooth correspondente rtl8723bs-bt. Tudo funciona imediatamente no Debian 10 (embora você ainda precise copiar os arquivos de firmware).

informação relacionada