whereswaldon / kfreestyle2d

Unofficial Kinesis Freestyle 2 Userspace Linux Driver
MIT License
76 stars 21 forks source link

Fix make install so it runs on fc28 #7

Closed arthurljones closed 5 years ago

arthurljones commented 5 years ago

I just found this repo today, by way of your blog writeup on getting the multimedia keys working on the freestyle 2 in linux. Thanks for doing the research and writing this driver! Now I can switch tracks and adjust my music volume without reaching for my mouse.

I got make install working on fedora core 28 by switching adduser to useradd and making minor changes to the args. I also added a step to unlink the existing binary install target before copying the new one - without this step, subsequent runs of make install fail with a Text file busy error. I also tested the changes in a VM running Ubuntu 18.04, where make install succeeded (I did not test that the driver functions there, however).

Fixes #6

whereswaldon commented 5 years ago

@arthurljones Wow, thank you so much! I've been meaning to find the correct flags to useradd for a while now. Also you have a good point about reinstalling; I've not encountered that before, but I can see how it could happen.