From owner-svn-ports-all@freebsd.org Tue May 9 09:13:21 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4DEF4D653F4; Tue, 9 May 2017 09:13:21 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EC438F30; Tue, 9 May 2017 09:13:20 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v499DJIC052034; Tue, 9 May 2017 09:13:19 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v499DJSe052032; Tue, 9 May 2017 09:13:19 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201705090913.v499DJSe052032@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Tue, 9 May 2017 09:13:19 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r440475 - in head/sysutils/solaar: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 May 2017 09:13:21 -0000 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