• SupportHardware
  • How to install github sources requiring DKMS for missing devices drivers

Hi,
I have trouble getting my Lenovo Yoga 530 14-ARR fully working. After installation it's missing WLAN and Touchpad drivers.
I got the WLAN running, since the rtl8821ce drivers (download with GitDown)necessary were available on github without DMKS. The same does not apply for the following: i2c-amd-mp2
Could someone provide me with some information? I do understand some basics but am generally new to Linux.

As far as I read here the 5.2 Kernel could at least solve the touchpad issue, but I'd like to learn and am impatient 😁

kyrios I know, sorry if I wasn't clear enough.
I only find a dkms version of the i2c-amd-mp2 driver I need, but how can I install it without dkms nevertheless? Like compiling myself?

    cryptn If you trust this source try compiling it using make and then sudo make install.

      Justin make gives me 🙁

      make: *** No targets. Stop.

      Makefile:obj-m += i2c-amd-mp2.o
      i2c-amd-mp2-objs := i2c-amd-mp2-pci.o i2c-amd-mp2-plat.o

        cryptn You'd have to ask the person who made these drivers, I'm unfortunately not that clued up when it comes to kernel drivers as yet.

        Don't have a ton of experience w/ kernel drivers, but I believe this should work.

        Root issue you're running up against is that this is a kbuild makefile (check out documentation here: https://www.kernel.org/doc/Documentation/kbuild/modules.txt ). To build, you'll need to:

        1. Install the linux-current-headers package. This will download the build tools + linux headers you need to compile to /lib/modules/<linux version>/build
        2. In the directory of the driver you want to compile, run: make -C /lib/modules/<linux version>/build M=$PWD

        This will run make in the /lib/modules/<linux version>/build directory, setting the directory of the repo you cloned to the variable M. The Makefile in the /lib/modules/... directory contains the kbuild logic which will load the Makefile in the directory set in M and build the module.