The problem with the Unifying Receiver is likely caused by this bug: https://bugs.launchpad.net/ubuntu/+bug/958174 which apparently has been fixed upstream. No fix as of yet in Ubuntu, but in the meantime running sudo modprobe -r hid_logitech_dj && sudo modprobe hid_logitech_dj
a few times will probably fix it.
The message you're seeing (Operation not permitted) is because modprobe must be run as root (the most privileged user), which can be done using 'sudo' as above.
Solaar is a graphical utility that has the ability to configure the Fn key functionality on newer devices:
Since Ubuntu 15.04 (Vivid), Solaar can be installed from the repositories (sudo apt-get install solaar
). After installation, you can search for Solaar in the applications menu and start it from there.
A command line interface is also available. Example usage:
$ solaar show
...
2: Wireless Illuminated Keyboard K800
...
$ solaar config 2
fn-swap = False
$ solaar config 2 fn-swap on
fn-swap = True
Note that these settings are not persistent, you will loose it after reboot. This may change in future versions of Solaar.
I have previously created the ltunify
tool which is a Unifying tool that is able to communicate in the older HID++ 1.0 protocol. Until the next version of Solaar is released (current version is 0.8.7), you can use ltunify
to toggle the Fn key on an older device such as the K800 keyboard.
Installation instructions (taken from https://askubuntu.com/a/114089/6969):
sudo apt-get install git gcc
git clone https://git.lekensteyn.nl/ltunify.git -b fkeyswap
cd ltunify
make install-home
The command ltunify fkeyswap
shows the current status:
$ sudo ltunify fkeyswap
F key functions are not swapped
To swap the functionality, run ltunify fkeyswap on
:
$ sudo ltunify fkeyswap on
F key functions are now swapped
There is also an off
action:
$ sudo ltunify fkeyswap off
F key functions are now normal
Please leave a comment if it does not work so it can be fixed. The above functionality uses undocumented hardware registers.
Best Answer
I had the same issue even after upgrading to Ubuntu 17.10. What worked for me was to do
sudo fwupdmgr refresh
from terminal and then try to update Logitech Unified Receiver bysudo fwupdmgr update
as described here. NB! It is enough to execute the first refresh command only once. But if you get a timeout for a second command (just as in original problem):then unplug and replug the receiver and try again. It might fail because you tried to update firmware with old software before, and it might take some time until receiver starts responding again. For simplicity, you might execute the first command
sudo fwupdmgr refresh
, restart, see that your Logitech device works, and then execute second commandsudo fwupdmgr update
.PS! The message from graphical update manager disappeared only after another restart.