[Bug 283732] comms/py-hid: Update to 1.0.6
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 283732] comms/py-hid: Update to 1.0.6"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 29 Dec 2024 23:05:09 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283732 Yusuf Yaman <nxjoseph@protonmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nxjoseph@protonmail.com --- Comment #1 from Yusuf Yaman <nxjoseph@protonmail.com> --- Created attachment 256280 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=256280&action=edit 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 some 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: Љ % python ./python.py Traceback (most recent call last): File "/home/yusuf/./python.py", line 6, in <module> 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 = 0x258a # Change it for your device pid = 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}') -- You are receiving this mail because: You are the assignee for the bug.