-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Only getting the default options after patch install. #67
Comments
@luis-alves LOG
Here is how I installed# 1 # 2 This Aur package is dependency. # 3 I think Aur package is recommended way Note: I installed Aur packages with |
Thanks @ozdemir1419 . I tried one last thing: change the kernel to lts and got it to work. |
@luis-alves so we can consider this installation issue to be solved? |
@luis-alves I also installed that to a new laptop, running 20.04 pop_os:
I can also see only 3 parameters in Which kernel did you install and made it work ? |
@vasilakisfil my kernel is: 5.4.43-1-MANJARO, don't forget to add kernel headers and restart. |
I updated the kernel to:
and rebuild the module but no changes. Still seeing 3 options in parameters. any ideas ? |
For some reason that I don't know, if I install it through the scripts (build.sh & install.sh) it works. Weird! |
@vasilakisfil sorry, I have no idea.
Now we see that it's installation (so distro-related) problem, not about module itself. Though, I will keep this issue open for some time, maybe somebody will provide useful ideas or you will solve it yourself and describe the details. |
I just upgraded to Linux Mint 20 on a MacBook Air when I realized my In Output from
Before upgrading, the module was installed in |
Thank you @bambinodino for this information! |
I guess the best value for From
I'm not sure if dkms has always been smart about finding and backing up original modules:
I had a look at what Arch Linux does in the AUR. They use
The latter approach seems neater, since it doesn't replace existing modules. But it requires extra configuration. I suppose it comes down to personal preference... |
So what's the best option here if we have one? |
Mint will work with Using |
@bambinodino and others, maybe current @Aetf what do you think as an AUR package maintainer? |
Well I also checked the history and Not sure why did I do this actually. And why |
I found the source - it was mentioned by @almson here: #31 (comment) |
I'm also not very knowledgeable of dkms. This package is my first dkms package anyway...
The
Also, we are in a very unique situation that we want to override an existing module of the same name in the kernel, while all the above packages are providing completely new modules. So at the end of the day, I guess as long as dkms can successfully compile the module to the target location, this shouldn't matter? Because we can always use |
Thank you @Aetf for this situation review! OK, let's keep PS. I added information about all this and |
$ uname -a
Linux name 5.6.11-arch1-1 #1 SMP PREEMPT Wed, 06 May 2020 17:32:37 +0000 x86_64 GNU/Linux
Keyboard: Apple magic keyboard 2 (A1644)
1- I installed the hid-apple-patch through Arch AUR.
2- Ran
sudo mkinitcpio -p linux
3- Rebooted
But still only have these three options available:
$ ls /sys/module/hid_apple/parameters/
fnmode iso_layout swap_opt_cmd
In hid_apple.conf the options are all in:
cat /etc/modprobe.d/hid_apple.conf
options hid_apple fnmode=2 options hid_apple swap_fn_leftctrl=0 options hid_apple swap_opt_cmd=1 options hid_apple rightalt_as_rightctrl=1 options hid_apple ejectcd_as_delete=1
I don't get any output from
dkms status
.I'm I missing something?
The text was updated successfully, but these errors were encountered: