Page MenuHomeFreeBSD

D10655.id28167.diff
No OneTemporary

D10655.id28167.diff

Index: sysutils/solaar/Makefile
===================================================================
--- sysutils/solaar/Makefile
+++ sysutils/solaar/Makefile
@@ -2,6 +2,7 @@
PORTNAME= solaar
PORTVERSION= g20170327
+PORTREVISION= 1
CATEGORIES= sysutils
MAINTAINER= tobik@FreeBSD.org
Index: sysutils/solaar/files/patch-lib_logitech__receiver_settings.py
===================================================================
--- /dev/null
+++ sysutils/solaar/files/patch-lib_logitech__receiver_settings.py
@@ -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

File Metadata

Mime Type
text/plain
Expires
Sat, Mar 7, 5:42 PM (1 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29376468
Default Alt Text
D10655.id28167.diff (1 KB)

Event Timeline