Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 May 2017 09:13:19 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r440475 - in head/sysutils/solaar: . files
Message-ID:  <201705090913.v499DJSe052032@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Tue May  9 09:13:19 2017
New Revision: 440475
URL: https://svnweb.freebsd.org/changeset/ports/440475

Log:
  Add a patch to make Solaar work with keyboard+touchpad devices like
  the Logitech K400
  
  Approved by:	lme (mentor)
  Differential Revision:	https://reviews.freebsd.org/D10655

Added:
  head/sysutils/solaar/files/patch-lib_logitech__receiver_settings.py   (contents, props changed)
Modified:
  head/sysutils/solaar/Makefile

Modified: head/sysutils/solaar/Makefile
==============================================================================
--- head/sysutils/solaar/Makefile	Tue May  9 08:00:02 2017	(r440474)
+++ head/sysutils/solaar/Makefile	Tue May  9 09:13:19 2017	(r440475)
@@ -2,6 +2,7 @@
 
 PORTNAME=	solaar
 PORTVERSION=	g20170327
+PORTREVISION=	1
 CATEGORIES=	sysutils
 
 MAINTAINER=	tobik@FreeBSD.org

Added: head/sysutils/solaar/files/patch-lib_logitech__receiver_settings.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/solaar/files/patch-lib_logitech__receiver_settings.py	Tue May  9 09:13:19 2017	(r440475)
@@ -0,0 +1,17 @@
+Solaar will die with a silent error when trying to configure devices like
+e.g. the Logitech K400 that are detected as keyboards but also have
+mouse settings for an integrated touchpad.  Remove the overly cautious
+assert.
+
+https://github.com/pwr/Solaar/issues/330
+
+--- lib/logitech_receiver/settings.py.orig	2017-04-17 19:26:20 UTC
++++ lib/logitech_receiver/settings.py
+@@ -61,7 +61,6 @@ class Setting(object):
+ 
+ 	def __call__(self, device):
+ 		assert not hasattr(self, '_value')
+-		assert self.device_kind is None or self.device_kind == device.kind
+ 		p = device.protocol
+ 		if p == 1.0:
+ 			# HID++ 1.0 devices do not support features



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705090913.v499DJSe052032>