Kod: Zaznacz cały
root@debian:/home/kimoki# lspci -k
00:00.0 Host bridge: Intel Corporation 4th Gen Core Processor DRAM Controller (rev 06)
	Subsystem: Gigabyte Technology Co., Ltd 4th Gen Core Processor DRAM Controller
	Kernel driver in use: hsw_uncore
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:14.0 USB controller: Intel Corporation 9 Series Chipset Family USB xHCI Controller
	Subsystem: Gigabyte Technology Co., Ltd 9 Series Chipset Family USB xHCI Controller
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci
00:16.0 Communication controller: Intel Corporation 9 Series Chipset Family ME Interface #1
	Subsystem: Gigabyte Technology Co., Ltd 9 Series Chipset Family ME Interface
	Kernel driver in use: mei_me
	Kernel modules: mei_me
00:1a.0 USB controller: Intel Corporation 9 Series Chipset Family USB EHCI Controller #2
	Subsystem: Gigabyte Technology Co., Ltd 9 Series Chipset Family USB EHCI Controller
	Kernel driver in use: ehci-pci
	Kernel modules: ehci_pci
00:1b.0 Audio device: Intel Corporation 9 Series Chipset Family HD Audio Controller
	Subsystem: Gigabyte Technology Co., Ltd 9 Series Chipset Family HD Audio Controller
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
00:1c.0 PCI bridge: Intel Corporation 9 Series Chipset Family PCI Express Root Port 1 (rev d0)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:1c.2 PCI bridge: Intel Corporation 9 Series Chipset Family PCI Express Root Port 3 (rev d0)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:1c.3 PCI bridge: Intel Corporation 9 Series Chipset Family PCI Express Root Port 4 (rev d0)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:1d.0 USB controller: Intel Corporation 9 Series Chipset Family USB EHCI Controller #1
	Subsystem: Gigabyte Technology Co., Ltd 9 Series Chipset Family USB EHCI Controller
	Kernel driver in use: ehci-pci
	Kernel modules: ehci_pci
00:1f.0 ISA bridge: Intel Corporation 9 Series Chipset Family Z97 LPC Controller
	Subsystem: Gigabyte Technology Co., Ltd 9 Series Chipset Family Z97 LPC Controller
	Kernel driver in use: lpc_ich
	Kernel modules: lpc_ich
00:1f.2 SATA controller: Intel Corporation 9 Series Chipset Family SATA Controller [AHCI Mode]
	Subsystem: Gigabyte Technology Co., Ltd 9 Series Chipset Family SATA Controller [AHCI Mode]
	Kernel driver in use: ahci
	Kernel modules: ahci
00:1f.3 SMBus: Intel Corporation 9 Series Chipset Family SMBus Controller
	Subsystem: Gigabyte Technology Co., Ltd 9 Series Chipset Family SMBus Controller
	Kernel driver in use: i801_smbus
	Kernel modules: i2c_i801
01:00.0 VGA compatible controller: NVIDIA Corporation GM204 [GeForce GTX 970] (rev a1)
	Subsystem: Gigabyte Technology Co., Ltd GM204 [GeForce GTX 970]
	Kernel driver in use: nvidia
	Kernel modules: nvidia
01:00.1 Audio device: NVIDIA Corporation GM204 High Definition Audio Controller (rev a1)
	Subsystem: Gigabyte Technology Co., Ltd GM204 High Definition Audio Controller
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
	Subsystem: Gigabyte Technology Co., Ltd Onboard Ethernet
	Kernel driver in use: r8169
	Kernel modules: r8169
04:00.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 41)
To jest komputer stacjonarny z płytą Gigabyte Z97-HD3, LGA 1150.
Próbowałem instalacji ręcznej zgodnie z installation guide zawartego na stronie tp-link, jednak każda próbwa kończy się błędem jak tu:
Kod: Zaznacz cały
root@debian:/home/kimoki/Pobrane/driver/Driver# sudo make
"******************************************"
"NO SKRC,we will use default KSRC"
"******************************************"
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.9.0-4-amd64/build M=/home/kimoki/Pobrane/driver/Driver  modules
make[1]: Wejście do katalogu '/usr/src/linux-headers-4.9.0-4-amd64'
"******************************************"
"NO SKRC,we will use default KSRC"
"******************************************"
  CC [M]  /home/kimoki/Pobrane/driver/Driver/core/rtw_cmd.o
