From nobody Sun Dec 29 23:05:09 2024 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YLvvn4tPwz5jx8p for ; Sun, 29 Dec 2024 23:05:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YLvvn1nlmz4fS5 for ; Sun, 29 Dec 2024 23:05:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735513509; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=BgOOAZWf7TUIWCuwz/7BouxtoEFch919T+yL/Omlu+A=; b=ymwAPC4bCWQaKDCe/80h5U3akQgGuD7XS/rpWjTwY0xvbRLHcUdAZb6+eM1ADjuVRSKM/+ VPXSTSktz7EvpJP5iZHBzLcp85zGFkJfERnHKrnDV2EVKh5vLU3ghlMCkYDPz0H4BSANhq TwnOkrQFkpd9cJOUeYckel15pYZZH/7uui/rXcKO3/i+jjjZIbwm3Z34gHJ2HkmZRA3Y4J HQq/hH/9WkGmtSADGAdSGXzQFAvfDjbF16yiVU+Z0eqfkzr6XWmqzYW4qUOa30W9dWRy2S IYCsOBA9BKj9Qa1bb+6ICCYVQhGAecCStRo9PKhkDvv0unxfDKEmOr1PVZYkzQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735513509; a=rsa-sha256; cv=none; b=hPZMamMBy9USuBNcBhpQWBvEmg3LvMl0sZgVqinDxSSa3rZyD81TymfA8+ZRpwMwOibpyb F6QfEiaE/Mh+aVtcfKH7BOVF6xUVkIekafCcztPDhZJ8MUKgzN1HxsB8TSiUUszLZQigm+ L8UK25vFgf/71hip2e1q25gcCkcbRIzkfT/p4HQ5uyFuCjKvJsTf9pXtcatRXq4S3y9vAF mZWHivfr4hdljt/ChKhTiT/poI6aqVA1yOFxFEyWnmrBObqIdzn9PG0tL68fBRC9PY8ssa igNKsGj2dm7iyFHIhvmK9/iQJahjr0My1JgXUchehjHbUbsgFE3SK0WF9hkIvQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YLvvn1GnNzV0t for ; Sun, 29 Dec 2024 23:05:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 4BTN59St027729 for ; Sun, 29 Dec 2024 23:05:09 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BTN59Fn027728 for ports-bugs@FreeBSD.org; Sun, 29 Dec 2024 23:05:09 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 283732] comms/py-hid: Update to 1.0.6 Date: Sun, 29 Dec 2024 23:05:09 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: nxjoseph@protonmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283732 Yusuf Yaman changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nxjoseph@protonmail.com --- Comment #1 from Yusuf Yaman --- Created attachment 256280 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D256280&action= =3Dedit comms/py-hid.patch: Update to 1.0.6 Hi. I want to take maintainership of this port. I tested new version, a few= hid devices i found from usbconfig did not work but my keyboard did work. Maybe that's not related to program itself, maybe hardware is doing that. I got s= ome error like 'unable to open device' after i put vendorId and productId to the sample python script that i've made to test the new release. Current (old) version is failing on my some hardware too so i don't think this is related= to new release. Thanks in advance and happy new year. % sudo python ./python.py Password: Device manufacturer: SINO WEALTH Product: Bluetooth Keyboard Serial Number: =D0=89 % python ./python.py Traceback (most recent call last): File "/home/yusuf/./python.py", line 6, in with hid.Device(vid, pid) as h: ^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/hid/__init__.py", line 175,= in __init__ raise HIDException('unable to open device') hid.HIDException: unable to open device % cat python.py import hid vid =3D 0x258a # Change it for your device pid =3D 0x00e1 # Change it for your device with hid.Device(vid, pid) as h: print(f'Device manufacturer: {h.manufacturer}') print(f'Product: {h.product}') print(f'Serial Number: {h.serial}') --=20 You are receiving this mail because: You are the assignee for the bug.=