[CentOS] Logitech unifying receiver (pairing)

Wed Aug 20 13:06:04 UTC 2014
Toralf Lund <toralf.lund at pgs.com>

On 20/08/14 10:33, Elias Persson wrote:
> On 2014-08-19 14:25, Toralf Lund wrote:
>> Hi,
>>
>> Is anyone here using a Logitech wireless mouse our keyboard or whatever
>> using a "unifying receiver". Any luck with pairing new devices with the
>> unit?
>>
>> I've tried various different programs from the net that's supposed to be
>> able to do this, [...]  and solaar (installed via the
>> EPEL Testing repo) fails in the following manner:
>>
>> Traceback (most recent call last):
>>      File "/usr/bin/solaar-cli", line 42, in <module>
>>        solaar.cli.main()
>>      File "/usr/lib/python2.6/site-packages/solaar/cli.py", line 429, in main
>>        args = _parse_arguments()
>>      File "/usr/lib/python2.6/site-packages/solaar/cli.py", line 421, in
>> _parse_arguments
>>        logging.root.addHandler(logging.NullHandler())
>> AttributeError: 'module' object has no attribute 'NullHandler'
>>
>>
>> This is on a CentOS 6 x86_64 system with all updates installed.
>>
>>
>> Any other ideas?
> `logging.NullHandler` was added in python 2.7, so you could perhaps
> try getting that (python) from SCL [1].
Ah, I wasn't really aware of that repository and the related software 
selection mechanism. Thanks.


>   Getting solaar's dependencies
> for the 2.7 installation might have to be done manually though.
Yes. I had to copy across lots of site-package files from the solaar 
distribution, but got it up and running. Only the "cli" variant, though, 
the graphical version still complains about a missing module 
("pything-gi"), which it also does with python 2.6 (I don't think I 
mentioned this earlier.)

>
> With things installed:
>     scl enable python27 "python2.7 /usr/bin/solaar-cli"
So, it's working in theory, but I get

# scl enable python27 "python /usr/bin/solaar-cli show"
solaar-cli: error: Logitech receiver not found

Which I suppose might indicate the same type of issue as for the other 
programs... The result is the same if I pass the dev file path on the 
command line.
>
> A bug report to wherever it belongs would likely be appreciated, if
> you haven't already done that.
I haven't done this yet, since the package came from a "testing" 
repository and all, but perhaps I will.

Meanwhile I've been able to do the pairing I wanted right now via a 
"virtualbox" installation and the software from Logitech. Which is like 
admitting defeat, of course :-(

- Toralf

>
>
> [1] http://wiki.centos.org/AdditionalResources/Repositories/SCL
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos


This e-mail, including any attachments and response string, may contain proprietary information which is confidential and may be legally privileged. It is for the intended recipient only. If you are not the intended recipient or transmission error has misdirected this e-mail, please notify the author by return e-mail and delete this message and any attachment immediately. If you are not the intended recipient you must not use, disclose, distribute, forward, copy, print or rely on this e-mail in any way except as permitted by the author.