In file included from /home/kimoki/Pobrane/driver/Driver/include/drv_types.h:95:0,
                 from /home/kimoki/Pobrane/driver/Driver/core/rtw_cmd.c:22:
/home/kimoki/Pobrane/driver/Driver/include/hal_com.h:413:13: error: ‘file_path’ redeclared as different kind of symbol
 extern char file_path[PATH_LENGTH_MAX];
             ^~~~~~~~~
In file included from /usr/src/linux-headers-4.9.0-4-common/include/linux/seq_file.h:10:0,
                 from /usr/src/linux-headers-4.9.0-4-common/include/linux/pinctrl/consumer.h:17,
                 from /usr/src/linux-headers-4.9.0-4-common/include/linux/pinctrl/devinfo.h:21,
                 from /usr/src/linux-headers-4.9.0-4-common/include/linux/device.h:24,
                 from /usr/src/linux-headers-4.9.0-4-common/include/linux/dmaengine.h:20,
                 from /usr/src/linux-headers-4.9.0-4-common/include/linux/netdevice.h:38,
                 from /home/kimoki/Pobrane/driver/Driver/include/osdep_service_linux.h:35,
                 from /home/kimoki/Pobrane/driver/Driver/include/osdep_service.h:41,
                 from /home/kimoki/Pobrane/driver/Driver/include/drv_types.h:32,
                 from /home/kimoki/Pobrane/driver/Driver/core/rtw_cmd.c:22:
/usr/src/linux-headers-4.9.0-4-common/include/linux/fs.h:2729:14: note: previous declaration of ‘file_path’ was here
 extern char *file_path(struct file *, char *, int);
              ^~~~~~~~~
In file included from /home/kimoki/Pobrane/driver/Driver/include/drv_types.h:65:0,
                 from /home/kimoki/Pobrane/driver/Driver/core/rtw_cmd.c:22:
/home/kimoki/Pobrane/driver/Driver/core/rtw_cmd.c: In function ‘btinfo_evt_dump’:
/home/kimoki/Pobrane/driver/Driver/include/rtw_debug.h:187:19: error: void value not ignored as it ought to be
  #define _seqdump seq_printf
                   ^
