This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: hidraw Linux module
Type: enhancement Stage:
Components: IO Versions: Python 2.6
process
Status: closed Resolution: rejected
Dependencies: Superseder:
Assigned To: Nosy List: brian.curtin, dannym
Priority: normal Keywords: patch

Created on 2010-02-20 05:36 by dannym, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
os-hidraw.patch dannym, 2010-02-20 05:36 hidraw info module
Messages (3)
msg99611 - (view) Author: Danny Milosavljevic (dannym) Date: 2010-02-20 05:36
Attached you can find a module that one can use to ask the Linux hidraw driver for what device (vendor, product) it is.
msg99612 - (view) Author: Danny Milosavljevic (dannym) Date: 2010-02-20 05:38
Usage example:

>>>import hidraw
>>>import os
>>>hidraw.get_info(os.open("/dev/hidraw0", os.O_RDONLY))
hidraw.Info(3, 0x0E20, 0x0200)
msg99616 - (view) Author: Brian Curtin (brian.curtin) * (Python committer) Date: 2010-02-20 14:33
The bug tracker is not the right place to release your modules. If you have a distributable module rather than a patch, PyPi may be a better place to put your results.
History
Date User Action Args
2022-04-11 14:56:57adminsetgithub: 52219
2010-02-20 14:33:00brian.curtinsetstatus: open -> closed

nosy: + brian.curtin
messages: + msg99616

resolution: rejected
2010-02-20 05:38:18dannymsetversions: + Python 2.6
2010-02-20 05:38:06dannymsetmessages: + msg99612
2010-02-20 05:36:18dannymcreate