berarma / new-lg4ff

Experimental Logitech force feedback module for Linux
GNU General Public License v2.0
299 stars 18 forks source link

Update with Kbuild split and dkms.conf #13

Closed parkerlreed closed 4 years ago

berarma commented 4 years ago

I've renamed the DKMS module and changed the destination directory so that it replaces the original module. I think this is what users expect from DKMS installed modules.

I've adjusted the instructions in the README and added the clean target so DKMS doesn't throw errors.

I did it myself because I've used DKMS as a user but hadn't ever done a DKMS package and I had to check how it worked before asking any changes. At this point I think it will be easier commiting my changes than changing this PR and merging. I'll keep you as the author of the commit for your contribution if you don't mind.

parkerlreed commented 4 years ago

Sweet! Yeah no problem.

berarma commented 4 years ago

Commit 3dfe622b850987a4b39919095ec40bdbf5ab6d59

parkerlreed commented 4 years ago

Oh sweet so that's just overwriting the existing module?

parkerlreed commented 4 years ago

Ahh very cool

Running module version sanity check.
 - Original module
   - Found /usr/lib/modules/5.3.13-arch1-1/kernel/drivers/hid/hid-logitech.ko.xz
   - Storing in /var/lib/dkms/new-lg4ff/original_module/5.3.13-arch1-1/x86_64/
   - Archiving for uninstallation purposes
 - Installation
   - Installing to /usr/lib/modules/5.3.13-arch1-1/kernel/drivers/hid/

depmod.....