/home/kimoki/Pobrane/driver/Driver/include/rtw_debug.h:242:7: note: in expansion of macro ‘_seqdump’
    if(_seqdump(sel, fmt, ##arg)) /*rtw_warn_on(1)*/; \
       ^~~~~~~~
/home/kimoki/Pobrane/driver/Driver/core/rtw_cmd.c:3293:2: note: in expansion of macro ‘DBG_871X_SEL_NL’
  DBG_871X_SEL_NL(sel, "cid:0x%02x, len:%u\n", info->cid, info->len);
  ^~~~~~~~~~~~~~~
/home/kimoki/Pobrane/driver/Driver/include/rtw_debug.h:187:19: error: void value not ignored as it ought to be
  #define _seqdump seq_printf
                   ^
/home/kimoki/Pobrane/driver/Driver/include/rtw_debug.h:242:7: note: in expansion of macro ‘_seqdump’
    if(_seqdump(sel, fmt, ##arg)) /*rtw_warn_on(1)*/; \
       ^~~~~~~~
/home/kimoki/Pobrane/driver/Driver/core/rtw_cmd.c:3296:3: note: in expansion of macro ‘DBG_871X_SEL_NL’
   DBG_871X_SEL_NL(sel, "byte2:%s%s%s%s%s%s%s%s\n"
   ^~~~~~~~~~~~~~~
/home/kimoki/Pobrane/driver/Driver/include/rtw_debug.h:187:19: error: void value not ignored as it ought to be
  #define _seqdump seq_printf
                   ^
/home/kimoki/Pobrane/driver/Driver/include/rtw_debug.h:242:7: note: in expansion of macro ‘_seqdump’
    if(_seqdump(sel, fmt, ##arg)) /*rtw_warn_on(1)*/; \
       ^~~~~~~~
/home/kimoki/Pobrane/driver/Driver/core/rtw_cmd.c:3308:3: note: in expansion of macro ‘DBG_871X_SEL_NL’
   DBG_871X_SEL_NL(sel, "retry_cnt:%u\n", info->retry_cnt);
   ^~~~~~~~~~~~~~~
/home/kimoki/Pobrane/driver/Driver/include/rtw_debug.h:187:19: error: void value not ignored as it ought to be
  #define _seqdump seq_printf
                   ^
/home/kimoki/Pobrane/driver/Driver/include/rtw_debug.h:242:7: note: in expansion of macro ‘_seqdump’
    if(_seqdump(sel, fmt, ##arg)) /*rtw_warn_on(1)*/; \
       ^~~~~~~~
/home/kimoki/Pobrane/driver/Driver/core/rtw_cmd.c:3311:3: note: in expansion of macro ‘DBG_871X_SEL_NL’
   DBG_871X_SEL_NL(sel, "rssi:%u\n", info->rssi);
   ^~~~~~~~~~~~~~~
/home/kimoki/Pobrane/driver/Driver/include/rtw_debug.h:187:19: error: void value not ignored as it ought to be
  #define _seqdump seq_printf
                   ^
/home/kimoki/Pobrane/driver/Driver/include/rtw_debug.h:242:7: note: in expansion of macro ‘_seqdump’
    if(_seqdump(sel, fmt, ##arg)) /*rtw_warn_on(1)*/; \
       ^~~~~~~~
/home/kimoki/Pobrane/driver/Driver/core/rtw_cmd.c:3314:3: note: in expansion of macro ‘DBG_871X_SEL_NL’
   DBG_871X_SEL_NL(sel, "byte5:%s%s\n"
   ^~~~~~~~~~~~~~~
/usr/src/linux-headers-4.9.0-4-common/scripts/Makefile.build:301: polecenia dla obiektu '/home/kimoki/Pobrane/driver/Driver/core/rtw_cmd.o' nie powiodły się
make[4]: *** [/home/kimoki/Pobrane/driver/Driver/core/rtw_cmd.o] Błąd 1
/usr/src/linux-headers-4.9.0-4-common/Makefile:1510: polecenia dla obiektu '_module_/home/kimoki/Pobrane/driver/Driver' nie powiodły się
make[3]: *** [_module_/home/kimoki/Pobrane/driver/Driver] Błąd 2
Makefile:150: polecenia dla obiektu 'sub-make' nie powiodły się
make[2]: *** [sub-make] Błąd 2
Makefile:8: polecenia dla obiektu 'all' nie powiodły się
make[1]: *** [all] Błąd 2
make[1]: Opuszczenie katalogu '/usr/src/linux-headers-4.9.0-4-amd64'
Makefile:1696: polecenia dla obiektu 'modules' nie powiodły się
make: *** [modules] Błąd 2
 
Kod: Zaznacz cały
root@debian:/home/kimoki/Pobrane/driver/Driver# sudo make install
"******************************************"
"NO SKRC,we will use default KSRC"
"******************************************"
install -p -m 644 8192eu.ko  /lib/modules/4.9.0-4-amd64/kernel/drivers/net/wireless/
install: nie można wykonać stat na '8192eu.ko': Nie ma takiego pliku ani katalogu
Makefile:1702: polecenia dla obiektu 'install' nie powiodły się
make: *** [install] Błąd 1
Sterownik, który usiłowałem zainstalować to TL-WN821N(EU)_V5_160315_Linux, jako najaktualniejszy dla linuxa dla urządzenia V5. Wersje z V6 ten sam rezultat.
Próbowałem jakoś rozwiązać ten problem googlując propozycję instalacji sudo apt-get install build-essential linux-headers-generic
Jednak zatrzymałem się tutaj: 
Kod: Zaznacz cały
root@debian:/home/kimoki# sudo apt-get install build-essential linux-headers-generic
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności       
Odczyt informacji o stanie... Gotowe
Pakiet linux-headers-generic nie ma dostępnej wersji, ale odnosi się do niego inny pakiet.
Zazwyczaj oznacza to, że pakietu brakuje, został zastąpiony przez inny
pakiet lub nie jest dostępny przy pomocy obecnie ustawionych źródeł.