free5lot / hid-apple-patched

Allows to swap the Fn key and left Control key and other tweaks on Macbook Pro and Apple keyboards in GNU/Linux
GNU General Public License v2.0
349 stars 61 forks source link

Module hid_apple is not currently loaded #52

Closed anom closed 4 years ago

anom commented 4 years ago

I'm getting the following error whilst running ./install.sh

rmmod: ERROR: Module hid_apple is not currently loaded
insmod: ERROR: could not insert module ./hid-apple.ko: Operation not permitted

I'm running the latest Ubuntu with the apple magic 2 keyboard through Bluetooth.

Any suggestions?

Ndolam commented 4 years ago

On Sun, Oct 20, 2019 at 02:25 (-0700), anom wrote:

I'm getting the following error whilst running ./install.sh

rmmod: ERROR: Module hid_apple is not currently loaded insmod: ERROR: could not insert module ./hid-apple.ko: Operation not permitted

Any suggestions?

Try running th command as root, not an ordinary user.

anom commented 4 years ago

Yeah, tried running as sudo but same error.

free5lot commented 4 years ago

Hi @anom! 1) obvious recommendation would be run sudo -i before command, but may not help. 2) maybe the problem and solution are mentioned here: linux kernel - modprobe fails with permission denied - Unix & Linux Stack Exchange 3) just for your information - install.sh according to documentation is not preferable way to install this patched module/

free5lot commented 4 years ago

UPD. Updated link in the previous message.

free5lot commented 4 years ago

@anom any update on this? BTW just recently Bluetooth support was added (migrated from upstream) and Apple Magic 2 keyboard was reported to work properly with this patched version for both Bluetooth and USB modes. So please try again or this issue will be closed.

free5lot commented 4 years ago

So, we may consider it working as we have positive feedback from other users and I've tested it today once more myself.