Archive for December, 2014

Get a Logitec unifying USB dongle to accept devices in Linux


When I bought a Logitec M570 wireless trackball I had trouble connecting it to my Logitec unifying USB dongle from my keyboard  under Linux.

I could just plug in a second USB dongle but that’s not the way to go.

Luckily there are free-software engineers who don’t fear to fight the beast 🙂

A nice fellow named  binky734 dived in and came up with a solution:
I just found an extremely simple way of getting your Unifying Receiver to function on Linux without having to bother with pairing it on Windows first. In fact, I tried pairing my M570 with Windows first, and that did not work.


  1. Download this small C program.
  2. Ctrl+Alt+T to open a command line and cd to your download directory
  3. $ gcc -o unifying_pair unifying_pair.c
  4. Unplug your Unifying Receiver and head to /dev
  5. Plug in your Unifying Receiver and wait for it to show up in /dev/. Mine was hidraw0.
  6. $ sudo ./unifying_pair /dev/X where X is which ever device name was in your /dev/ directory for your receiver.
  7. If your mouse is not already on, switch it on now. You might have to do the whole ‘turn it off and back on’ thing, but mine connected right away.


Hope this helped!


Usefull teamviewer options for remote access


The information comes from this fine blog:

  1.  teamviewer --version print version information
      teamviewer --info print version, status, id
      teamviewer --passwd [PASSWD] set a password (useful when installing remote (ssh)
      teamviewer --ziplog create a zip containing all teamviewer logs (useful when contacting support)teamviewer --daemon status show current status of the TeamViewer daemon
      teamviewer --daemon start start TeamViewer daemon
      teamviewer --daemon stop stop TeamViewer daemon
      teamviewer --daemon restart stop/start TeamViewer daemon
      teamviewer --daemon disable disable TeamViewer daemon - don't start daemon on system startup
      teamviewer --daemon enable enable TeamViewer daemon - start daemon on system startup (default)
  2. Now we will check ID number for calling remotely our device and the current status of teamviewer daemon in our computer:
    user@home_machine:~$ /usr/bin/teamviewer –info

    TeamViewer 8.0.17147
     teamviewerd status
     teamviewerd stop/waiting
    TeamViewer ID: 9XXXXXXX7 <-- Your ID number
  3. If we don’t remember the password to connect to teamviewer in our home machine we can reset it using this command:
    user@home_machine:~$ /usr/bin/teamviewer –passwd MYnewpassword
  4. Now it’s time to enable the teamviewer daemon and launch (start) it. check that it’s up and running:
    user@home_machine:~$ sudo teamviewer --daemon enable
     mar jul 9 13:29:00 CEST 2013
      Action: Installing daemon (8.0.17147) for 'SystemV' ...
      installing /etc/init.d/teamviewerd (/opt/teamviewer8/tv_bin/script/teamviewerd.sysv)
      System start/stop links for /etc/init.d/teamviewerd already exist.
      /etc/init.d/teamviewerd start
      Starting teamviewerd...

    user@home_machine:~$ sudo teamviewer –daemon start

    /etc/init.d/teamviewerd start
      Starting teamviewerd...
Go to Top