hid_set_feature_report excepts integers instead longints
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libhid (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: python-hid
Ubuntu 9.04, Python 2.6.2,
hid.hid_
Example code below, for testing change matcher.vendor_id and matcher.product_id to some device displayed in your lsusb listing.
---
#!/usr/bin/env python
import hid
def main():
matcher = hid.HIDInterfac
iface = hid.hid_
path = [0xffa00001,
bytes = '\0x01'
if __name__ == '__main__':
main()
---
causes error:
root@foo:~$ python test.py
Traceback (most recent call last):
File "test.py", line 14, in <module>
main()
File "test.py", line 11, in main
hid.
File "/var/lib/
return _hid.hid_
ValueError: Expecting a sequence of integers