clnhub / rtl8192eu-linux

Realtek rtl8192eu official Linux driver, versions: 5.2.19.1 (master), 5.6.3.1, 5.6.4 and 5.11.2.1 (default)
442 stars 90 forks source link

Manual (& auto) install fails on Debian 12 after running sudo dkms install -m rtl8192eu -v 1.0 #84

Closed mystieneko closed 1 year ago

mystieneko commented 1 year ago

the error:

vanyek@laptop:~/Desktop/rtl8192eu-linux-5.11.2.1$ sudo dkms install -m rtl8192eu -v 1.0
Sign command: /usr/lib/linux-kbuild-6.1/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...
'make' -j4 all KVER=6.1.0-9-amd64...(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.1.0-9-amd64 (x86_64)
Consult /var/lib/dkms/rtl8192eu/1.0/build/make.log for more information.

make.log:

DKMS make.log for rtl8192eu-1.0 for kernel 6.1.0-9-amd64 (x86_64)
Mon Jul  3 11:00:06 AM MSK 2023
make ARCH= CROSS_COMPILE= -C  M=/var/lib/dkms/rtl8192eu/1.0/build  modules
make[1]: *** M=/var/lib/dkms/rtl8192eu/1.0/build: No such file or directory.  Stop.
make: *** [Makefile:2459: modules] Error 2
mystieneko commented 1 year ago

neofetch output (if that will be useful):

       _,met$$$$$gg.          vanyek@laptop 
    ,g$$$$$$$$$$$$$$$P.       ------------- 
  ,g$$P"     """Y$$.".        OS: Debian GNU/Linux 12 (bookworm) x86_64 
 ,$$P'              `$$$.     Host: EVE 1494E ES1280EW 
',$$P       ,ggs.     `$$b:   Kernel: 6.1.0-9-amd64 
`d$$'     ,$P"'   .    $$$    Uptime: 43 mins 
 $$P      d$'     ,    $$P    Packages: 2011 (dpkg) 
 $$:      $$.   -    ,d$$'    Shell: bash 5.2.15 
 $$;      Y$b._   _,d$P'      Resolution: 1366x768 
 Y$$.    `.`"Y$$$$P"'         DE: Plasma 5.27.5 
 `$$b      "-.__              WM: kwin 
  `Y$$                        Theme: [Plasma], Breeze [GTK2/3] 
   `Y$$.                      Icons: [Plasma], breeze-dark [GTK2/3] 
     `$$b.                    Terminal: konsole 
       `Y$$b.                 CPU: Intel Celeron N4100 (4) @ 2.400GHz 
          `"Y$b._             GPU: Intel GeminiLake [UHD Graphics 600] 
              `"""            Memory: 2396MiB / 3736MiB 
mystieneko commented 1 year ago

sorry, it seems like i set Makefile wrong, it's working now (all i had to do is set CONFIG_PLATFORM_I386_PC to y)